[android-developers] Re: IP broadcast on emulator

2009-10-17 Thread Anders
Bump On Oct 15, 3:12 pm, Anders lanils...@gmail.com wrote: Hi, I have an application that acts as both client and server. I have a scenario that I need to test that involves three devices. One of them needs tobroadcasta message (UDP) to the other two. Running on physical devices, this is

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread ecogeek
I know you're out, but if anyone gets an invitation, or a batch of em, I would like in on this. Thanks `Michael ecogeek at gmail dot com On Oct 15, 10:41 pm, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations

[android-developers] Location.getLastKnownLocation returns null

2009-10-17 Thread Auguste Lunang
Hi, I can't display my map on android emulator. i have, locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); location = locationManager.getLastKnownLocation(gps); After those lines,the Log shows null for location instead of the object location

[android-developers] Re: Location.getLastKnownLocation returns null

2009-10-17 Thread Saurav
u cannot get gps signals in an emulator u need to give gps inputs from ddms if u wanna get some gps signals in ur program wen u run it from the emulator Regards, Saurav Mukherjee. On Sat, Oct 17, 2009 at 5:31 PM, Auguste Lunang legraphi...@gmail.comwrote: Hi, I can't display my map on

[android-developers] Re: Location.getLastKnownLocation returns null

2009-10-17 Thread Mark Murphy
Auguste Lunang wrote: I can't display my map on android emulator. i have, locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); location = locationManager.getLastKnownLocation(gps); After those lines,the Log shows null for location

[android-developers] Re: Location.getLastKnownLocation returns null

2009-10-17 Thread Auguste Lunang
Now it works fine. I Was just doing the requestLocationUpdates after the getting location. as you said, we first need to turn on the GPS radio . 2009/10/17 Mark Murphy mmur...@commonsware.com Auguste Lunang wrote: I can't display my map on android emulator. i have,

[android-developers] Re: Flushing RAM of android device

2009-10-17 Thread joare...@googlemail.com
I want to run some benchmark tests. For that I have to make sure that files are read from the file system not from the RAM. Repeating the test by rebooting the device may be quite annoying... So there is no way ? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread xianhao lv
I want one. Thank you very much. I always look for an invitation. 2009/10/16 Kenneth Adam Miller kennethadammil...@gmail.com Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] SQLite Blob ?

2009-10-17 Thread joare...@googlemail.com
Hello, Does anyone know if there is a good article/book/something else about BLOBs using in Android SQLite ? I read in one thread that it is not a very good idea but i could not figure out why that is. Any information would be helpful. Thank you very much !

[android-developers] How to disable screen orientation change in code?

2009-10-17 Thread Mike
Hello, how can the screen orientation change be disabled in code? I must force portrait/landscape orientation, but can't use android:screenOrientation=landscape in the manifest because of issue 3324 - http://code.google.com/p/android/issues/detail?id=3324 Do you have any ideas? Thank in advance,

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread Auguste Lunang
PLease can you invite me ... 2009/10/17 xianhao lv xianhao...@gmail.com I want one. Thank you very much. I always look for an invitation. 2009/10/16 Kenneth Adam Miller kennethadammil...@gmail.com Who wants to be in Google wave? I have 16 invitations

[android-developers] Image transparency

2009-10-17 Thread Neilz
Anyone know if you can make part (i.e. a section which you could measure in pixels) of an image transparent? What graphics features would I need to look at? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Logging in Android

2009-10-17 Thread Christine
On Oct 16, 12:51 am, jotobjects jotobje...@gmail.com wrote: This is still a little unclear to me.  AFAIK this is a recommendation to strip out debug logging - logging is not automatically stripped? Read a message before you reply. Yusuf just said that debug logging is stripped at compile time.

[android-developers] kml in listview

2009-10-17 Thread android
I have to see the posts contained in a kml in a listview how does google maps help (by opening the browser) --~--~-~--~~~---~--~~ 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: Logging in Android

2009-10-17 Thread Lance Nanek
Logging isn't compiled out automatically in my experience. I can add verbose and debug level logging statements like these: Log.v(LOG_TAG, Verbose test.); Log.d(LOG_TAG, Debug test.); and the output of both show up in adb logcat even if I have debugging off in the application's manifest and am

[android-developers] Re: Logging in Android

2009-10-17 Thread Marco Nelissen
On Sat, Oct 17, 2009 at 7:03 AM, Christine christine.kar...@gmail.com wrote: On Oct 16, 12:51 am, jotobjects jotobje...@gmail.com wrote: This is still a little unclear to me.  AFAIK this is a recommendation to strip out debug logging - logging is not automatically stripped? Read a message

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread Liu Huadong
anymore invitation, Thanks On Oct 16, 7:32 am, budziq bud...@gmail.com wrote: Well. Who wouldn't want one ;)? I guess I'd like one too ;) On Oct 16, 4:02 pm, Carl Whalley carl.whal...@googlemail.com wrote: I'd love an invite too ... anyone ... thanks! On Oct 16, 2:26 pm, Gavin Aiken

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread nikhil
I would want an invitation too...thanks On Oct 16, 11:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Text wrapping around image

2009-10-17 Thread focuser
Hi, I know this has been brought up before, but I couldn't find a solution yet. I'd like to get the similar layout on an Activity as this html fragment in a browser, basically making text wrapping around an image: img src=rainbow.gif align=left bla bla bla bla bla bla bla bla bla bla bla bla

[android-developers] Uninstalling TTS Data from the G1 / Dream

2009-10-17 Thread Thomas Riley
As per subject I would like to uninstall the text to speech data app from my G1 so I can set out some TTS code I'm working on. Is it possible? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Logging in Android

2009-10-17 Thread jotobjects
On Oct 17, 7:03 am, Christine christine.kar...@gmail.com wrote: On Oct 16, 12:51 am, jotobjects jotobje...@gmail.com wrote: This is still a little unclear to me.  AFAIK this is a recommendation to strip out debug logging - logging is not automatically stripped? Read a message before you

[android-developers] Re: Logging in Android

2009-10-17 Thread RichardC
See this thread: http://groups.google.com/group/android-developers/browse_thread/thread/f88b3556d150e1bd/b9747b4cc78565f1#b9747b4cc78565f1 Specifically the responses by Dianne Hackborn -- RichardC On Oct 17, 7:50 pm, jotobjects jotobje...@gmail.com wrote: On Oct 17, 7:03 am, Christine

[android-developers] Re: Google wave invitations...?

2009-10-17 Thread AuthorityAction
If there are any left, I would like one too! Thanks. On Oct 15, 10:41 pm, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] ARCHOS 5 Android tablet and ANDROID_ID

2009-10-17 Thread Mark Murphy
Somebody on this list asked a bit ago about whether the ARCHOS 5 Android Internet Table supports the ANDROID_ID secure setting. The answer is yes...but it's not a hex value, which is what the docs say is required. So, as long as you just care about it being a relatively short string (and

[android-developers] Re: Problem: set projection matrix in GLSurfaceview.onDrawFrame

2009-10-17 Thread Robert Green
I feel like your numbers aren't right. If you want a sixteenth-screen sized view (which it seems you do) in the upper right corner, Here's my initial thought: int left = surfaceWidth * .75f; int bottom = surfaceHeight * .75f; int width = surfaceWidth * .25f; int height = surfaceHeight * .25f;

[android-developers] Re: Gridview padding? or imageview?

2009-10-17 Thread Ivan
At the end it was the listSelector property on the GridView that was producing the padding. For future reference. On Oct 16, 8:05 pm, Ivan ivanso...@gmail.com wrote: I think I tried everything on the attributes and can't find where that padding is coming from. Any ideas? On Oct 15, 10:15 

[android-developers] Re: Activity managed indeterminate ProgressDialog problem

2009-10-17 Thread szabolcs
Small things like this drive me crazy. If anyone could hint what I am doing wrong in the code below (full example of the issue described previously in this thread), I would be very grateful. Thank you, -szabolcs import android.app.Activity; import android.app.Dialog; import

[android-developers] Disable context menu not working ... bug?

2009-10-17 Thread Jason Van Anden
I am setting setEnabled = false for a Context Menu item. The item appears grayed out ... but I can still click on it. When I do, the menu closes. This does not seem to like the correct behavior to me. Is this a bug or a misunderstood feature? Anyone else experiencing this? Using 1.6 Jason

[android-developers] Re: Disable context menu not working ... bug?

2009-10-17 Thread Mark Murphy
Jason Van Anden wrote: I am setting setEnabled = false for a Context Menu item. The item appears grayed out ... but I can still click on it. When I do, the menu closes. This does not seem to like the correct behavior to me. Is this a bug or a misunderstood feature? Anyone else

[android-developers] Re: Change button color on Focus and on click

2009-10-17 Thread Farproc
res/drawable/my_multi_state_bg.xml ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_focused=true android:state_pressed=true android:drawable=@drawable/some_png / item android:state_focused=false

[android-developers] Re: How to start a service without using any activity??

2009-10-17 Thread Farproc
You can try to code, and then post the problem you encounter. On 10月17日, 下午1时10分, pink 444 pnk...@gmail.com wrote: Thanks for your replay. Can you give me a example . On Oct 16, 2:55 pm, Farproc farp...@gmail.com wrote: First, you do not have to start/stop aservicefrom a Activity.

[android-developers] Touch event: Delayed reception from actual touch?

2009-10-17 Thread Matt Hall
Hi everyone, I noticed when developing on an HTC Magic (G2) that when moving your finger on the screen the location of the touch events trail your finger pretty significantly. To test this I wrote a very simple app that just draws a rectangle where you're touching. Even in this simple case the

[android-developers] Re: onSearchRequested() doesn't call search activity in 1.5

2009-10-17 Thread junker37
Any ideas? I am attempting the same thing right now with 1.5 and am seeing the same behavior. On Oct 8, 6:42 am, Miguel Paraz mpa...@gmail.com wrote: Hi, The 1.5 AVD doesn't seem to follow the documentation in:http://developer.android.com/reference/android/app/SearchManager.html which

[android-developers] Re: Touch event: Delayed reception from actual touch?

2009-10-17 Thread Dianne Hackborn
The move event you receive contains as close as possible to the most recent location (it is retrieved immediately before dispatching to the app). You don't say how much lag you are seeing, so it is hard to offer advice -- is it more laggy than in other standard parts of the UI like list views? Is

[android-developers] Wave Invitation

2009-10-17 Thread Azuroth
Can I get one ? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Wave invitation

2009-10-17 Thread Azuroth
Can I get one please? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] BufferedImage from URI or Bitmap

2009-10-17 Thread Masud Rana
Hello, Let I've an URI (not URL) for an image in the gallery. Now I want to get the BufferedImage from it. I can get a Bitmap from it. Is there any way to get BufferedImage from the URI or from the Bitmap? Plz help. --~--~-~--~~~---~--~~ You received this message

[android-developers] HTC Hero + requestFeature() must be called

2009-10-17 Thread Shane
I am getting a requestFeature() must be called before adding content but only on HTC Hero phones. This error nevers occurs on G1s, Magic but only on the Hero. I think it occurs (but not sure) when a progress dialog is shown to the user. Weird thing is, the progress dialog is shown two or three

[android-developers] Re: Android GPS implement

2009-10-17 Thread marcus
Can anybody give me some advices...thank you!! On 10月16日, 下午6時48分, marcus lvseis...@gmail.com wrote: Hi All~~ I am porting GPS to Android now. I have been look for many web site relate to Android GPS porting include this group. However, I also feel confused about that. I have some