Jump to content
JohnLM

App closes immediately after loading on Galaxy A01 phone, Android 11

Recommended Posts

Specs:  Win7, Delphi XE7, FMX -- building app tethering apps for windows and android 

 

* SDK 22.3 32bit - shows in XE7's SDK Manager under menu/options/. . . 

* Galaxy S10+ phone with Android 12 -- app(s) deploys successfully

* Galaxy A01 phone with Android 11 -- app project deployes but fails to load

 

I have been working on an app tethering project in XE7 in Windows 7 and Android successfully on my Galaxy S10+ phone (Android 12) and deploying to this phone with no problems.  I have built many apps on this phone via XE7 and Windows 7 for quite some time.  The app tethering app works find on the S10+ and I can send Text data back and forth between my laptop and phone without problems.  The app tether app loads up on the S10+ without issue. 

 

However, I am unable to get the same app to run on a Galaxy A01 phone after it is deployed.   The app will open, showing the usual black flaming flashscreen and then close.   Actually, it hesitates for a moment and then closes. 

 

Does anyone know what the issue(s) are and the necessary steps for how to resolve it?

 

Edited by JohnLM
edits/additions

Share this post


Link to post

Can have a thousand reasons.
Try with new, empty app, if this is a general issue, or in your app.
When the empty app runs fine, then you can try to step-by-step re-build the parts you need,
until the step where it crashes again.
Then you are more close to find the culprit.
 

Share this post


Link to post

I created a fresh FMX app with only a button and edit control and deployed it to the Galaxy A01, but it fails to load, giving the same results mentioned in my first post. 

 

I'm not sure which of my two Galaxy phones is older or newer, the S10+ or A01.  I will have to do some research.   Maybe something changed in one of these phones that the A01 doesn't like about XE7. 

Share this post


Link to post
7 hours ago, Rollo62 said:

Perhaps you have to check the supported OS version:
https://docwiki.embarcadero.com/RADStudio/Florence/en/Supported_Target_Platforms

You posted the supported platforms for Florence (Delphi 13)....  The OP is using Delphi XE7

 

More appropriate: https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page

 

 

Edited by ToddFrankson

Share this post


Link to post
2 hours ago, ToddFrankson said:

The OP is using Delphi XE7

Ooops, I have overlooked that part. :classic_blush:
I'm not sure if such an old IDE is still compatible with modern smartphones; I highly doubt it.
I assumed that anyone involved in mobile development already knows that developer tools have to keep pace with the rapid developments in mobile operating systems as close as possible.

Edited by Rollo62
  • Like 1

Share this post


Link to post

While I agree with both your comments, there is still support for *newer* devices, or should I say, higher Android versions on older devices.  

 

As I said, the A01 is Android 11 and the S10+ is Android 12.  Only XE7 creates and deploys apps that run successfully on the S10+ but not the A01.   Something is different about the two phones.

 

The A01 and the S10+ are approximately 1 year apart in age.  I purchased the S10+ in late 2019  and the A01 in 2021. 

 

The A01 is a Tracfone.  That is the official name as per the phone's group window for their apps. 

 

1522936301_im-forumpraxis-galaxya01-screenshot.png.211e98b1f1eec415d08269c51ce0030e.png

 

Using the S10+ phone camera (in video recording mode) I think I was able to capture the pop-up error dialog box while trying to load the app on the A01 phone. 

I just have to figure out how to get the video from the S10 and onto my laptop and find an editing app or something that will allow me to scrub through it frame by frame.  Then I should be able to see what the exact issue is--assuming that error box is showing the issue. 

 

 

Edited by JohnLM
edited

Share this post


Link to post
2 minutes ago, JohnLM said:

Then I should be able to see what the exact issue is--assuming that error box is showing the issue

I suggest using a log viewer to find out what the issue is. Not nearly enough Delphi developers that develop for Android do.

Share this post


Link to post
10 hours ago, JohnLM said:

While I agree with both your comments, there is still support for *newer* devices, or should I say, higher Android versions on older devices.  

Yes, this might be the case, but the point is, that its not worth it, aside doing some tests or hobby projects.
The pain level of mobile development will rise with every version you stay behind ( same rising for too early using any OS beta versions, by the way ).

Edited by Rollo62

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×