Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: how to determine if the android app running on emulator or real device ?


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


Permlink Replies: 2 - Last Post: Oct 16, 2017 1:13 PM Last Post By: madammar ellias
madammar ellias

Posts: 111
Registered: 8/17/17
how to determine if the android app running on emulator or real device ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 16, 2017 12:01 PM
any idea on detecting if the app running on android or real device ?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: how to determine if the android app running on emulator or real device ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 16, 2017 12:22 PM   in response to: madammar ellias in response to: madammar ellias
madammar ellias wrote:

any idea on detecting if the app running on android or real device ?

How can I detect when an Android application is running in the emulator?
https://stackoverflow.com/questions/2799097/

You will have to translate it to Delphi equivilents using Embarcadero's
Android JNI bridge.

--
Remy Lebeau (TeamB)
madammar ellias

Posts: 111
Registered: 8/17/17
Re: how to determine if the android app running on emulator or real device ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 16, 2017 1:13 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
madammar ellias wrote:

any idea on detecting if the app running on android or real device ?

How can I detect when an Android application is running in the emulator?
https://stackoverflow.com/questions/2799097/

You will have to translate it to Delphi equivilents using Embarcadero's
Android JNI bridge.

--
Remy Lebeau (TeamB)

i think its clear now to use android api os and check the model very simple thank you for the information
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02