Android Question phonestatelistener - signal strenght

palmaf

Member
Licensed User
Longtime User
This is my manifest

AddManifestText(
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="23"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
 
Upvote 0

palmaf

Member
Licensed User
Longtime User
'Callback invoked when network signal strengths changes.
'you can use getCDma, etc to get the network connection.
Sub PSL_onSignalStrengthsChanged (signalStrength As String)
ToastMessageShow(signalStrength, False)
ToastMessageShow(PSL.CdmaDbm, False)
End Sub

This is the code that should give the message (numeric) signalstrength and this is what it appears


 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…