Jump to content
William23668

contacts sample application does not want to run on device

Recommended Posts

16 minutes ago, William23668 said:

The contact sample app is here but I dont know why it does not want to work on my device

Which version of Delphi are you using? Which version of Android is on the device? Have you tried running the app via the debugger to check whether there's any errors?

  • Like 1

Share this post


Link to post
10 minutes ago, Dave Nottage said:

Which version of Delphi are you using? Which version of Android is on the device? Have you tried running the app via the debugger to check whether there's any errors?

Delphi 11.2 with October patch. Android 10. Tried the debugger only the splash screen appear and stop at it

 

this is all I see:

 

image.png.e21d070095a18970b06acdcf919c962a.png

Edited by William23668

Share this post


Link to post

always test with an "Empty project"! Else, your doubts will be for eternity.

 

ps: nobody will install your or any other APK in smartphone!

Edited by programmerdelphi2k

Share this post


Link to post
22 minutes ago, programmerdelphi2k said:

always test with an "Empty project"! Else, your doubts will be for eternity.

 

ps: nobody will install your or any other APK in smartphone! 

empty application work. I provided original link on embarcadero or it can be found in samples folder

Share this post


Link to post
52 minutes ago, William23668 said:

I provided original link on embarcadero or it can be found in samples folder

This demo starts/works OK on my Pixel 6 Pro, which has Android 13. I'm using Delphi 11.2 with Patch 1 installed.

 

https://github.com/Embarcadero/RADStudio11Demos/tree/main/Object Pascal/Multi-Device Samples/Device Sensors and Services/Address Book/Contacts

  • Thanks 1

Share this post


Link to post

I think that you need study about "permissions" in Android apps, at first!

later, start with a little projects, and ... medium... big project.

in Android it's more easy than iOS.

Edited by programmerdelphi2k

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

×