Questions tagged [android-security]

Tag used by Android in Security Alert messages to developers. The Security Alert message is often accompanied with a Google-Play rejection. AOSP instructions state to tag a question with it.

Tag used by Android in Security Alert messages to developers. The Security Alert message is often accompanied with a Google-Play rejection. AOSP instructions state to tag a question with it.

656 questions
0
votes
1 answer

Unable to get phone number from device inspite of declaring required permissions in android manifest

I am trying to get phone number from my device programmatically. I am trying with the following code: TelephonyManager tMgr = (TelephonyManager) getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber =…
0
votes
1 answer

How from background app to fill EditText in foreground app?

Some password managers like LastPass can catch the moment when foreground app has EditText fields, and then can fill these fields. I thought that apps absolutely isolated one from another, but LastPass can do it. How do LastPass fill field in…
tse
  • 5,769
  • 6
  • 38
  • 58
0
votes
1 answer

How can I know which app is using resources(mic, GPS) on Android?

I am interested in writing an app to record how the resources on my phone are used by those installed apps. These resources can be microphone, camera, bluetooth, GPS, contacts, network, battery usage, sensors etc. I would like to record when and how…
0
votes
2 answers

Protect application with password

I've got an Application (extends), and it runs some service in the background to monitor beacons. Checking if you're in or out of range and then preform some actions. I only got one Activity in my Application and that is the Settings Activity. The…
0
votes
0 answers

Runtime permissions for AccountManager

I'm trying to update my app to work with the new API23 and it's runtime permissions. User can create an account for my application, and for this I've been using AUTHENTICATE_ACCOUNTS, MANAGE_ACCOUNTS, USE_CREDENTIALS and GET_ACCOUNTS. GET_ACCOUNTS…
fanboy555
  • 291
  • 2
  • 7
  • 20
0
votes
1 answer

How to get an executable's attributes C

I am writing a short C program, which runs in Android environment. I like to know if there is an object I can reference which would have a pointer to the same executable. I think it would be kind of like "this" pointer in Java. My goal is to get…
user3326293
  • 817
  • 1
  • 14
  • 37
-1
votes
0 answers

This app uses software that contains security vulnerabilities

Play store reject to Update the app .Unable to found solution for This app uses software that contains security vulnerabilities for users or allows the collection of user data without proper disclosure. Play store reject the app for violating our…
ABU HASAN
  • 1
  • 2
-1
votes
0 answers

How do i add SSL certificate to my cacerts java file in android studio?

I am facing trouble for adding the certificate to android studio. give me some solutions :) I had a problem with SSL CERTIFICATE VERIFICATION in my code(vs code) so I used x509 trust manager o solve it. Then I integrated my code to android studio…
-1
votes
1 answer

Errors, warnings and messages playconsole. how can i fix?

Zip Path Traversal Your app contains an unsafe unzipping pattern that may lead to a Path Traversal vulnerability. Please see this Google Help Center article to learn how to fix the…
-1
votes
1 answer

Is it necessary to store SPKI hash securely in android?

I'm trying to enable public key pinning since I don't want to release updates for every certificate renewal provided I'll use the same CSR every time. I generated the hash with this script. #!/bin/bash certs=`openssl s_client -servername $1 -host $1…
-1
votes
1 answer

App vulnerable to Intent Redirection issue

I am getting this app vulnerable to Intent Redirection issue message from Google whenever I upload my app on play store. I am getting this message science I have integrated pdf file selection code from device. Here is my File selection code…
Harry
  • 369
  • 2
  • 17
-1
votes
2 answers

App deleted from google store and update always rejected with an old apk version

My android Apk has been deleted from Google Play Store due to security issue : TrustManager and HostnameVerifier. After receiving the first message from Google (see screen capture ), I noticed that the apk version was apk 5. I have removed the…
-1
votes
1 answer

Is LIAPP a good substitute for Dexguard

Dexguard is currently too expensive for me as I seek to protect my Android app. I'm considering LIAPP (https://liapp.lockincomp.com/), but would like to know what others think of its effectiveness in protecting my app's assets and in protecting…
-1
votes
1 answer

How to read device information in Android 10?

I am trying to read device Information like Build.SERIAL and DeviceId with TelephonyManager. In Android 9 and below I was able to access all this information without any Issue. I am receiving following exception when I try to read Device info in…
-1
votes
1 answer

What happens if root CA expired in Android

What happens if one of system CA certificate got expired (GlobalSign Root CA - R2 gonna expire in 2021) in Android? How I can update to latest root CA in my android phone(user-build that never receives any OTA), if one got expired?
VivekRajendran
  • 676
  • 1
  • 6
  • 21