[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-28 Thread Christine
On Jun 28, 7:02 am, Romain Guy romain...@google.com wrote: JPG and PNG are also bitmaps. ... which means that you can use bitmap.compress to put a Bitmap instance into a jpg or png file. Like you use BitmapFactory.decodeFile to create a Bitmap object from a jpg or png file. 2009/6/27 楊健

[android-developers] How to maintain orange background of selected listview item in getView of ArrayAdapter-derivation when using setBackgroundcolor?

2009-06-28 Thread pawpaw17
Hi everyone, If you derive a class from ArrayAdapter for the purpose of customizing the views of listview items, and you vary the background color of those items by doing something like this in getView(): // v is the View you are modifying if (somecondition){ v.setBackgroundColor(custom

[android-developers] local socket instantiation problem

2009-06-28 Thread alexdonnini
Hello, The code snippet reported at the end of this message causes an IOException connection refused failure Could anyone explain to me why this failure occurs, and how I could instantiate a localsocket connection? By the way, replacing l = new LocalSocketAddress(SOCKET_NAME); with l = new

[android-developers] Virtual Keyboard - Action based on values entered

2009-06-28 Thread ozzoozzo
I have a virtual keyboard and EditText on the screen and want to do the following : 1) If the user hits Cancel, then go back to previous Activity' 2)If the user hits Enter, it reads the values entered in the EditText box and launches a new activity based on it. How do I do this ? Any

[android-developers] WST 3.1 does not allow editing of Android manifest

2009-06-28 Thread Hamy
Hi all, I am putting this up in the hopes that someone more knowledgeable will know what to do with it. If you have eclipse installed, and you have WST XML Core at 3.1, then double clicking an android manifest file will result in An error has occurred. See error log for more details.

[android-developers] Mute built in music app?

2009-06-28 Thread Eddie Raleigh
Is there any way to mute just the sound coming from the built in music application without muting all STREAM_MUSIC? I would like my sound effects to play 'over' the built in music app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Sharing data between an Android service and an application.

2009-06-28 Thread GAYET Thierry
Hi, in order to share data between one of my own Android service and an application i am looking for the best way to do this. I have seen the shared memory drivers inside the GNU Linux kernel, but no Java api. Maybe the specific Google IPC Blinder cad be used for my need ? What do you think

[android-developers] Re: Camera in portrait mode

2009-06-28 Thread Christine
I'm sure that you found the right tone of voice to address the Android development team. Layar, isn't that the same as Wikitude? On Jun 28, 12:02 am, indra b.indran...@gmail.com wrote: Hi guys at android, Can you plase fixhttp://code.google.com/p/android/issues/detail?id=1193 When do

[android-developers] Re: Sharing data between an Android service and an application.

2009-06-28 Thread Christine
Can you be more specific about the application that your service needs to communicate with? Is it your own application? On Jun 28, 11:11 pm, GAYET Thierry thierry_ga...@yahoo.fr wrote: Hi, in order to share data between one of my own Android service and an application i am looking for the

[android-developers] Re: Obtaining Frequency from Mic on Android

2009-06-28 Thread chow
Well so far, I think you can defiantly record some audio, and take that raw data and do a fft to get the freq, but im not too sure about getting more live than that. im looking for a solution to get freqencies from the microphone as well. any luck checking out some code associated with the

[android-developers] How to go to suspend state after timeout like windows mobile in Android system?

2009-06-28 Thread iou200...@gmail.com
Does PowerManager.goToSleep can implement it? But i try it ,it is failed! Any one know it? Thanks a lot! --~--~-~--~~~---~--~~ 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] Dialog in wrong orientation

2009-06-28 Thread doubleslash
I have an alert dialog over an activity that is set in landscape mode. Thus, the dialog is also displayed in landscape. How do I set it so it's displayed in portrait instead? Note: the underlying activity has to be in landscape. Thanks --~--~-~--~~~---~--~~ You

[android-developers] WebView + Gears

2009-06-28 Thread Evan Ruff
Hey guys, I was wondering if I can use the Gears Toolkit within WebView? I heard a nasty rumor that it was not available in WebView. If Gears is not available, what other storage mechanisms/paradigms are recommended? Thanks! Evan --~--~-~--~~~---~--~~ You

[android-developers] Re: JIS conversion is ignored!

2009-06-28 Thread Hiro
I've changed as follows. unicode = new String(unicode.getBytes(ISO-2022-JP), ISO-2022-JP); However it won't convert the string as I expect... Thanks, Hiro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Just Create An Account And Earn Money............

2009-06-28 Thread Ashraful Islam
Hello, I want to tell you about a great site I found. They pay you to read e-mail, visit web sites and much more. It's free to join and easy to sign up! CLICK THIS LINK TO VISIT: * http://bankomails.com/pages/index.php?refid=ashrafulislam * --~--~-~--~~~---~--~~

[android-developers] Re: xmlpullparser don't write in xml?

2009-06-28 Thread yukinoba
to dear winger, What's this? an AndroidManifest.xml or a Preference file? If it's a Preference, you should edit it through the PreferenceEditor object. If it is an AndroidManifest.xml file, you can't modify it in runtime, you should modify it with your code editor. Best regards On 6月26日,

[android-developers] Re: Virtual Keyboard - Action based on values entered

2009-06-28 Thread Saurav Mukherjee
u cud use intents, based on the keypress call the appropriate intents and the corresponding finish() for the activities. On Sun, Jun 28, 2009 at 10:10 PM, ozzoozzo j2metes...@yahoo.com wrote: I have a virtual keyboard and EditText on the screen and want to do the following : 1) If the user

[android-developers] Re: Finding a particular intent in the whole system(packet manager)

2009-06-28 Thread ani
This piece of code works !!! Thnks On Jun 26, 4:25 pm, Peli peli0...@googlemail.com wrote: This code works regardless in which package the action is located. The only improvement I would suggest is to change the last argument form String action to Intent intent and omit the line final

[android-developers] Re: Market Not Updating Version Info

2009-06-28 Thread Stuart Saunders
We were experiencing the same issue and discovered clearing the Market app cached resolved it. Open your phone's settings and navigate to Applications Manage applications Market, and then simply click on the Clear cache button. For more info and screenshots see our post on the topic:

[android-developers] Re: ACTION_TIME_TICK for every Second required.

2009-06-28 Thread Jeff Sharkey
Implementing a clock widget with seconds as an AppWidget would be /extremely/ inefficient. The update code would be creating a new RemoteViews object, and marshaling it across two IPC boundaries every second. The best way to write something like this would be to integrate it directly into a