phonegap-build

Cordova splash screen remove

僤鯓⒐⒋嵵緔 提交于 2019-11-27 01:44:11
问题 Is it possible to disable cordova default splash screen, I have removed the plugin but default splash screen for iphone still is showing and for android white screen is showing.Can this be fully removed. 回答1: in your config.xml change the value to none in the below line <preference name="SplashScreen" value="none"/> 回答2: You can try the command to remove cordova splash screen ionic cordova plugin rm cordova-plugin-splashscreen 回答3: cordova plugin -rm cordova-plugin-splashscreen 回答4: Tested on

reCaptcha usage in cordova/phonegap application

北战南征 提交于 2019-11-26 22:12:17
问题 I am trying to integrate google recaptcha with cordova html5 application. But cordova uses file protocol in the application. So using captcha in the app gives "Error: invalid domain for site key" . I am using cordova 3.5.0 for building the application and <access origin="*" /> is added in config.xml. Is recaptcha can be used only for web applications and not for hybrid/native aapplications? 回答1: reCaptcha cannot be used directly in a cordova project because of protocol issues. Either -we have

Using camera on Phonegap app with only HTML input, without Camera API

佐手、 提交于 2019-11-26 21:36:27
问题 Is it possible to get a photo from camera in a phonegap app only with HTML input, without Camera API? Scenario I developed an app and encapsulated it through Phonegap (Build) Users can submit photos using html file input. But there is no option to take a new photo from camera, only gallery and files (and any other storage app like drive or dropbox, if it is the case). I would like to enable the camera option, but without the PhoneGap's Camera API. Solutions I've tried the following solutions

ionic build android failure - Execution failed for task processDebugResources

徘徊边缘 提交于 2019-11-26 20:34:00
问题 I am using Mac Yosemite. Getting the following failure on running a build for android platform : FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugResources'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /Users/sairamk/Development/android-sdk-macosx/build-tools/22.0.1/aapt package -f --no-crunch -I /Users/sairamk/Development/android-sdk-macosx/platforms/android-22/android.jar -M /Users/sairamk/projects/dummy

Capturing and storing a picture taken with the Camera into a local database / PhoneGap / Cordova / iOS

与世无争的帅哥 提交于 2019-11-26 18:45:31
I'm currently building an app for iOS using Phonegap/Cordova and jQuerymobile. The idea is to take photos with camera and store the captured image for future use. I would like to store the path/filename into my local database and to move the picture file to a persistent place in the iPhone. Could someone provide me with an example ? Jérôme Ok, here is the solution. in the Html file I have an image tag for displaying the picture taken by the camera : I have a button that runs a function for taking photo : Capture Photo The function to capture photo is (when the photo is taken, the scr of the

Phonegap build - Open external page in InAppBrowser or childbrowser with no toolbar and close it?

放肆的年华 提交于 2019-11-26 16:09:51
问题 I want to open an external page in the InAppBrowser or childbrowser, where I don't show any toolbar and where I can have a button in my externalpage that closes the browser and returns to the app from where I opened the browser. So how to close when you don ́t have a DONE button? I have seen that if I have var ref = window.open(encodeURI(url), '_self', 'location=yes'); then it is possible to close the browser with ref.close(); but if I use that in the externalpage that I opened it doesn't

Share something to a phonegap app

☆樱花仙子☆ 提交于 2019-11-26 15:24:31
问题 Is there any way to register a phonegap app to appear in the menu of applications to share? 回答1: To appear in this list you have to modify the AndroidManifest.xml file and add the following lines under your activity : <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> </intent-filter> This will make your app appear in the list. Now I think you may probably also want to know how

Cordova build: Please install Android target: “android-22”. I dont want android-22. I want android-19 - what do i do?

旧城冷巷雨未停 提交于 2019-11-26 13:56:23
问题 I'm struggling with my phonegap setup and building my first app. I created a hello1 project. I added the android project Platform android already added Now when I run the cordova build, I get the error - Error: Please install Android target: "android-22" I do not have android-22. I do have android-19. I want my project to be built with android-19. How can I make that happen? I had android-22 which I uninstalled (for fixing a bigger problem). I do not understand which file should I be making a

Cordova / Ionic : $http request not processing while emulating or running on device

感情迁移 提交于 2019-11-26 11:07:58
问题 Everything were going well last week and while i was running the application on device or emulating with Genymotion, all the calls to the api were working (Either returning the data or failing but at least showing something). I was using ionic run android I add to update the global cordova ionic: npm install -g cordova ionic Since that all the $http requests are not even processing. I can\'t get any responses while the Api is still working fine and the CORS are perfectly set. The only way i

Capturing and storing a picture taken with the Camera into a local database / PhoneGap / Cordova / iOS

巧了我就是萌 提交于 2019-11-26 06:34:14
问题 I\'m currently building an app for iOS using Phonegap/Cordova and jQuerymobile. The idea is to take photos with camera and store the captured image for future use. I would like to store the path/filename into my local database and to move the picture file to a persistent place in the iPhone. Could someone provide me with an example ? 回答1: Ok, here is the solution. in the Html file I have an image tag for displaying the picture taken by the camera : I have a button that runs a function for