phonegap-build

Disable zoom buttons in Phonegap's inappbrowser

匆匆过客 提交于 2019-12-04 08:20:50
After hours of searching and trying different things I'm close to give up. I want to open an external URL in the inAppBrowser that is now included to the Phonegap Build. I remove the address bar with location=no (also tried toolbar=no , but it didn't do anything), however the zoom (+ and - buttons) that appears whenever you scroll the page won't go away. I can't find a way to disable it, but maybe I overlook something? I'd just use the pinch zoom, so I don't see the reason to have these ugly buttons on top of the page (which is designed specifically for this app). So is there a way to disable

Remove Title Bar Phonegap

浪子不回头ぞ 提交于 2019-12-04 08:01:34
How to remove the title bar that is showing for a second or so at the start of the application in phonegap build? I tried fullscreen as showed in Phonegap remove title bar at start and its working, the app is full screen but the title bar stil shows up for a second or so at the start of the app. When buildin locally I can remove the title bar form manifest.xml with the command android:theme="@android:style/Theme.NoTitleBar"> How can I completely remove the title bar from phonegap build? I solved it by adding these lines to the config.xml <gap:config-file platform="android" parent="/manifest">

Cordova check if file in url exists

匆匆过客 提交于 2019-12-04 05:59:45
I am using cordova / phonegap and need to know if a file exists Here's the code with the path and filename: storeUrl = cordova.file.dataDirectory+'myfolder/myfile.mp3'; How can I check if this file exists? Try code from this link: https://cordovablogsblogs.wordpress.com/2015/06/10/how-to-check-a-files-existence-in-phone-directory-with-phonegap/ . Code: function checkIfFileExists(path){ window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){ fileSystem.root.getFile(path, { create: false }, fileExists, fileDoesNotExist); }, getFSFail); //of requestFileSystem } function

Phonegap Build iOS camera.getPicture() quality parameter not working

强颜欢笑 提交于 2019-12-04 05:32:44
问题 I have written a Phonegap application and compiled it using the Build service. My application calls the camera in this block of code: function capturePhoto() { // Take picture using device camera and retrieve image navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, destinationType: destinationType.FILE_URI }); } The resulting image is uploaded to a server via ajax. When I review the uploaded images, some arrive with their quality reduced appropriately but some arrive with

Remove White Flicker after splashscreen phonegap 3.3

冷暖自知 提交于 2019-12-04 05:11:20
How is it possible to create an app, add the splashscreen plugin, the splashscreen should disappear when the device is ready and no WHITE FLICKER to appear?? This happends on Adobe build and also on cli build on android plaform! These are the simple steps I used over and over again for about a week to figure this thing out: I created an app: phonegap create app I added the plugin: phonegap local plugin add org.apache.cordova.splashscreen I added this to the config.xml file from www folder: <feature name="SplashScreen"> <param name="android-package" value="org.apache.cordova.splashscreen" /> <!

Phonegap build fails with exit code 2

。_饼干妹妹 提交于 2019-12-04 05:05:46
问题 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.

Is it possible to build Cordova App online?

天涯浪子 提交于 2019-12-04 05:01:00
I am making making an app using PhoneGap framework. PhoneGap provides build Service ( http://build.phonegap.com ) that allows us to build and package app in cloud .You do not need to install any SDK locally to build app. Is there any way to build cordova app Online Did you try Monaca? They have free plans: https://monaca.io You could also use Intel XDK platform. I've found very useful to develop in brackets+chrome and test and build in intel xdk. They have a very powerful emulator (over ripple afik). Also intel-xdk is becoming more powerful every day and they are actively improving it. To

Landscape splash screen for Android in PhoneGap Build

断了今生、忘了曾经 提交于 2019-12-04 03:00:04
What should I enter to config.xml or what should I do in general, to have PhoneGap Build application's splash screen displayed correctly on Android device in landscape mode? PhoneGap Build (used to compile) docs / blog have nothing on this. Only Portrait is covered for Android. Since first (docs) says that using height and width is cross-platform supported, I tried to use it: <gap:splash src="res/splash-200x320-android.png" gap:platform="android" gap:density="ldpi" width="200" height="320" /> <gap:splash src="res/splash-320x480-android-bada-ios.png" gap:platform="android" gap:density="mdpi"

“Not allowed to load local resource” for Local image from Remote page in PhoneGap Build

蓝咒 提交于 2019-12-04 00:11:54
I'm hosting my webpages for a phonegap build app. I'd like to use the camera to upload a photo, and show a preview the image, basically doing this: <img src="file:///storage/emulated/0/Android/data/com.myapp.myapp/cache/1470418568917.jpg" height="500" /> Because my pages are hosted I'm getting this error: Not allowed to load local resource: file:///storage/emulated/0/Android/data/com.myapp.myapp/cache/1470418568917.jpg", source: https://www.myapp.com/v5.5/imager.html# I assume that this is some CORS problem, so I've added this to the html of the page <meta http-equiv="Content-Security-Policy"

How to upload IPA now that Application Loader is no longer included in Xcode 11

丶灬走出姿态 提交于 2019-12-03 18:55:37
问题 I'm a little afraid to ask this question because the problem seems huge to me and yet I don't see anyone panicking about it. I'm a little afraid to sound crazy, but I'm going to go for it : As we can read on Apple's post Submissions Update : Starting with Xcode 11, Application Loader is no longer included in Xcode. For details on how to upload your apps to App Store Connect using Xcode, see Xcode Help. It is legitimate for people and organizations using the Phonegap build service to ask