Hey Friends,
I have Created an Sapui5 Application, and now I want to Develop The Same Applcation In Phonegap For the Android. i Am Totally Helpless , Can anyone Guide me friends . i Think Step By Step Process Explanation Shall Be very Helpful For me .
And For more clarity my application is Getting data from Backend Json and its Not a Mobile app....
Request clarification before answering.
Hi,
The error below is not because of your code, normally this is because the project has been corrupted in someway. Did you generate this project just for this android app or did you copy any of it from another like an IOS app?
if you copied any of it from another project it can give strange errors. I would create a new clean phonegap app, run a android build and then copy the files across to the assets ..... and cross your fingers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey After reading many Threads and some R&D i Run my SAPUI5 app in android device .....Basically in my SAPUI5 app i am getting Table data from Localhost and I have put a alert If no Data comes and ....When i run in android device its Pops up ALERT Error and (That means my code is working ?). then after that i receive error message 😮 Help me friends
Where i am Going wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shri,
If you want load data per HTTP from your computer, on which the emulator is running, you have to use the IP address 10.0.2.2 instead of localhost. You can get more information about that from here.
Regards Michael
hi Vishnu,
I was also getting the same error, and i figured it out why its happening.
Its coming because u have set timeout for your activity.
Inside you MainActivity.java class there is a line inside oncreate method....
super.setIntegerProperty("loadUrlTimeoutValue", 60000);
just increase the timeout value...thats it...then it will run properly.Try it
Regards
Syed Shadan Quaiser
This thread has very good explanation to package ui5 apps to phonegap.
http://scn.sap.com/thread/3287821
Please run the examples and post a new thread if you face any issues.
Regards
VIru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is a very good tutorial:
It is actually a SAP HANA tutorial, but it explains very well how to set up eclipse and create an android application (apk).
When you run your sapui5 application in the android emulator (end of tutorial), go to the "\bin" folder of your project.
e.g. C:\Dev\eclipse\workspace\Espm_Shopping_Mobile_Android\bin
There you'll find the .apk file. If you open this file on your android device, you can install the application.
Regards,
RW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.