Android Question Newbie Question : How can I change the phone settings?

Sam Koh

Member
Licensed User
Longtime User
I realized that the following settings will be gone once I quit the App. Is there a way to keep these phone settings permanently until I next change them?

Dim myPhone As Phone
myPhone.SetScreenOrientation (0)
myPhone.SetVolume (myPhone.VOLUME_SYSTEM,15,True)
myPhone.SetScreenBrightness (-1)
 

zed

Active Member
Licensed User
With this
 
Upvote 0

Sam Koh

Member
Licensed User
Longtime User
Thank you for your reply. However, your answer is too brief and it is not comprehensible at my current competency level. It will be good if you could build on my example to illustrate how it should be done
 
Upvote 0

zed

Active Member
Licensed User
Here is an example. If you have any problem, don't hesitate to ask.

KVS uses a data pair. Index and value. ex kvs. put(key, value).
To retrieve the value, you do: kvs.get(key) and you get the value.
 

Attachments

  • exampleKVS.zip
    9.1 KB · Views: 123
Last edited:
Upvote 0
Top