Android Question Open settings for text size

marcick

Well-Known Member
Licensed User
Longtime User
When I detect the user has changed the font size in system settings, I want to give him a message and drive him to the proper system settings page.
How to do ? I found only the intent to open application specific settings.
Thanks
 

marcick

Well-Known Member
Licensed User
Longtime User
StartActivity("android.settings.DISPLAY_SETTINGS")

mmmhh. doesn't work. I found here a list of the various names but I can't get it working with the sintax you suggest

" java.lang.ClassNotFoundException: .....""
 
Upvote 0

marcick

Well-Known Member
Licensed User
Longtime User
Itr works like this

B4X:
            Dim in As Intent
                in.Initialize("android.settings.DISPLAY_SETTINGS","")
                Try
                    StartActivity(in)
                Catch
                    Log("Failed to open settings")   
                End Try

Thanks !
 
Upvote 1
Top