mobile

Google Drive Realtime API offline and sync support

谁说胖子不能爱 提交于 2019-12-10 15:34:23
问题 I want to build a mobile web app with transparent offline and sync support for collaborative persistent data. I am considering using Google Drive Realtime API for the backend. How well is offline and sync supported by the API? Does it just work "automagically" from the included API scripts, or should I use some "plugin"? I have searched the documentation without luck. What I mean by offline and sync support is that, when offline, it should be possible to - edit the latest synced version of a

Equivalent of configuration profiles (iOS) for Android, Windows Phone 7 and Blackberry

ε祈祈猫儿з 提交于 2019-12-10 15:20:44
问题 In iOS, configuration of email, wifi and vpn etc. can be pushed over the air using Configuration Profiles. Is there anything equivalent for Android, Windows Phone 7 and Blackberry? Link to Configuration profiles for iOS http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009505-CH1-SW1 回答1: Look to the BES technology for BB. Everything is controlled by Service Records. But I don't

posting requires a permission login dialog to appear twice

雨燕双飞 提交于 2019-12-10 15:16:21
问题 I am developing a mobile camera app that allows posting a photo on facebook. The camera app is a stand-alone and does not require facebook login when it starts. However I want to allow posting a picture to facebook. It follows that the first time a user will try uploading an image it will have to go through the permission login dialog twice. I cant find a way to ask the user for access his basic information + posting of an image on his wall with one login dialog. This seems "by design" if you

How to play videos on a android tablet in with adobe air mobile with out them being choppy?

和自甴很熟 提交于 2019-12-10 15:16:05
问题 I am trying to build a app that will play videos on a Android tablet. The tablet is a transformer prime running a Android version 4.0.3. I am using flash Builder 4.6 with Flex 4.6.0. Every time i add a video to the tablet, it is very choppy and jumpy. If i try and use any video that is not flv then the video is always sent to the background behind all the other content and no longer stays with the container that it is placed into. I created a sliding containers that can be moved left or right

How to isolate specific platforms using CSS selectors in the Ionic framework

喜欢而已 提交于 2019-12-10 15:05:51
问题 I came across a rare situation (though it's understandable given different behaviours between even Android and iOS) where I wanted to use a different style specifically for iOS in a Cordova app I am developing on the Ionic-framework. I wondered the best way to isolate my selectors based on platform? Basically I wondered how I could insert a class into the body tag of every page in my app identifying the platform. My initial options were I could use the CordovaDeviceModule and return the

Disable scroll on mobile devices

不羁的心 提交于 2019-12-10 14:53:55
问题 I have a simple HTML page where when I touch a div we can't scroll. You can find this page here If you open this page with a desktop browser, like firefox, if you hold click down on the div you can't scroll. Now I want this behaviour on mobile, like Android. In fact on Android if you open this page you can scroll in any cases. Sorry for the colors in my examples ;) 回答1: I think you are asking how to disable scroll on mobile devices: You can add an event listener for touchstart and touchmove .

Mobile keyboard changes html viewport size

安稳与你 提交于 2019-12-10 14:52:24
问题 A known problem if you are using percentage (or viewport unit) width and height for <body> is that when mobile keyboard invoke due to input the size of any percentage/viewport element will change . I've searched a lot about this problem and nothing could really help. I found one of the answer is to adjust the layout according to the new viewport : mobile viewport resize due to keyboard but this is not really practical. Does anybody know how to manipulate mobile keyboard on web ? After some

PayPal POST payment vars not present on mobile checkout

♀尐吖头ヾ 提交于 2019-12-10 14:36:53
问题 I'm using the JS Buy It Now button for payments, like this: <script src="paypal-button.min.js?merchant=qwertyseller@gmail.com" data-env="sandbox" data-button="buynow" data-name="Product" data-amount="1" data-currency="GBP" data-shipping="0" data-tax="0" data-callback="http://1.1.1.1/paypal/paypalipn.php" data-return="http://1.1.1.1/paypalreturn.php" data-cbt="Click here to finish!" data-no_note="1" data-no_shipping="1" data-rm="2"> </script> When I reach http://1.1.1.1/paypalreturn.php on

Hide URL bar without hiding Smart App Banner on iOS

末鹿安然 提交于 2019-12-10 14:35:11
问题 Is it possible to hide the address URL bar but not the Smart App Banner on iOS Safari? I have tried the solutions from this question: Hiding address bar without hiding the smart app banner on iOS 6, but it doesn't seem to work. The Smart Banner still gets hidden when I use MBP.hideUrlBarOnLoad from https://github.com/h5bp/mobile-boilerplate/blob/master/js/helper.js, as the answer suggests to do. 回答1: I use: $(document).ready(function () { mob.SetUpEvents(); setTimeout(function () { if (jQuery

Create interactive videos in iPad - An app for product demo

喜欢而已 提交于 2019-12-10 14:32:30
问题 I would like to create videos that needs to run on an iPad native app. The app needs to show a demonstration of a product through iPad. It needs to be interactive as well. I know we can do these in Flash, since Flash is not supported in iPad what are my options? I appreciate any guidelines or hints. Thank you in advance 回答1: The easiest way to create interactive videos for iOS is to use Apple's HTTP Live Streaming technology. You have to create a video, embed metadata, play it using