Tag: mobile

How to develop an Phonegap plugin with an android background service

phonegap android service develop https://groups.google.com/forum/?fromgroups=#!searchin/phonegap/serviceandroid/phonegap/jLoVppraXc4/hke42KLipigJ BackgroundService class which extends android.app.Service I’ve added a Service node (within Application) in AndroidManifest.xml for the BackgroundService In my Activity (extends DroidGap) I call startService for the BackgroundService BackgroundServicePlugin class which extends Plugin BackgroundServicePlugin binds a ServiceConnection the background service BackgroundServicePlugin.js to expose functions to the html This all seems…




加速你的html5 webpapp应用

http://stackoverflow.com/questions/7110173/sencha-touch-how-to-avoid-slowing-down-ios-apps-inside-phonegap Here are some nuggets: PhoneGap/Mobile Web Performance Tips * How Diary.com increased the performance of their PhoneGap app running Sencha: http://www.phonegap.com/2011/06/21/building-the-diary-com-ios-app-using-pg-sencha-touch/ * http://floatlearning.com/2011/03/developing-better-phonegap-apps/     * http://jslint.com/ – to debug your javascript     * http://zeptojs.com/ and http://xuijs.com/ – minimal alternative frameworks to jquery and jqtouch * Disable the accelerometer and location http://blogs.nitobi.com/jesse/2009/10/28/running-jqtouch-in-phonegap/  …