mobile

detectmobilebrowsers – how to add ipad & co // detect mobile browsers js

二次信任 提交于 2019-12-08 08:10:38
问题 i use detect mobile browsers (http://detectmobilebrowsers.com/) to detect iPhones and other smartphones. now i want to add also tablets like iPad. On the website you can find the following hint for this: Android tablets, iPads, Kindle Fires and PlayBooks are not detected by design. To add support for tablets, add |android|ipad|playbook|silk to the first regex. Actually my code is like this: if($.browser.mobile) { // it is mobile browser } else { // no mobile browser } How do i have to add the

When to use a multi-page document VS multiple pages in jQuery Mobile

☆樱花仙子☆ 提交于 2019-12-08 07:52:39
问题 The JQM documentation says it is better to use multiple pages to avoid having a large DOM which could crash browsers. But, how large is too large? It seems like performance would be best with larger multi-page documents. Does anyone have a rule of thumb for this, or guidelines for when it is best to have a multi-page document, VS multiple documents? 回答1: To be honest it depends on several factors. If you are building classic web page and you don't have server side code I would advise you to

Loading HTML and Script order execution

左心房为你撑大大i 提交于 2019-12-08 07:48:53
问题 I have a question about the order that the script is loading by the browser. I need to know what is the best way client side, to redirect people to a mobile web site. I mean. If i want to put the mobile detection script client side in the <head> , with no function the mobile will download all the page before executing the script and redirect the client? (function(a){jQuery.browser.mobile=/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo

Directshow in C# for windows mobile- strategy?

不问归期 提交于 2019-12-08 07:31:11
问题 I'm trying to figure out how to add some directshow capabilities to a C# application (.net cf 3.5 running on mobile 6 and up), and I'm having a hard time figuring out how to bridge the gap between using unmanaged c++ class(es) in managed C#. I've already written the functionality I need in C++: Basically, I have a manager class that uses COM to tap into the needed directshow functionality. Quick Disclaimer: I'm new to COM, and I'm VERY new to integrating C++ with C#. I'm really hoping that

How to automate importing certificates on a Windows CE device?

感情迁移 提交于 2019-12-08 07:04:36
问题 I'd like to automate importing cert(s) on a Windows CE device. Pushing the certs down to the devices is not a problem, but once they are there I cannot determine how to import them without using the UI. (I'm currently using Avalanche Mobility Center) 回答1: Another way to push certificates onto windows mobile devices is to use Windows Mobile Device Provisioning. MSDN Provisioning Mobile Devices Article For examples of certificate provisioning, in any of the Windows Mobile SDK directories, there

Increasing Battery Life on Windows Mobile using GPS and Web updates

一笑奈何 提交于 2019-12-08 07:02:45
问题 I have an app that runs on Windows Mobile and uses the GPS to update its location at various intervals. As expected, enabling the GPS chip uses more battery power. (no duh..) So currently my technique has been to cycle the the GPS on/off at approx. every 4 minutes to acquire the location, do something if things changed, and update its location to the web only if necessary. Otherwise, shut it off again and wait. On my one year old HTC Touch Diamond phone, with a fresh charge, leaving the

Fix mobile day selection in fullcalendar

此生再无相见时 提交于 2019-12-08 06:52:59
问题 I have a calendar application using fullcalendar. I actually am using two instances, on top is a month (or optionally week) calendar view, and below is an simple day view (list) of events for the day selected. In month view, I really just want clicking on the day to "select" the whole day. Also, the default longpress seems clunky and slow, so I set the longPressDelay to 1 (ms). I use the callbacks for eventLimitClick and eventClick to select the day as well in case the user clicks there

PhoneGap or Appcelerator Implementation

我只是一个虾纸丫 提交于 2019-12-08 06:09:30
问题 This is more of an advice question rather than a specific question. I am developing an application for mobile devices. Its basic functionality will be to open PDF files, Video files, and to open certain webpages. Would this be best implemented in PhoneGap or Appcelerator? 回答1: PhoneGap and Appcelerator Titanium are both very popular open-source JavaScript frameworks for packaging and deploying mobile applications. At Universal Mind, we have clients that leverage both and clearly both

Disable input auto-zooming on mobile devices

邮差的信 提交于 2019-12-08 06:01:50
问题 The issue is mobile browsers will zoom in an input field or select drop-down on focus. I've looked into different solutions and so far the most elegant I found does it with setting a font-size of an input field to 16px. This works fine on a standalone input field but if you have a parent container which incorporates a button, after changing font-size to 16px will make a bit of a gap under the button. Another solution would be to set a default font-size for input fields to 16px and adjust a

How to run a add-on function from a button on a sheet?

こ雲淡風輕ζ 提交于 2019-12-08 05:59:43
问题 I made an addon (link, in the description - the full code) that works like this. The spreadsheet editor fills the cells and selects the item to which the addon script is assigned in the user menu. The script inserts the current date on the sheet, collects the cell values, sends them to the owner, and removes the editor’s access to the spreadsheet. Everything works great on the desktop, but does not work on mobiles. Now more than 50% of users visit the Internet from mobile devices. Mobile