I cannot find PhoneGap Developer App on any virtual device (I checked on standard Android Studio virtual device and Genymotion), its just not listed if I search for it in Google Play, I can only see PhoneGap Demo App. I know I can test from browser on virtual android, but I am finding some plugins not working correctly in browser (like navigator.geolocation.getCurrentPosition works fine in PhoneGap Deveoper App but complains about non secure cinnection when run in browser (http://PhoneGapDesktop:3000)
Thanks
The simplest way is to download PhoneGap Developer App apk to your PC and drag it to emulator.
It will automatically install the desired app to your emulator.
Please note that since this is obviously for educational purpouse, you should first understand and legally evaluate the terms of use of PhoneGap Developer App.
Related
I am making my first developer steps on Android.
Trying my first test app on an Android Virtual Device (AVD), I noticed that the device has almost no software on it, there is no Play Store and no Chrome Browser. See Screenshot. I checked all settings up and down but found no way to tweak the basic OS software load. I tried several phone models and API levels, but had no luck.
How can I create a device providing software support similar to a physical device, I do specifically need an Internet browser.
Google Play System Images
When creating the emulator, you need to select and create a system image that contains the playstore.
I have an android app that works on the chromebook flip when using arc welder to install and run it. However, when I download the current version from the play store, or sideload the current dev version by copying over the apk, the app doesn't run. I get the splash screen and then a white screen and nothing happens.
I tried using chrome on the chromebook and doing chrome://inspect/#devices and chrome://inspect/#apps but i don't see my running app in either place. (The app is mostly a webview wrapping a JS application, so this is typically how I debug it). I also tried using the android chrome browser and also do not see my app there. I am not sure where to find the application logs, although I did try looking at the various system logs. The chromebook is in developer mode so I can get a shell and look around, but I couldn't find an app log. adb devices does not show my app, and adb logcat doesn't show anything either.
Anyone know how to debug a webview app on the chromebook?
There is no need to use ARC Welder anymore. Play Store can be installed directly on Chromebook.
Also remote debugging using ADB is possible. Follow instructions from here.
https://developer.android.com/topic/arc/index.html
I have created a test project and added the plugin AdMobPro through this link : https://github.com/floatinghotpot/cordova-admob-pro.
There, is a step by step guide on how to install and add the plugin to a new project. This all works fine, finally. I run it in the emulator, the ads pop up no problem. Click through the interface, show interstitial ads and so on no problem either.
The problem occurs when I try and use the PhoneGap desktop app to serve the app to my device. I do this from the PhoneGap app on my Samsung Galaxy S7 Edge (I named the phone in case someone has came across this problem before on this device), typed in the server address. The app pops up, alerts working fine on button click etc (testing purposes) but none of the ads work.
To clarify, the ads show in the Android emulator, but not when serving to the PhoneGap app. Any one have any ideas ?
The PhoneGap Desktop App works as local web server that you can use with the PhoneGap Developer App to preview your code without creating a separate build.
The reason that you're not seeing the AdMobPro plugin working in the PhoneGap Developer App is because the PhoneGap Developer App only supports the core PhoneGap plugins.
I am trying to test my app on genymotion and am using parse as a backend.
Whenever I try to login, android displays an error: Unfortunately, the app has stopped working.
The same happens with virtualbox.
However, if I use the emulator, it works and login also works on Kindle fire jelly bean.
Any ideas on what could be wrong?
PS - If I use the internet, it works on both virtual box and genymotion.
You should add the logcat to help better. If you use google play services, you must install this in your genymotion.
You can try this:
How do you install Google frameworks (Play, Accounts, etc) on a Genymotion virtual device?
download Genymotion from this link https://cloud.genymotion.com/page/launchpad/download/ and register on site then login through your id and password...
We are trying to test our mobile web site on various Android simulators as we can't buy them all. We need to test it for Android Firefox as a requirement from the customer.
How can we install Mobile Firefox onto a Emulator?
So according to this site, if you have a device without Android Market (i.e. your emulator), you can download it directly from their FTP server:
http://bit.ly/fennecftp
Of course you'll have to update it yourself, but for testing it should be fine. Then install it like any other apk file (example).