android – SecurityException: not allowed to perform OP_READ_PHONE_STATE-ThrowExceptions

Exception or error: User is reporting my app crashes with this error trace java.lang.SecurityException: com.android.phone from uid 10134 not allowed to perform OP_READ_PHONE_STATE at android.os.Parcel.readException(Parcel.java:1620) at android.os.Parcel.readException(Parcel.java:1573) at com.android.internal.telephony.IPhoneSubInfo$Stub$Proxy.getVoiceMailNumberForSubscriber(IPhoneSubInfo.java:858) at android.telephony.TelephonyManager.getVoiceMailNumber(TelephonyManager.java:2383) at android.telephony.TelephonyManager.getVoiceMailNumber(TelephonyManager.java:2366) So far only one user has reported this problem. Several thousand other users are running this version of the app with no …

android – Google Play security alert for insecure TrustManager-ThrowExceptions

Exception or error: In one of my apps I’m using HTTPS with a self-signed certificate and followed the sample code from the android developer training site (https://developer.android.com/training/articles/security-ssl.html#UnknownCa). I recently got the following alert saying that the current implementation is not secured: Security alert Your app is using an unsafe implementation of the X509TrustManager interface with …

android – Sqlite database security-ThrowExceptions

Exception or error: I’m developing an application which will be storing user sensitive data. My issue is using other applications that a user can view that stored data with. Then I need to provide better security for the data in general. Is there any way to provide better security for SQLite database and tables? How …

android: Determine security type of wifi networks in range (without connecting to them)-ThrowExceptions

Exception or error: I can enumerate all wifi networks in range (using startScan + SCAN_RESULTS_AVAILABLE_ACTION + getScanResults) and get their SSID and BSSID values, but I can’t figure out how to determine the security type of each network. In my main object: IntentFilter intentFilter = new IntentFilter(); intentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); registerReceiver(scanReceiver, intentFilter); ((WifiManager)getSystemService(Context.WIFI_SERVICE)).startScan(); In my scanReceiver object: …