PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Open settings on Android / IOS phone
Open settings on Android / IOS phone
Started by zwaailicht, Feb., 16 2018 9:40 PM - 2 replies
Connect yourself…
zwaailicht
#1
Registered member
15 messages
Posted on February, 16 2018 - 9:40 PM
Hi All,
I have an application (WM22) for Android and iOS.
This app uses an active internet-connection. Ether 4G or wifi.
I made a procedure to check if an ineternet-connection is active. That works fine.
What I would like to know (could not find) if there is an option to open directly from out of the app the systems-settings of the Android and/or iPhone.
Maybe it is not possible, but I hope somebody has a solution.
Regards,
Hans
Report
0
0
Joey Dieleman
#2
Registered member
28 messages
Popularité : +2 (2 votes)
Posted on February, 19 2018 - 3:38 PM
Hi,
On Android you can open settings with a Java procedure:
public static void ShowSettings()
{
getCurrentActivity().startActivity(new android.content.Intent(
android.provider.Settings.ACTION_SETTINGS));
}
You can go directly to certain settings if you look into the following page:
https://developer.android.com/reference/android/provider/Settings.html
For iOS i don't know, sorry...
Regards,
Joey
Report
0
0
zwaailicht
#3
Registered member
15 messages
Posted on February, 20 2018 - 6:59 AM
Thanks for your answer. I will look into it (y)
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text