Open up device settings

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Open up device settings

Post by EddieLee » Fri Jan 18, 2019 9:32 pm

Hi,

I have a notification settings function that i would like to build. Is it able that when the user clicks on a button, it will open up the application permission and the user would be able to off the notification?

This development is only for android applications only.
Eddie :D

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: Open up device settings

Post by EddieLee » Mon Jan 21, 2019 2:26 pm

Or is there anyway then when a user presses a button, it will open the settings application of the device?
Eddie :D

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Open up device settings

Post by bogs » Mon Jan 21, 2019 5:01 pm

Well, you can open the settings through code, but how you would do it in Lc isn't something I know, nor am I sure it is even possible, as I don't see it in the Lessons here, or here.

Of course, that doesn't mean it is not possible. Hopefully someone that knows for sure will chime in :D
Image

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: Open up device settings

Post by EddieLee » Wed Jan 23, 2019 6:49 am

Hi bogs

Thanks for the help, would hope someone with this knowledge to provide some help.
Eddie :D

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Open up device settings

Post by FourthWorld » Wed Jan 23, 2019 8:46 am

Does the Settings app have a URL scheme? If so I would imagine "launch URL <URL>" would work.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: Open up device settings

Post by EddieLee » Wed Jan 23, 2019 3:45 pm

Hi fourth world,

I figure URL would work but idk what's the URL scheme for settings, any idea?
Eddie :D

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Open up device settings

Post by FourthWorld » Wed Jan 23, 2019 4:25 pm

I haven't looked into it, but the OS docs should provide it if available. If not, I'll bet there's a lower level API available, and that could be accessed via LiveCode Builder.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: Open up device settings

Post by EddieLee » Wed Jan 23, 2019 9:11 pm

Hi fourth world

I'll try and keep this post updated with my progress
Eddie :D

Post Reply

Return to “Talking LiveCode”