Jan 3, 2023 Replies: 4 Hi guys, how to use : 1. copy the starter into your project [CODE lang="b4x" title="B4A"] If Starter.GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(Starter.GPS1.LocationSettingsIntent) 'Will open the relevant settings screen. Else Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) Wait For Activity_PermissionResult (Permission As String, Result As Boolean) If Result Then CallSubDelayed(Starter, "StartGPS") End If[/CODE] please enjoy it some images : Attachments GPSbyJCD.zip GPSbyJCD.zip 7.9 KB · Views: 1,045 Last edited: Jan 3, 2023 Click to expand...
Hi guys, how to use : 1. copy the starter into your project [CODE lang="b4x" title="B4A"] If Starter.GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(Starter.GPS1.LocationSettingsIntent) 'Will open the relevant settings screen. Else Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) Wait For Activity_PermissionResult (Permission As String, Result As Boolean) If Result Then CallSubDelayed(Starter, "StartGPS") End If[/CODE] please enjoy it some images :
Sergey_New Well-Known Member Licensed User Longtime User May 11, 2024 #2 When installing, it says that the application is for older versions of Android. Can be corrected?
peacemaker Expert Licensed User Longtime User May 11, 2024 #3 Sergey_New said: application is for older versions of Android Click to expand... Manifest editor. Set several SDKversion parameters. targetSdk = 34, minimalSdk =21...
Sergey_New said: application is for older versions of Android Click to expand... Manifest editor. Set several SDKversion parameters. targetSdk = 34, minimalSdk =21...
mcqueccu Expert Licensed User Longtime User May 11, 2024 #4 Sergey_New said: When installing, it says that the application is for older versions of Android. Can be corrected? Click to expand... Goto the Manifest and change the TargetSDK to 33
Sergey_New said: When installing, it says that the application is for older versions of Android. Can be corrected? Click to expand... Goto the Manifest and change the TargetSDK to 33