[android-developers] Re: how to evoke pv logger

2008-12-25 Thread develop code
I tried replacing system.img, still no success. On Thu, Dec 25, 2008 at 12:34 PM, freepine freep...@gmail.com wrote: I think you should replace system.img in your SDK. On Thu, Dec 25, 2008 at 2:13 PM, develop code developcod...@gmail.comwrote: i am using emulator (eclispse) on windows xp.

[android-developers] Re: how to evoke pv logger

2008-12-25 Thread freepine
That's strange, it works for me:) On Thu, Dec 25, 2008 at 4:12 PM, develop code developcod...@gmail.comwrote: I tried replacing system.img, still no success. On Thu, Dec 25, 2008 at 12:34 PM, freepine freep...@gmail.com wrote: I think you should replace system.img in your SDK. On Thu,

[android-developers] Re: how to evoke pv logger

2008-12-25 Thread develop code
Got it. i was changing in the older sdk ;-) On Thu, Dec 25, 2008 at 2:24 PM, freepine freep...@gmail.com wrote: That's strange, it works for me:) On Thu, Dec 25, 2008 at 4:12 PM, develop code developcod...@gmail.comwrote: I tried replacing system.img, still no success. On Thu, Dec 25,

[android-developers] Re: :: using System.gc();

2008-12-25 Thread Guillaume Perrot
My problem is that I display dynamic images (buddy's avatars) which size can reach 128*128 but I down sample them into 64*64 so I can't use static members for them. A background thread (a single threaded ExecutorService) is responsible for producing the 64*64 thumbnails, using BitmapFactory. When

[android-developers] Media Player surprises me!

2008-12-25 Thread Ninad
Can anyone help on this? Whenever I'm playing a Media file (mp3) from the sdcard in the emulator... And I try to read another file from the sdcard in parallel from an another thread, the Media Player stops! And doesnt even give any form of error.. Is only 1 read possible at a time from the

[android-developers] Re: How to add ShadowColor to TextView

2008-12-25 Thread Mark Murphy
nithin warier wrote: I tried to add shadow color to TextView using this code, but with no effect, TextView android:id=@+id/text1 android:layout_width=fill_parent android:layout_height=wrap_content android:text=meetMe android:textSize = 40px

[android-developers] Re: Tab Issue:

2008-12-25 Thread Mark Murphy
diya blore wrote: Can i implement this in single activity.? Yes. As above process code has two avtivity.. can it be in single activity? is it possible? Yes. Instead of an Intent, give the tab a View. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to

[android-developers] Re: snail mail from contacts

2008-12-25 Thread Kevin
I was wrong. You can look at street addresses in the phone. I think I've figured out how to query by them too, which is really going to help with the app. Sweet. Will post solution if it works and I remember to post. On Dec 24, 9:55 am, Kevin kgalli...@gmail.com wrote: Is there a way to

[android-developers] Re: Tab Issue:

2008-12-25 Thread Mohamed Amir
I want to have tabs using XML and Views at the same time i.e. To have an XML describing all the tabs, and I add tabs like that tabs.addTab(tabs.newTabSpec(First Tab) .setIndicator(First Tab) .setContent(R.id.tab1)); tabs.addTab(tabs.newTabSpec(Second Tab)

[android-developers] How to make a listview with only XML and no adapter

2008-12-25 Thread ChisterNordvik
Hi! On one of my screens I want to have a list with only one item and I want to declare the item in XML since that's easier than writing a separate adapter . So i tried doing it without a ListView like in Code 1. The problem then is that selection isn't working like in the listview. I can't

[android-developers] Detecting if an Activity is being displayed or not

2008-12-25 Thread Jay-andro
I have a service that runs in the background periodically and checks a database for some data. If it finds whats it's looking for, it shows an Activity to the user to alert him/her of this condition. Next time it runs, if the condition still persists I only want to show the activity if it is not

[android-developers] Re: zimbra, kmail LINUX

2008-12-25 Thread ipalik
do you know, is it possible to import .ics files to the g1? On 22 Dez., 22:09, Michael michael573...@gmail.com wrote: You don't have to look on the filesystem, there's a content provider to get this information.  Check in the sample applications included with the SDK, there's examples of

[android-developers] Re: Testing a Android Activity..

2008-12-25 Thread Andrew Stadler
Here is a quick reply of things to look at (not a tutorial): * See samples/ApiDemos which has examples of different kinds of tests. *ALWAYS* start here; If you can't get these working, there's no point in trying to get your own tests working. * To test standalone code (not Activities) you'll

[android-developers] Re: Detecting if an Activity is being displayed or not

2008-12-25 Thread Ravi Yenduri
OnNewIntent() is probablythe method you are looking for. http://code.google.com/android/reference/android/app/Activity.html#onNewIntent(android.content.Intent) -Ravi On Dec 26, 2:42 am, Jay-andro jayan...@gmail.com wrote: I have a service that runs in the background periodically and checks a

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

2008-12-25 Thread Nickname
final refresh before i will add this issue to Android bug reportwait a secwhere is Android bug report On Dec 22, 6:37 am, Nickname yes...@live.com wrote: refreshing my RFH... Or, is it insufficiency or bug of Android??! On Dec 20, 9:15 am, Nickname yes...@live.com wrote: Hi

[android-developers] Re: Detecting if an Activity is being displayed or not

2008-12-25 Thread Ravi Yenduri
This is probably a better place to start: http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_launchMode -Ravi On Dec 26, 6:17 am, Ravi Yenduri yend...@pv.com wrote: OnNewIntent() is probablythe method you are looking for.

[android-developers] GradientDrawable definition in XML?

2008-12-25 Thread brnzn
I'm able to construct a GradientDrawable in Java code and set it to be the background drawable of a layout that I've inflated from XML, but I don't seem to be able to find any documentation on how I can define the GradientDrawable in XML. The documentation for GradientDrawable says: See

[android-developers] Where could I get an ADT 0.9.0?

2008-12-25 Thread yukinoba
To dear all, Does anyone have the cupcake? The SDK in there is not applicable to the ADT plugin (Android Development Tools plugin) of Eclipse any more, and Eclipse throws a message told me I should get an updated ADT with version 0.9.0. However, I tried to build one in the source, and found that

[android-developers] OpenGL on T-Mobile G1: How to turn OpenGL on and off with SurfaceHolder ?

2008-12-25 Thread Toothy Bunny
Hi All, When designing a 3D game running on Android, we need to enter into 3D (OpenGL) rendering and quit back to 2D rendering from time to time, like this control flow: game title page (2D) - game main menu (2D) - game window (3D / OpenGL) - game main menu (2D). We have made this working well on

[android-developers] Re: Media Player surprises me!

2008-12-25 Thread Ninad
Any answers??? :( M stuck on this.. Please help!!! On Dec 25, 6:47 pm, Ninad mnina...@gmail.com wrote: Can anyone help on this? Whenever I'm playing a Media file (mp3) from the sdcard in the emulator... And I try to read another file from the sdcard in parallel from an another thread, the

[android-developers] Re: question of apache commons ftp

2008-12-25 Thread tonyant
I reslove it at last. add ftpClient.enterLocalPassiveMode(); before storeFile(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(user, password); ftpClient.changeWorkingDirectory(serverRoad);

[android-developers] Capture and Playback

2008-12-25 Thread Lei
Hi, all I want to capture the audio from the microphone, save the audio in the buffer, and then playback the audio in the buffer. It seems that it will be simple if I can use javax.sound.* to create a sourceDataLine and a targetDataLine. But I cannot import javax.sound.* into my project. How to