[android-developers] Self-restarting service

2009-11-01 Thread Anders Feder
Hello, I am developing a slightly mission critical Android application, and want a Service component of it to be essentially immortal or at least self-restarting in the event of a crash (of the service). What would be the best way to accomplish this? I use API level 3 (Android 1.5). Thanks in

[android-developers] Need an invitation to google Wave?

2009-11-01 Thread Auguste Lunang
Hi, i have some google wave. invits to share. tell me if u want .. thx -- 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

Re: [android-developers] Need an invitation to google Wave?

2009-11-01 Thread FFEH
Hello, Please invite me, thanks~~ FFEH On Sun, Nov 1, 2009 at 2:20 PM, Auguste Lunang legraphi...@gmail.comwrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: World Of Bombs (Action Game) ADC 2 Entry

2009-11-01 Thread croco
Hi mike177, Thank you for the feedback. Croco On Oct 30, 3:07 pm, mike177 mikeall...@gmail.com wrote: Croco, fun app!  Keep confident...  I trust this app will be among the 20 finalist in the action game category.  It is a great game to play when I need to wait for something and I need a

[android-developers] Re: World Of Bombs (Action Game) ADC 2 Entry

2009-11-01 Thread croco
I've set a QR Code for facilitating installation of World of Bombs It is available on my blog . http://zeugame.blogspot.com/2009/11/world-of-bombs-qrcode-for-world-of.html Of course it will be available on the Android Market but to avoid package rename i prefer temporally this way till the ADC2

[android-developers] HTC Magic can't download donut

2009-11-01 Thread Nivek
Hi all, My SFR (France) HTC Magic fails downloading android 1.6 update. I did not get any notification, but the update is available in the settings panel. When I hit the download button, a progress bar appears, does not progress for a few seconds, and then disappears, bringing back the download

[android-developers] When I scroll a list I get the force close message

2009-11-01 Thread jax
I have an ArrayList connected to a ListView with an onclick event that loads some extra info about each list item. When the list fits inside the screen (no scrolling) it works fine, however, when the list becomes long enought that I need to scroll I get the Force Close message. why is this? --

Re: [android-developers] Need an invitation to google Wave?

2009-11-01 Thread li jiecong
Hi, please give me an invitation, thx! 2009/11/1 Auguste Lunang legraphi...@gmail.com Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: When I scroll a list I get the force close message

2009-11-01 Thread Dexter#39;s Brain
A small code snippet or the stack trace would help us figure out the problem Dexter http://tech-droid.blogspot.com On Nov 1, 12:46 pm, jax jackma...@gmail.com wrote: I have an ArrayList connected to a ListView with an onclick event that loads some extra info about each list item. When the

Re: [android-developers] Re: second dialog in activity is not showing

2009-11-01 Thread Anton Pirker
Hi Lance! Thanks for the links! Now it's working! (And I learned something about thread save UI in Android) Thanks again, Anton Lance Nanek wrote: The UI is not thread safe and calling related methods from a background thread like that run by java.util.Timer can cause trouble. There's a

[android-developers] Re: When I scroll a list I get the force close message

2009-11-01 Thread jax
Here is the output from logcat as I scroll down 11-01 17:04:08.979: ERROR/StatsDisplay(1355): android.widget.textv...@4381ade8 is not a valid ListView! 11-01 17:04:08.999: DEBUG/AndroidRuntime(1355): Shutting down VM 11-01 17:04:08.999: WARN/dalvikvm(1355): threadid=3: thread exiting with

[android-developers] Re: When I scroll a list I get the force close message

2009-11-01 Thread jax
Something I did not say - actually I forgot I even did it - is that I subclasses ArrayAdapter. Here is the subclass. /* * Subclass of ArrayAdapter to change the color of the * text to red if it is not 100% * */ public class ScoringAdapter

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread jax
yes thanks On Nov 1, 4:26 pm, li jiecong lijiec...@gmail.com wrote: Hi, please give me an invitation, thx! 2009/11/1 Auguste Lunang legraphi...@gmail.com Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed

Re: [android-developers] Self-restarting service

2009-11-01 Thread Mark Murphy
Anders Feder wrote: I am developing a slightly mission critical Android application, and want a Service component of it to be essentially immortal or at least self-restarting in the event of a crash (of the service). What would be the best way to accomplish this? I use API level 3 (Android

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread ColletJb
Yes thank you very much ;) On 1 nov, 11:16, jax jackma...@gmail.com wrote: yes thanks On Nov 1, 4:26 pm, li jiecong lijiec...@gmail.com wrote: Hi, please give me an invitation, thx! 2009/11/1 Auguste Lunang legraphi...@gmail.com Hi, i have some google wave. invits to share. tell

Re: [android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread Klaus Kartou
That would be great :) Thank you! On Sun, Nov 1, 2009 at 11:51 AM, ColletJb collet...@gmail.com wrote: Yes thank you very much ;) On 1 nov, 11:16, jax jackma...@gmail.com wrote: yes thanks On Nov 1, 4:26 pm, li jiecong lijiec...@gmail.com wrote: Hi, please give me an

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread budziq
That would be awesome :) -- 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

Re: [android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread Shawn Brown
Please if you have any left!!! Do you? Shawn -- 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: Does DexClassLoader works correctly?

2009-11-01 Thread mongd
So, do you mean if I use a different path for the 2nd parameter, DexClassLoader should work properly, right? How about data/app-private? Is it ok to use that path? I tried the above one, but it didn't work... T^T On 10월30일, 오전4시26분, fadden fad...@android.com wrote: On Oct 29, 1:02 am, mongd

[android-developers] Re: When I scroll a list I get the force close message

2009-11-01 Thread Dexter#39;s Brain
I think. In your getView() method, don't cast it to ListView, remove that and I guess, I will work. Dexter. http://tech-droid.blogspot.com -- 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: MultiAutoCompleteTextView with simpler completion and without comma

2009-11-01 Thread Dexter#39;s Brain
The best way to do it will be to subclass the MultiAutoCompleteTextView and override it's methods. It has 3-4 methods which need to be over-ridden. Dexter http://tech-droid.blogspot.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: idiot's guide to using layout:gravity?

2009-11-01 Thread Dexter#39;s Brain
RelativeLayouts are easy to use once you are comfortable with them. If you still want to use LinearLayout, this will solve your problem. LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-11-01 Thread Jay
Try export GDK_NATIVE_WINDOWS=true before running android sdk manager. It fixes both the save button and the install button for me. For more details please see https://bugzilla.gnome.org/show_bug.cgi?id=598734 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=290395 Jay On Oct 31, 12:13 am,

[android-developers] Re: app widget sizes for WVGA and FWVGA

2009-11-01 Thread sdphil
not sure I follow you here -- T-Mobile G1/G2 has the following specs - 320px x 480px (pixels) 1.77 x 2.65 (inches) which gives about 181 dpi. according to this -- http://developer.android.com/guide/practices/ui_guidelines/widget_design.html 4x1 widgets on T-Mobile G1 and G2 should be

Re: [android-developers] Need an invitation to google Wave?

2009-11-01 Thread 侯玉涛
If i can get one? Thanks, On Sun, Nov 1, 2009 at 2:20 PM, Auguste Lunang legraphi...@gmail.comwrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: http client connect timeout

2009-11-01 Thread Jonas Alves
HttpClient httpClient = new DefaultHttpClient(); httpClient.getParams().setParameter(http.socket.timeout, new Integer(3000)); // milliseconds On Oct 31, 10:55 pm, Andrei gml...@gmail.com wrote: I try to set timeout for apache http client like this    

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread enshrentko
please, invite me, i really want it thx On Nov 1, 1:20 pm, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread ander...@phdgaming.com
Please email me one if you can - appreciate it! Thanks. On Nov 1, 1:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread John P.
I'd like one. Thank you if you could send it! =) On Nov 1, 1:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: When I scroll a list I get the force close message

2009-11-01 Thread jax
Thanks, it worked On Nov 1, 7:58 pm, Dexter#39;s Brain coomar@gmail.com wrote: I think. In your getView() method, don't cast it to ListView, remove that and I guess, I will work. Dexter. http://tech-droid.blogspot.com -- You received this message because you are subscribed to the

Re: [android-developers] Mystery Null Pointer Error - Seeking Opinions

2009-11-01 Thread Jason Van Anden
Mark, Doh? How did I miss this? I was testing the state of an object within a service that had not yet been restarted (resurrected?) after dying. I think I was stuck on the onPrepareOptionsMenu part for some reason and did not look at #377. Thank so much for the second set of eyes! Jason On

[android-developers] help with AnalogClock widget - remoteview and appwidgetprovider

2009-11-01 Thread Zi Yong Chua
Hi guys, I am trying to develop and AnalogClock widget on the home screen that changes depending on the time of day. I am finding problems getting to the right code to make it happen, and will hope to seek you help and advise here. 1) Getting the dial resource in AnalogClock to change in code I

[android-developers] Re: API responsable to make transfert dwonlaod ,upload with ftp ou 3G protocol

2009-11-01 Thread Derek
Try AndFTP 1.0: Recent changes are: - SHIFT-JIS encoding added for Japanese server. - Japanese support added. - SFTP minor bug fixed. - Microsoft office mime-types added. - Android 1.6 and 2.0 support added. http://www.lysesoft.com/products/andftp/index.html Cheers. On Oct 1, 10:55 am, midoub

Re: [android-developers] Mystery Null Pointer Error - Seeking Opinions

2009-11-01 Thread Jason Van Anden
OK - for the record ... I think I have fixed this based upon what was going on in line 377 (testing here that service is alive and passing false back if not). Thing is ... I am still perplexed as to why onPrepareOptionsMenu is getting called in the first place. All that is occurring here is that

Re: [android-developers] Re: app widget sizes for WVGA and FWVGA

2009-11-01 Thread Dianne Hackborn
Please read on screen density: http://developer.android.com/guide/practices/screens_support.html http://developer.android.com/guide/practices/screens_support.htmlJust scale your coordinates based on the screen density. You can't assume some specific size for some screen -- consider the

[android-developers] Motorola DROID emulator skin now available for Android 2.0 SDK!

2009-11-01 Thread Tea Vui Huang
Motorola DROID emulator skin now available for Android 2.0 SDK! http://teavuihuang.com/android DROID by Motorola is a Smartphone powered by Android 2.0 and developed in partnership with Google and Verizon Wireless. It was released on 28/10/2009 and will be available in Q4 2009. This emulator skin

[android-developers] Widget not displayed in Android 2.0 - Initial layout displayed only.

2009-11-01 Thread Derek
Our application displays widgets that update every minute through Alarm. It works fine under 1.5 and 1.6 but since 2.0, widget is not displayed at all. Only initial layout is displayed. Anyone experiment this issue ? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Widget not displayed in Android 2.0 - Initial layout displayed only.

2009-11-01 Thread Derek
After investigations we've noticed that this problem occurs when you create a new AVD with Google API 2.0 (level5) only. On the first emulator launch with new AVD the widget stays on Initial Layout. Closing the emulator and restart with the same AVD seems to work. What could be the problem ?

[android-developers] Re: http client connect timeout

2009-11-01 Thread Andrei
Thank you Firstly your code sets read/write timeout, not connect Secondly if done right it does same thing as my sample Thirdly I tried it does not work On Nov 1, 10:03 am, Jonas Alves jona...@gmail.com wrote: HttpClient httpClient = new DefaultHttpClient();

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread moazzamk
invite me please On Nov 1, 11:50 am, John P. johnny.d.p...@gmail.com wrote: I'd like one.  Thank you if you could send it!  =) On Nov 1, 1:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this

[android-developers] Re: app widget sizes for WVGA and FWVGA

2009-11-01 Thread sdphil
It seems that screen density alone is not sufficient to know what the dimension should be; at some point aspect ratio has to come into play. For example, I could have a screen that is the same screen density as a T-Mobile G1, but twice has tall (physical screen size; and 2x as many pixels in that

[android-developers] Problems with Bitmap.copy in Android 2.0

2009-11-01 Thread Klaus Kartou
Hi! In our app we are adding a alpha channel to bitmaps without alpha channels by doing this: Bitmap dest = src.copy(Bitmap.Config.ARGB_, true); This has been working fine until Android 2.0. Now the dest bitmap is still created, but without a alpha channel. This happens when using the

[android-developers] MediaPlayer.setDataSource() taking a long time when the screen is off...

2009-11-01 Thread sdphil
i am trying to chase down a really unusual bug. I have a media player object that is playing streaming url after streaming url. for some reason, when the screen is off, calling setDataSource() on the media player can take a really long time (like 20-40 seconds). however, when the screen is

[android-developers] Re: Motorola DROID emulator skin now available for Android 2.0 SDK!

2009-11-01 Thread Moto
The skin is not good at all... Seems like you just replaced the skin with half chopped Droid phone picture... You should look into matching the skin with the phone so that you can see the whole phone... modify I'm guessing layout file? -Moto On Nov 1, 12:23 pm, Tea Vui Huang

[android-developers] Since Android 2.0 the phone number in the emulator became null - how to set it?

2009-11-01 Thread Marek Urbaniak
It the earlier versions of Android SDK the emulator had the set phone number. Visible in the phone settings and accessible to applications through the TelephonyManager.getLine1Number method. In Android SDK 2.0 it is not set. How to set it? -- You received this message because you are subscribed

[android-developers] Re: Android 2.0 Source code

2009-11-01 Thread AndroidKing
anyone knows when 2.0 source will be public??? On Oct 31, 12:41 pm, AndroidKing rbasso...@gmail.com wrote: why isn't the source code for 2.0 on the public repository.. developing for Android without looking at the source code is impossible due to poor APIs and or documentations please make

Re: [android-developers] Re: app widget sizes for WVGA and FWVGA

2009-11-01 Thread Dianne Hackborn
Did you read my second paragraph? On Sun, Nov 1, 2009 at 10:57 AM, sdphil phil.pellouch...@gmail.com wrote: It seems that screen density alone is not sufficient to know what the dimension should be; at some point aspect ratio has to come into play. For example, I could have a screen that is

[android-developers] Could developers be liable for charges for using Google APIs?

2009-11-01 Thread davemac
I've been reading the Terms of Service for the Google APIs, both Maps and AJAX APIs. I have questions regarding future consequences of using these APIs in mobile apps that get distributed, hopefully, to many thousands or millions of devices. Both say that the services must be available for free,

[android-developers] Can't get SurfaceView working, trying to make a simple 2D-shooter!

2009-11-01 Thread klirr
It is way to slow and in the first example it doesnt even move. How do I make a game? With SurfaceView or OpenGL? And should I draw in a separate thread? package com.android.WWS; import android.app.Activity; import android.content.Context; import android.graphics.*; import

Re: [android-developers] top ListActivity destroyed just after a Search has been initiated from it - was: Back key after Search doesn't return to list in 2.0 as it did in all earlier versions

2009-11-01 Thread Jonas Petersson
Hi again, Hmm, it seems even more strange to me: the onDestroy() method of the top ListActivity is actually called very shortly after the search has triggered the onCreate()+onResume() methods that creates the second level ListActivity (note that this is the actual same class as the top one,

[android-developers] Re: Could developers be liable for charges for using Google APIs?

2009-11-01 Thread Andrei
http://code.google.com/android/add-ons/google-apis/maps-api-signup.html 5.4 says you can use it for commercial purpose On Nov 1, 5:14 pm, davemac davemac...@gmail.com wrote: I've been reading the Terms of Service for the Google APIs, both Maps and AJAX APIs. I have questions regarding future

[android-developers] Speech Recognition

2009-11-01 Thread moa
I want to use the SR api to handle commands in my application. I know at any given point in my application what the valid commands would be at that point so would like to limit the results that the SR is matched against. For example, if the only valid commands were Yes or No I would like to be

Re: [android-developers] Speech Recognition

2009-11-01 Thread Mark Murphy
moa wrote: I want to use the SR api to handle commands in my application. I know at any given point in my application what the valid commands would be at that point so would like to limit the results that the SR is matched against. For example, if the only valid commands were Yes or No I

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
Well Niko that may be true but it doesn't change the fact that it works fine on an HTC Hero and some G1 Magic phones. It should either work or not, having your application work fine on some devices and break on other devices is rediculous and its getting annoying now. iPhone here I come :( On

[android-developers] Handling different screen densities vs. app installed size?

2009-11-01 Thread Moto
My concern supporting different screen sizes, in this case with the new DROID phone. So my question, when installing my application on a G1 phone, would it ignore all hdpi qualifier folders? I ask this because I'm afraid that my application will grow in size when installed containing many

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-01 Thread rooster 808
I'm seeing this frequently on my HERO HTC, but not my G1 Google Dev phone. Almost every power off, I lose the Desktop Icon on the App I'm developing, just on the Hero. Rich On Oct 30, 10:36 pm, James W jpbwebs...@gmail.com wrote: For what its worth, I cannot reproduce this on a non-Sprint

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread Phy
Okay can I just summarise my problem as I believe it is an issue which NEEDS to be addressed... I have confirmation from five users who either have a HTC G1 or HTC Magic who say my application works fine. However, I have had numerous recent comments on the Market that the orientation of my

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
Okay can I just summarise my problem as I believe it is an issue which NEEDS to be addressed... I have confirmation from five users who either have a HTC G1 or HTC Magic who say my application works fine. However, I have had numerous recent comments on the Market that the orientation of my

Re: [android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread Mark Murphy
Phy wrote: I have confirmation from five users who either have a HTC G1 or HTC Magic who say my application works fine. However, I have had numerous recent comments on the Market that the orientation of my applications interface is rotated 90 degrees on G1/Magic devices. Do you have any

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
Hey Mark, I have had one user contact me by email and he had the same issues using the older version and the new version (using the orientation code you supplied), so I can rule out that being the cause *I think*. I *presume* it isn't a ROM issue as I have had 8-10 users leave comments saying it

[android-developers] Re: Could developers be liable for charges for using Google APIs?

2009-11-01 Thread davemac
I have to admit, embarrassedly, that I was looking at the wrong Maps API Terms. Thanks for pointing me in the correct direction regarding Maps. There is nothing in the Android Google Maps API Terms that says you must make your applications free that use the Maps API. So paid apps look okay,

[android-developers] Re: Speech Recognition

2009-11-01 Thread davemac
Once you get back the set of responses you could filter them down to those in your valid commands set. Try the retainAll() method on matches using your valid commands as the argument. You'll probably either get one or zero elements left in matches every time. The same thing should work for

[android-developers] Re: idiot's guide to using layout:gravity?

2009-11-01 Thread Emmanuel
You can't have two different gravity in the same layout, so you can't do it a linear Layout, without introducing a new level in the hierarchy. I made an entry in my blog on this subject : http://androidblogger.blogspot.com/2009/08/tutorial-how-to-have-two-buttons-on.html Hope it helps, Emmanuel

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-01 Thread mscwd01
I have an HTC Hero, have used many of the above apps and have never seen these problems... On Nov 1, 11:47 pm, rooster 808 rich.al...@gmail.com wrote: I'm seeing this frequently on my HERO HTC, but not my G1 Google Dev phone. Almost every power off, I lose the Desktop Icon on the App I'm

[android-developers] Re: what about the Android 3d module file type .gles

2009-11-01 Thread LemonDev
thanks,but where can we learn from about it? On 11月1日, 下午1时02分, Fred Grott(Android Expert) fred.gr...@gmail.com wrote: its a graphical layout engine script file, hence the name On Oct 31, 2:08 am,LemonDevlem...@gmail.com wrote: GlobalTime use this file type ,but i have found nothing about

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread niko20
I wouldn't be surprised if these people are running Cyanogen mods. People also had problems with my app when they did that. In my opinion custom ROMS are trouble for developers. -niko On Nov 1, 6:31 pm, mscwd01 mscw...@gmail.com wrote: Hey Mark, I have had one user contact me by email and he

[android-developers] Re: app widget sizes for WVGA and FWVGA

2009-11-01 Thread sdphil
yeah i did, but it wasn't much help, perhaps I didn't understand what you were saying -- Just scale your coordinates based on the screen density. That is what I was commenting on. Screen density does not seem sufficient to me. You can't assume some specific size for some screen -- consider the

Re: [android-developers] Re: App name/icon problems on Hero after reboot

2009-11-01 Thread Greg Donald
On Sun, Nov 1, 2009 at 7:14 PM, mscwd01 mscw...@gmail.com wrote: I have an HTC Hero, have used many of the above apps and have never seen these problems... What firmware version do you have? -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the

[android-developers] Re: Since Android 2.0 the phone number in the emulator became null - how to set it?

2009-11-01 Thread Nmix
Yes it is. I can see it in Settings and I can retrieve it with .getLine1Number(). However... if you are using a broadcast receiver for BOOT_COMPLETED, I have found with 2.0 (and sporadically with earlier versions) that it is not available when the receiver runs. Some delay seems to be required

[android-developers] Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-01 Thread frantz lohier
Happy Halloween All ! The party is over and Google suddenly released the much anticipated Android 2.0 SDK. Much improvement for sure ! That said, the party is over and I came to have to deal with the following Ghost; I've released an app in the market (Ambu) - so far qualified under SDK 1.5

Re: [android-developers] Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-01 Thread Andrew Zhang
Hi , Content uri is changed. Please have a try of ContactsContract.Contacts.CONTENT_URI. On Mon, Nov 2, 2009 at 9:57 AM, frantz lohier floh...@gmail.com wrote: Happy Halloween All ! The party is over and Google suddenly released the much anticipated Android 2.0 SDK. Much improvement for

Re: [android-developers] Picking up a PhoneBook entry under Android 2.0 !!!

2009-11-01 Thread Mark Murphy
frantz lohier wrote: - my app invokes an ACTION.PICK intent as way to extract phone contact from the phone book and populate a database. When compiling my app using the SDK version 1.6 and a target emulator configured at 1.6 level, the following code WORKS: Intent pickcontact =

Re: [android-developers] Re: Speech Recognition

2009-11-01 Thread Carmen Delessio
I tried to whittle down GREATER THAN responses by doing this: queryHeard=queryHeard.replaceAll(greater than,); queryHeard=queryHeard.replaceAll(greater then,); queryHeard=queryHeard.replaceAll(crater than,);

[android-developers] Receiving Missed Call event

2009-11-01 Thread Marc Lester Tan
Hi folks, anyone have idea how can I make my code receive a Missed Call event? I know I can receive the RINGING state as well as OFFHOOK state via: TelephonyManager telephony = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); telephony.listen(phoneListener,

[android-developers] call for the other apk file

2009-11-01 Thread tstanly
hi guys, Now, I have two apk in /data/app which are a.apk and b.apk, and I want to invoke b.apk from a.apk, so in the a.apk, I used the Intent object to achive: code=== Intent intent=new Intent(android.intent.action.MAIN); intent.setClassName(com.android.b,

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread kevin.hooke
yes please! On Nov 1, 10:44 am, moazzamk moazz...@gmail.com wrote: invite me please On Nov 1, 11:50 am, John P. johnny.d.p...@gmail.com wrote: I'd like one.  Thank you if you could send it!  =) On Nov 1, 1:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google

Re: [android-developers] call for the other apk file

2009-11-01 Thread Dianne Hackborn
The class name needs to be fully qualified, i.e. com.android.b.test. And I am going to assume com.android.b is not the real package name you are using, just an example. :) On Sun, Nov 1, 2009 at 6:55 PM, tstanly tsai.sta...@gmail.com wrote: hi guys, Now, I have two apk in /data/app which are

[android-developers] Regarding the database schema of Android native database

2009-11-01 Thread richard
Hello all, I want to build my own cloned databases of all or some of the Android native databases like Contacts, Calllogs, Mediastore, Settings, etc. I want to know wheher it is possible and How I can know the database schemas of these databases? Is there any documentation on this?

[android-developers] Re: call for the other apk file

2009-11-01 Thread tstanly
hi Dianne, thanks so much!!!:) On Nov 2, 11:11 am, Dianne Hackborn hack...@android.com wrote: The class name needs to be fully qualified, i.e. com.android.b.test. And I am going to assume com.android.b is not the real package name you are using, just an example. :) On Sun, Nov 1,

[android-developers] MediaPlayer -- shoutcast radio streaming creates a lag in playback

2009-11-01 Thread Vladimir
Hello, all! I've been working on an app to stream some radio content. I get the stream and save it to a file. When there is enough of it to play, I invoke MediaPlayer and pass in the file. Here is the question...since MediaPlayer sees only the portion of the mp3 file that has already been

[android-developers] any good uml creation tool for android?

2009-11-01 Thread jerryfan2000
Hi, Is there any free or opensource Eclipce plug in avaliable for UML diagram auto generation for Android? -- 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

[android-developers] Issues with SDK plugin 0.9.4

2009-11-01 Thread kevin.hooke
I recently upgraded from 0.9.2 (I think) to 0.9.4 of the SDK plugin using Eclipse's 'Check for updates' and for a while everything seemed ok. Now I'm getting random errors and odd behavior everywhere: - if I try and run or debug a previously working app in the Emulator from Eclipse, I get 'Could

[android-developers] Re: Receiving Missed Call event

2009-11-01 Thread Nmix
The only way I know is to put an observer on the call log: ContentResolver logObs = getContentResolver(); logObs.registerContentObserver (CallLog.Calls.CONTENT_URI, false, new ContentObserver (new Handler()) { public void onChange(boolean selfChange) {

[android-developers] skype ,gtalk intent

2009-11-01 Thread jaimin mehta
hi. i have some problem regarding skype and gtalk intent i have application in which i display a list of online skype,gtalk contacts. Now when ever i click my online skype or gtalk contacts it should display a default skype or gtalk chat window with that Contacts So basically i want to know is

[android-developers] Re: Issues with SDK plugin 0.9.4

2009-11-01 Thread kevin.hooke
Turns out the ClassNotFound exception was from XStream for not finding a class for some unexpected XML that was coming back from a WebService call... completely unrelated to the SDK and the Eclipse plugin tools... On Nov 1, 8:05 pm, kevin.hooke kevin.ho...@gmail.com wrote: I recently upgraded

Re: [android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-01 Thread Raphael
On Wed, Oct 28, 2009 at 11:25 PM, Armond Avanes armond...@yahoo.com wrote: After all, I'm still on my opinion. In the case of failure, the update process should try to COPY the contents instead of moving/renaming. And a warning that some garbage have been left on temp directory. For those of

[android-developers] Re: any good uml creation tool for android?

2009-11-01 Thread AJ
Try this http://www.objectaid.com/ I have tried this and its very good. Just drag and drop your java classes and it creates all dependencies/hierarchy/relation etc. Thanks, AJ On Nov 2, 8:58 am, jerryfan2000 jerryfan1...@gmail.com wrote: Hi, Is there any free or opensource Eclipce plug in

RE: [android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-11-01 Thread Armond Avanes
Raphael, The error message says that some files are locked in temp directory not in destination. At least if you're doing a first-time install (not update), the destination directory is empty and it's quite safe to copy. Regards, Armond From: Raphael [mailto:r...@android.com] Sent: Monday,

[android-developers] Right gravity and hint in EditText is making hint disappear

2009-11-01 Thread and.pradeep
Hi, I am trying to apply RIGHT gravity to EditText(google search bar) with hint and setSingleLine property to true but hint is disappearing. Have I missing something? below is the code EditText mEditText = new EditText(this); mEditText.setGravity(Gravity.RIGHT);

[android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread fulanito
I would like one as well, please :-) fulanito On Nov 1, 7:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want .. thx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] I want to add GLSurfaceView to SurfaceView.

2009-11-01 Thread Ring
public class CameraStream extends Activity { private Preview preview; private GLSurfaceView mGLSurfaceView; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] Supporting both 1.5 and 1.6

2009-11-01 Thread limtc
Hi, I just got myself an Android phone running 1.6 with 240x320 screen. This required me to use 1.6, but I wish to support 1.5 too. According to http://d.android.com/guide/practices/screens_support.html (Strategies for Legacy Applications): -- Change your application's build properties, such

[android-developers] Re: Error using InstrumentationTestRunner with multiple projects

2009-11-01 Thread takashi
Thank you everyone for your replies. I was able to resolve this error. As hinted above, the problem lied in my project settings. In my test project, instead of referencing project B directly, I was able to export the class files from project A. (Under the Order and Export tab in the Java Build

Re: [android-developers] Re: Need an invitation to google Wave?

2009-11-01 Thread Srimal Jayawardena
Me too.. if you still have more ;) Thanks On Mon, Nov 2, 2009 at 5:54 PM, fulanito fulanito...@gmail.com wrote: I would like one as well, please :-) fulanito On Nov 1, 7:20 am, Auguste Lunang legraphi...@gmail.com wrote: Hi, i have some google wave. invits to share. tell me if u want

[android-developers] Re: Quick Contacts popup

2009-11-01 Thread Fedor Vlasov
Can't get it working. I placed it to xml: QuickContactBadge xmlns:android=http://schemas.android.com/apk/res/ android android:src=@drawable/logo android:id=@+id/my_icon/ And the code: QuickContactBadge tx3 = (QuickContactBadge)findViewById(R.id.my_icon);