I'm following the google documentation for how to get the application restriction:
https://developer.android.com/reference/android/content/RestrictionsManager.html
https://developer.android.com/work/managed-configurations.html#define_restrictions
I've created a simple app in the link: https://drive.google.com/file/d/0B3W27jXj1LJyNmNtWUtJQ3BhcXc/view?usp=sharing
I debugged with samsung galaxy note4 with android OS version of 5.1.1 which is enrolled with Android for Work in google’s page. The current problems are:
app restriction can’t be retrieved with the RestrictionsManager.getApplicationRestrictions
“ACTION_APPLICATION_RESTRICTIONS_CHANGED” can’t be received.
Is there any problem in my code? Does anyone successfully get the application restrictions?
Related
I am developing an Android app for my client on Fiverr. I have been using Android Studio and I delivered the apk to my client today. However, my client said that the app works on his Android 7.3 device, but not on his Android 7.1.1 tablet which is what he wants to run the app on. I do not own an Android 7.1.1 device, but I do have a memu emulator which runs Android 7.1 . I installed the apk on the memu emulator, and the app installs, but as soon as I try to open it, the app crashes (in literally less than a second). I can't get any information from this immediate crash.
Does anyone either know a way for me to get some information about why the app crashed, or know something about Android 7.1.1 that might be of note?
Potentially relevant info:
This app uses the Google speech recognition API to allow the user to speak into the microphone, and then those words are sent to a certain API (using the Okhttp library), which will then create an image.
The permissions that the app has are:
Microphone
Internet
Modfy Audio Settings
The special APIs and Libraries that this app uses are:
Google speech recognition
Okhttp
Picasso
Can anyone help?
I recently released my app to the Google Play community. The team and myself tested the app on Gingerbread, jellybean, and kitkat. All were either Samsungs or Nexus. Now we have someone getting a crash on a Motorolla Droid Bionic, Android version 4.1.2.
My app required wifi (not Cell data) connection which is not possible with androids emulator. I am in the process of installing android on VirtualBox but I don't know if this will allow me to identify the problem.
Should I be this concerned? This is my first app and I want to make sure it works for everyone? This app is for controlling a home appliance so I feel like we need to make sure that it works, but I'm not sure how to really get accurate test results and error messages.
What do other developers do to emulate accurately specific phones and OS versions?
thanks for any advise and help.
Ask for the "Stack Traces" reported in "Crashes & ANRs" section of your application in Google play Developer Console to have more details about the problem.
I have an android app with Google-analytics integrated. Recently, i ported it for Blackberry10 devices and is currently there on both Playstore and Blackberry world. Now, how do i know from the analytics reports about the blackberry devices running my app. In the analytics report,for devices it shows a row in devices an "Not Set". I did not make any changes for porting my app to blackberry except the mandatory changes in the manifest.
Can anyone please give some suggestions.
The following would allow you to verify inside your app to see whether it's a BlackBerry or another Android device running your app (taken from BB Developer site):
java.lang.System.getProperty("os.name").equals("qnx")
Unfortunately I am not sure what properties Google Analytics uses for its device information.
Recently, I uploaded an android application to Google play and checked it in various devices and it is running fine.
After a few days, my client purchased an Android tablet (Samsung Galaxy Tab GT-P3113,) which don't have GPS support, but my app uses it. Now when he tries to download this app from Google play he is getting "Device Not supported" message.
Please help me possible solutions.
When you download from g play it is a list with what applications needs/ uses.
A possibility may be that you have set a minimum android sdk and his tablet is lower that .
Another possibility ,but i am not sure, maybe in your project you had just customized folders of design without having a default one : ex: just drawable-hdmi , and no drawable
Other possibility : if the application uses maps the device has to support, you write in androidmanifest what it uses . Maybe you should do another apk and change manifest , remove maps and put it just for tablets.
This usually happens when, something called uses-feature in android which is automatically checked by Play Store
and in that you might have added GPS hardware because of which your application says device not supported.
For more details on this you can visit this link.
I have developed and published an Android application on the Android market. The phone I used for developing this is a Samsung Galaxy running Android 2.3.
On Google Play, it does not allow me to download the app to the above phone, saying that the phone is not eligible.
What could be the cause of this ? It gets downloaded to other devices, that even run Android 2.2 so it can't be an issue with the Manifest.
The manifest can define other limitations (other than min version). For example screen size, density, required hardware and more.
The developer can also define some filters in the developer console.
So probably one of those options are filtering out your device.