I started with PhoneGap in Eclipse and made a basic app with some basic paragraph text...and it works fine in my emulator and real device (android os) ...but now I tried with some sample projects for the the PhoneGap 2.x Mobile Application Dev. Hotspot - from here
https://github.com/photokandyStudios/PhoneGap-HotShot-Book-Code-Bundle
and when I run the projects in my emulator or real devices it comes to 'Connecting to device' splashscreen and it never ends.
The same thing happened with the demo example coming in phonegap - only the splashscreen says "Device is ready".
I just want to note that I resolved the issue. Namely it was related to the github repo folder organization...just copy/paste the chapterXX/www folder to chapterXX/android/assets folder...it works then fine
Related
I am an intermediate Android Apps developer who uses java. Recently I tried to switch to Flutter and default app works fine debug on my cell phone through cable.
I just happened to look at Android Manifest and there are multiple error showing:
But to my surprise it shows no error on device.
I have set Flutter, dart and git path already. It would be nice if someone can help with theses errors.
This is normal since you are operating on a Flutter project, and not an Android one.
Try to Open the project from your-app-folder/android.
I tried creating an Android workspace with Codenvy with the sample hello world app provided. I built and ran the project. Clicked on 1(execute the run command) and then on 2(preview).
I never saw the hello world activity in the emulator screen and I didn't even see the app installed in the APPS section.
Am I doing something wrong?
You need to follow this guide https://github.com/che-samples/mobile-android-hello-world/blob/master/README.md and install apk once an emulator is started.
I have some problem for running a JavaFX application on mobile (ex: Archos Diamond S with Android 5.1)
First of all, I have created a simple "Hello world" JavaFX application on Eclipse (SDK Mars.2 - 4.5.2).
Then, for generating an Android application whereas my source language is JavaFX, I have installed Gluon (with its JavaFXports) on Eclipse.
And, now, in Eclipse, there is the "Gradle tasks" tab. Fine!
Moreover, I have connected my mobile to my desktop through the USB port. My PC recognizes it (a popUp is automatically displayed with the mobile name and some mobile options as: "Synchronize ..", "import..", ....
Now, last step to do (I hope), when I launch the Gradle task "AndroidInstall", it seems to be that my mobile should display the generated Android application. But nothing appears on my mobile.
I have searched a file *.apk in my desktop, without success.
Note that when I choose "Run" as a Gradle task, my application works fine on my PC.
Have you an idea about this problem PC-mobile?
Thank you for your response
I'm trying to make a Phonegap app for android and I have a problem that I can't figure out...
I used this tutorial for my first plugin http://devgirl.org/2013/07/17/tutorial-how-to-write-a-phonegap-plugin-for-android/ (I didn't copy past the code) and I created a plugin that works.
The problem came up when I moved the "web application" from the android device to my computer, ran in on apache and loaded the url on the device... The page comes up just fine and I get the "Device ready" message, but my plugin does not work...
Do I have to do anything differently if I want to run an external url?
I created four or five little test Android apps in Dreamweaver CS6 using PhoneGap Build. Each time, the current app would run in the emulator. Now, instead of running the project in the current site, the emulator64-arm keeps running a previous project when I click the PhoneGap Build icon on the Android emulator home screen. I have tried deleting all my projects from build.phonegap.com, and deleting all but the most recent project from the local drive. Even so, the emulator runs the old project -- which as far as I know, doesn't even exist anymore, either locally or on build.phonegap.com! Do I need to delete the project from the emulator? If so, how would I do that? Any help will be greatly appreciated, cause I'm stumped!
Mac OS X 10.6.8
Mystery solved. The first few times I installed apps on the emulator, I clicked the PhoneGap Build icon to run them. But later appps installed under different names -- I guess based on info I entered into the config.xml file.
Still would be nice to know how to delete those apps from the emulator. But at least the really mysterious part is explained -- why it ran a different app from the one I just built. I was just clicking on the wrong icon.