Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: [?] Error message : application does not supported by device


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


Permlink Replies: 3 - Last Post: Oct 5, 2014 2:05 PM Last Post By: Remy Lebeau (Te...
Nektarios Kouma...

Posts: 2
Registered: 10/1/02
[?] Error message : application does not supported by device  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2014 11:55 PM
RAD Studio XE7 _ New in creating mobile apps

I have a mobile phone Samsung GT-S6102 using android 2.3.6, having a 3,14 inches screen.
Using a USB cable the Project Manager shows my device corectly.
In the View Combo Box, shown in the toolbar, there is no 3,14 inches phone. So I picked a 3,5" phone.
I have choosen the Android Platform.
I just put a label in the form.
I pressed "combile" and everything was working ok.
But when I try to run the application a message on the phone screen informs me that the application is not supported by the device.
1) What am i do wrong?
2) How do i choose the minimum API version for my application requirements?
3) Why my app package size is HUGE in MB?
4) Is there any good book or video tutorial out there for creating simple mobile applications in RAD Studio?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: [?] Error message : application does not supported by device  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2014 10:19 AM   in response to: Nektarios Kouma... in response to: Nektarios Kouma...
Nektarios wrote:

But when I try to run the application a message on the phone screen
informs me that the application is not supported by the device.

1) What am i do wrong?

Samsung GT-S6102 does not meet the hardware requirements for Delphi Android
apps. It has a Broadcom BCM21553 CPU, which uses ARMv6. Delphi requires
ARMv7 (w/ NEON extension) instead.

2) How do i choose the minimum API version for my application
requirements?

Add the desired Android SDK to the IDE:

http://docwiki.embarcadero.com/RADStudio/XE7/en/SDK_Manager
http://docwiki.embarcadero.com/RADStudio/XE7/en/Adding_an_Android_SDK

Then add the Android target to your project, go into its Properties, and
you can specify the desired SDK.

3) Why my app package size is HUGE in MB?

That is simply how it works in Delphi. It is not optimized for size yet.

--
Remy Lebeau (TeamB)
Nektarios Kouma...

Posts: 2
Registered: 10/1/02
Re: [?] Error message : application does not supported by device  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 11:10 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
thank you so much for answering. So i suppose i have to learn java in order to program android apps.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: [?] Error message : application does not supported by device  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 2:03 PM   in response to: Nektarios Kouma... in response to: Nektarios Kouma...
Nektarios wrote:

thank you so much for answering. So i suppose i have to
learn java in order to program android apps.

Because Delphi targets native CPUs with specific capabilities, that limits
the number of devices it supports. Granted, many devices support ARMv7 CPUs
w/ NEON, but on the other hand, many do not, and Intel CPUs are going to
be more common in the near future. So depending on how many devices you
want to target, you might end up having to go with Java, yes. At least until
Embarcadero releases an Android x86 compiler, and maybe updates FireMonkey
to be less restrictive on its ARM hardware requirements..

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02