[android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-10 Thread GJTorikian
My use case is this: a user looks up some information about a book. The book's cover is fetched from The Internet. If the user wants to save the book cover, the image is stored in the external storage directory. The storage code is simply this: new

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-10 Thread YuviDroid
Just a guess here...is it possible that maybe you are not calling mkdir/s() before saving the file on sd? And so your folder myapp doesn't exist. (although I guess that's not the case since you are having issues only with ICS). Anyway, if you need me to test something on the Galaxy Nexus just let

[android-developers] access my own map from my android phone ?!

2012-03-10 Thread ltvie
Hi everyone..! I need your help.. I have my own map (for example : map of a wide hospital area) then, i want to access that map from my android phone, thus, i can locate my current position (using GPS) in that area when I am currently there. Is that possible ?? Anyone would you mind helping me

[android-developers] Re: change default SIP user agent in android

2012-03-10 Thread Juned Khan
i got this solution http://stackoverflow.com/questions/9634733/how-to-set-custom-sip-user-agent-in-android/9636288#comment12246108_9636288 -- 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] access my own map from my android phone ?!

2012-03-10 Thread lbendlin
Have a look at osmandroid. -- 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

[android-developers] downgrade

2012-03-10 Thread bob
If I upgrade a tablet from 3.1 to 3.2, is there a way to undo this if it messes something up? Thanks. -- 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

Re: [android-developers] downgrade

2012-03-10 Thread Mark Murphy
This has nothing to do with this list. This list is for developing applications with the Android SDK. On Sat, Mar 10, 2012 at 6:38 AM, bob b...@coolfone.comze.com wrote: If I upgrade a tablet from 3.1 to 3.2, is there a way to undo this if it messes something up? Thanks. -- You received

Re: [android-developers] Database connectivity in android

2012-03-10 Thread abhijeet tomar
I think you have connect default database provide by android that is sqllite... It is very simple to use i have paste a link that can help you... http://saigeethamn.blogspot.in/2009/10/android-developer-tutorial-part-12.html -- You received this message because you are subscribed to the

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread RedBullet
So that brings up a really good point. I can think of a couple of circumstances when the item I want to modify might not have been rendered yet so there may not be a view for it. Is there a way to have it rendered so I can get the view? Or possibly, since this is not a large list, for the

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread Mark Murphy
On Sat, Mar 10, 2012 at 8:15 AM, RedBullet scottedchap...@gmail.com wrote: So that brings up a really good point. I can think of a couple of circumstances when the item I want to modify might not have been rendered yet so there may not be a view for it. Is there a way to have it rendered so I

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread RedBullet
Any guidance on implementing step #1? There must be a tutorial or example I can look at? Thanks in advance! On Saturday, March 10, 2012 8:41:53 AM UTC-5, Mark Murphy (a Commons Guy) wrote: On Sat, Mar 10, 2012 at 8:15 AM, RedBullet wrote: So that brings up a really good point. I can think

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread Mark Murphy
On Sat, Mar 10, 2012 at 9:09 AM, RedBullet scottedchap...@gmail.com wrote: Any guidance on implementing step #1? There must be a tutorial or example I can look at? http://commonsware.com/Android/excerpt.pdf -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread RedBullet
Awesome. Where can I buy your book? Seriously? On Saturday, March 10, 2012 9:28:04 AM UTC-5, Mark Murphy (a Commons Guy) wrote: On Sat, Mar 10, 2012 at 9:09 AM, RedBullet wrote: Any guidance on implementing step #1? There must be a tutorial or example I can look at?

Re: [android-developers] How to get view for selected item in a ListView

2012-03-10 Thread Mark Murphy
On Sat, Mar 10, 2012 at 9:55 AM, RedBullet scottedchap...@gmail.com wrote: Awesome. Where can I buy your book? Seriously? http://commonsware.com/warescription --- Getting back to your current problem, the notion that certain rows are special and need different rendering is

Re: [android-developers] Re: Help me on selecting a name to a game..

2012-03-10 Thread Anirudh Loya
Anirudh On Fri, Mar 9, 2012 at 7:49 PM, Spiral123 cumis...@gmail.com wrote: Whale Wars On Mar 6, 9:01 pm, Fred fredrisch...@gmail.com wrote: Hi Everybody, I'm developing a android game and i'm urgently needing to define a name to this game.. can you help on choosing the name? If

[android-developers] Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView

2012-03-10 Thread JJ B
Hello, I have an app with a list of SeekBar widgets generated within a ListView. When the list is relatively long, the Progress values reset themselves to their default position after being set by the user. (the list can be as long as 50 to 60 rows). DDMS gives me the following suspicious output

[android-developers] Taxmob

2012-03-10 Thread bob
Does anyone know what to do about taxes for Admob income for U.S. people? Does Admob send you some kind of tax form or something? Thanks. -- 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] Re: Android Game Programming help

2012-03-10 Thread Ahmad Kaddoura
The Google Search bar is a very useful tool, but in order for it to work in my favor, the information has to not only be there, but it has to be accessible without tedious measures . I've been looking through the search and I don't see much material that gives information on making games,

Re: [android-developers] Re: Android Game Programming help

2012-03-10 Thread Kristopher Micinski
On Sat, Mar 10, 2012 at 1:58 PM, Ahmad Kaddoura kaddoura.ah...@gmail.com wrote: The Google Search bar is a very useful tool, but in order for it to work in my favor, the information has to not only be there, but it has to be accessible without tedious measures .  I've been looking through the

[android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-10 Thread GJTorikian
It seems that that's entirely the problem. When I try to perform a mkdirs() operation, I get a return of false. So, for the structure of: /mnt/sdcard/myapp/ new File(/mnt/sdcard/myapp/).mkdirs() fails--but again, only for this device, it seems. On Friday, March 9, 2012 7:42:16 PM UTC-6,

[android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-10 Thread GJTorikian
Sorry for the quick follow-up, but perhaps this is related? http://stackoverflow.com/questions/4062357/mkdirs-returns-false-for-directory-on-sd-card-while-the-parent-directory-is-writ/7730756#7730756 On Saturday, March 10, 2012 1:38:32 PM UTC-6, GJTorikian wrote: It seems that that's entirely

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-10 Thread Kostya Vasilyev
I just tried this on my Galaxy Nexus with official 4.0.2, and it definitely works, with and without the training slash. mkdirs returns false if the directory already exists - are you sure yours don't? Also, does your app have the permission to write to external storage? IIRC, some really

[android-developers] Re: What to use for supports-screens so that only 10 screens an alternatate APK?

2012-03-10 Thread jtoolsdev
Problem is that you don't know whether they will actually work or not? And why even announce new qualifiers unless they've been activated in the market? Why not add the checks to the emulators? That's actually what I expected to happen but soon learned it didn't work. Here's what I did and

Re: [android-developers] Re: What to use for supports-screens so that only 10 screens an alternatate APK?

2012-03-10 Thread Kostya Vasilyev
Those are very good questions for the Play team, unfortunately, there seems to be no good place to get them answered. Other than that, looking at your manifest snippet: The dp based attribute: Unsupported, and is documented as such. The large vs. extra large: Is the typical 7 1024 by 600 mdpi

[android-developers] Re: Help me on selecting a name to a game..

2012-03-10 Thread Fred
Hi Everybody Thanks a lot for voting on the name of the water game.. the choosen name was Kraken Attack!! :) Now i would like to put in votation the name of this other game. This is a survival horror game, the description is there. I'm with 3 games in development at all :) Please vote here:

[android-developers] can more than one sliding drawer be used in a LinearLayout?

2012-03-10 Thread Jim Graham
I would like to use a set of sliding drawer widgets on the left 25% of my app for camera settings, adding effects, adding filters, etc., (the right 25% is a surfaceview with a camera preview, which I want to remain untouched). I tried an example from one of Mark Murphy's books, and added a second

[android-developers] I Can't Get A JPEG Callback, Anybody know what I'm doing wrong?

2012-03-10 Thread Robert Young
Hello all, I have the following code that gets called from my main activity to capture a full Frame Image with the camera. I've tried many differnt combinations of callback requests, but I NEVER get a Jpeg Callback. // ** public void

[android-developers] avds not visible

2012-03-10 Thread Keith Wiley
My app is built against the 3.0 SDK (which I think is the equivalent of android 11 or something like that, I can't keep these numbers straight) but the manifest specifies merely min sdk 3 and target sdk 4 (3 should be 1.6 if I recall correctly). I have a phone running 2.3.3. and I have various

Re: [android-developers] can more than one sliding drawer be used in a LinearLayout?

2012-03-10 Thread Narendra Singh Rathore
Is it possible to have more than one in a LinearLayout? Did I just miss something in the Dev Guide and tutorials? Or can there only be one? Have a look at this- http://stackoverflow.com/questions/6404606/android-is-it-possible-to-have-multiple-slidingdrawer -- You received this message

[android-developers] Re: avds not visible

2012-03-10 Thread Keith Wiley
Whoops, like I said, the manifest specifies min 3 and target 4. That's OS 1.5 and 1.6 respectively. I suggest 3 was 1.6 earlier which is incorrect. -- 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] -audio coreaudio no longer works

2012-03-10 Thread Keith Wiley
I used to be able to simulate audio recording in the emulator by passing in -audio coreaudio. Something has changed though (I've undergone several SDK updates of course) and now my app doesn't get any audio. It initializes AudioRecord just fine but each call to mAudioRecord.read() leaves the

Re: [android-developers] can more than one sliding drawer be used in a LinearLayout?

2012-03-10 Thread Jim Graham
Oops...did a direct (r)eply instead of a (L)ist reply I did say my brain was already shut down for the night. grin On Sun, Mar 11, 2012 at 09:00:01AM +0530, Narendra Singh Rathore wrote: Is it possible to have more than one in a LinearLayout? Did I just miss something in the Dev

[android-developers] Re: -audio coreaudio no longer works

2012-03-10 Thread Keith Wiley
Sorry, I figured it out. I had to edit the AVD and explicitly add audio support to the parameters. I don't recall doing that before, but it made sense when I saw it. Head's up to anyone else having similar problems. Cheers! On Mar 10, 7:51 pm, Keith Wiley kbwi...@gmail.com wrote: I used to

Re: [android-developers] How to disable the installation of device administrator application?

2012-03-10 Thread perumal316
Hi Mark, Yes, malware could exploit this but creating own firmware for organisations may be only feasible if they want to issue the phones to the users and firmware update, security patches all needs to be taken care of. Even though device administrator functionality provides some policies

[android-developers] Re: Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView

2012-03-10 Thread JJ B
Hello, I think I figured this one out. Of course, I re-watched Romain Guy's IO presentation on ListViews and now I understand it a lot more. Even though my list will not be larger than 60 rows, I am assuming that re-using the convertView will help my memory issues a bit. With regard to my

[android-developers] Re: access my own map from my android phone ?!

2012-03-10 Thread ltvie
I have done my project to get current position and can access map from google.. but i don't need map from google that show on my android phone..i want show my own map ! * I using eclipse On Mar 10, 6:35 pm, lbendlin l...@bendlin.us wrote: Have a look at osmandroid. -- You received this

Re: [android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-10 Thread agung wiguna johan
Hi sory for the late replay, and sory for the lacked information on my question. I don't know how to provide the error code, because when i debug the application, i don't get any error code. But i already solved the problem now. Thanks for your help,and correction On Fri, Mar 9, 2012 at 4:18 AM,

[android-developers] Re: Out of memory on a xxx-byte allocation When setting progress values of SeekBars within ListView

2012-03-10 Thread JJ B
Ooops...nevermind...still Hosed. Any advice appreciated (Seekbar now has a mind of it's own) On Sat, Mar 10, 2012 at 11:18 PM, JJ B jjbjmanagem...@gmail.com wrote: Hello, I think I figured this one out. Of course, I re-watched Romain Guy's IO presentation on ListViews and now I understand