[android-developers] Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread sathya subbiah
Hi, I am trying to get address from Longitude and latitude using the following code Geocoder geoCoder = new Geocoder(mContext,Locale.getDefault()); ListAddress addresses = geoCoder.getFromLocation( mCurrentLatitude,

Re: [android-developers] Re: Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread sathya subbiah
the address. Rgs, Sathya On Thu, Jan 7, 2010 at 8:01 AM, Nithin nithin.war...@gmail.com wrote: Check the latitude and longitude value, that you are passing to getFromLocation(). Then try, giving the number of results a bigger value than 1. Nithin On Jan 7, 3:58 pm, sathya subbiah

[android-developers] Reg: Help required to make a text views to marquee always

2009-12-17 Thread sathya subbiah
Hi, I am trying to draw a text view which always scroll though it does not have focus in it. But the text view does not support the same. Have any one tried such thing? Pls let me know if any thing can be done for the same. Thanks Regards, Sathya -- You received this message because you are

[android-developers] Reg: Animation at same time in a service and an activity causes flicker

2009-12-12 Thread sathya subbiah
Hi, I am having a service class and a activty. If I try to animation in both class at the same time, the animation is not proper. It flickers. Can any one let me know if two animations cannot be done on the display at the same time. Will it affect the performance?. Thanks Regards, Sathya --

Re: [android-developers] Save ListView items for next time

2009-12-11 Thread sathya subbiah
Try using a data base for storing the data and update the list from the database table. On Fri, Dec 11, 2009 at 1:39 AM, Abhi abhishek.r.sha...@gmail.com wrote: Hi, My problem sounds pretty easy to solve... not getting any right direction. My app starts with a blank listview with a Menu

Re: [android-developers] Invalidate()?...

2009-12-03 Thread sathya subbiah
Invalidate is used for updating the View display. Its like refreshing the view. Rgs, Sathya On Thu, Dec 3, 2009 at 5:32 AM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi, What is the use of Invalidate() in android?... Any one know about these?... Thanks in advance -- Thanks

Re: [android-developers] Re: How to call onDraw() in Timer?..

2009-12-03 Thread sathya subbiah
invalidate does not work in timer class as it is a seperate thread. Post an event to handler and invalidate. On Thu, Dec 3, 2009 at 8:47 AM, manoj manojkumar.m...@gmail.com wrote: just call the invalidate()/ postInvalidate() in the timer class. The invalidate()/postinvalidate() will call

Re: [android-developers] Importing in aidl file

2009-12-02 Thread sathya subbiah
Think you need to add the aidl path your make file and have to include in your file import com.xyz.fooPackage.aidlfilename Hope this helps you. On Wed, Dec 2, 2009 at 2:46 AM, yidongsoft long...@gmail.com wrote: I need a aidl file defining: ArrayListFoo getFoo(); I import ArrayList package

Re: [android-developers] Importing in aidl file

2009-12-02 Thread sathya subbiah
If running in eclipse then U needs to add the compiled code (.jar) of the package as resource to your application and then import the aidl. On Wed, Dec 2, 2009 at 3:50 AM, sathya subbiah sathya.subbia...@gmail.comwrote: Think you need to add the aidl path your make file and have to include

Re: [android-developers] setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

2009-12-02 Thread sathya subbiah
Hi, I am also using UBUNTU. I am able to install ADT plugin to my eclipse.Kindly follow the steps provided in the link http://developer.android.com/sdk/1.1_r1/installing.html. Also please check your network proxy settings. On Wed, Dec 2, 2009 at 4:58 AM, Ram rama.mohan...@gmail.com wrote: I

Re: [android-developers] Re: Importing in aidl file

2009-12-02 Thread sathya subbiah
When I add the import java.util.ArrayList; eclipse says couldn't find import for class java.util.ArrayList Really annoying. Also, I don't need external jar file. They are just what I defined in the project. Thank you Sathya! On Dec 2, 4:50 pm, sathya subbiah sathya.subbia...@gmail.com wrote

[android-developers] Re: setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

2009-12-02 Thread sathya subbiah
/eclipse/ in both Http also,it is saying error that failed to fetch site.xml from the site .what should i do. And why i have to check network settings Can you explain in detail. On Dec 2, 3:09 pm, sathya subbiah sathya.subbia...@gmail.com wrote: Hi, I am also using UBUNTU. I am

Re: [android-developers] Regarding menu items in separate rows

2009-12-01 Thread sathya subbiah
Hi Raghu, It will be helpful if you could post what you are trying Also please find the below link for the menu item tutorial. It explains how to display menu item.. http://developerlife.com/tutorials/?p=304 Rgs, Sathya On Tue, Dec 1, 2009 at 3:00 AM, Raghu raghavendrars...@gmail.com

Re: [android-developers] Re: running sqlite3 commands from app?

2009-12-01 Thread sathya subbiah
Hi, Use execSQLhttp://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#execSQL%28java.lang.String%29provided by Android for executing SQL commands. On Tue, Dec 1, 2009 at 7:50 AM, dsukhram duanesukh...@gmail.com wrote: Thanks for your reply. But I have looked at

Re: [android-developers] How to draw a Bitmap Image?....

2009-12-01 Thread sathya subbiah
Hi, Pls find the code snippet below mButtonImage = BitmapFactory.decodeResource(getResources(),com.android.internal.R.drawable.tt_player_icon); canvas.drawBitmap(mButtonImage, BUTTON_X_POS,BUTTON_Y_POS, null); In case of resizing bitmap use matrix. On Wed, Dec 2, 2009 at 12:24 AM,

Re: [android-developers] Re: Where the Database Exists?....

2009-11-30 Thread sathya subbiah
HI Nithin, The data base folder exists in data - data - package_name - databases. To check the file locally while running the application, copy the file to you local filesystem and use sqlite commands in command window to check teh contents. On Tue, Dec 1, 2009 at 1:57 AM, Sasikumar.S

Re: [android-developers] Reg: PHone panics on mentioning X and Y value in Bitmap.createBitmap method

2009-11-26 Thread sathya subbiah
am I missing? Thanks Regards, Sathya On Thu, Nov 26, 2009 at 7:06 AM, Mark Murphy mmur...@commonsware.comwrote: sathya subbiah wrote: Hi, I am trying to mention X and Y values for the Bitmap image, but the phone panics on mentioning the values. Bitmap temp_image

Re: [android-developers] Reg: PHone panics on mentioning X and Y value in Bitmap.createBitmap method

2009-11-26 Thread sathya subbiah
I am running the application in Linux environment. Can you please let me know how I can I check Hierarchy in Linux? Regards, Sathya On Thu, Nov 26, 2009 at 8:11 AM, Mark Murphy mmur...@commonsware.comwrote: sathya subbiah wrote: Hi Mark, Thanks for the reply. Have resolved the issue

[android-developers] Reg: Error in adding View to a ViewGroup

2009-11-25 Thread sathya subbiah
Hi, I am trying to add a view to a viewgroup but I am getting the following error when I run the application Error: E/AndroidRuntime( 570): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. Code: public class

Re: [android-developers] how to fetch datas from database like mysql/sqlite

2009-11-25 Thread sathya subbiah
Hi, Query the database created, which will return a cursor. Use cursor methods to get the required data. Also you can use the below link for further example http://www.devx.com/wireless/Article/40842 Regards, Sathya On Wed, Nov 25, 2009 at 8:38 AM, saify.zeenwala saifyzeenw...@gmail.comwrote:

[android-developers] Reg: PHone panics on mentioning X and Y value in Bitmap.createBitmap method

2009-11-25 Thread sathya subbiah
Hi, I am trying to mention X and Y values for the Bitmap image, but the phone panics on mentioning the values. Bitmap temp_image = Bitmap.createBitmap(mAlbumArtImage,0,0,old_width,old_height,matrix,true); - Phone does not panic with this code as X and Y values are 0 and 0 Panic code: Bitmap