mobile

What's solution to make task background in iOS same service in Android?

笑着哭i 提交于 2019-12-13 05:50:00
问题 I'm newbie iOS. I have been develop Phonegap for Android and iOS. My App is update data from server every 1hour. In Android, i use service to do that. My app in Android working very good. Now, i want to develop version for iOS, and i have problem when update data from server every 1hour. I was research but not find anyway for my app.I don't know what's solution to replace for service in Android. Can you help me, what's solution. This have been kill me. Thank you so much. 回答1: Short answer is

“This verison of ADT requires Android SDK Tools in revision 17 or above.” I can't get this error to go away.

北慕城南 提交于 2019-12-13 05:49:08
问题 The full text is: This verison of ADT requires Android SDK Tools in revision 17 or above. Current revision is 15. Please update your SDK Tools to the latest version When I get this error, it prompts me to open up the SDK Manager. Then I select the newest version, and try to install it, but then I receive the error message: -= Warning! =- A folder failed to be moved. On Windows, this typically means that a program is using that folder... So, I close Eclipse, and click 'Yes' to try again, but I

Unification of .jar and .jad files in a J2ME application

余生长醉 提交于 2019-12-13 05:36:28
问题 currently, I am developing a J2ME application for mobiles using LWUIT library. The build result of my project includes a .jar file along with a .jad file. I wonder, is there any way to unify these to files into a single .jar file? Why some properties of my application should be mentioned in a single (and simple) .jad file instead of the METAINF/manifest.mf file of the jar file? It really makes the deployment process more difficult. 回答1: There are historical reasons for the separate .jar and

Javascript template parsing in mobile devices

你离开我真会死。 提交于 2019-12-13 05:35:46
问题 I have implemented basic template parser for javascript. it simply replaces variables within template string. i.e {event.date} will be 7/4/2013 I am using script tag to store template string <script id="date_template" type="text/html"> <span class="date" id="date_{event.id}"> {event.date} <span> </script> but it gives error in mobile devices so I have used div element for this <div style="display:none" id="date_template"> <span class="date" id="date_{event.id}"> {event.date} <span> </div> but

Does Faye work on the iPad

我的梦境 提交于 2019-12-13 05:30:37
问题 I've been playing with Faye and have gotten a test rails application to work on my computer's browser (Chrome 30.0.1599.101), but when I tried to access the same page on my iPad the messaging seemed to be broken. As far as I can tell, it seems that websockets, the technology used by Faye, isn't supported on most mobile browsers. I tried Chrome, Firefox, and Safari on the iPad and couldn't get Faye to work on any of those. Is there a mobile browser that supports Faye or some other messaging

Combine Onsen UI sliding menu and tabbar

喜你入骨 提交于 2019-12-13 05:20:18
问题 I searched and didn't really find the right answer. I have the sliding menu in the top left for the 'full menu' but I also want the tab bar at the top to highlight 3 or 4 specific links/pages. How can I have them both working? When I place the tabbar in my script, the sliding menu doesn't work right. 回答1: There's no trouble on implementing sliding and tabbar. <ons-sliding-menu main-page="page1.html" menu-page="menu.html" side="left" max-slide-distance="250px" var="menu"> </ons-sliding-menu>

width:100% doesn't work on mobile browser

大兔子大兔子 提交于 2019-12-13 05:18:59
问题 First of all i must say that i tried all solutions on this site. I want to set width:100% on main div. It work on desktop browsers but not on mobile browsers. Here is css of my main div: .main { height: 100%; width: 100%; margin-left: auto; margin-right: auto; margin-top: -66px; opacity: 0.83; border-top-left-radius: 100px; border-top-right-radius: 100px; -webkit-box-shadow: 7px 7px 7px #CCC; -moz-box-shadow: 15px 15px 15px #CCC; box-shadow: 20px 20px 20px #000; background-color: #FFFFFF;

How to redirect my Windows Phone C# app to a setting page?

寵の児 提交于 2019-12-13 05:15:32
问题 I need an Method or Class that redirects my app to a setting page like "Ringtones+Sound" or "Brightness". I was thinking of something like "ConnectionSettingTask" class and ".Show()" method that redirects to a "bluetooth" page, for example. Any ideas? 回答1: You can use LaunchUriAsync to open up built-in apps. Use following code to achieve your requirement: Windows.System.Launcher.LaunchUriAsync(new Uri("ms-settings-bluetooth:")); The problems: There are only limited uri schemes available. Here

JQuery for mobile safari: on() fails

我怕爱的太早我们不能终老 提交于 2019-12-13 05:12:43
问题 I'm trying to change some classes on dynamically generated DOM elements for a mobile web page. My usual method, the jquery on() doesn't pick up the events properly. Neither does "delegate()" , my backup work. I'm using JQuery version "http://code.jquery.com/jquery-1.7.min.js" 回答1: The solution was to add onclick='' to the div element. Not sure why that worked, but it did. – 回答2: Instead of using the on, can't you just write the event as it is? Such as: $(document).ready(function () { }); $

Embedding Survey In Mobile Apps

亡梦爱人 提交于 2019-12-13 05:04:59
问题 Don't know too much about the mobile space, so I hope I'm asking the right questions. Here goes... Is it possible to embed a quick survey into mobile apps? These are custom surveys in HTML5 format. Not a commercial service like Wufoo. This is a proprietary system. The only thing the app developer would need is a JavaScript tag from me and the rest is handled by the script that’s called. If you’ve played Temple Run 2 recently, you might notice that sometimes before your run starts, the screen