Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How can I test android apps?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Last Post: Nov 1, 2014 1:57 PM Last Post By: Gilbert Padilla
Luis Concepcion

Posts: 16
Registered: 3/16/00
How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 3:57 AM
Please could anybody tell me which Android Virtual Devica should I create to test XE7 developed Android apps?

I have tried to deploy to an Android device (Sony Table S) and didn't worked.
I downloaded and installed Genymotion. Same result: "device not supported". Tried with Nexus5, Sony Xperia Z and Samsung Galaxy Note 3!!
Also tried with AVD, using a Nexus4 (4.2.2). Same result. "App closes unexpectedly"

It shouldn't be this difficult to try a simple Android App! Anyone have deployed to any Android emulator with success?

Thanks!
Eduardo Elias

Posts: 319
Registered: 9/20/12
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 4:11 AM   in response to: Luis Concepcion in response to: Luis Concepcion
Delphi generates machine code executables, so it is ARC opcodes.

Emulators that are based on Intel processor are using an intel-linux and
the android layer over it. That works for java applications (vast majority
of the app out there)

Anyways most emulators are very slow, it is better to deploy to the real
device.

It should work on Samsung Galaxy note 3. I had one 2 months ago and installed
on it.

Get first a demo application, from the samples that comes along delphi and
install it, to learn about this. After that go for your app.

Just a hint, you can add WIN32 as a target platform to your MOBILE project
and use this for a testing. This is what I do commonly. First test everything
on win32 and then go for android. It reduces a lot of problems and you get
things done fast.

Eduardo

Please could anybody tell me which Android Virtual Devica should I
create to test XE7 developed Android apps?

I have tried to deploy to an Android device (Sony Table S) and didn't
worked.

I downloaded and installed Genymotion. Same result: "device not
supported". Tried with Nexus5, Sony Xperia Z and Samsung Galaxy Note
3!!

Also tried with AVD, using a Nexus4 (4.2.2). Same result. "App closes
unexpectedly"

It shouldn't be this difficult to try a simple Android App! Anyone
have deployed to any Android emulator with success?

Thanks!
Chris Dunn

Posts: 160
Registered: 8/22/11
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 8:57 AM   in response to: Luis Concepcion in response to: Luis Concepcion
Did you try updating your android tools?
Luis Concepcion

Posts: 16
Registered: 3/16/00
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 9:35 AM   in response to: Luis Concepcion in response to: Luis Concepcion
Luis Concepcion wrote:
Please could anybody tell me which Android Virtual Devica should I create to test XE7 developed Android apps?

I have tried to deploy to an Android device (Sony Table S) and didn't worked.
I downloaded and installed Genymotion. Same result: "device not supported". Tried with Nexus5, Sony Xperia Z and Samsung Galaxy Note 3!!
Also tried with AVD, using a Nexus4 (4.2.2). Same result. "App closes unexpectedly"

It shouldn't be this difficult to try a simple Android App! Anyone have deployed to any Android emulator with success?

Thanks!

Hi!

I'm trying with a simple android App with just one button and no code at all. I also tried with one of the examples included with same result.

AVD Tools versions:
Android SDK Platform-tools 20
Android SDK Tools 23.0.5
Android SDK Build Tools 21.0.2
Android SDK Build Tools 19

Are you using the same configuration?
Chris Dunn

Posts: 160
Registered: 8/22/11
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 10:14 AM   in response to: Luis Concepcion in response to: Luis Concepcion
Android SDK Tools 23
Android SDK Platform-Tools 20
Android SDK Build-Tools 19.1 through 17

Android 4.4.2 (API19)
SDK Platform 19 rev3
ARM EABI v7a System Image 19 rev1

Android 4.3 (API18)
SDK Platform 18 rev 2
ARM EABI v7a System Image 18 rev 2

Extras:
Android Support Library 19.1

All SDK Platforms for all API Levels installed

Edited by: Chris Dunn on Oct 30, 2014 10:15 AM
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 30, 2014 2:06 PM   in response to: Luis Concepcion in response to: Luis Concepcion
I recommend to get a compatible android phone and connect to your PC with USB
(and then set developer mode on phone)
Gilbert Padilla

Posts: 315
Registered: 3/8/04
Re: How can I test android apps?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 1, 2014 1:57 PM   in response to: Luis Concepcion in response to: Luis Concepcion
Some Android devices need drivers to be installed in the windows machine and
the same SDK version on the device to be installed
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02