Software Archive
Read-only legacy content
17061 讨论

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

Abto_H_
初学者
1,432 次查看

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 项奖励
5 回复数
Abto_H_
初学者
1,432 次查看

Build Setting:

0 项奖励
Abto_H_
初学者
1,432 次查看

More pic (forum rules said these pics are required)

0 项奖励
Amrita_C_Intel
1,432 次查看

which device you are testing on?

For which platform you are building for?

 

 

0 项奖励
Abto_H_
初学者
1,432 次查看

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 项奖励
PaulF_IntelCorp
1,432 次查看

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 项奖励
回复