Hello toghether,
how can i depoly an apk on Android Emulator with MoSync IDE? If not possible, please advise me how can i do it manually?
Thank you.
Hello toghether,
how can i depoly an apk on Android Emulator with MoSync IDE? If not possible, please advise me how can i do it manually?
Thank you.
Now i've done it with "adb install ". Hope this will integrated soon in the next release.
Thank you.
Now i've done it with "adb install ". Hope this will integrated soon in the next release.
Thank you.
+1 :)
rmbo,
You now can run the android emulator directly from MoSync and it will install the app for you on emulator, isn't it amazing?
Cool functionality! I would like a bit more parameters exposed though for the Android emulator... I normally use the scaling all the time, that would be a plus to have in MoSync as well.
Also, it would be nice to just update the emulator with the newest code, so that it doesn't have to be restarted each time. Right now I've added an external command to MoSync that runs: "adb /r install [myproject]" and that works great!
I ran the emulator from MoSync IDE. It installed the application and i could run it.
But after modifications in the source (HTML project) I now want to publish the application.
It keeps starting with the original application (sample application).
How can I fix this?
Regards,
Marc Claasen
I ran the emulator from MoSync IDE. It installed the application and i could run it.
But after modifications in the source (HTML project) I now want to publish the application.
It keeps starting with the original application (sample application).
How can I fix this?
Regards,
Marc Claasen
Hi Marc, I'm not sure I understand the problem. Have you got two projects open? Or are you saying that its not published your changed HTML? Have you created a Run Configuration, because it may have that selected.
Hi,
I have 1 run configuration.
When i press The plat button in The ide The emulator starts.
But i see The old application.
When i open The index.htm in my browser it looks ok.
I tried The package with adb uninstall but this returns à failure (just this word no message)
Reinstalling with adb install returnsessage Package already installed.
Hope this helps.
Marc
OK, a few things here then. Firstly adb -r will reinstall a package, and abd uninstall where 'package' is the package name, not the application name - e.g. com.mosync.app_MYAPP.
If the device profile is set to Android, then it should send it directly to Android, without you having to run adb at the command line.
If the HTML is added as a resource (and I need to go and check an HTML5 project), then it perhaps hasn't detected the changes in the HTML. Change the resource file (.lst) and add an extra blank line or something just so it recompiles the resources. There will be a new improved resource compiler in MoSync 3.0
Hope this helps
Hi Sam,
apparently adding the line did the trick !!
Now I have the application running in the emulator.
Thanks for your help.
Marc