William23668 8 Posted December 17, 2022 When I try to open the sample app contacts I only see FMX splash screen then nothing. I attached the apk here: https://mega.nz/file/OLoDFZRB#GlHVnZv4t9KX4_hmVe91mK9-M1whPoD_SNIWyd2IBv4 any advise ? Share this post Link to post
William23668 8 Posted December 17, 2022 The contact sample app is here but I dont know why it does not want to work on my device https://docwiki.embarcadero.com/CodeExamples/Sydney/en/FMX.Address_Book_Sample Share this post Link to post
Dave Nottage 557 Posted December 17, 2022 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? 1 Share this post Link to post
William23668 8 Posted December 17, 2022 (edited) 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: Edited December 17, 2022 by William23668 Share this post Link to post
programmerdelphi2k 237 Posted December 17, 2022 (edited) 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 December 17, 2022 by programmerdelphi2k Share this post Link to post
William23668 8 Posted December 17, 2022 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
Dave Nottage 557 Posted December 18, 2022 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 1 Share this post Link to post
programmerdelphi2k 237 Posted December 18, 2022 (edited) 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 December 18, 2022 by programmerdelphi2k Share this post Link to post
William23668 8 Posted December 18, 2022 10 hours ago, Dave Nottage said: 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 the sample work fine from this link !! ...thanks as usual 1 Share this post Link to post