cordova

location update auto pause iOS

本小妞迷上赌 提交于 2020-01-14 22:54:47
问题 I'm building an iOS app using phonegap. I'm trying to get iOS to update its current position to my app when the app runs in the background. I've registered the location updates background mode however it's not reliable. After some research, I believe that iOS is automatically pausing the location updates. There's an attribute in CLLocationManager called 'pausesLocationUpdatesAutomatically' that I think is responsible for this behavior. The following declaration is from CLLocationManager.h in

location update auto pause iOS

泄露秘密 提交于 2020-01-14 22:54:21
问题 I'm building an iOS app using phonegap. I'm trying to get iOS to update its current position to my app when the app runs in the background. I've registered the location updates background mode however it's not reliable. After some research, I believe that iOS is automatically pausing the location updates. There's an attribute in CLLocationManager called 'pausesLocationUpdatesAutomatically' that I think is responsible for this behavior. The following declaration is from CLLocationManager.h in

Creating iPhone app using phonegap on Windows7

ⅰ亾dé卋堺 提交于 2020-01-14 19:51:12
问题 C:\soft\my-app>phonegap create something [phonegap] create called with the options C:\soft\my-app\something com.phonegap.helloworld HelloWorld [phonegap] Customizing default config.xml file [phonegap] created project at C:\soft\my-app\something cd something C:\soft\my-app\something>phonegap build ios [phonegap] detecting iOS SDK environment... [phonegap] using the local environment [phonegap] adding the iOS platform... { [CordovaError: Applications for platform ios can not be built on this OS

InAppBrowser plugin for Cordova/Phonegap — window.open not opening links in default browser

喜夏-厌秋 提交于 2020-01-14 19:14:49
问题 I'm trying to add the InApBrowser PhoneGap plugin to my web app in order to open the links in the mobile default browser. The webapp is programmed with AngularJS and IonicFramework. I know there are very similar questions, but none of the solutions I've tried has worked so far. So when I create the apk file and run it on my Android phone device some things don't work as expected. By the way, I build the apk file through the https://build.phonegap.com/. In my index file I have this function: <

Error installing Visual Studio Multi device Applications after update

巧了我就是萌 提交于 2020-01-14 18:55:19
问题 I have recently updated Visual Studio 2013 to version 4 and then I have tried to update Apache Cordova Multi Device Tools to the new version but I get an error saying its blocked and I have to uninstall the older version. I clicked the link http://go.microsoft.com/fwlink/?LinkID=518308&clcid=0x409 and tried to follow the instructions but it says in the CMD prompt that the file dosn't exist. I have checked and the Hybrid Apps CPT2.0 is not in my Programs and Features list so it's deleted ok

Desigining a mobile app for an existing Spring MVC application (Spring Mobile or Phonegap)

别说谁变了你拦得住时间么 提交于 2020-01-14 14:32:12
问题 I created a web application on Openshift using Spring MVC and MySQL. Now I want to go mobile for this application. I want to publish the same application as a mobile app (Android mainly). Primarily, this mobile version should play with HttpPost/Webservice security authorisation too. I know Pivotal has a Spring Mobile project which helps create a mobile site for the same application (with more sophistication like spring form tags and all). On the other hand, Phonegap can create a cross

Scale HTML content using JQuery Mobile & Phonegap

拟墨画扇 提交于 2020-01-14 14:16:10
问题 I need to dynamically load content from HTML emails into some type of content area within my HTML so that it is scaled to fit, exactly the way the native mail apps do for iPhone/Android. I have spent two days Googling and testing to no avail. I'm loading the HTML content (which is often set to width=600 or something nice), but rather than scaling, it is appearing as follows: iPhone Simulator Example The HTML is very simple: <div data-role="page" id="messagedetailpage" data-add-back-btn="true"

Scale HTML content using JQuery Mobile & Phonegap

一曲冷凌霜 提交于 2020-01-14 14:15:51
问题 I need to dynamically load content from HTML emails into some type of content area within my HTML so that it is scaled to fit, exactly the way the native mail apps do for iPhone/Android. I have spent two days Googling and testing to no avail. I'm loading the HTML content (which is often set to width=600 or something nice), but rather than scaling, it is appearing as follows: iPhone Simulator Example The HTML is very simple: <div data-role="page" id="messagedetailpage" data-add-back-btn="true"

Phonegap adding plugin using command line tool

久未见 提交于 2020-01-14 14:00:35
问题 I am new in phonegap, i go through steps define in phonegap official site for creating project using command line tool( nodejs ). i success to create project and adding platform but, following error occur when i am trying to add plugin. Command : cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status.git error : [Error: Error fetching plugin: Error: git command line is not installed] how can i resolve this error and how can i install git command line? Thanks

No prompt for signing a certificate for Cordova windows app

﹥>﹥吖頭↗ 提交于 2020-01-14 13:49:25
问题 I'm trying to create and install a Cordova windows application by using the command-line tools. When running cordova run windows --device , the shell shows this text: Before installing this app, you need to do the following: - Install the signing certificate Administrator credentials are required to continue. Please accept the UAC prompt and provide your administrator password if asked. The problem is that there's no prompt . Cordova seems to sit there, waiting for me to accept the prompt,