[android-developers] Re: Android google groups web page -- is it broken?

2008-12-30 Thread Al Sutton
I'm pretty sure there is a manual spam checker at work. I think they're in the west coast USA and get around to checking the held posts sometime between 4 and 8 pm GMT because that's when I usually see a rush of posts come through. You may find that they're looking for questionable posts

[android-developers] InstrumentationTestRunner on G1

2008-12-30 Thread sukumar
hi, I'm facing problems running TestRunner on G1 phone. I haven't had any problems running on emulator. Was there any setting I need to turn it ON on G1 phone?. Also from catlogs, for emulator CheckJNI is printed as ON but on phone its printed as OFF. Is checkJNI has something to do with test

[android-developers] Re: Problem while creating a new file

2008-12-30 Thread Ashok Kumar
HI,I got it working by adding createNewFile also. Now I am able to create a new text file. File testFile = new File(this.getCacheDir(),aaa.txt); testFile.createNewFile(); if (!testFile.exists()) { System.out.println(--File does not exist: ); } On Tue, Dec 30, 2008 at 12:11 PM,

[android-developers] How to access internet in emulator v1.0

2008-12-30 Thread sheik
Hi ... About the internet connection in emulatorv1.0 . I am working behind the proxy so, am unable to connect to the internet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system

[android-developers] Re: Screen Goes Black Between Activities, and Next Activity never shows up.

2008-12-30 Thread Skooter Columbo
yea, i was using the AlertDialog, and I used the AlertDialog.Builder to create it. I will try what you suggested. Thanks, Skooter :-) On Dec 30, 3:38 am, RAJENDIRAN SUNDARRAJAN-CPB738 cpb...@motorola.com wrote:  Hi.. Yes you are correct that the Launch timeout expiry gives the wake lock.

[android-developers] Re: how to enable internet access in emulator v1.0

2008-12-30 Thread sheik
Hi ... About the internet connection in emulatorv1.0 . I am working behind the proxy so, am unable to connect to the internet.I tried below commands as suggested in other discussion's adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/ settings.db INSERT INTO system

[android-developers] creating own theme problem

2008-12-30 Thread skink
hi, i'm in the process of creating my own theme, mainly by adding new NinePatchDrawables and modifying themes/styles xml files. so far i managed to customize buttons, lists, edittexts and spinners. but i cannot figure out how to modify tabhost/tabwidget. looking into sources i think they are

[android-developers] Re: how to enable internet access in emulator v1.0

2008-12-30 Thread RAJENDIRAN SUNDARRAJAN-CPB738
Hi The internet should work fine after inserting the proxy values in the table. If you don't mind, just go to the table and verify using SELECT statement whether the proxy values are inserted properly in the table. - Sundar -Original Message- From:

[android-developers] Re: how to enable internet access in emulator v1.0

2008-12-30 Thread Sergi Velez
Does anyone knows if setting this value also works with a real G1 / DevPhone device? If so, is it possible to make this setting configurable per-wifi connection? --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On Tue, Dec 30, 2008 at 13:03,

[android-developers] Re: 2 ListViews vertically and auto growing/shrinking

2008-12-30 Thread gsmd
Awesome. Thanks. On Dec 27, 1:20 am, Mark Murphy mmur...@commonsware.com wrote: gsmdwrote: 1. I want to place 2 ListViews side-by-side vertically so that each would occupy equal horizontal space. What I get so far with TableLayout wrapping them is either the first shown only or one placed

[android-developers] Moving items animation on a listview

2008-12-30 Thread Christian Martín Reinhold
Hi all, I want to write an animation that looks just like the one used at the G1 music player application when clicking on the items of a songlist. When doing that you can actually see how the item moves over the listview and when dropping it takes the new position (I have no clue on that

[android-developers] Re: Recording audio stream

2008-12-30 Thread FranckLefevre
The application Phone Recorder available in Market softwares already does this pretty well. I don't know if sources are available somewhere... Franck. On Dec 25, 1:27 am, vitalii.mi...@gmail.com vitalii.mi...@gmail.com wrote:   Is there any way to record audio stream and send streaming

[android-developers] What is the best way for storing binary content(buffer)

2008-12-30 Thread luckcomesh...@gmail.com
Hi All, Please tell me the Best way for storing a binary content(buffer). As Android have 2 options to store this kind of information(one is save it as file and second one is BLOB in db file), which is the best concept? Thanks, Luck. --~--~-~--~~~---~--~~ You

[android-developers] Re: What is the best way for storing binary content(buffer)

2008-12-30 Thread Mark Murphy
luckcomesh...@gmail.com wrote: Please tell me the Best way for storing a binary content(buffer). As Android have 2 options to store this kind of information(one is save it as file and second one is BLOB in db file), which is the best concept? You have not given us nearly enough criteria to

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah mobic...@gmail.com wrote: I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2http://code.google.com/android/download.html I also followed the instruction here to download the latest source code

[android-developers] Caching-RSS feed pages using sqlite

2008-12-30 Thread And-Rider
I want to develop an application which would display articles downloaded from a RSS feed.I am comfortable with that part.But i want to cache that particular page using SQLite and store it.So next time when the user clicks on that particular page the cache data should appear first and it should

[android-developers] Re: jdb attach error

2008-12-30 Thread Kenny Yu
It seems certain JAR file was not seen in your classpath? Eclipse+ADT does this very well. Did you try it? Kenny On Dec 29, 1:40 pm, firstbread xue...@leadcoretech.com wrote: Hi all I got a problem when I try to debug Android with jdb. The following is my steps 1、use am -e debug true

[android-developers] DalvikVm crash While starting Wifi service

2008-12-30 Thread JJ
Hi all, Could some one help me with the below error logs.. I am running Android on a PXA platform with a custom wifi driver. when I try to invoke Wifi Manager from settings, the GUI crashes. I am attaching the logs below.. Thanks in Advance..

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Kenny Yu
On Dec 30, 4:05 am, Wah mobic...@gmail.com wrote: I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2http://code.google.com/android/download.html I also followed the instruction here to download the latest source code

[android-developers] Problematic Android heap management remaining cause of crashes

2008-12-30 Thread blindfold
One of the main reasons that my app still occasionally crashes is that I have limited control over Android's heap management. In particular, when I launch a new activity from within my app, I see in the DDMS debug view for my dev phone 1 a huge - albeit temporary - free memory dip that sometimes

[android-developers] How to quickly update the package without restarting the simulator?

2008-12-30 Thread Xiongzh
hi friends, I'm tired of restarting the simulator again and again for just small changes in the source codes. In my VISTA/3G/Intel Duo laptop, it would take minitues. Is it possible to uninstall and re-install the package without closing the simulator and restarting it? My way is to use adb

[android-developers] MapView couldn't dragdrop when Zoom Controller is displayed.

2008-12-30 Thread honglian...@gmail.com
Hi all In my map application I couldn't dragdrop the MapView when Zoom Controller is displayed. But I found SDK's maps application can do it. Would you like to let me know how to implement it in my code? Thank you very much. --~--~-~--~~~---~--~~ You received

[android-developers] Re: XMPP with Smack and SDK 1.0 success anyone?

2008-12-30 Thread jman
I am having the same issue. Were you able to find a solution to this issue? Thanks. On Nov 10, 5:54 am, Peter Neubauer neubauer.pe...@gmail.com wrote: Hi there, it seemsSmackGTalk conenctions are not working anymore due to certificate problems. Has anyone been able to successfully getXMPP

[android-developers] Switch to a SurfaceView from a WebView

2008-12-30 Thread Ulrich Scheller
Hi, I want to show a WebView with some information at the start of my application. After clicking a button, this view should disappear for the SurfaceView of the app. In the following code I try to do this in several ways. What happens is that the WebView disappears, but the SurfaceView doesnt

[android-developers] Re: How to download Android source code distribution in sync with Android SDK?

2008-12-30 Thread Sergi Velez
have you tried using tag android-1.0 instead of head? --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On Mon, Dec 29, 2008 at 21:05, Wah mobic...@gmail.com wrote: I followed the instruction here to download Android SDK android-sdk-

[android-developers] Re: DatePicker and TimePicker widgets

2008-12-30 Thread anand
you can have an icon for time and date picker and upon clicking them you can open up the respective widget in a separate dialog. something similar to the calendar icon in web pages which upon hovering or clicking brings up a calendar. On Dec 29, 6:27 pm, Sarath Kamisetty

[android-developers] Re: Google Dev Phone

2008-12-30 Thread qh.p...@gmail.com
I am interested as well may be, compile yourself from http://source.android.com/download On 27 déc, 19:52, Oriol Carcelle Bayona blau...@feshocat.cat wrote: I have the same question, can anybody tell us how to upgrade the android version of a Dev Phone 1 edition  ? Thanks in advance

[android-developers] Re: 2 ListViews vertically and auto growing/shrinking

2008-12-30 Thread gsmd
Awesome. Thanks. Could you plz suggest on how to set the proportion for Views to grow/ shrink by (like 30:70)? TIA. Mark Murphy wrote: gsmd wrote: 1. I want to place 2 ListViews side-by-side vertically so that each would occupy equal horizontal space. What I get so far with TableLayout

[android-developers] TextView Widget - OnResume

2008-12-30 Thread Dan
I'll just say upfront that I apologize if this is a duplicate post. I originally posted this message in the Beginners group but now I can't find it anywhere so I thought I would post it here this time. Anyway, I have an activity where I'm just listening for udp messages in a background thread

[android-developers] Re: Opening settings.db from the code!

2008-12-30 Thread Sergi Velez
From what I know, you don't have permissions to read/write files from outside your package. --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On Mon, Dec 29, 2008 at 10:57, Amit banda...@gmail.com wrote: Hi All, I am trying to open the

[android-developers] Re: Strange Toast error

2008-12-30 Thread Alvin Yates
Yes, the service is raising the Toast. It's similar (I think) to what the ApiDemo services do. I could use notifications, but I was looking for a quick and dirty way of a simple message in this case (And normally I do). I just never expected that particular error to happen, and I was wondering

[android-developers] Re: Opening settings.db from the code!

2008-12-30 Thread Sergi Velez
http://code.google.com/intl/es-ES/android/devel/security.html#userid Sorry for double posting. --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On Tue, Dec 30, 2008 at 17:53, Sergi Velez sergi.ve...@gmail.com wrote: From what I know, you

[android-developers] Re: Screen Goes Black Between Activities, and Next Activity never shows up.

2008-12-30 Thread Skooter Columbo
I got rid of the AlertDialog, and modified my code to use the ThemeDialog approach. I made sure that I added the attribute android:theme=@android:style/Theme.Dialog to the Android Manifest file for my application. However I get the same problem. If I comment out the code in the

[android-developers] Re: 2 ListViews vertically and auto growing/shrinking

2008-12-30 Thread skink
On 30 Gru, 14:54, gsmd gsm...@gmail.com wrote: Awesome. Thanks. Could you plz suggest on how to set the proportion for Views to grow/ shrink by (like 30:70)? layout_weight is your friend here. for example: layout_weight=3 for first view and layout_weight=7 for the other pskink

[android-developers] Re: ● SSL /TLS timeout issue ●●● PLS HE LP ●●●

2008-12-30 Thread Nickname
Just reported this issue as a bug. Bug ID=1683 On Dec 25, 5:24 pm, Nickname yes...@live.com wrote: final refresh before i will add this issue to Android bug reportwait a secwhere is Android bug report On Dec 22, 6:37 am, Nickname yes...@live.com wrote: refreshing my RFH...

[android-developers] Re: ● SSL /TLS timeout issue ●●● PLS HE LP ●●●

2008-12-30 Thread Nickname
Just reported this issue as a bug. Bug ID=1683 On Dec 25, 5:24 pm, Nickname yes...@live.com wrote: final refresh before i will add this issue to Android bug reportwait a secwhere is Android bug report On Dec 22, 6:37 am, Nickname yes...@live.com wrote: refreshing my RFH...

[android-developers] Re: When will we get root back?

2008-12-30 Thread Disconnect
Whelp, sounds like you have a problem with your vendor. Sorry to hear that. Please take it up with them, I believe they have web forums available. On Mon, Dec 29, 2008 at 2:52 PM, nkijak nki...@gmail.com wrote: I tried calling T-Moblie and asked for a dev image, a unlocked image, a unlocked

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-30 Thread blindfold
I wonder if there could be some bug in this intended VM-like behaviour, because my app continuously uses about 3 to 4 MB on the dev phone 1 according to DDMS (with similar figures reported by freeMemory ()), and DDMS reports a heap size of about 6 MB (not a typo, not 16 MB). And yet my app

[android-developers] Re: Save data between onDestory/onCreate cycles

2008-12-30 Thread Al
I did read your site posts before deciding how to saving data when rotating, but the problem is onRetain() isn't called, for example, when you set the emulator to destroy activities immediately and then press 'Home'. OnSave() on the other hand *is* called. Because of this, I've decided to

[android-developers] Re: How to quickly update the package without restarting the simulator?

2008-12-30 Thread Justin Collum
I'm using eclipse. When I start the simulator, run my package, make code changes and hit run again, the new code goes to the simulator automatically without a restart. I wish there was a way to get the emulator to skip its boot sequence. On Tue, Dec 30, 2008 at 6:35 AM, Xiongzh

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-30 Thread Justin Collum
Yeah, I think this google groups thing needs serious work. Comparing this interface to something like StackOverflow, well SO just looks so much better. Google needs to bring some android-style interface magic over to the groups. On Tue, Dec 30, 2008 at 12:45 AM, Al Sutton a...@funkyandroid.com

[android-developers] Re: Recording audio stream

2008-12-30 Thread Dave Sparks
It's probably not really streaming audio. Some people are working around the issue by tailing the file as it is being written. On Dec 30, 5:03 am, FranckLefevre flas...@gmail.com wrote: The application Phone Recorder available in Market softwares already does this pretty well. I don't know if

[android-developers] getFromLocationName() broken?

2008-12-30 Thread DMT
Hi All: anyone know if the Geocoder.getFromLocationName() method is currently working? Has anybody been able to get it to work? If not, when will it be fixed (in what android release)? Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] getFromLocationName() broken?

2008-12-30 Thread DMT
Hi All: anyone know if the Geocoder.getFromLocationName() method is currently working? Has anybody been able to get it to work? If not, when will it be fixed (in what android release)? Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] geodb file for version1.0 ?

2008-12-30 Thread DMT
Anyone know if/how the geodb file can be populated in Android version 1.0 SDK? I was able to use the geodb file in version m5-rc15 but it doesn't seem to be available in 1.0. If anyone has been able to put geodb to use in v.1.0 pls. let me know how, thanks.

[android-developers] Re: OpenGL texture is upside down

2008-12-30 Thread clark
On Dec 29, 9:18 pm, Tom H tomhi...@gmail.com wrote: I'm using texture coordinates with the origin in the lower left corner, like I should. I haven't messed around with OpenGL ES, but in OpenGL you can change the orientation by changing the texture coordinates origin. Instead of starting

[android-developers] Re: TextView Widget - OnResume

2008-12-30 Thread Sundog
Only thing I can think of is that maybe somehow you've created a second TextView object upon resume and the messages are going to the wrong one. I've done something similar... On Dec 30, 9:35 am, Dan danscott0...@gmail.com wrote: I'll just say upfront that I apologize if this is a duplicate

[android-developers] Re: 2 ListViews vertically and auto growing/shrinking

2008-12-30 Thread gsmd
Thanks. On Dec 30, 6:58 pm, skink psk...@gmail.com wrote: On 30 Gru, 14:54,gsmdgsm...@gmail.com wrote: Awesome. Thanks. Could you plz suggest on how to set the proportion for Views to grow/ shrink by (like 30:70)? layout_weight is your friend here. for example: layout_weight=3 for

[android-developers] Re: How do you start a service on installation?

2008-12-30 Thread devileper
Upon further reading, this approach is impossible and is by design. I will find a work around. On Wed, Dec 17, 2008 at 11:22 AM, devile...@gmail.com devile...@gmail.comwrote: I need a service to begin the moment my application is installed. Is this possible? My current approach is to

[android-developers] Re: getFromLocationName() broken?

2008-12-30 Thread Rafael Fernandes
well mate this is a mystery at the moment... I've never been able to get this working... you can check my thread here...

[android-developers] Re: abusive, explicit language comments in the Android Software Market

2008-12-30 Thread Thatcher Ulrich
If a comment is actual spam, you can long-click on it and select Report as Spam. I don't know what, if anything, the market does with that info, but it seems like it's worth a try. You could also try doing the same thing with explicit language etc though I don't know what the fallout would be

[android-developers] native c/c++ hello world _ problem

2008-12-30 Thread soumyaranjan
hi everybody i am trying to follow Aaron's documentation regarding the running of a c/c++ program on android emulator. but while i am not able to write onto the emulator disk or the file system path /system/sbin because sbin subfolder is not present inside /system folder. but i have a xbin

[android-developers] unsubscribe

2008-12-30 Thread cuishen cheng
unsubscribe --~--~-~--~~~---~--~~ 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] Re: Convert the AMR

2008-12-30 Thread music-fan
yes, eufony can convert amr to other audio formats. it's from http://www.softe.net On Nov 29, 8:32 am, elf elwin...@gmail.com wrote: Hi, Is there any tool that can convert the AMR files that I got from Android to other format, e.g. wav. I pushed the AMR file to my PC, and then I tried to

[android-developers] Re: Droid Fonts License: does it allows to redistribute them?

2008-12-30 Thread Rex Tsai
Hi, all I like to clarify the license of Fonts, after checking the git repository[1] and the last version of font. I found the license statement in font's metadata has been changed[2] this month. In the Copyright filed of fonts, the license has changed from 'This font software is the

[android-developers] Re: How to track menu navigation focus changes?

2008-12-30 Thread Enginerd
I'm having a similar issue. I guess you could set up listeners for key up/down (and/or scroll), and check to see where the focus is. It's tacky, but I think it would work for a simple scroll list. Not sure if this would work for all phones though, and it would definitely be a good thing to

[android-developers] Re: USB signal control class?

2008-12-30 Thread rruff
Justin, You say In 1.0 you don't have access to the USB port via the Java API layer. . Does that imply that there is another interface that may allow me to access the USB port? We would like to use the G1 as a control head for several devices and a wireless link will not be appropriate. We

[android-developers] Dialog box

2008-12-30 Thread AlexG
Hi I am trying to implement something like: userResponse = showMessageBox(buttons, messages, etc) So far I have started a new activity that presents the message and the button and returns through onActivityResult(). Meaning my activity launches a sub-Activity that shows an AlertDialog with 2

[android-developers] HELp?

2008-12-30 Thread aaronleaman...@googlemail.com
Im intrested in developing a few ideas, and wondered how and where to start, with developing! please get back to me thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] how to implement a Full-screen handwriting input method

2008-12-30 Thread xuxiake2...@gmail.com
Hello, every body! I want to implement a Full-screen handwriting input method. First step,I need draw the handwriting on the screen. The handwriting may cover all the views below it. How can i do? I hope any one can help me. thanks. --~--~-~--~~~---~--~~

[android-developers] Re: What is a good way to download a webpage for offline reading?

2008-12-30 Thread leo
How about virtual screenshot the webpage to save in a resolution that is high enough to zoom in the read. Additional save the stripped text of the web page for text reading. Evtl. to overlay on the screenshot. On Dec 30, 12:45 am, Mariano Kamp mariano.k...@gmail.com wrote: My understanding is

[android-developers] RuntimeException when launching activity on emulator

2008-12-30 Thread Ellen Spertus
I'm developing on Windows with Eclipse (Ganymede) with SDK 1.0r2. For a few days, I was able to run and debug my program on both the emulator and my phone. Starting yesterday, I've been unable to launch the activity of the program I'm developing on the emulator or phone. (I can still run my

[android-developers] how to emulate sim card in emulate tools

2008-12-30 Thread hans
Hi, I need help, how to emulate sim card in emulate tools? could anybody tell me the steps about to config it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] SQLite3 sql command to show tables in a database

2008-12-30 Thread michael m
Does anyone know if there is a SQL command for SQLite3 to show the tables in a given database for my Android application or a corresponding class that will deliver a list? I need to find out this information programatically and not through adb. I was assuming to find something in

[android-developers] Error in AndroidManifest.xml and some other xml files

2008-12-30 Thread Tony Wu
I'm trying to compile the source coded by sdk 1.5, and I had already replaced the android.jar from sdk 1.0 rc2. Some new import have already been with no problem, but the xml file still have error that can't recognize some tag like android:windowSoftInputMode or android:inputType. Do any one have

[android-developers] About speech recognizer

2008-12-30 Thread michael
hi all Does this ability is already provided now? --~--~-~--~~~---~--~~ 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

[android-developers] Re: native c/c++ hello world _ problem

2008-12-30 Thread AlexG
Hi A good way to start is running: ./adb shell ls / So you can see all the fs structure which is a bit different then Unix. you can do something like: ./adb push myapp /data/app/ ./adb shell chmod 777 /data/app/myapp ./adb shell /data/app/myapp On Dec 30, 12:40 pm, soumyaranjan

[android-developers] Re: getFromLocationName() broken?

2008-12-30 Thread Brett Chabot
Hi Rafael: I believe the problem you mentioned in this thread: http://groups.google.com/group/android-developers/browse_frm/thread/3eca9ea2b22e3695 has been fixed in the open source cupcake development branch. Are there are any additional problems with getFromLocationName? Brett. On Dec 30,

[android-developers] Re: How to quickly update the package without restarting the simulator?

2008-12-30 Thread Brett Chabot
You could try to re-install the app instead, using adb install -r my.apk Although re-installing will retain the application's data, which might not be always what you want. Also, I wasn't clear from your message whether you are doing this or not, but it should not be necessary to close and

[android-developers] Re: getFromLocationName() broken?

2008-12-30 Thread Alistair.
Maybe this has been fixed in the latest sdk as I have been using it and it seems to work for me. http://code.google.com/p/netthreads-for-android/source/browse/trunk/place-finder/src/com/netthreads/android/command/GeoCodeCommand.java Al. On Dec 30, 6:06 pm, DMT droiddevelo...@gmail.com wrote:

[android-developers] Unable to get all phone numbers of a contact.

2008-12-30 Thread Sarath Kamisetty
Hi, Given a contact URI like content://contacts/people/23 I want to dump all phone numbers - like home, mobile, work, fax etc. all. However when I user managedQuery and got a cursor for this and dumped all the column names the only relevant columns I see are number and primary_phone (code shown

[android-developers] Sharing a MapView between two Activities

2008-12-30 Thread mscwd01
I have encountered memory issues in the past when using more than one MapView in a given application. However in the application I am currently working on I require two activites to use MapViews. Instead of creating a new MapView object in each activity, is there a way to create one MapView and

[android-developers] Re: TextView Widget - OnResume

2008-12-30 Thread Christine
If what Sundog says is true, i.d. that you have two instances of an activity where there should be only one, you can spedify singletask in the manifest file. that solved a similar problem I had. Make sure you spedify singletask just fot that one activity. On Dec 30, 8:29 pm, Sundog

[android-developers] Re: TextView Widget - OnResume

2008-12-30 Thread Christine
If what Sundog says is true, i.d. that you have two instances of an activity where there should be only one, you can spedify singletask in the manifest file. that solved a similar problem I had. Make sure you spedify singletask just fot that one activity. On Dec 30, 8:29 pm, Sundog

[android-developers] CPU asleep when using the network

2008-12-30 Thread Gil
I'm developing an application which needs a persistent TCP connection to server. I'm trying to understand what is the proper way of dealing with persistent connections to avoid draining the battery quickly. My understanding is if a socket is connected to the server and the CPU goes to sleep, if

[android-developers] Re: Android Dev Phone Battery life

2008-12-30 Thread Eng, Cary
FWIW, I've found that if I use the G1 only as a phone, it lasts fairly long. In fact last time when I topped the battery off at 100% and removed it from the charger before I went to bed, it was at 99% 12 hours later when I checked it. So a pure standby-only time of 5 days seems fairly

[android-developers] Re: getFromLocationName() broken?

2008-12-30 Thread Rafael Fernandes
well I've tried my code on my real device and I'm facing the same error... you all are correct, the cupcake branch has fixed the issue (I have the new source here)... even though the error remains for me (even recompiling the platform core etc, bla bla bla)... by the way, I've tried your app

[android-developers] Re: How to remove Gallery drop shadow

2008-12-30 Thread devileper
I'm an idiot. The drop shadow I was referring to is the fading edge. This is removed by setting the fading edge to none. android:fadingEdge=none On Dec 17, 11:18 am, devileper devile...@gmail.com wrote: Below is my test code.  If you look at the left side of the text you will see a gradient

[android-developers] Re: Any updates on paid apps timeline?

2008-12-30 Thread Shane Isbell
This may be of some interest for developers who want to charge for applications: SlideME - http://groups.google.com/group/android-discuss/browse_thread/thread/7ace0e3a9fae4026 Shane On Mon, Dec 29, 2008 at 1:10 PM, Sven Boden boden.s...@gmail.com wrote: I think the answer is guessable (and no

[android-developers] Re: Any updates on paid apps timeline?

2008-12-30 Thread Dianne Hackborn
Just to be clear, this is lots of speculation and no facts. :) Some facts I can share: Android is stable as of 1.0 and we will not be breaking compatibility, and in particular we will not be breaking applications in the cupcake branch. Comparing Android to iPhone in that way is also a

[android-developers] Re: RuntimeException when launching activity on emulator

2008-12-30 Thread Dianne Hackborn
The log has the full stack crawl where the error occurred. On Mon, Dec 29, 2008 at 1:53 PM, Ellen Spertus ellen.sper...@gmail.comwrote: I'm developing on Windows with Eclipse (Ganymede) with SDK 1.0r2. For a few days, I was able to run and debug my program on both the emulator and my phone.

[android-developers] Re: How do you start a service on installation?

2008-12-30 Thread Dianne Hackborn
How about not finding a work-around, but rather starting yourself up when the user starts your app as intended? Better yet, let them decide whether you will remain running in the background, so if they don't want to be using your app's features during some time they don't have to resort to just

[android-developers] Re: Save data between onDestory/onCreate cycles

2008-12-30 Thread Dianne Hackborn
As the docs say, the onRetainNonConfigurationInstance() should only be used as an optimization, not to replace a working implementation of the normal onSaveInstanceState() et al mechanism. (The latter is the only thing that can be done in the case where an app's process needs to be killed or its

[android-developers] Re: How to quickly update the package without restarting the simulator?

2008-12-30 Thread Xiongzh
Yes, do not need to restart the simulator. Just re-run the application within Eclipse. The plugin is wise enough to reuse the simulator and reinstall the package. Thanks Here's the console log: [2008-12-31 07:10:35 - ApiDemos] Android Launch! [2008-12-31 07:10:35 - ApiDemos] adb is running

[android-developers] Re: Android Dev Phone 1™

2008-12-30 Thread Justin (Google Employee)
Hmmm, this is the first I've heard of the charging cable not physically fitting the phone. The phone should *not* have a standard miniUSB input, but instead a modified one. When holding the phone with the screen facing up the left side of the port on the phone should be perfectly vertical, but

[android-developers] Re: USB signal control class?

2008-12-30 Thread Justin (Google Employee)
There's no simple (and perhaps none at all) way to do this on the system that runs on the G1. There might be a way to do this through JNI, but it would be fragile and difficult to develop, if it were even possible. You can, of course, modify the system itself and install on custom hardware (or an

[android-developers] Re: About speech recognizer

2008-12-30 Thread Dave Sparks
There is no support for speech recognition in the current SDK. On Dec 29, 10:26 pm, michael michael.liu...@gmail.com wrote: hi all Does this ability is already provided now? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: About speech recognizer

2008-12-30 Thread Eng, Cary
No wonder the Voice Dialer never works for me :-/ -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Dave Sparks Sent: Tuesday, December 30, 2008 5:32 PM To: Android Developers Subject: [android-developers] Re: About

[android-developers] Re: How to quickly update the package without restarting the simulator?

2008-12-30 Thread Xiongzh
Hope in the next version of Android SDK, developer need not to package and reinstall the apk while debugging ... On 12月31日, 上午7时15分, Xiongzh zx.zhangxi...@gmail.com wrote: Yes, do not need to restart the simulator. Just re-run the application within Eclipse. The plugin is wise enough to reuse

[android-developers] Re: About speech recognizer

2008-12-30 Thread Dave Sparks
The voice dialer has its own speech recognition engine - it just hasn't been exposed in a Java API yet. On Dec 30, 3:32 pm, Eng, Cary cary@hp.com wrote: No wonder the Voice Dialer never works for me :-/ -Original Message- From: android-developers@googlegroups.com

[android-developers] Re: Any updates on paid apps timeline?

2008-12-30 Thread Justin Collum
I heard somewhere that there was a 90 day moratorium on not-free apps. Looks like I heard wrong. On Tue, Dec 30, 2008 at 2:38 PM, Dianne Hackborn hack...@android.comwrote: Just to be clear, this is lots of speculation and no facts. :) Some facts I can share: Android is stable as of 1.0 and we

[android-developers] Re: About speech recognizer

2008-12-30 Thread Kun Liu
thanks:) 2008/12/31 Dave Sparks davidspa...@android.com There is no support for speech recognition in the current SDK. On Dec 29, 10:26 pm, michael michael.liu...@gmail.com wrote: hi all Does this ability is already provided now?

[android-developers] Re: why not ship android dev phone to china mainland?

2008-12-30 Thread Eric
Try to get someone from US to forward the package to China? I can only help you if the package comes to Australia or New Zealand, before being sent to you. Cheers Eric Portable Electronics Ltd www.hdmp4.com On Dec 28, 5:07 pm, mawei1981 mawei...@gmail.com wrote: Hi,all why not ship android

[android-developers] How do you create an MMS message with audio attachment?

2008-12-30 Thread Blake B.
Hello all, I am trying to create an MMS message with an audio attachment and a message for the user to view and then click send themselves. If you create a new Message on your own, you are able to attach an audio file (.amr in this case), but how do you do this programatically? When I do this

[android-developers] Compile Error(s)

2008-12-30 Thread Peter
I'm trying to compile a hellworld application or any application for that matter and I keep getting the following errors: 2008-12-30 17:56:53 - hellworld] Error generating final archive: Unable to get debug signature key [2008-12-30 17:59:40 - hellworld] --

[android-developers] Re: Screen Goes Black Between Activities, and Next Activity never shows up.

2008-12-30 Thread Skooter Columbo
I finally figured out why the screen was turning black. It did not have anything to do with the Dialog option I picked. It was because I had a long running process and I was running it on the UI thread. I moved the long running process out to a seperate thread and this sperate thread updated the

[android-developers] How to implement the Billboard in Android' opengl es

2008-12-30 Thread Ernest
Hi,Everyone I review some demo about the opengl ,but not found how to implement the billboard feature(some model always fact to the viewport whatever the rotation).My question is in javeMe has a JSR184 could do this,in Android how to do that?Thank you very much. Best Regards

[android-developers] Re: Compile Error(s)

2008-12-30 Thread brnzn
I might be wrong, but it sounds like there's a problem with your accessing debug.keystore. The SDK sets up a default key for development - in Eclipse check the Default debug keystore setting under under Window Preferences Android Build. Perhaps something went wrong during the SDK install?

[android-developers] Re: Screen Goes Black Between Activities, and Next Activity never shows up.

2008-12-30 Thread brnzn
You might also want to consider moving the countdown out to a service. That would allow it to keep running even when your UI is not active. On Dec 31, 2:15 pm, Skooter Columbo skooter.colu...@gmail.com wrote: I finally figured out why the screen was turning black. It did not have anything to

[android-developers] Re: Charging for Apps

2008-12-30 Thread Shane Isbell
At SlideME, we don't have any restrictions on if users want to handle their own billing or trial upgrades. Use Mogees if you like. The only thing we request is that you disclose everything to the user in your terms. We will also be offering our own billing through SAM, our Android client, next

  1   2   >