phonegap-plugins

How to develop PhoneGap app with database storage > 5MB to be distributed on almost all platforms

自闭症网瘾萝莉.ら 提交于 2019-12-24 11:01:57
问题 I am building enterprise business application using PhoneGap to be able to distribute the application on almost all mobile platforms. My app may need offline database storage more than 5MB, and the PhoneGap SQLite DB is limited to 5M. After some search I found a cool plugin which make PhoneGap able to connect the SQLite DB with unlimited DB size, but unfortunately this solution is created for Android and iOS only. Is there any workaround or solution to let me develop my mobile app using

splash screen appears on click of android device BACK button — Created using PhoneGap

假如想象 提交于 2019-12-24 09:17:14
问题 We have created a phonegap application for android with phonegap version-1.3. When I am on any page of the application, and start using the device BACK button, the Android SPLASH screen appears/pops sometimes, and then the previously accessed page is shown. function onBackKeyPress() Sometimes when i click on some links which open the browser, and after i click on back button, its Showing Splash screen and relaunch the application. Is there any other function we can use for back button? 回答1:

Somebody know how to use live tiles with Phonegap and Windows Phone 7? [closed]

社会主义新天地 提交于 2019-12-24 08:19:23
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I'd like to know how to load some live tiles from a JSON from an URL but I have never used that option, could somebody give an idea how to do it? 回答1: Live Tiles are not supported by the PhoneGap 'core', in other

filepicker.io with phone gap on IOS

吃可爱长大的小学妹 提交于 2019-12-24 07:37:37
问题 I am trying to integrate filepicker.io with my Phonegap 2.2.0 project on iOS6 for iPad. In the docs on filepicker.io they say, just get childbrowser running and you are set. ( https://github.com/Filepicker/filepicker-phonegap ) Well, I got child browser running and tested the typical google example. But when I try to call the api like in their android example, it doesn't work. I edited the whitelist as well because of errors. The question is: Did somebody ever tried it on iOS? There are no

Phonegap Cordova Statusbar Plugin creating double bars

与世无争的帅哥 提交于 2019-12-24 07:35:57
问题 I am working on an app using phonegap. Building through CLI, not phonegap build. I am having an issue with the cordova-plugin-statusbar plugin. It will add an extra bar height when turned on. Here is what it looks like. double height menu bar: I have implemented the status bar in two ways. First by adding tags to config.xml <platform name="ios"> <preference name="StatusBarOverlaysWebView" value="false" /> <preference name="StatusBarStyle" value="default" /> <preference name=

Can't load my world, issue with loading architect://architect.js

孤人 提交于 2019-12-24 07:35:52
问题 I am able to run the HelloWorld sample within the Wikitude PhoneGap Plugin package for iOS. However, when I carefully copy the necessary files and frameworks to my own vanilla PhoneGap project, I experience the following when trying to load the same HelloWorld world: Whenever I leave <script src="architect://architect.js"></script> in my code, the app crashes at the big Wikitude logo (right before is minimizes to the lower left corner) When I delete that line, the app does not crash but does

FATAL EXCEPTION Barcode Scanner plugin for Phonegap

若如初见. 提交于 2019-12-24 06:45:02
问题 I tried the Phonegap And Barcodescanner. http://www.mobiledevelopersolutions.com/home/start/twominutetutorials/tmt3 "scanCode" click the link. Then exit with an error of Android applications. Log is as follows. What is wrong. > 12-13 10:55:32.486: E/AndroidRuntime(3726): FATAL EXCEPTION: main > 12-13 10:55:32.486: E/AndroidRuntime(3726): > java.lang.RuntimeException: Unable to instantiate activity > ComponentInfo{com.myapp/com.google.zxing.client.android.encode.EncodeActivity}: > java.lang

How to access a value from a Phonegap plugin in an Angular controller?

梦想的初衷 提交于 2019-12-24 03:54:11
问题 I'm new to Angular and getting stuck on something I hope is simple. I need to read the app version using this plugin (app version plugin). I know I need to read the version in the run handler but I can't figure out how to get it into my controller so I can data-bind to it. Here's my code so far which reads the version properly: var appVersion = "0.0.0"; var example = angular.module('surj', ['ionic']) .run(function ($ionicPlatform) { $ionicPlatform.ready(function () { cordova.getAppVersion

how to populate a SQLite database and use that database in phonegap?

♀尐吖头ヾ 提交于 2019-12-24 03:07:31
问题 so I'm new in Phonegap and I want to populate a database and use that database in my code. I want to know how can I do that but I don't know witch tool to use for populate a Sqlite database and how to open that database in my code. I've seen the sqlitePlugin and ioliteHelpers plugin but because of very short document I don't know how to use them exactly. besides i have seen this question too, but it don't have answers. thanks in advance. 回答1: Though this question is old... thought it might

Phonegap - reliable page width detection?

主宰稳场 提交于 2019-12-24 00:58:40
问题 Can anybody recommend a good way to detect screen width on a HTML5 Android App built in Phonegap? Our page is reasonably fluid - but I need to switch logo's/footer graphics for smaller screens - so I inject a stylesheet for smaller versions - seems to work fine in general, some phones (HTC Wildfire)seem to think they are 320px width when they are only 240 so I'm struggling! This is my current detection code - any suggestions would be really helpful! Cheers Paul $(document).ready(function() {