mobileComposeMail cancel default

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 665
Joined: Tue Jul 29, 2014 12:52 am

mobileComposeMail cancel default

Post by simon.schvartzman » Wed Nov 13, 2024 8:44 pm

Hi team, in Android when mobileComposeMail is used the OS ask which program to use (for instance Gmail) and if you press "Always" it becomes the default...

Question: how can I got back to the original screen where I can choice another option?

In my findings even after I delete the APP when I load it again the default stays as the default originally chosen.

Regards
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobileComposeMail cancel default

Post by jacque » Thu Nov 14, 2024 7:31 pm

Go to system settings and remove the default option. Often that is in the app listing itself but Samsung has a specific listing for default apps in Apps / Choose default apps. Search for "default apps" in settings and it should show up.

I use three different browsers and I need to always choose "Just once" to avoid the problem when the dialog appears.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 665
Joined: Tue Jul 29, 2014 12:52 am

Re: mobileComposeMail cancel default

Post by simon.schvartzman » Fri Nov 15, 2024 5:30 pm

Thanks Jacque, I can't find where to remove it, I'm using a PIX (in Android Studio emulator) but can't find what should I do...
This is the Screen when getting into my APP defaults
Screenshot 2024-11-15 at 13.27.30.png
Screenshot 2024-11-15 at 13.28.07.png
Screenshot 2024-11-15 at 13.28.20.png
What I'm missing?
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobileComposeMail cancel default

Post by jacque » Fri Nov 15, 2024 7:53 pm

In the third screenshot, tap "open by default" and turn the slider off.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 665
Joined: Tue Jul 29, 2014 12:52 am

Re: mobileComposeMail cancel default

Post by simon.schvartzman » Sat Nov 16, 2024 1:34 pm

something is wrong, it doesn't work...thanks anyway
Screenshot 2024-11-16 at 09.33.55.png
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobileComposeMail cancel default

Post by jacque » Sat Nov 16, 2024 8:16 pm

I wonder if that's due to the emulator. Try closing it and restarting it, or use a different emulated device and see if that works. I haven't used an Android emulator for a long time since I own so many real devices, so I'm guessing at this point.

Also, if the emulator has a factory reset option in settings, that should wipe all stored preferences.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

simon.schvartzman
Posts: 665
Joined: Tue Jul 29, 2014 12:52 am

Re: mobileComposeMail cancel default

Post by simon.schvartzman » Mon Nov 18, 2024 7:01 pm

Thanks, I reset and it worked
Screenshot 2024-11-18 at 14.26.11.png
it works
Attachments
Screenshot 2024-11-18 at 14.26.25.png
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply