Sony xperia 4.1.2 is not firing the onGeolocationPermissionsShowPrompt() method? - android

I am having a problem to fire onGeolocationPermissionsShowPrompt() method when my apps needs location permission. It is working almost all devices but not working only Sony xperia 4.1.2. So what can I do now? Any suggestion please? And see the location setting screen of my device.

Related

Samsung S3 mini NFC Service has Stopped (4.1.2)

I was working with NFC in my application and I have tested on samsung s4, nexus 4, xperia z3 and it worked perfectly. However, testing on an s3 mini the callback seems to loop and then a popup occurs saying NFC service has stopped working.
I was worried that it may be my code causing this issue, however, outside the app, I tried to send across a photo and the same issue occurred. The s3 mini is running 4.1.2. Has anyone com across this before, I've encountered a few cases online and I'm wondering if it's a 4.1.2 issue?

My app dosent work on sony xperia z1 bu works on some other devices

i have an text based app and it works fine in most devices and in emulator but on sony xperia z1 it causes force close,
1.is it possible to emulate xperia z1 on android virtual device manager?how?
2.do you have ideas about reasons of this problem?
You should test your app on this phone and explore logcat for error details. If you have no access to the device you could do one of the following:
Install sony add-on and try to test on their avd: http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/
If app is published on market there is section in admin area where you could see crash information if user have sent crash details after it happened.
There is a service where you could test your apps on almost any real device and see logcat - http://www.perfectomobile.com/ - it's pretty expensive, but I think they have free trial with limited number of devices - may be xperia is among these devices.

Location client on Samsung devices

I have been developing app that uses location client class to get user location. I have tested it on my Nexus devices, some Sony xperia devices and it works no problem. But then there is sammy S3 mini. It just does not even kick in to try to get location... Also I had to reboot it to get geocoder to work, but still no locations. Is there a different path to get locations on Samsung devices to work?

Running HTC rom on emulator

I have came across some weird behavior while using camera in my app.
I am clicking picture from camera and then uploading it to server. I didn't mention in my code that device should save the pic first, it works well in samsung, nexus BUT on running it on HTC phones it saves the picture in gallery, i guess its the default camera action for htc. I don't want to save my pic. yes of course I can delete it in code.
My question is, is there any way to run HTC rom on emulator, since i don't have any HTC device to test my app? Or if someone have system.img file for HTC hero ?
There is no official way to run the htc rom in emulator. You have to user real device for testing. Even for testing Open Sense API, You have to use real device for testing.
You can try to test your app on Genymotion emulator. It has HTC One image, maybe it helps you

Widget App is not working on Rooted phones, why?

I created an App / Widget for Android and published it in the marked. The Market tell me that the App is working on any Device because it really needs nothing.
This is not advertising, I only want to know, why some devices (rooted and/or with a different ROM) cannot download / install the app?
https://market.android.com/details?id=de.mirsoft.clock
I know one guy with a new Galaxy Nexus phone (rooted), he can install the App but he cannot find the Widget in the Widget-Tab on his Phone.
I also have an Galaxy Nexus and it works great.
Galaxy S2 (rooted, MIUI ROM) also, cannot download it.
Only on rooted Phones, my app is not working, but I can't understand why? What's the different?
The App has no permissions, so where is the problem?
I added the LAUNCHER action to the Configuration Activity in the Manifest.xml.
Now the user with the rooted Galaxy Nexus can see the widget in the Widget list but i need to test it again on a phone with a differnet ROM like MIUI. Maybe it helps.
I tested your app on my HTC Desire (rooted MIUI 2.1.20) and it works fine. I don't see why your friend can't add the widget to his desktop. Rooted phones with a custom ROM that supports widgets work basically the same way as the OTA's.

Categories

Resources