phonegap-build

Create a Custom AdMob Plugin for Phonegap Build (for iOS and Android)

有些话、适合烂在心里 提交于 2019-12-02 21:37:54
Everything in my Phonegap Build app is working, including the Analytics and FacebookConnect plugins. However, now I would like to add AdMob ads. Phonegap Build does not provide a built-in plugin for AdMob, but according to the Phonegap Build Plugins page , you can now add your own custom plugins (see Contributing Plugins at the bottom of the page). PhoneGap Plugins can be made compatible with PhoneGap Build with the use of a plugin.xml file... The Phonegap Build Plugins page references the Child Browser plugins.xml on GitHub as an example of how to setup the custom plugin.xml. Below is the

Cordova external app + local video

▼魔方 西西 提交于 2019-12-02 20:54:18
We have an iOS app built with PhoneGap / Cordova 4.3.0. This app directly loads an external website by using <content src="http://example.com/foo" /> in the config.xml file. All the functionality is contained within this website, so we are not actually using any local HTML or JS files. As part of the app functionality, we must play some videos. Because the app is designed to work offline as well, we want to cache these videos locally. Therefore we are downloading them to the device using the FileTransfer plugin, along with other resources such as images or PDFs. After downloading the files we

Facebook Connect + jQuery Mobile + Phonegap Build

大城市里の小女人 提交于 2019-12-02 12:05:25
问题 I'm trying to understand how to use Facebook Connect (login) with jQuery Mobile and Phonegap Build , but as more I search about this information, more I get confused. I have already my app created on Facebook, and I have API number. I don't know if the best way is to call a PHP page (via ajax) where validates EMAIL + PASS via Facebook PHP SDK or Facebook SDK Javascript. For SDK JS I don't understand how to integrate it in my code (and I don't know if it's possible to test it by localhost). If

PhoneGap retrieve contacts

依然范特西╮ 提交于 2019-12-02 09:16:22
问题 I'm facing a serious issue while fetching contacts from the contacts list using PhoneGap. I have installed the plugin and did everything but seems it doesn't work for me. So, What is the problem ? The problem with it is my contacts having the email accounts.So email doesn't have the phonenumber. Here is the screenshot : http://prntscr.com/82meyr What is the issue ? Well, the problem is that when it encounters the email the for loop stops immediately and shows the 20-30 contacts only! function

Is Polymer v1.0 compatible with phonegap build?

孤者浪人 提交于 2019-12-02 06:45:14
Is Polymer v1.0 compatible with phonegap build? I tried to build the polymer starter kit but the build was not a success. @Ahemed, Polymer is new and experimental. It works with only a few browsers. Phonegap, at this time, does NOT support polymer. Your questions are best directed to the one and only (as of the moment) meetup group in Silicon Valley on this subject. http://www.meetup.com/Web-Components-Silicon-Valley-Meetup/ Best of Luck. 来源: https://stackoverflow.com/questions/31636632/is-polymer-v1-0-compatible-with-phonegap-build

Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Plea

廉价感情. 提交于 2019-12-02 05:34:51
问题 I Got Error When Compile my Phonegapp App Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: GoogleMaps.java - You can fix this here Compile Log: https://snipplr.com/view/329573/compile-log/ and config.xml Given Below. please help why can i do? <?xml version="1.0" encoding="utf-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" xmlns:android =

PhoneGap retrieve contacts

柔情痞子 提交于 2019-12-02 05:25:25
I'm facing a serious issue while fetching contacts from the contacts list using PhoneGap. I have installed the plugin and did everything but seems it doesn't work for me. So, What is the problem ? The problem with it is my contacts having the email accounts.So email doesn't have the phonenumber. Here is the screenshot : http://prntscr.com/82meyr What is the issue ? Well, the problem is that when it encounters the email the for loop stops immediately and shows the 20-30 contacts only! function onSuccess(contacts) { alert("Total contacts = "+ contacts.length); for (var i=0; i<contacts.length; i+

Phonegap build fails with exit code 2

非 Y 不嫁゛ 提交于 2019-12-02 04:31:40
I just freshly installed phonegap and having this problem when I try to build the project with the following command ; "phonegap build android" ANDROID_HOME : C:\Android\sdk ANT_HOME : C:\apache-ant-1.9.4\ JAVA_HOME : C:\Program Files\Java\jdk1.8.0_45\ The detailed console log is as follows ; Error : executing command 'ant' , make sure you have ant installed and added to your path. Command finished with error code 2: cmd ....\android\cordova\build.bat. Error building one of the platforms. Error : cmd : command failed with exit code 2. You may not have the required environment or OS to build

Facebook Connect + jQuery Mobile + Phonegap Build

白昼怎懂夜的黑 提交于 2019-12-02 03:00:20
I'm trying to understand how to use Facebook Connect (login) with jQuery Mobile and Phonegap Build , but as more I search about this information, more I get confused. I have already my app created on Facebook, and I have API number. I don't know if the best way is to call a PHP page (via ajax) where validates EMAIL + PASS via Facebook PHP SDK or Facebook SDK Javascript. For SDK JS I don't understand how to integrate it in my code (and I don't know if it's possible to test it by localhost). If someone could help me with this question... Update I tried @Dom suggestion, but when I click in the

push notification doesn't show up on status bar

≡放荡痞女 提交于 2019-12-02 02:41:49
问题 i'm using phonegap with phonegap-plugin-push , and i tried the example that comes with the plugin , i tested it on my phone ( Galaxy s4 , Android 5.0.1 ) , when i send notification while application is on i got vibration and the message is showing inside the cards div as mentioned in index.js but i got no notification on status bar , if the application is on background i got also no notification on status bar but i got vibration. i wonder why i have no notification popup on status bar. i use