cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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....

0 Likes
View Entire Topic
Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

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