Cordova Native APP generation from TISensorTag example

Ask, and ye shall receive.
mauroRGB
Posts: 2
Joined: 23:19, 18 Jul 2015

Cordova Native APP generation from TISensorTag example

Postby mauroRGB » 22:01, 19 Jul 2015

Hi everybody,

I am new using EVOThings (... and it´s concept is a very cool staff) and probably sounds dumb but, I´m still having no idea how does the process of building a Native App from Evothings works??...

I tried following all steps described in the web, and first (1) I got problems running

Code: Select all

adb install -r platforms/android/ant-build/DemoApp-debug.apk

PROBLEMS

Code: Select all

TEST_3 mauro$ adb install -r platforms/android/ant-build/TEST_3-debug.apk
error: device not found
- waiting for device -

and (2) when I generate the file "XXX.apk" I have to send it per mail to my cellphone for installation. Once installed it displays no more than the same screen when the cellphone is connected to the workbench.

Can anybody help me? How should a native app generated from TISensorTag example looks like???

Thanks for your help.

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Cordova Native APP generation from TISensorTag example

Postby micke » 08:09, 22 Jul 2015

Hi Mauro,

To use adb to install an app, developer mode must be enabled on the phone and the computer needs to be trusted.

Try the command: adb devices

If not devices are found, check that developer settings are enabled and that USB debugging is enabled.

You can also try to stop/start adb using these commands:

adb kill-server
adb start-server

Then try:

adb devices

If "adb devices" lists your device with an id (not saying unknown) you should be good to go. If it says unknown try disconnecting and then connect again, there usually is a dialog box displayed on the phone asking if to trust the computer.

This tutorial might be of some further help (if you have not seen it already), even though it does not discuss the problem you have encountered:

http://evothings.com/hands-on-guide-to- ... g-cordova/

Hope some of this helps!

Best regards, Mikael

mauroRGB
Posts: 2
Joined: 23:19, 18 Jul 2015

Re: Cordova Native APP generation from TISensorTag example

Postby mauroRGB » 21:29, 22 Jul 2015

It works fine now, Cool!!! :-D Thank you


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 3 guests