Since I found no post on forum i tried to open by pakage name but i I think i have no permision to lauch such package ! What permision should I add to manifest editor?
Does all phone have same package name for default settings?
B4X:
Dim Intent1 As Intent
Intent1.Initialize("","")
Intent1=pma.GetApplicationIntent("settings package name ")
If Intent1.IsInitialized Then
StartActivity(Intent1)
end if
Hi,
I use the above code of NJDude (thanks a lot to him) to open Settings page, and this works perfect on many devices ( android 2.2, 4.1.2, 4.2.1 ), but on one device (android 4.2.2 ), when I try to run that part of code, I obtain this error:
What can I do to fix this problem?
Might be that the "component" name is changed on more recent android OS ???
Thanks a Lot to everyone can help me.
Best Regards.
That means that device has a slightly different version of Android Settings (which is rare), what device is this?.
To fix it you will have to capture that error.
I am not able to open settings on Jelly Bean with the code above ...due to Permission DEnial....
unfortunately there are no much setttings in security as in kitkat to manage permissions ..maybe code is to strong for android device
if you could advise it will be great