Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Piren
Do notice that in this instance onStop would NOT be called in Main activity, thus you can use onStop to stop the music instead of basing on the Pref activity On Wednesday, March 6, 2013 2:38:26 AM UTC+2, latimerius wrote: On Tue, Mar 5, 2013 at 11:19 PM, Kostya Vasilyev

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Piren
Forget about the whole preference stuff... just do it all manually, you'll have more control of the UI this way anyhow. Use write your own UI that just handles SharedPreferences on its own. On Tuesday, March 5, 2013 11:29:55 PM UTC+2, latimerius wrote: On Tue, Mar 5, 2013 at 6:25 PM,

[android-developers] Tapping the overflow button make the action mode finish.

2013-03-06 Thread Hilda Chen
Dear All: I have added some menu items to action mode of EditText, and two menu items gone to overflow. But when I tapped the overflow button, the action mode disappeared at once. Why? Thanks! Hilda -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Latimerius
On Wed, Mar 6, 2013 at 7:48 AM, a1 arco...@gmail.com wrote: My minSdk is 7. Preserving GL context is a hint. You call it and pray it works. See the official docs at http://developer.android.** com/reference/android/opengl/**GLSurfaceView.html#**

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Latimerius
On Wed, Mar 6, 2013 at 8:16 AM, dnk dnkou...@gmail.com wrote: Use http://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint() Gets called only when the user has decided to leave instead of another app coming in the foreground. Thanks, I had no idea this exists.

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Latimerius
On Wed, Mar 6, 2013 at 9:05 AM, Piren gpi...@gmail.com wrote: Forget about the whole preference stuff... just do it all manually, you'll have more control of the UI this way anyhow. Use write your own UI that just handles SharedPreferences on its own. OK, that makes sense then. Well I'm not

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread Latimerius
On Wed, Mar 6, 2013 at 9:04 AM, Piren gpi...@gmail.com wrote: Do notice that in this instance onStop would NOT be called in Main activity, thus you can use onStop to stop the music instead of basing on the Pref activity That's a good point, I'll consider it. -- -- You received this

Re: [android-developers] Re: how to tell why Activity.onPause() is called

2013-03-06 Thread a1
W dniu środa, 6 marca 2013 10:24:29 UTC+1 użytkownik latimerius napisał: On Wed, Mar 6, 2013 at 7:48 AM, a1 arc...@gmail.com javascript: wrote: My minSdk is 7. Preserving GL context is a hint. You call it and pray it works. See the official docs at http://developer.android.**

[android-developers] Re: [VideoEditor] android.view.InflateException: Binary XML file line #21: Error inflating class unknown

2013-03-06 Thread abhijit
I am also getting same error try to find the way to optimize your memory foot prints in the application. On Wednesday, November 7, 2012 7:39:56 AM UTC+5:30, MYS wrote: Dear all: I meet the exception in my Android 4.1.1 device. Anybody can help for this? P.S if we don't change any codes in

[android-developers] Emulator

2013-03-06 Thread Ronoli
Hello Everyone, I'm not sure if this is possible but I thought about it in a dream last night I know that at this point that I am not capable, but I thought with all you smart people out there and all the energy I see around Android, somebody might be able to design an app just for

[android-developers] Re: New SDK release for Egnos

2013-03-06 Thread Leonardo Costa
Hello, me again! :) Today I wanted to remind you that the EGNOS SDK is particularly suitable to create applications where the reliability of the position is essential. The special prize of Galileo Masters 2012 for the most promising EGNOS application idea has been awarded to 3Sound. The system

[android-developers] Re: Uninstall free version app after installing paid version

2013-03-06 Thread Bajrang Asthana
Any suggestion -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Reading Wi-Fi Tags using Android Device

2013-03-06 Thread Gaurav Wable
Dear all, If aeroscout Wi-Fi tag is configured in beaconing mode, it will sends beacons. I need to know whether we can get RSSI value from these beacons by using Wi-Fi API on android phone same as RSSI value of Wi-Fi access points. I have Samsung SII mobile phone. -- -- You

Re: [android-developers] Tapping the overflow button make the action mode finish.

2013-03-06 Thread Mark Murphy
Action modes and the overflow menu do not work together, last I tried. I have filed an issue on it: https://code.google.com/p/android/issues/detail?id=23381 On Wed, Mar 6, 2013 at 3:13 AM, Hilda Chen hilda.chen0...@gmail.com wrote: Dear All: I have added some menu items to action mode of

[android-developers] SSL connection Android/Server using Apache Mina

2013-03-06 Thread Yaroslav.kh
Hello, I have problems on establishing SSL connection between server and android using Apache Mina (both on server and client); First of all I generated self signed keys. Bouncy Castle for Android and JKS for server: SERVER: keytool -genkey -dname cn=sslkey, o=test, c=RU -alias serverkey

[android-developers] Re: Uninstall free version app after installing paid version

2013-03-06 Thread RichardC
Don't go that route it has been discussed here many times - search is your friend. 1. There is no way to automatically remove a users application. 2. It is hard to get access from the paid app to any data you want to access from the free version (data migration). Instead use Google

Re: [android-developers] Uninstall free version app after installing paid version

2013-03-06 Thread TreKing
On Wed, Mar 6, 2013 at 12:42 AM, Bajrang Asthana asthana.bajr...@gmail.comwrote: I am interested to know what could be the best way to remove free version app(if user has installed it) as soon as user install the paid version. Check the PackageManager class. It has methods for querying if an

[android-developers] sample code req.

2013-03-06 Thread ramesh babu
Hi frnds..., send me some sample source code android app for beginners... -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] sample code req.

2013-03-06 Thread rambabu mareedu
http://ramsandroid4all.blogspot.in/ On Wed, Mar 6, 2013 at 10:06 PM, ramesh babu rameshbabu...@gmail.comwrote: Hi frnds..., send me some sample source code android app for beginners... -- -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Emulator

2013-03-06 Thread Kristopher Micinski
The problem isn't that there are fundamental problems with this approach. The problem is all those flakey hardware vendors you've never even heard of. Essentially you want to test all of the bugs in other vendor ROMs, otherwise testing on the emulator with tons of configurations *does* work.

Re: [android-developers] sample code req.

2013-03-06 Thread ramesh babu
thank u bro.. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] sample code req.

2013-03-06 Thread don rhummy
http://marakana.com/s/post/1017/android_bootcamp_series_2012_video_tutorial From: ramesh babu rameshbabu...@gmail.com To: android-developers@googlegroups.com Sent: Wednesday, March 6, 2013 11:36 AM Subject: [android-developers] sample code req. Hi frnds...,  

[android-developers] Android In-app billing v3 is not returning the correct localized price (getSkuDetails)

2013-03-06 Thread sammiwei
I am trying to test the getSkuDetails method in Android In-app billing v3 API with different local prices. I have used the sample application provided by Google (TrivialDrive), and modified it to display the price returned by Google in response to getSkuDetails: SkuDetails

[android-developers] Re: Emulator

2013-03-06 Thread Ronoli
I was picturing an app that would scale the screen pixels to match all those standard emulator options i.e. QVGA, HVGA, WQVGA, WVGA etc. I'm thinking like skins or something. Not really trying to catch that moving target per se. More trying to utilize the performance of the native device with

[android-developers] Re: Emulator

2013-03-06 Thread Lew
Ronoli wrote: I was picturing an app that would scale the screen pixels to match all those standard emulator options i.e. QVGA, HVGA, WQVGA, WVGA etc. I'm thinking like skins or something. Not really trying to catch that moving target per se. More trying to utilize the performance of

[android-developers] Make a one app appliance (prevent quitting app)

2013-03-06 Thread Tobiah
I am going to hand out Android phones with an app on it that is geared to a large event. I'd like to launch the app, and cause the user to be unable to quit it. I don't want them messing around with other software on the phone. We did this on our Blackberry app by making the program bring

Re: [android-developers] Make a one app appliance (prevent quitting app)

2013-03-06 Thread Mark Murphy
You are welcome to make it be the home screen. There's the Home sample in the SDK that demonstrates the intent-filter you need on your activity: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.HOME/

[android-developers] setAutoExposureLock method is not found in ICS

2013-03-06 Thread Qianqian Fang
hi list I am working on a camera program where I want to call setAutoExposureLock() is supported. To make this backward compatible, I used some sample code I found online to check the presence of this method first. The code snippet is below: ... try{ Class c =

Re: [android-developers] setAutoExposureLock method is not found in ICS

2013-03-06 Thread Mark Murphy
Why not set your build target to API Level 14 and just call the method, wrapping your calls in a Build.VERSION.SDK_INT check? Why are you messing around with reflection games? On Wed, Mar 6, 2013 at 7:21 PM, Qianqian Fang fan...@gmail.com wrote: hi list I am working on a camera program where I

[android-developers] Enumerate sd cards

2013-03-06 Thread yves...@gmail.com
I am trying to develop an app which has a feature like FTP. So, at the beginning, I want to enumerate all sd card storages on the device, and ask user to pick where they want to store the data. Then if external sd card is removed, I want to change to internal storage if it set to external sd

[android-developers] Receiving Intent

2013-03-06 Thread TWProgrammers
I am trying to get the file path of the intent. Everything I find doesn't seem to work. This is what I have so far: Intent i = getIntent(); Uri uri = i.getData(); if (uri == null) { return; } String startFile = ; try {

Re: [android-developers] Enumerate sd cards

2013-03-06 Thread TreKing
On Wed, Mar 6, 2013 at 10:29 PM, yves...@gmail.com yves...@gmail.comwrote: So, I want to know, first, how to enumerate all storage locations Did you check the documentation? http://developer.android.com/guide/topics/data/data-storage.html , second, monitor sdcard insert/eject events. See

Re: [android-developers] Receiving Intent

2013-03-06 Thread TreKing
You need to provide more information. On Wed, Mar 6, 2013 at 10:33 PM, TWProgrammers ip.progra...@gmail.comwrote: I am trying to get the file path of the intent. What intent? Everything I find doesn't seem to work. Like what? However if I open a file in /mnt/sdcard/test.txt Open a

[android-developers] how to use wpa_supplicant in android app in order to support wifi 802.11r

2013-03-06 Thread Gaurav Wable
Dear All, As for as my knowledge, android os doesn't support wifi 802.11r. What is the way to make it supported on android Mobile application. Is it possible to use wifi _supplicant

[android-developers] Fwd: Notification from Google Play - removed apps

2013-03-06 Thread Rakesh Jha
All, Please let me know what to do in this situation, last night i added some keyword, so please let me know what to do. --Rakesh -- Forwarded message -- From: Google Play Support googleplay-developer-supp...@google.com Date: Thu, Mar 7, 2013 at 11:41 AM Subject: Notification