[android-developers] 5 mins to ADC II submission deadline - so what is your submission?

2009-08-31 Thread Dollars 5
Hello All, Best of luck to all submissions, so what was your submission? We were able to submit only a partner application which I cannot reveal due to NDA. But our submission was unsubmitted as we were unable to finish some critical things.. --~--~-~--~~~---~--~~

[android-developers] Problem in simple Code SQLite

2009-08-31 Thread Bharath B.G.
Hi, I am very new to SQLite, i referred some books regarding coding in SQLite n went straight for coding But while i run my simple code i am getting error "the application has stopped unexpectadly" (particularly in the line create table) please tell me where exactly is the error n where i hav to

[android-developers] How do I listen for contact change events ?

2009-08-31 Thread Riyaz
I want to be notified for add / delete / update of contacts. Is there anyway i can listen for such events? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread Fallen Leaf
Now that submission closes in just some minutes, anybody knows when the judge application will be in the market? On 1 sep, 08:35, Dan Sherman wrote: > Could always just use com.company.product.adc, or com.company.product2, or > any number of small modifications on the product name... > > On Tue,

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread an00na
Only if one can bear the ugliness ... On Sep 1, 2009, at 2:35 PM, Dan Sherman wrote: > Could always just use com.company.product.adc, or > com.company.product2, or any number of small modifications on the > product name... > > > On Tue, Sep 1, 2009 at 2:23 AM, wrote: > That's what is recently

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread Dan Sherman
Could always just use com.company.product.adc, or com.company.product2, or any number of small modifications on the product name... On Tue, Sep 1, 2009 at 2:23 AM, wrote: > That's what is recently annoying me, because I didn't know there is such a > ridiculous restriction and submitted my ADC a

[android-developers] get the path of a file

2009-08-31 Thread SrilankanKK
Hi I have create a zip file on the phone sdk. So i need to create a program to attach that zip file and mail it. For that i need the uri of that file. I used its physical path but it doesn't work. path to the file - sdcard/myfile.zip i used it in the code in foloowing way sendIntent.putExtra(

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread an00na
That's what is recently annoying me, because I didn't know there is such a ridiculous restriction and submitted my ADC app with the official package name (com.company.product) of that app which is going to be published on Android Market soon. Now, I am totally screwed. Because an ideal packa

[android-developers] Problem in Reverse Geocoder...Address,Country Name are not Displaying...

2009-08-31 Thread ragavendran s
whenever i run this code it shows Latitude and Longitude correctly... but i did'nt get the address,Country name and Postal code.Here I Used Reverse Geocoder. In my output Only Latitude and Longitude shows but Adddress Detaily are not Displaying can u tel me pls. thanks, WithRegards,

[android-developers] Re: setPadding() in onDraw() causing ListView draw loop

2009-08-31 Thread Romain Guy
Don't set the padding in onDraw() :) On Mon, Aug 31, 2009 at 10:32 PM, greg wrote: > > My application uses a ListView to display a custom TextView as a tree > view, with the text indented according to the item's depth in the > tree.  In that indentation, a line drawing denotes the hierarchy.  I >

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread James Yum
Hi, Unfortunately, you won't be able to recover that package name. That's the way it works on the "regular Market" as well. Cheers, James On Mon, Aug 31, 2009 at 9:45 PM, wrote: > But I want to use the package name that I've revoked from ADC before it is > closed for submission and open for ju

[android-developers] Problem in Geoceder Address and Country name are not Displaying

2009-08-31 Thread ragavendran s
whenever i run this code it shows Latitude and Longitude correctly... but i did'nt get the address,Country name and Postal code.Here I Used Reverse Geocoder. In my output Only Latitude and Longitude shows but Adddress Detaily are not Displaying can u tel me pls. thanks, WithRegards,

[android-developers] Re: Services - best way to bind

2009-08-31 Thread Dianne Hackborn
It just depends on what semantics you want. Generally I would recommend using create/destroy or start/stop instead of pause/resume. If you fail at binding to the service, the service does not exist at all, and you should assume you will never get it. If you fail while calling on to the service (

[android-developers] Re: TextView Line Breaks

2009-08-31 Thread Abu
Hi ... \n will also appear in Text view better use a logic to split the text into 'n' number of lines u want and then display it on the text view Abu On Tue, Sep 1, 2009 at 10:48 AM, Gulfam wrote: > > Hi Rud, > > In text view it will automatically break the text when text will > reaches at

[android-developers] setPadding() in onDraw() causing ListView draw loop

2009-08-31 Thread greg
My application uses a ListView to display a custom TextView as a tree view, with the text indented according to the item's depth in the tree. In that indentation, a line drawing denotes the hierarchy. I tried to use the setPadding() within onDraw() to indent the text, but that is causing a seemi

[android-developers] Re: TextView Line Breaks

2009-08-31 Thread Gulfam
Hi Rud, In text view it will automatically break the text when text will reaches at end but if you want to break text according to your requirement so just put \n not "\n" or "\\n". Regards, Gulfam On Aug 29, 12:01 am, "Balwinder Kaur (T-Mobile USA)" wrote: > Use just \n. > > Balwinder Kaur >

[android-developers] Services - best way to bind

2009-08-31 Thread droidin.net
When using AIDL-based async services I've seen various examples when the service is bound/unbound on Activity's oncreate/ondestroy, onstart/ onstop and even on onpause/onresume. Which one is "right"? And what is acceptable recovery strategy when attempt using the service fails? Thanks you for you

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread an00na
But I want to use the package name that I've revoked from ADC before it is closed for submission and open for judgement. On Sep 1, 2009, at 11:39 AM, Chi Kit Leung wrote: > anyway, I think ADC2 is closed. > > On Tue, Sep 1, 2009 at 1:04 PM, an0 wrote: > > But I find it is unreasonable that I

[android-developers] Re: Getting "failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

2009-08-31 Thread Anand
Below are the responses of command you recommended to check. $ adb shell df /dev: 47172K total, 12K used, 47160K available (block size 4096) /sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096) /system: 65536K total, 49132K used, 16404K available (block size 4096) /data:

[android-developers] Re: TelephonyManager.getLine1Number()

2009-08-31 Thread Che
Here's a bit of code to better illustrate this: TelephonyManager telephonyMgr = (TelephonyManager) getSystemService (Context.TELEPHONY_SERVICE); userId = telephonyMgr.getLine1Number(); if(userId == null || userId.trim().equals("")){

[android-developers] TelephonyManager.getLine1Number()

2009-08-31 Thread Che
Hi, Quick question: (I've already submitted to adc2) I log in to my server using a username that I derive from either the sim card's line1number from the TelephonyManager.getLine1Number() or if that is null then the device id from Settings.Secure.getString (getContentResolver(), Settings.Secure.

[android-developers] Re: Join

2009-08-31 Thread Chi Kit Leung
Is it a new group? What is this group about? On Tue, Sep 1, 2009 at 12:55 PM, Sasi Kumar wrote: > > Join this group > > http:// > groups.google.com/group/mobile-application-developers > > > -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~

[android-developers] Re: Register as a team

2009-08-31 Thread Chi Kit Leung
Thanks! Sorry. I forgot I am in +10 timezone On Tue, Sep 1, 2009 at 12:04 PM, Dan Sherman wrote: > Closes tonight at 11:59pm Pacific. > > On Mon, Aug 31, 2009 at 10:02 PM, Chi Kit Leung > wrote: > >> >> http://code.google.com/android/adc/ >> Timeline >> >>- May 27 - Google I/O: ADC 2 annou

[android-developers] Re: IllegalArgumentException occur: parameter must be a descendant of this view in ViewGroup.java:2454

2009-08-31 Thread Justin
Do you know which view in your hierarchy cause this issue happened? Besides, is this your first time called 'setContentView' in activity? or you want to change the content view (not first time calling setContentView) in the same activity? On 8月28日, 下午10時39分, Steven Yi wrote: > Hi All, > > We ar

[android-developers] task affinity - what is it?

2009-08-31 Thread rukiman
I am trying to understand what is affinity grouping and what its purpose is? Also trying to understand activity reparenting. I have read the javadocs for these but still not sure when and when you would use them. --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Device Chooser always picks Emulator (after upgrading Ubuntu to Jaunty)...

2009-08-31 Thread John B. Hansen
I just updated my Ubuntu Linux box to Jaunty (9.04). Initially, I had same problem everyone else has on Jaunty i.e. adb doesn't see the device: http://groups.google.com/group/android-developers/browse_thread/thread/1c55ed426623e2b8/f30418ededf58677?lnk=gst&q=jaunty+usb+problem#f30418ededf58677

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-31 Thread Dianne Hackborn
That isn't really anything specific to layout files, that is just the generic code for parsing typed attribute values in XML files. It is part of the core system image. On Mon, Aug 31, 2009 at 8:01 PM, Susan wrote: > > I finally find the validate details in > \mydroid\frameworks\base\libs\util

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread James Yum
There are still three more hours left. Cheers, James On Mon, Aug 31, 2009 at 8:39 PM, Chi Kit Leung wrote: > anyway, I think ADC2 is closed. > > > On Tue, Sep 1, 2009 at 1:04 PM, an0 wrote: > >> >> But I find it is unreasonable that I can not reuse the package name >> EVEN IF I've unsubmitted t

[android-developers] H.263 video Codec supported???

2009-08-31 Thread Sen
Hello, Greetings!!! I need few clarifications regarding Streaming... 1. Has H.263 video codec supported??? 2. Also, i could not stream thro' www.youtube.com using browser; is this due to flash player support; but able to do thro Youtube Application 3. Can i have supported codec format (both audio

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread Chi Kit Leung
anyway, I think ADC2 is closed. On Tue, Sep 1, 2009 at 1:04 PM, an0 wrote: > > But I find it is unreasonable that I can not reuse the package name > EVEN IF I've unsubmitted the ADC app EVEN before ADC starts to open to > users. Since there is no one but me knows the ever ephemeral existence >

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread an0
But I find it is unreasonable that I can not reuse the package name EVEN IF I've unsubmitted the ADC app EVEN before ADC starts to open to users. Since there is no one but me knows the ever ephemeral existence of such a package, what's the problem of revoking the first one and then using its name

[android-developers] Re: Who is responsible for validation of layout xml file?

2009-08-31 Thread Susan
I finally find the validate details in \mydroid\frameworks\base\libs\utils\ResourceTypes.cpp. The function ResTable::stringToValue(...) does the job. It doesn't seem to be the part of ADT. Susan wrote: > Anybody can help me? > > Susan wrote: > > Thanks for your help! > > But I really can't f

[android-developers] Join

2009-08-31 Thread Sasi Kumar
Join this group http:// groups.google.com/group/mobile-application-developers --~--~-~--~~~---~--~~ 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@googleg

[android-developers] Re: Register as a team

2009-08-31 Thread Dan Sherman
Closes tonight at 11:59pm Pacific. On Mon, Aug 31, 2009 at 10:02 PM, Chi Kit Leung wrote: > > http://code.google.com/android/adc/ > Timeline > >- May 27 - Google I/O: ADC 2 announced >- July 13: Full Terms and Conditions made available >- Beginning in August: submission site opens, de

[android-developers] Re: Register as a team

2009-08-31 Thread Chi Kit Leung
http://code.google.com/android/adc/ Timeline - May 27 - Google I/O: ADC 2 announced - July 13: Full Terms and Conditions made available - Beginning in August: submission site opens, developers submit apps - August 31: submission site closes - I think ADC2 is closed On Mon, Aug 31,

[android-developers] Re: Android icons

2009-08-31 Thread Chi Kit Leung
http://developer.android.com/shareables/icon_templates-v1.0.zip this is the template, that may help On Tue, Sep 1, 2009 at 3:44 AM, Balwinder Kaur (T-Mobile USA) < balwinder.k...@t-mobile.com> wrote: > > You can view the inbuilt icons by unzipping android.jar file. > > You can use any icon that f

[android-developers] problem animating a view object

2009-08-31 Thread Andy Droid
Attempting a fairly simple animation of a View. I'm trying to display a panel, and then just animate it if the user touches the screen. Code for my simplified test is below. The function animateMe() definitely gets called, but nothing happens. Any help greatly appreciated, thanks. MAIN FILE:

[android-developers] Re: How to unsubscribe from this list?

2009-08-31 Thread Romain Guy
> For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > .. > > I have gone to that address and poked around and I didn't see a way to > unsubscribe there either. Edit my membership > Unsubscribe. > > Does anyone have an idea how to get free of this lis

[android-developers] Re: Broken OpenGL texture output after resuming the app

2009-08-31 Thread Jack Palevich
I have some good news and some bad news. The good news is that I have reproduced the bug using the repro case that you reported, and have opened an internal bug to track the issue. The bad news is that unfortunately I haven't been able to figure out the root cause. I am continuing to investigate

[android-developers] How to unsubscribe from this list?

2009-08-31 Thread Kent Loobey
Messages received from this list contain the following at the botton: ... To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com ... When I send a message to that address I get a message back that includes: ... - The following addresses had permanen

[android-developers] Re: how to make sound hz?

2009-08-31 Thread Chris Stratton
On Aug 31, 8:23 pm, Bart van Wissen wrote: Additionally I think it's also possible to do midi through jet? And if one isn't too particular about the sound, playing a touch tone digit is by far the simplest > You will have to create the wave data yourself using a sine-function. > > > sorry i ju

[android-developers] Re: how to make sound hz?

2009-08-31 Thread Bart van Wissen
I'm sorry, the formula is wrong. I think it's buffer[i] = (short) ( Math.sin((2. * Math.PI * i * f) / samplerate) * Short.MAX_VALUE ) But I'm not sure. I guess 3 AM is not the time to think about this. Anyway it should give you an idea of how to do it. On 1 sep, 02:23, Bart van Wissen wrote: >

[android-developers] Re: Driver issues on windows 7

2009-08-31 Thread DG_18729
Are you referring to the ADB drivers? PDANet uses ADB to provide tethering. Installing PDANet will also correctly install the ADB drivers, even on Windows7. (from a tip on xda-developers) Download PDANet from http://www.junefabrics.com/android/index.php You can uninstall PDANet if you want aft

[android-developers] Re: No com.android.camera.CropImage on HTC Magic?

2009-08-31 Thread Dianne Hackborn
I don't think there is a standard activity you can launch, but there is the actual API on Context you can use to set the wallpaper to whatever you want. On Mon, Aug 31, 2009 at 5:23 PM, admin.androidsl...@googlemail.com < admin.androidsl...@googlemail.com> wrote: > > Thanks for responses - by wal

[android-developers] Re: No com.android.camera.CropImage on HTC Magic?

2009-08-31 Thread admin.androidsl...@googlemail.com
Thanks for responses - by wallpaper, I meant set image as wallpaper. On Aug 31, 5:58 pm, Dianne Hackborn wrote: > I don't know what you mean by "wallpaper," so there is no way to help you. > > As for cropping, as I said, I don't believe there is an official intent to > do this.  You'll need to

[android-developers] Re: how to make sound hz?

2009-08-31 Thread Bart van Wissen
You will have to create the wave data yourself using a sine-function. Fill a buffer of shorts (for 16 bit audio) with something like this: buffer[i] = (short) (Math.sin(((double) i / samplerate) * f) * Short.MAX_VALUE); (please correct me if I'm wrong) If you need a 5 seconds tone, I suppose yo

[android-developers] Re: How does ResolverActivity or ChooserActivity getting launched?

2009-08-31 Thread Dianne Hackborn
That doesn't make any sense. The resolver activity is a chooser activity with an additional check box to make the selected activity the default. On Mon, Aug 31, 2009 at 4:29 PM, hap 497 wrote: > > Thank you. > > Is it possible to substitute the Choose Activity? > > On Mon, Aug 31, 2009 at 3:51

[android-developers] Re: Intent.ACTION_SEND problems with platform\emulator 1.1

2009-08-31 Thread Dianne Hackborn
It's just a matter of what applications are installed in the image that handle the intent. If there is nothing that handles it, well then there is nothing that handles it. On Mon, Aug 31, 2009 at 5:00 PM, JKrapp wrote: > > Hello, > I developed an application using Android SDK 1.5_r2, with API l

[android-developers] Re: URGENT! map api key after signing an app?

2009-08-31 Thread Mark Murphy
Georgios Galyfos wrote: > Hello, this is very urgent, as I just found out that the maps are not > showing on my app, now that I signed it, with the map api key i was > using so far. > > here it says: > > http://code.google.com/android/add-ons/google-apis/mapkey.html#finalsteps > > Note that, wh

[android-developers] Re: does android support ANSI encoding chinese characters?

2009-08-31 Thread sam
Any help? On 8月28日, 上午9时48分, sam wrote: > Hi guys, > > Any suggestions? > > On 8月27日, 上午11时11分, sam wrote: > > > > > Hi guys, > > > I have two txt file, both of them contains chinese characters, one txt > > file is saved usingANSIencoding, but this file's chinese characters > > can not be displ

[android-developers] Re: DDMS under Mac OS X 10.5 (Snow Leopoard)

2009-08-31 Thread foo
Just in case that didn't work for anyone, for qmodify ddms (TextEdit works) and add '-d32' to the Java options to force the Java VM to 32 bit by modifying this code: # Mac OS X needs an additional arg, or you get an "illegal thread" complaint. if [ `uname` = "Darwin" ]; then os_opts="-XstartO

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread CraigsRace
This was answered in another thread. There will be no difference, so putting ADC in your name is a good idea. On Sep 1, 4:35 am, Vytautas Vaitukaitis wrote: > Hi, everyone! > > Just a quick check about the Judging Application. > > I have an app that was submitted to the market after the 1st Aug

[android-developers] Intent.ACTION_SEND problems with platform\emulator 1.1

2009-08-31 Thread JKrapp
Hello, I developed an application using Android SDK 1.5_r2, with API level 2 (1.1). When I use the Intent ACTION_SEND with an emulator target API level 3 (1.5) I have no problems, and I can choose to send the message between email or SMS. On the contrary with an emulator target API level 2 (1.1) I

[android-developers] URGENT! map api key after signing an app?

2009-08-31 Thread Georgios Galyfos
Hello, this is very urgent, as I just found out that the maps are not showing on my app, now that I signed it, with the map api key i was using so far. here it says: http://code.google.com/android/add-ons/google-apis/mapkey.html#finalsteps Note that, when you are ready to publish your applicatio

[android-developers] BroadcastReceiver to listen incoming call

2009-08-31 Thread Peacemoon
I have a strange behaviour of BroadcastReceiver when trying to listen incoming call. I set up the BroadcastReceiver to listen to both incoming calls and sms. The BroadcastReceiver run after the booting is complete. When first i fake a call into the emulator, i can not catch the call. I try again w

[android-developers] Re: XML reference

2009-08-31 Thread Fred Grott(shareme)
At this point no..in fact it is the first time I have seen that technique myself My suggestion would be to write a nice sumamry of the technique and link to that post on: http://andmob.wikidot.com/ Than at least more of the community will see it.. Thanks for pointing out that post.. Fred Grot

[android-developers] Re: How does ResolverActivity or ChooserActivity getting launched?

2009-08-31 Thread hap 497
Thank you. Is it possible to substitute the Choose Activity? On Mon, Aug 31, 2009 at 3:51 PM, Dianne Hackborn wrote: > ResolverActivity is the activity that is returned when you try to launch an > intent matching more than one activity. > > ChooseActivity is used by Intent.createChooser > > On M

[android-developers] Re: problems building android dev environment?

2009-08-31 Thread Fred Grott(shareme)
Hello Dave I have Ubuntu so that should speed up the solution so let us go through the obvious first: 1. You set Java Home to the actual folder instead of the sym link, GOOD! 2. You get errors when attempting a build Let see my questions: 1. Is JAVA_HOME set to the jvm or the inner jre folder

[android-developers] Re: problem using progress dialog with usertask

2009-08-31 Thread Maurizio
>'android.view.WindowManager$BadTokenException: Unable to add window -- >token android.os.binderpr...@435904d8 is not valid; is your activity >running' Make sure you showDialog(...) on the UI thread. Maurizio On Aug 21, 5:00 am, Sundar wrote: > Hi, > > I have an application that downloads som

[android-developers] Re: Changing audio path to earpiece from speakerphone

2009-08-31 Thread Doug
PS: MODE_NORMAL is basically the routing mode for "Media" - such as music, or stuff that's played using the mediaplayer classes... On Aug 31, 4:01 pm, Doug wrote: > Well, this code is kinda correct - although you shouldn't be using > 'am' for the static values, instead you should be using the >

[android-developers] problems building android dev environment?

2009-08-31 Thread dmm
When I download the source and build it according to http://source.android.com/download, then try to build the eclipse dev evironment as described on http://source.android.com/using-eclipse, I get 100s of Java Errors when trying to build the project. Linux is 2.6.28-15-generic #49-Ubuntu Eclipse

[android-developers] Re: Changing audio path to earpiece from speakerphone

2009-08-31 Thread Doug
Well, this code is kinda correct - although you shouldn't be using 'am' for the static values, instead you should be using the AudioManager object directly - your compiler is probably complaining about that. In a more perfect world your code would be a little more like... /**

[android-developers] Re: How does ResolverActivity or ChooserActivity getting launched?

2009-08-31 Thread Dianne Hackborn
ResolverActivity is the activity that is returned when you try to launch an intent matching more than one activity. ChooseActivity is used by Intent.createChooser On Mon, Aug 31, 2009 at 3:41 PM, hap 497 wrote: > > Hi, > > I am studying android's code, I can find how ResolverActivity or > Choos

[android-developers] How does ResolverActivity or ChooserActivity getting launched?

2009-08-31 Thread hap 497
Hi, I am studying android's code, I can find how ResolverActivity or ChooserActivity is being launched? Can you please tell me how do they get launched? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "An

[android-developers] XML reference

2009-08-31 Thread Eddified
Is there any sort of xml reference? I found this which turned out to be invaluable for me http://groups.google.com/group/android-developers/msg/d334017d72909c79 but I can't figure out how I was supposed to know how to do that, had I not found that post. I know that the api reference has xml att

[android-developers] Re: Problem while compiling the cupcake Android release for the HTC G1 dev edition

2009-08-31 Thread Shawn Brown
HI, > make: *** Pas de règle pour fabriquer la cible « > vendor/htc/dream-open/proprietary/AudioPreProcess.csv », nécessaire pour « > out/target/product/dream-open/system/etc/AudioPreProcess.csv ». Arrêt. Um, you need to get some proprietary stuff off the handset. This worked for me. adb pull

[android-developers] Re: mapping gestures to buttons - possible?

2009-08-31 Thread terryowen
I'm not sure why but it took several days for my original post to appear, so just bumping it up in the hopes that someone may see it. Terry On Aug 26, 5:57 pm, terryowen wrote: > I have a love-hate relationship with my G1, with the inability to > remap keys at the top of the list.  I've looked

[android-developers] Marquee setting in TextView on AppWiget

2009-08-31 Thread prashanth
Hello All, Iam trying to configure TextView as an AppWidget on Android home.As per the documentation,the Marquee effect will start(text will start scrolling) only when focus is on that widget.My question is how to put automatic focus on the textview appwidget? On googling,one of the suggested answ

[android-developers] Re: Driver issues on windows 7

2009-08-31 Thread samspade79
Same problem. Any fix out ? On Aug 9, 12:41 pm, wypatt wrote: > I cannot getwindowsto install the SDK drivers instead of its > preloaded disk drivers. I have tried to do a manual update from the > device manager, butwindowsbelieves it knows better and says the best > drivers are already installe

[android-developers] Re: Suggestions on how to stop threads with long operations?

2009-08-31 Thread CraigsRace
To force my threads to stop, I do as you have done with checks after the long running methods, and I also call interrupt to kill any sleep commands. On Sep 1, 7:32 am, jsdf wrote: > On Aug 31, 11:28 am, "Yusuf Saib (T-Mobile USA)" > Mobile.com> wrote: > > You might run this thread in a service,

[android-developers] Re: How to display infowindow in map view ...

2009-08-31 Thread Theo K
Yeah, I'm quite interested to know this too... In the meantime, I'm going to have to create an overlay with some kind of an embedded activity in it to resolve this. It's a bit of a shame that this functionality already exists (as we can see on Google's own 'My Maps' editor on Android), but they d

[android-developers] Re: Judging application for the ADC 2

2009-08-31 Thread Dan Morrill
The .apk files submitted will be treated as normal applications when installed on the device, so if the user has both versions installed, he/she will see two icons. - Dan On Mon, Aug 31, 2009 at 11:58 AM, Vytautas Vaitukaitis < vaitukaitis.vytau...@googlemail.com> wrote: > Hi, everyone, > Just a

[android-developers] Re: Threads and Screen Orientation Change

2009-08-31 Thread CraigsRace
> I deal with these situations by just keeping a public static reference > around to the currently active activity. E.g. Brilliant idea!!! That's the solution! And you could abstract it out into a sub class like this (I wish showDialog/dismissDialog weren't marked as final!): public class Orie

[android-developers] Re: copy raw data from internal phone storage

2009-08-31 Thread Unrealshade
with both "dd if=/dev/mtd/mtd5" and "dd if=/dev/mtd/mtd5ro" i get "dd: /dev/...etc: Invalid argument". i can worry about using the data later, i just want to copy it for now... but still can't. do you have more tips? thank you! On Aug 31, 6:19 pm, Chris Stratton wrote: > You want /dev/mtd/mtd

[android-developers] Re: How to activate the flashlight of the Samsung Galaxy

2009-08-31 Thread Alan Viverette
To turn the flash on for photos, Camera.Parameters parameters = camera.getParameters(); parameters.set("flash-value", 1); camera.setParameters(parameters); On Aug 26, 1:19 am, Nox wrote: > Can you help me please!!! > > On Aug 11, 11:30 am, Nox wrote: > > > Hello everybody, > > I am developing

[android-developers] Re: Suggestions on how to stop threads with long operations?

2009-08-31 Thread jsdf
On Aug 31, 11:28 am, "Yusuf Saib (T-Mobile USA)" wrote: > You might run this thread in a service, and have another thread stop > the service as needed. This is an interesting idea... though, the overhead with starting the service makes it not worth taking that path. Perhaps I should continue w

[android-developers] onReceive not triggering for SEND / image

2009-08-31 Thread EnnaN
There are a number of posts about getting your intent to actually register, but unfortunately i was not able to distill a sollution from them. The simple concept of getting an image and doing something with it seems to be too much at the moment :( I have the following in my manifest.xml:

[android-developers] Re: server over 3g

2009-08-31 Thread MJWiPhone
Yes, you can run a server over 3G and access it via an ssh home server (through ssh you can forward any protocol via localhost)... here is how... please follow my iphone links: http://modmyi.com/forums/iphone-ipod-touch-sdk-development-discussion/669471-connect-control-your-iphone-anywhere-ssh-vn

[android-developers] Re: How to switch eclipse logcat from emulator to device and back again

2009-08-31 Thread ernestw
Make sure you have the Devices View displaying (Window -> Show View -> Other -> Android -> Devices). The device you select from the Devices view will show its logcat in the logcat view. Ernest On Aug 31, 3:59 pm, tansaku wrote: > Does anyone know how to get the eclipse logcat output to switc

[android-developers] Re: some way to check available activities

2009-08-31 Thread dan raaka
I think you were looking for something like this http://android-developers.blogspot.com/2009/01/can-i-use-this-intent.html :) -Dan On Mon, Aug 31, 2009 at 2:17 PM, Dianne Hackborn wrote: > Use Intent.resolveActivity() if you want to preflight the resolution of > that intent before trying to st

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread longhairedsi
Cheers for the input everyone. In the end it turned out to be a weird upload permissions issue on my vista machine. I've still not got to the bottom of it but I can't upload any files to any website. I used a different(xp) machine and it was fine. Thanks Simon On Aug 31, 5:36 pm, RainBow wrot

[android-developers] Never getting onLocationChanged (in emulator)

2009-08-31 Thread dapaintballer331
I have yet to test this on a real phone. My problem is this service is supposed to send output to a log, when the location is changed. It isn't working, I don't know why. AndroidManifest has permission for fine, coarse, and mock locations. I sent locations using (telnet localhost (port), geo fix

[android-developers] Re: some way to check available activities

2009-08-31 Thread Dianne Hackborn
Use Intent.resolveActivity() if you want to preflight the resolution of that intent before trying to start an activity for it. (Or you can use the underlying PackageManager.resolveActivity() API, or PackageManager.queryIntentActivities(), if you want to do something more specialized). On Mon, Aug

[android-developers] Why TabHost always setFocusableInTouchMode to true

2009-08-31 Thread n179911
Hi, Can you please tell me why TabHost always setFocusableInTouchMode to true? >From TabHost source code: private final void initTabHost() { setFocusableInTouchMode(true); setDescendantFocusability(FOCUS_AFTER_DESCENDANTS); } --~--~-~--~~~---~--

[android-developers] Re: How to switch eclipse logcat from emulator to device and back again

2009-08-31 Thread Todd
>From within the Eclipse environment, first make sure you have the Devices tab available in your environment. Window: Show View...: Other: Android: Devices Then, go to the Devices tab and click on the device or emulator and the logcat data will change. I do this all the time and it works well fo

[android-developers] Re: Reloading our Activities State after firing Intent to camera

2009-08-31 Thread Mark Murphy
bkbonner wrote: > To reiterate, onPause and onSaveInstanceState gets fired, but > onRestoreInstanceState is never fired when coming back from the > CameraActivity. If your activity was not destroyed, you should already have your state, and onRestoreInstanceState() will not be called. This is simi

[android-developers] Re: Reloading our Activities State after firing Intent to camera

2009-08-31 Thread bkbonner
To reiterate, onPause and onSaveInstanceState gets fired, but onRestoreInstanceState is never fired when coming back from the CameraActivity. We're calling finish in the CameraActivity. On Aug 31, 3:51 pm, bkbonner wrote: > We have an Activity which has a form on it and we launch an Intent to >

[android-developers] Re: How to switch eclipse logcat from emulator to device and back again

2009-08-31 Thread Maps.Huge.Info (Maps API Guru)
Have you tried using DDMS to select the source? -John Coryat --~--~-~--~~~---~--~~ 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 unsu

[android-developers] Microphone signal ..source

2009-08-31 Thread guruk
Hi, i look for a very simple example what signal arrives at my mic in realtime. It does not need to be saved to sd-card or anything. Just a $vol=GetVolume (0-) $frequ=Getfrequ (0-28000) something like that. The Examples I found are just overloaded and mostly to record some seconds to sd-c

[android-developers] Re: some way to check available activities

2009-08-31 Thread tansaku
Thanks for your help. Tried that with the following code: PackageManager pm = getPackageManager(); PackageInfo pi; try { pi = pm.getPackageInfo("fm.smart", PackageManager.GET_ACTIVITIES); for (Activ

[android-developers] How to switch eclipse logcat from emulator to device and back again

2009-08-31 Thread tansaku
Does anyone know how to get the eclipse logcat output to switch from emulator to device and back again? I am often developing, and using emulator and device in tandem, mainly because I can trace the http comms on the emulator and not on the device, and logcat gets stuck on whichever is launched f

[android-developers] Re: Reloading our Activities State after firing Intent to camera

2009-08-31 Thread Marco Nelissen
On Mon, Aug 31, 2009 at 12:51 PM, bkbonner wrote: > > We have an Activity which has a form on it and we launch an Intent to > take a picture. > > We've overridden onSaveInstanceState and onRestoreInstanceState to > push the data from the view fields > > But, on the return from the CameraActivity,

[android-developers] Reloading our Activities State after firing Intent to camera

2009-08-31 Thread bkbonner
We have an Activity which has a form on it and we launch an Intent to take a picture. We've overridden onSaveInstanceState and onRestoreInstanceState to push the data from the view fields But, on the return from the CameraActivity, the onRestoreInstanceState method is never called. Should this

[android-developers] Re: Bouncing ListView Effect

2009-08-31 Thread Romain Guy
> 1). Does Android provide this feature somewhere in the new Donut > version thats coming out?(so that i don't have to re-invent the wheel) No. > 2). Do Google plan to add this feature in any future versions of the > SDK? No, this is not planned. > > Your info on this will be really appreciabl

[android-developers] Re: Who will be viewing apps during Round 1 and Round 2 of the ADC2

2009-08-31 Thread bkbonner
Dan, thank you. That answers it. We'll hold off on submitting our app then. Brian On Aug 30, 10:14 pm, Dan Sherman wrote: > As far as I'm aware: > > First round is all users across the world.  They will give ratings, and be > selected based on said ratings.  The top 200 (20 in each category)

[android-developers] Bouncing ListView Effect

2009-08-31 Thread Abhi
Hi, I was interested in making a springy-bouncing effect for ListViews similar to one in iphone. I wanted to make sure about a few things before implementing it. 1). Does Android provide this feature somewhere in the new Donut version thats coming out?(so that i don't have to re-invent the whee

[android-developers] Re: about adc2 app

2009-08-31 Thread cadlg
Why would it be invalid ??? It doesn't make any sense. If the app works as expected, the only downside I see is the APK size. On Aug 31, 8:10 am, omnitial wrote: > i'm not getting any answer :(( plz some one say something :( im really > confused now > > On Aug 31, 1:26 pm, omnitial wrote: > >

[android-developers] Judging application for the ADC 2

2009-08-31 Thread Vytautas Vaitukaitis
Hi, everyone, Just a quick check about the Judging Application for the ADC 2. I have changed the package name of my app (as it was uploaded to the Market a couple of weeks ago) but left the icon and the application name the same. Will the Judging App make clear distinction between apps that were i

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread Vytautas Vaitukaitis
Hi, everyone! Just a quick check about the Judging Application. I have an app that was submitted to the market after the 1st August and I have now uploaded it to the ADC under different package name but left the application name and the icon the same. I am just wondering whether the Judging App

RE : [android-developers] Developing and debugging on HTC Hero

2009-08-31 Thread David Girault
Seems to be a macosx pb and not a Hero pb. I can debug using my Hero in Linux. You should investigate usb access permission on macosx. Regards, David Le 31 août 2009, 7:16 PM, "Leo Franchi" a écrit : Hello, I have recently purchased an HTC Hero (UK model) phone, and would like to transition al

  1   2   3   >