I tried this code from 2011: http://ift.tt/2bJZUXZ
Code:
Dim i As Intent
i.Initialize(i.ACTION_MAIN, "")
i.AddCategory("android.intent.category.HOME")
i.Flags = 0x10000000
StartActivity(i)
Tried this code and it kind of works.
If there are multiple pages to the home screen sometimes it returns to the second page.
Is there a way to force it to the first page / main page?
BobVal
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2brC1XB
via IFTTT
Aucun commentaire:
Enregistrer un commentaire