[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-25 Thread Rud
Hi, The code is originally from my Blog. The reason for the clone is explained there. I admit to not having worked with Java enough to have the deep understanding of how containers deal with objects. In my application I ran into a problem trying to make a copy of an array and had to write my

[android-developers] Re: SingleTask...

2009-08-25 Thread Dianne Hackborn
The simple fact that it is non-null tells you. And you can have placed anything else you want in there in onSaveInstanceState() for whatever other data you want to retain. See here: http://developer.android.com/guide/topics/fundamentals.html#actlife and here:

[android-developers] Re: out of memory error getWallpaper

2009-08-25 Thread freeanderson
I guess nobody reported my case. I've solved like below. See my case. ... Bitmap dummy = Bitmap.createBitma(1, 1, Config.RGB_565); Bitmap a = Bitmap.createBitma(100, 100, Config.RGB_565); Canvas c = new Canvas(a); ...c.draw(..) ... a.recycle(); c.setBitmap(dummy); // This is key point.

[android-developers] No focused widget at Activity creation

2009-08-25 Thread Hazam
Hi all, I was wondering If there is a way for an Activity to be started and, even if the View contains one or more focusable widgets, no focus is assigned initially; i.e. the activity view contains two edittext fields, but when the Activity is started and view inflated, none of them should have

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-25 Thread android.bu...@gmail.com
Hi Dianne, I have tried to annotate the test method with UiThreadTest, but still it doesn't work, the trace log is: java.lang.RuntimeException: This method can not be called from the main application thread at android.app.Instrumentation.validateNotAppThread (Instrumentation.java:1500) at

[android-developers] Error : Unknown URI: content://media/external/images/media

2009-08-25 Thread Dany BREARD
Hi Why I have this error, please ? It' s the same java code than the following url: http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html / / package dany.android.databasejpeg; import

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-25 Thread android.bu...@gmail.com
I have found the root cause of this problem. That's because of getInstrumentation().waitForIdleSync() I have seen someone else use waitForIdleSync() after UI action, I want to know if it is necessary, and in which case we need to call this method? If we want to call it, how do we call it

[android-developers] Having a TextView auto complete with SearchSuggestions

2009-08-25 Thread tansaku
Hi There, I have been successful in copying the APIDemo search example and I have search suggestions from search history popping up in the drop down search pane that appears at the top of the screen. However since search is the main function of my app, I have also created a start up screen with

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-25 Thread Dianne Hackborn
Annotations have nothing to do with this, waitForIdleSync() has nothing to do with this, it's just a basic aspect of Android that you can only call on to UI objects from the thread running the UI. Use this:

[android-developers] How to know software keyboard is on screen or not?

2009-08-25 Thread aby
Hi, Does anyone knows how to know current software keyboard is on screen or not in program? 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] Re: ADC 2 Submission Site -- Now live

2009-08-25 Thread RS
Dan, a little larger window would be very useful. May be an extension by a week or two .. as the site opened on 24th late night only. You could decide to pass it over to market .. say after 15th sept. And if announcing an extension, please let us know earlier than 28th so that we can work

[android-developers] Re: Writing a Bitmap to a a outputstream

2009-08-25 Thread karthikr
This is what i am doing can u please guide me as to what should be corrected here, On opening the file, mBitmap = BitmapFactory.decodeStream(concontentresolver.openInputStream (uri)); //to create a mutable bitmap out of it mBitmap = Bitmap.createScaledBitmap(mBitmap,mBitmap.getwidth

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

2009-08-25 Thread vetch
On 25 Sie, 10:08, RS rajeshs...@gmail.com wrote: Dan, a little larger window would be very useful. May be an extension by a week or two .. as the site opened on 24th late night only. You could decide to pass it over to market .. say after 15th sept. Oh, no my dear. They did that year ago.

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-25 Thread android.bu...@gmail.com
Hi Dianne, The following code can work well in my computer: @UiThreadTest public void testBikeButton(){ //click the bike button bike_btn.performClick(); .. //I delete the following code, then it works //getInstrumentation().waitForIdleSync();

[android-developers] Please, some layout help.

2009-08-25 Thread Jiri
Hello list, i think i need some help with a layout issue. I have three views, two TextViews (header and footer) and in between a ListView. They are rendered good, in portait mode. When i go into landscape mode, the ViewList is gone. Switching back to portait mode and the ViewList is still

[android-developers] Regarding streaming files

2009-08-25 Thread for android
If i am using the streaming API's provided by the SDK that is mMediaPlayer.setDataSource(url); mMediaPlayer.prepareAsync(); If we are using this and if there are some max file transfer per connection rules set by the connection provider,does the

[android-developers] Re: CTS fails for java.io.OutputStreamWriterTest

2009-08-25 Thread Victor
Anybody here? --~--~-~--~~~---~--~~ 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] APIs compatible with Skype yahoo for Android

2009-08-25 Thread JKDESAI
Hi All, I want to develope a application in Android just like Fring in which I can chat using skype yahoo also. I found that using XMPP it is possible to connect the app with the gtalk server we can chat on that. But I want the APIs for the Skype Yahoo that are compatible with Android OS.

[android-developers] Spinner custom view bug

2009-08-25 Thread twan
Good morning, Found a little bug in Spinner widget when using a ImageView (or widget that doesn't have a baseline) as view for Spinner. Spinner source code: @Override public int getBaseline() { View child = null; if (getChildCount() 0) { child = getChildAt(0);

FLYERS

2009-08-25 Thread Richard Garry
Dear Sir    My name is Mr.  Richard Garry  and  i am interested in purchasing Flyers which i want to donate  to a  Church  .I am lookong for 40,000 pieces of the Flyers with the size 8.5x11 in full paper and i want you to the art work in the atachment with a Red ink and with a doubles sided on

[android-developers] Re: China to have there own Android Market?

2009-08-25 Thread Androman
they will upload your app whether you allow them or not... they don't care if you say no... On Aug 7, 10:30 am, biAji biaji...@gmail.com wrote: On Aug 6, 1:27 pm, CraigsRace craig...@gmail.com wrote: As far as I know .. NetDragon is an evil company.. Really, why do you say that?  I

[android-developers] Application run on an emulator cannot fix the screen size of a real device

2009-08-25 Thread Minh
Hi guys, My application has an activity to display a textview on the screen, and it ran well on the emulator (it can fulfill the whole screen). However, when I try to run it on the device with the resolution 640x480, my application cannot fix the whole screen of this device (just keep the size

[android-developers] What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread soniya
Hi All What is the approx time taken to register as a developer and to be able to publish apps on the Android Market? Do we need to wait for any approval from google to be able to publich the apps once registered as a developer and a Google checkout merchant? Thanks in advance Soniya

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread for android
What is the approx time taken to register as a developer and to be able to publish apps on the Android Market? its simple 15 mins max. Do we need to wait for any approval from google to be able to publich the apps once registered as a developer and a Google checkout merchant? No.u just

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread soniya
Heyy thanks for such a quick reply. On Aug 25, 4:43 pm, for android forandr...@gmail.com wrote: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?         its simple 15 mins max. Do we need to wait for any approval from google to

[android-developers] Running listeners in separate threads (= not in the main thread)

2009-08-25 Thread DaminouU
Hi everybody, I would like to know how to run a listener on an isolated thread. Because I would like to use a LocationListener and make some calculations in the main thread. So the LocationListener would be slow down, because of those calculations. Is it possible to have it run in a different

[android-developers] Re: How to know software keyboard is on screen or not?

2009-08-25 Thread for android
probably this(i have not tried it though) android-sdk-windows-1.5_r1/docs/reference/android/view/inputmethod/InputMethodManager.html#isActive(android.view.View) On Tue, Aug 25, 2009 at 1:33 PM, aby orz0...@gmail.com wrote: Hi, Does anyone knows how to know current software keyboard is on

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-25 Thread Peli
To deep copy an array, you can use System.arraycopy(..) http://developer.android.com/reference/java/lang/System.html#arraycopy%28java.lang.Object,%20int,%20java.lang.Object,%20int,%20int%29 System.arraycopy(b, 0, a, 0, 3); but for a float array of length 3, you can simply write a[0]=b[0];

[android-developers] Re: bluetooth use in android

2009-08-25 Thread jdesbonnet
Dianne, I was very happy to see Stefano's contribution as I wanted to get a head start on developing some ideas requiring interfacing Android to hardware via bluetooth. Yes I'm very aware it can break at any time. I am really looking forward to the official Android Bluetooth APIs for DUN, SPP

[android-developers] Re: Please, some layout help.

2009-08-25 Thread Jason Van Anden
I recommend using DroidDraw ...compare how it does what you are trying to do OR paste your code into it and try tweaking. http://www.droiddraw.org/ Jason Van Anden BubbleBeats, LLC http://www.bubblebeats.com On Tue, Aug 25, 2009 at 6:17 AM, Jiri jiriheitla...@googlemail.com wrote: Hello

[android-developers] How do you populate a spinner from a cursor

2009-08-25 Thread MMC2
How do you populate a spinner from a cursor accessing an SQLite database? --~--~-~--~~~---~--~~ 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] How to manage service lifecycle when device kills it due to low memory

2009-08-25 Thread Chister Nordvik
Hi! I have a service that polls for data. To indicate this to the user I have a persistent notification in the statusbar. In some cases when the device goes low on memory it destroys the service but OnDestroy is not called. Later when there is available memory OnCreate is called. Is this normal

[android-developers] Re: URL url

2009-08-25 Thread engin
I am also get this error. Did you find solution? On Jul 29, 8:57 pm, Dato bera ber...@gmail.com wrote: ok but when i write like this Exeption trows that Unable to connect server, can you help me to make connection to ftp server? 2009/7/29 Mark Murphy mmur...@commonsware.com dario

[android-developers] Re: SingleTask...

2009-08-25 Thread sdphil
hm... okay, so I check for null in my onCreate() method. public void onCreate(Bundle savedInstanceData) { if (savedInstanceData == null) { // do everything I did before. // show splash screen super.onCreate(savedInstanceState); } } However, now if I'm in my app,

[android-developers] Re: URL url

2009-08-25 Thread SIDIBE ALI BROMA
URL have Exception ! you must catch() it before! 2009/8/25 engin enginarsla...@gmail.com I am also get this error. Did you find solution? On Jul 29, 8:57 pm, Dato bera ber...@gmail.com wrote: ok but when i write like this Exeption trows that Unable to connect server, can you help me to

[android-developers] Writting and AIDL between a service and an applciation.

2009-08-25 Thread GAYET Thierry
Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589 --~--~-~--~~~---~--~~ 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: Broken OpenGL texture output after resuming the app

2009-08-25 Thread Ed Burnette
Could someone on the Android graphics team comment on whether people should code around this or if people should ignore it because it has a good chance of being changed in a 1.5 update? I'm asking because I need to know what to tell developers in the next edition of Hello, Android. The 1.5

[android-developers] google maps question

2009-08-25 Thread Honest
Hello, I am displaying MAP and some point on it. But some how it is not displaying directly on particular point. Instead of it is displaying screen from which i have left previously. Can some one tell me how can i make display of the map on particular point. Another thing is i want to display

[android-developers] Handset screen sizes

2009-08-25 Thread JP
G1, Dream, Magic, Hero, Galaxy and more to come... Does anybody have a rundown of their screen sizes (and of some of the devices to come out)? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Running listeners in separate threads (= not in the main thread)

2009-08-25 Thread Streets Of Boston
Listeners are called back in the thread of the instance for which they registered. Usually this means that listeners' callback methods are run in the main GUI thread. If you want to do 'heavy' work when a callback to a listener is issued, you have to do it yourself. Your listener should

[android-developers] Re: How do you populate a spinner from a cursor

2009-08-25 Thread Jack Ha
Something like this should work: Cursor cur = managedQuery(People.CONTENT_URI, PROJECTION, null, null); SimpleCursorAdapter adapter = new SimpleCursorAdapter( this, android.R.layout.simple_spinner_item, cur, new String[] {People.NAME}, new int[] {android.R.id.text1});

[android-developers] Re: URL url

2009-08-25 Thread engin
I did not understand what you mean? On Aug 25, 5:03 pm, SIDIBE ALI BROMA jahbr...@gmail.com wrote: URL have Exception ! you must catch() it before! 2009/8/25 engin enginarsla...@gmail.com I am also get this error. Did you find solution? On Jul 29, 8:57 pm, Dato bera

[android-developers] Re: Adding Threshold to Bitmap Images

2009-08-25 Thread Streets Of Boston
You can create a color-filter with color-matrix that will give the effect of 'Threshold'. To get the correct values for the color-matrix, i used this web-site: http://www.quasimondo.com/archives/000565.php and the sources you can find here when you click on Download the source files here. This

[android-developers] Problem to communicate with a service from an application

2009-08-25 Thread GAYET Thierry
Hi, i have some problem to communicate with a service from an Android application. The service is in a first package package com.myService and the application in another on package com.myApplication. My service work and start well but my next step is to add an AIDL interface to external

[android-developers] Re: Writing a Bitmap to a a outputstream

2009-08-25 Thread Streets Of Boston
If you write a JPG, information is written with a loss. Always. Even with quality=100, some loss will occur. If you do this repeatedly, losses in image-data will compound. Why not use the PNG format? Why do you need to write a JPG? On Aug 25, 4:23 am, karthikr karthik.scintill...@gmail.com

[android-developers] How to change the color of the text frequently?

2009-08-25 Thread manoj
Hi friends, I would like to change the text color frequently which is drawn already. Actually, I have taken the app, AlphaBitmap from APIDemos. There, I draw some 10 lines. Now I would like to put the background as black, and the initial text color as white. after every 1 sec, each word in

[android-developers] are SharedPreferences really private?

2009-08-25 Thread sdphil
I want preferences that only my application can access. When i read the docs for SharedPreferences it seemed to suggest that, but i just wanted to confirm (the word shared scares me :) ). tia. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: China to have there own Android Market?

2009-08-25 Thread Hong
They also operate jailbreak iPhone apps and pirated iPhone apps, if you so care. --~--~-~--~~~---~--~~ 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] GL11 Implementation Issues

2009-08-25 Thread Eli Yukelzon
Regarding the support or lack of support for OpenGL ES 1.1. I know that officially the emulator and also the G1 device do not support OpenGL 1.1. And I suppose that officially, the SDK does support OpenGL 1.1 (the interface exists). Fact is that when GLSurfaceView creates an instance of a class

[android-developers] Re: how can close other activity?

2009-08-25 Thread Roman ( T-Mobile USA)
It is a conceptual problem which you are trying to solve with controling an activity from another activity. The Android platform tries to simplify UI development in a way that it defined a life cycle for activities. If you try to control an activity from another activity you change the current

[android-developers] Chinese name writen in Sim Contact appears to be blank

2009-08-25 Thread wangysh2009
hi, All I'm trying to write some contacts into sim contact. ContentValues cv = new ContentValues(); cv.put(tag, ); cv.put(number, ); cv.put(newTag, 中文); cv.put(newNumber, 12345678); getContentResolver().insert(SIM_CONTACTS_URI, cv); After you shut down the phone and check the sim contact

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-25 Thread cadlg
On Aug 25, 5:43 am, for android forandr...@gmail.com wrote: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?         its simple 15 mins max. Do we need to wait for any approval from google to be able to publich the apps once

[android-developers] Re: Writing a Bitmap to a a outputstream

2009-08-25 Thread karthikr
My application reads existing images from the mobile, and allows the user to edit it and save it, if the image is in a jpeg format there is a loss in quality when the image is edited and saved. Is there any other way to open a jpeg image edit it and save it back? Also i have noted one more

[android-developers] Re: Chinese name writen in Sim Contact appears to be blank

2009-08-25 Thread sdphil
you should start a new thread rather than hijack this thread for something totally unrelated! On Aug 25, 8:26 am, wangysh2009 wangysh2...@gmail.com wrote: hi, All I'm trying to write some contacts into sim contact. ContentValues cv = new ContentValues(); cv.put(tag, ); cv.put(number, );

[android-developers] Re: How to change the color of the text frequently?

2009-08-25 Thread Balwinder Kaur (T-Mobile USA)
How are you trying to do it? You need to call View.invalidate() to force the onDraw method of SampleView to be called at the time interval you wish it to be called. Could you paste your code modifications to the sample code, please ? Balwinder Kaur Open Source Development Center ·T· ·

[android-developers] Re: Writing a Bitmap to a a outputstream

2009-08-25 Thread Streets Of Boston
That's what i'm doing with my app as well. And i have the same issue. As soon as your re-read a JPEG and save it again (modified or not), you will get loss of quality. There is no other way around it. In my app, i don't save over the original image. I do a 'save-as', more or less. At least the

[android-developers] Re: Performant implementation of the overlay (like in myTracks)

2009-08-25 Thread Hong
I'm interested in the implementation of MyTracks/Google Maps marker overlay as well. I also used draw() method in itemizedOverlay class and the performance is horrible. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

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

2009-08-25 Thread Maps.Huge.Info (Maps API Guru)
I see no need to extend the deadline, it's been public since May 27th, if you're not ready by now, you'll probably never be ready. People have to learn that a deadline means something, extending it would only punish those who are ready and reward those who can't meet project goals on time. -John

[android-developers] Re: Writing a Bitmap to a a outputstream

2009-08-25 Thread karthikr
Thanks a lot for your advice. Ill update u on the same once i get a solution. Regards, R.Karthik --~--~-~--~~~---~--~~ 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: Problem to communicate with a service from an application

2009-08-25 Thread Mark Murphy
Hi, i have some problem to communicate with a service from an Android application. The service is in a first package package com.myService and the application in another on package com.myApplication. My service work and start well but my next step is to add an AIDL interface to external

[android-developers] gui controls...

2009-08-25 Thread sdphil
i want to create a control that looks like this: +++ |X|Y | +++ And either X or Y is selected, but not both. Is that some variation of a ToggleButton? Also, i want to create something that looks like this +++ |Y| | +++ Where the

[android-developers] Re: are SharedPreferences really private?

2009-08-25 Thread Dianne Hackborn
Yes they are, unless you pass MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE the first time you retrieve them. On Tue, Aug 25, 2009 at 8:33 AM, sdphil phil.pellouch...@gmail.com wrote: I want preferences that only my application can access. When i read the docs for SharedPreferences it seemed

[android-developers] Re: SingleTask...

2009-08-25 Thread Dianne Hackborn
Please read the documentation. As I said in my original post, this is for when your activity gets killed while it is in the background. When you press back, the default implementation is to finish() the activity so there is no longer any instance data. On Tue, Aug 25, 2009 at 6:57 AM, sdphil

[android-developers] What Happened to Android Discuss Group?

2009-08-25 Thread Doug
I also subscribe to the Android Discuss group. I clicked on a post in today's email update and got a message saying Cannot find android- discuss ... There is no group named android-discuss. There were a couple of threads I was watching. Anyone know what happened?

[android-developers] Re: App shutdown during package reinstall

2009-08-25 Thread DaveG
On Aug 21, 5:09 pm, Mark Murphy mmur...@commonsware.com wrote: David Golombek wrote: We could kill our app proactively, as soon as we launch the ACTION_VIEW activity, but then we're left in a bad state if the user aborts. Why? In other words, what difference is there between: -- the

[android-developers] Re: How to manage service lifecycle when device kills it due to low memory

2009-08-25 Thread Dianne Hackborn
Not getting onDestroy() is normal, expected, and desired behavior as for all app components -- the kernel kills processes when it needs more memory, we don't rely on them being nice and cleaning up at their leisure. The current semantics for recovering from being killed are unfortunately as you

[android-developers] Re: Handset screen sizes

2009-08-25 Thread Dianne Hackborn
All current android devices are 320x480. On Tue, Aug 25, 2009 at 7:30 AM, JP joachim.pfeif...@gmail.com wrote: G1, Dream, Magic, Hero, Galaxy and more to come... Does anybody have a rundown of their screen sizes (and of some of the devices to come out)? -- Dianne Hackborn Android

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

2009-08-25 Thread Dan Sherman
There's no reason that they would change the deadline. The deadline has been set at the 31st since late May (as stated before). With that deadline posted, your app should be ready to hit the submit button on the 31st or sooner. Nothing changed, they're giving you a full week to hit the Submit

[android-developers] Re: What Happened to Android Discuss Group?

2009-08-25 Thread Streets Of Boston
No idea. I'm missing it, too. On Aug 25, 12:48 pm, Doug douglas.w...@plantronics.com wrote: I also subscribe to the Android Discuss group.  I clicked on a post in today's email update and got a message saying Cannot find android- discuss ... There is no group named android-discuss.  There

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-25 Thread Mike Collins
I'm trying to get the acceleration values in the earth coordinate system. E.g. instead of knowing the phone is accelerating +Z in the phone's coordinate system I'd like to know if the phone is accelerating upwards relative to the earth. Seems like it's almost there since I can get the phone's

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

2009-08-25 Thread RS
You are right.. yeah our app is more than ready.. but not everybody was expecting a one week window. Some do travel on business during working days and it happens to be a long weekend in the UK. And submissions from business involve a paid bunch of developers who don't work like hackers over

[android-developers] Android Camera : My photo is completely black :-/

2009-08-25 Thread DaminouU
Hi, I am creating a little application where I use the Android Camera class. Everything seems to work but the result is a black picture. I think I forget to set a parameter. Do you have any ideas on which parameter I must set up ? The code: public boolean takeIt() {

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

2009-08-25 Thread Dan Morrill
If the app was submitted to the Market in any form before August 1st, it's not eligible. If the app was first submitted in any form after August 1st, it is eligible. So if you submitted the first version to Market after 1 August, you may submit a revised version to the ADC2. - Dan On Tue, Aug

[android-developers] How to get the duration of an audio resource using SoundPool

2009-08-25 Thread Pettax
Hi, I have a scenario where I want to play several samples after each other. Sounds like a job for the SoundPool since they will re-occur and I want to keep them loaded. Below is a code snippet: SoundPool soundPool = new SoundPool(1, AudioManager.STREAM_MUSIC, 0); int mySampleId =

[android-developers] Re: Screen color depth supported by Android 1.5/Galaxy

2009-08-25 Thread iamwwx
My board has an lcd of 24 bpp, but android UI is 16 bpp. When 24bpp images are drawn, android will be down sampling. Is there a way to optimise it, as config some .conf files to 24 bpp? And how to do it? On 8月18日, 下午11时20分, Romain Guy romain...@google.com wrote: Android is perfectly capable of

[android-developers] Re: App shutdown during package reinstall

2009-08-25 Thread DaveG
On Aug 24, 12:34 pm, Hong lordh...@gmail.com wrote: If you do: adb uninstall your.package.name.mainactivity, do you ever get any crash/error etc? If not, the upgrade/installation process will uninstall your app cleanly. We do get crashes (that we're working on), but they don't matter since

[android-developers] How do I show chinese type in english android system?

2009-08-25 Thread atul
How do I show chinese type in english android system? 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

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

2009-08-25 Thread dka
I agree with Vetch, the deadline has been communicated a long time ago and one week should be sufficient to just upload the app (I presume the site works as expected ...). Any change to the deadline would just insult all developers that were working to this deadline as they were supposed to.

[android-developers] Re: Screen color depth supported by Android 1.5/Galaxy

2009-08-25 Thread sunbingch...@gmail.com
I just want to know how android rendering onto 32 bits.Anyone knows pls tell me. On Aug 18, 11:20 pm, Romain Guy romain...@google.com wrote: Android is perfectly capable of rendering onto 16 bits and 32 bits (or 24 bits if you prefer) displays. However, I don't know of any display in mobile

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-25 Thread santosh kumar
Hi All, what changes you have been done to vold.conf? and i followed the steps of gobor.. but for me also, emulator is getting stucked.. can you plz help me.. On Aug 25, 2:23 am, Haritha hari.andr...@gmail.com wrote: thanks everyone for posting info on emma coverage.I was also able to

[android-developers] How to know which row in the table is updated most recently?

2009-08-25 Thread myideal
My application needs to respond to the change in the database, when a new contact is added and a new SMS is received or sent. The onChange() function is so stupid that it only notifies you the happening of the event without any other infomation. Does any one have better solutions to know the row

[android-developers] Help.... trouble granting DEVICE_POWER permission

2009-08-25 Thread JamaisX
I'm trying to develop an application that need DEVICE_POWER permission, I put it in android.manifets file, but when launching the app crashes, the logcat reports Not granting permission DEVICE_POWER... due to Security constraints. Checking the docs it seems that the apk must be signed with a

[android-developers] out of memory exception in gridview

2009-08-25 Thread jaimin
hi i am new to android. i have an application in that i download 105 images. now i than i display those images in gridview thumbnail size . it images are display but it take some time to display images in gridview and even take long time to scrolldown to view below images. can any one helpm me

[android-developers] Priorization of applications/threads possible?

2009-08-25 Thread mstu...@googlemail.com
Hi all, the Android web site indicates that all applications are created equal. What is the strategy to ensure that critical applications/ services have priority? Are there any facilities Android/Linux does provide to ensure certain applications and/or threads to receive a minimum of CPU

[android-developers] Re: Emulator quick start

2009-08-25 Thread PurpleMonkey
I found it slow as well even with the emulator remaining open. I've only had a couple of hours messing around with it but I ran the Hello World application last night. With the emulator still open I tried changing the output text to see how long it takes to redeploy. When I click to run it again

[android-developers] Re: Turn on light of trackball on HTC magic

2009-08-25 Thread Stefan Passchier
Is there a way to get the trackball to flash when an SMS message arrives? On Aug 14, 6:08 pm, Dianne Hackborn hack...@android.com wrote: There is no direct API, the light is controlled indirectly by posting a notification that requests the lights flash. On Fri, Aug 14, 2009 at 3:43 AM,

[android-developers] How do I change the timeout time for the lock screen?

2009-08-25 Thread Paul
How do I change the timeout time for the lock screen? Instead of the 10 second timeout, a 2 second timeout would save more battery life. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Drawing a transparent Color to a Canvas

2009-08-25 Thread Martin
I'm trying to set a circle of pixels to transparent in a Bitmap. Currently I am iterating through the pixels in a circle and drawing them with Bitmap.setPixel(x, y, Color.TRANSPARENT), and I would like to see if it is quicker to make a Canvas from the Bitmap and use Canvas.drawCircle(x, y,

[android-developers] Android IMS support

2009-08-25 Thread Rayan Aryaan
Hi, As per the following link, Android already developed IMS http://code.google.com/p/android-ims/ Does it support JSR 281 and IMS SIP stack. Do Android have any plan to release this within Android 2.0 DONUT sdk? Please help. Thanks Regards, Aryaan

[android-developers] adc 2 deadline extention

2009-08-25 Thread patrick
Hi, Please i'm asking where can we ask google to extend adc 2 deadline ? thks --~--~-~--~~~---~--~~ 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] How come the accelrometers maximum sampling rate are so low?

2009-08-25 Thread Marie
Hi, I've tried to measure the accelerometer sampling rate on the G1 when the rate was set to FASTEST and the results were around 50Hz. Does this value seem to be wrong or is the maximum sampling rate really this low? And if it is, how come? Since the CPU clock is 528 MHz, shouldn't it be

[android-developers] What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-25 Thread Brian
Hi all, I wanted to understand what the $ sign and the number after a $ sign meant in a backtrace. For example, consider the following backtrace: at android.app.ActivityThread.access$2500(ActivityThread.java:115) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1745) In

[android-developers] Connection refused

2009-08-25 Thread Small World
I am trying to let Android connect to my Google App. While I have tried many kinds way of connection, somehow I failed all. The error is java.net.Connection.Exception:localhost/127.0.0.1:8080 - Connection refused. Hope someone can help me fix this problem. My one method is as follows:

[android-developers] Do the applications keep/manage their own SQLite databases (files)?

2009-08-25 Thread mstu...@googlemail.com
Hi All, Android includes a database engine (SQLite). In general, do the applications keep/manage their own databases (files) or is there a unifying database manager? Thanks, Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Time to first screen, boot-up time and app-start time?

2009-08-25 Thread mstu...@googlemail.com
Hi all, at the moment I am thinking about a new app and need some information to decide whether to develop on Android or an alternative OS. I am particularly interested in time to first screen, boot-up time, time to first Audio and app-start (can be any from the android market or even one of

[android-developers] how to avoid getting Menu command to my application after the screen have been locked

2009-08-25 Thread Singelton
Hi, I am writing my first application in Android and when the screen is locked I pressing menu to unlocked and I am getting event to my view ( onKeyDown ) and it open the menu of the screen . how can I avoid getting this event to my application ? Thanks Singel ton .

[android-developers] Running Android in the virtualization layer (e.g. VMware) possible?

2009-08-25 Thread mstu...@googlemail.com
Hi, has anyone tried to run Android in the virtualization layer, e.g. on VMware? Thanks, Matthias --~--~-~--~~~---~--~~ 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] About android color depth 32bit/pixel

2009-08-25 Thread sunbingch...@gmail.com
Does anyone knows how to make android with color depth 32bit/pixel? pls tell me,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] Playing/recording audio over/from the connected line

2009-08-25 Thread Rayan Aryaan
Hi, I want to play an audio message to caller and record the caller voice. Does android provide the following functionalities: 1. Playing an audio over the connected voice call. 2. Recording from the connnected voice call. Please help. Thanks Regards, Aryaan

[android-developers] OpenGL ES confusion

2009-08-25 Thread harish android
Hi All, I am new to Android and OpenGL world. I've created a new ap using openGL ES. ( I am not able to find a option to send attachment of package to group, so that youi can see my code and sugest me wherei made a mistake). Android Simulator LCD size is 320 x 455 and i've set same size for

  1   2   3   >