Software Archive
Read-only legacy content
17061 Discussions

Login and Chat system works in Emulation but fails to run on device

Abto_H_
Beginner
704 Views

Hello,

Issue: I have been trying to test my login/registration and chat application on my phone but it does not work. The interface for the login is shown but when I input the username and password it doesn't transition to the next page which displays options for menu, add friend, join group, or logout. The user can then click on menu and select a friend to start a conversation. All of this works great in emulation but all functionality is lost on the device. Can anyone help me with this issue?

Intel XDK Version: Intel XDK 2893

For this project I have installed an eJabberd XMPP server

Platform you are building for, build log, build settings, etc:

 

0 Kudos
5 Replies
Abto_H_
Beginner
704 Views

Build Setting:

0 Kudos
Abto_H_
Beginner
704 Views

More pic (forum rules said these pics are required)

0 Kudos
Amrita_C_Intel
Employee
704 Views

which device you are testing on?

For which platform you are building for?

 

 

0 Kudos
Abto_H_
Beginner
704 Views

Amrita C. (Intel) wrote:

which device you are testing on?

For which platform you are building for?

 

 

 

Hello Amrita I am testing on my HTC one android device but am building for android, ios, etc (shown in the building jpeg) 

0 Kudos
PaulF_IntelCorp
Employee
704 Views

Abto, try using the Debug tab with a real Android device connected via USB. The Emulate tab it not going to help with this problem because it is a browser and your app does not run on a browser, it runs on a webview. See this blog for some background > http://blogs.intel.com/evangelists/2015/12/31/five-useful-tips-on-getting-started-building-cordova-mobile-apps-with-the-intel-xdk/

0 Kudos
Reply