[android-developers] Problem with Screen Orientation

2010-03-04 Thread Nithin
When Changing the screen orientation from portrait to landscape, blank screen is coming. Nothing is drawing. I am created some views in java(not in xml), add to the layout and shown, but when orientation changes nothing is drawing, blank screen is coming. Any Idea please.. Nithin -- You

[android-developers] Re: Problem with Screen Orientation

2010-03-04 Thread Nithin
Thanks grace, when i did android:configChanges=keyboardHidden| orientation , all is fine... On Mar 5, 11:14 am, grace grace.a...@wipro.com wrote: ideally it shud be drawing.. but may take some time to draw the view. On Mar 5, 10:31 am, Nithin nithin.war...@gmail.com wrote: When Changing

[android-developers] Re: How to do animation when click on a bitmap

2010-02-24 Thread Nithin
to display the drawable). Then create a thread and call animationDrawable.start() Hope this helps... Nithin On Feb 25, 9:34 am, CMF manf...@gmail.com wrote: I have bitmap displayed on the top of the screen when the app is started up. When clicking on the bitmap, the image should move to the bottom

[android-developers] Android SMS Application Issue..!!!!(Port Number)

2010-02-19 Thread nithin malikarjuna
Hello Messaging APP: Is it possible to use port numbers(to Send SMS) in Android App like we use in J2ME. So that only those App which have the same Port Number can listen. Problem Faced: There is an Application X in Both Users A B. When we tried sending SMS from A to B

[android-developers] Re: Particular Activity Finish

2010-02-11 Thread Nithin
1. use startActivityForResult() and in sample2 call finish() then in sample1-activityForResult() call finish() or 2. use startActivity() and in sample2 intent, assign some boolean value and pass to sample1, get the boolean value and acoording to that call finish() in sample1.. Nithin On Feb 11

[android-developers] Re: Alert Dialog

2010-02-11 Thread Nithin
First create a dialog, with no header requestWindowFeature(Window.FEATURE_NO_TITLE) Then create the layout in whichever way you want and add the layout to dialog addContentView() On Feb 11, 4:36 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, Pls see the below link tell how to create a

[android-developers] Re: Downloading images in ListView

2010-01-19 Thread Nithin
AFAIK, no API like that. You need to download as a inputstream, convert to bitmap, set the bitmap to imageview using the API setImageBitmap() to the imageView. Nithin On Jan 19, 3:47 pm, Namrata puranik.namr...@gmail.com wrote: Hi, I am using ListView to show 1 TextView and 1 ImageView. I

[android-developers] Re: Downloading images in ListView

2010-01-19 Thread Nithin
Just now found one API setImageURI() for ImageView. You can try this too.. setImageURI(Uri.parse(http://abc.com;)); Nithin On Jan 19, 3:59 pm, Nithin nithin.war...@gmail.com wrote: AFAIK, no API like that. You need to download as a inputstream, convert to bitmap,  set the bitmap to imageview

[android-developers] Re: how can i make any service running when the phone is switched on just after the booting.

2010-01-18 Thread Nithin
Create a receiver like this in manifest and in receiver, start the service receiver android:name=.MyReceiver intent-filter action android:name=android.intent.ACTION_BOOT_COMPLETED / /intent-filter /receiver Nithin On Jan 18, 2:00 pm, Manoj linkex.ma

[android-developers] Re: Using Bundle in onPause()

2010-01-13 Thread Nithin
You can use bundle in onPause(). onPause() will call all the time, whenever the activity lose focus, or when the activity is invisble and can restore in onResume() as well. Nithin On Jan 13, 2:28 pm, Android Developer kavithasuni...@gmail.com wrote: Hi, Is it possible to use bundle and save

[android-developers] Link for the code of android home screen

2010-01-12 Thread Nithin
Can anybody give the link for source code of android home screen page. I searched, but can't find any... Thanks Nithin -- 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

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

2010-01-07 Thread Nithin
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 sathya.subbia...@gmail.com wrote: Hi, I am trying to get address from Longitude and latitude using

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

2010-01-07 Thread Nithin
=android.permission.ACCESS_COARSE_LOCATION/ check this, http://code.google.com/p/locationfinder/downloads/list but this is for SDK 1.1... Anyway, you can have a look at it. Nithin On Jan 7, 6:22 pm, sathya subbiah sathya.subbia...@gmail.com wrote: Hi Nithin, Thanks for the reply. The Lat

[android-developers] Menu always Displayable

2010-01-05 Thread Nithin
running? Then I put openOptionsMenu() in onResume(), still its throwing exception. Any idea how to make menu displayable always. Nithin -- 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

[android-developers] Re: Menu always Displayable

2010-01-05 Thread Nithin
...@fuligin.com wrote: I'll second that.  Its actually easier than you think. On Tue, Jan 5, 2010 at 9:12 AM, Guna guna.andr...@gmail.com wrote: Nithin, If you want to display Menu always means, just design your own layout same like menu and use that.. Guna -Original Message

[android-developers] Re: Problem in Layout

2009-12-24 Thread Nithin
First of all, sorry for my language.. Thanks jean for your reply. Somehow solved the issue. I gave proper weight to the 3 layouts and now displaying all 3. Only the middle layout is scrolling, other 2 are fixed and displaying. Nithin On Dec 23, 3:30 am, jean-guys jean...@gmail.com wrote

[android-developers] Re: Which approach is better?

2009-12-23 Thread Nithin
Use ViewStub. Layout of viewStub is your layout containing 3 buttons. So, whenever you need the buttons, just inflate the viewStub. Nithin On Dec 23, 3:01 pm, Samuh samuh.va...@gmail.com wrote: In my application I have three buttons that are to be part of each and every activity. These button

[android-developers] Re: onActivityResult is called immediately after startActivityForResult

2009-12-23 Thread Nithin
This may happen because, in onCreate() on subActivity, are you putting any finish() call. if (data.equals(null)) { alert(returned null); } You can't check like this. You can check in this way, if(data == null); Nithin On Dec 23, 6:35 pm, ryan ryan.yoos...@gmail.com wrote: Hello, Im

[android-developers] Problem in Layout

2009-12-22 Thread Nithin
, not in xml. Any suggestions is much appreciated. Nithin -- 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

[android-developers] Re: SQlite Db problems

2009-12-16 Thread Nithin
Hi, If you are using images from the resource, just store the ID or use blob.. On Dec 16, 3:48 pm, MPS bamas2...@gmail.com wrote: hai developers,        i want to know  how to store the images in SQLite database in android.and also how to retrieve  it.  anyone give the samplecode or any URL

[android-developers] Re: Two selectable items in each list Item in listView.

2009-12-16 Thread Nithin
Hi Vijay, check this, http://www.androidsnippets.org/snippets/125/ in this , they are using textView and ImageView, else use button and the text as you require. I feel they made it complex. You can make it simpler as you wish. You can take the core from it. On Dec 16, 11:58 pm, vijay bhushan

[android-developers] How to do Both horizontal and vertical scrolling on a screen

2009-12-14 Thread Nithin
Hi, Is it possible to put a scrollView(vertical scroll view) inside HorizontalScrollview, so that, I want my screen to scroll both horizontally and vertically Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: restricting edittext control's max chars

2009-12-11 Thread Nithin
try setFilters().. Thanks On Dec 11, 10:28 am, Jags jag...@gmail.com wrote: nobody has tried this before ? On Nov 26, 9:39 pm, Jags jag...@gmail.com wrote: I need to restrict edittext's max chars to 255, how can i do that in layout or functions ? regardsJagat -- You received this

[android-developers] Re: restricting edittext control's max chars

2009-12-11 Thread Nithin
check this, http://smartandroidians.blogspot.com/2009/11/creating-edittext-programmatically-in.html On Dec 11, 2:16 pm, Nithin nithin.war...@gmail.com wrote: try setFilters().. Thanks On Dec 11, 10:28 am, Jags jag...@gmail.com wrote: nobody has tried this before ? On Nov 26, 9:39 pm

[android-developers] Re: awakenScrollBars() not showing scrollBar in custom View

2009-12-11 Thread Nithin
the various compute*() methods, for instance computeVerticalScrollRange(). The javadocs explains what these methods are for. On Wed, Dec 2, 2009 at 4:04 AM, Nithin nithin.war...@gmail.com wrote: Hi, I have a custom view. I am scrolling the view vertically using scrollTo (int, int

[android-developers] Re: How to dynamically apply themes in Android

2009-12-06 Thread Nithin
kaul kirti.k...@wipro.com wrote: Thanks,Have u tried it?I mean are you able to change the theme on runtime?I mean dynamically in the emulator? On Dec 4, 6:06 pm, Nithin nithin.war...@gmail.com wrote: Hi, We candynamicallyset using setTheme(). The constant you need to put

[android-developers] Re: How to dynamically apply themes in Android

2009-12-04 Thread Nithin
Hi, We can dynamically set using setTheme(). The constant you need to put is android.R.style.Theme_X Thanks On Dec 4, 5:24 pm, kirti kaul kirti.k...@wipro.com wrote: Hi, My query is regarding on whether we can apply dynamically themes in android,like what we do with our phones in which

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

2009-12-03 Thread Nithin
Hi, try postInvalidate() from Timer. Thanks On Dec 3, 6:46 pm, skink psk...@gmail.com wrote: On Dec 3, 2:38 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, I need, I'm using a class extends with view. I'm using timer in that class. I'm using onTouchEvent() also. I

[android-developers] awakenScrollBars() not showing scrollBar in custom View

2009-12-02 Thread Nithin
Hi, I have a custom view. I am scrolling the view vertically using scrollTo (int, int). But the scrollbar is not showing when scrolling. I tried awakenScrollBars(). But its not drawing the scrollbar. I also put setVerticalScrollBarEnabled(true). Whether I am missing something here ? Thanks --

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

2009-11-30 Thread Nithin
Hi, Sqlite database is stored in data-data-package name-databases Thanks On Dec 1, 11:16 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, When we are creating a databse in android through sqlite. where it is saving. How can we find the database file?... any one know about these?...

[android-developers] Re: Https client in Android

2009-11-29 Thread Nithin
Hi, I also want to know whether Android support Https. Thanks On Nov 30, 9:20 am, JITU meet2...@gmail.com wrote: Hi All, Is android supports https ? Objective: Sending a xml file over https to a web server. The GET and POST is working fine with HTTP, but i don't have any idea regarding

[android-developers] Re: Intents for google maps

2009-11-29 Thread Nithin
Hi Sreekanth, You need to get the google map API key and launch your application with Google API 4 from AVD manager. The procedure for getting API key is, http://groups.google.com/group/android-developers/browse_thread/thread/38545a723378005f/7cfc6ca3237bf348 Thanks On Nov 29, 11:53 pm,

[android-developers] Re: View objects lose onclick listeners when screen orientation changes

2009-11-29 Thread Nithin
Hi Joey, Use saveInstanceState()and restoreInstanceState() to save and restore the View settings. When the screen orientation changes, Activity will call saveInsatnceState() and can restore the saved properties in restoreInstanceState(). Thanks On Nov 30, 7:30 am, Joey Carson

[android-developers] Re: layout_marginLeft programmatically

2009-11-25 Thread Nithin
Hi Jagat, Use setMargins() in the LayoutParams, use android.widget.LinearLayout.LayoutParams. Dont use this class, android.view.ViewGroup.LayoutParams; I use latter one and blown away my time. In the latter one, setMargins() is not there. I dont want anybody else to do the same. Use any layout,

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

2009-11-24 Thread Nithin
hi Shiva, try using rawQuery().. Thanks On Nov 24, 5:05 pm, siva siva80san...@gmail.com wrote: Hi -- 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

[android-developers] Re: Arbitrary positioning icon on a View

2009-11-23 Thread Nithin
Hi Eric, Try offsetLeftAndRight() and offsetTopAndBottom() on the imageView, to position it accordingly in the layout. But it is temporary only. Both these offset will reset in the next layout pass. Thanks On Nov 24, 1:53 am, Eric eden...@gmail.com wrote: Hey all, I'm trying to figure out

[android-developers] Re: button.setheight not working ?

2009-11-21 Thread Nithin
Hi, I am using android 1.6. In that , its working fine, but setHeight() and setWidth() are pretty straight forward, nothing complex in that. You are creating button in code right ?. Thanks On Nov 21, 3:00 pm, Jags jag...@gmail.com wrote: Hi all, Can anybody please confirm, that

[android-developers] Re: How to fetch Mobile Number

2009-11-21 Thread Nithin
Hi Nishant, Just try getLine1Number() in the TelephonyManager. It may help Thanks Nithin On Nov 21, 11:57 am, Nishant nish...@saltriver.com wrote: Hi, Is it possible to fetch Owner Mobile number. I have got the operator name but not able to fetch the Mobile Number. Which intent

[android-developers] Re: Send message from Android emulator to web

2009-11-19 Thread Nithin
Hi, HttpUrlConnection is for just to manage HTTP connection. For sending data to server , use HttpClient, HttpPost, HttpEntity etc. I will give a very brief idea about this. DefaultHttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(); post.setEntity(httpEntity);

[android-developers] How to send e-mail without user input

2009-11-19 Thread Nithin
Hi, Shall we can send email without user input. Means, I want to send e- mail every day at 6AM. Thanks Nithin -- 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

[android-developers] Re: Problem in setMargins() and textview

2009-11-18 Thread Nithin
any idea On Nov 18, 12:23 pm, Nithin nithin.war...@gmail.com wrote: Padding can't do. I want to implement margin, itself. On Nov 18, 12:09 pm, GPU gopuraj...@gmail.com wrote: use the padding On Nov 18, 10:20 am, Nithin nithin.war...@gmail.com wrote: Hi, I tried in this way

[android-developers] Re: Problem in setMargins() and textview

2009-11-18 Thread Nithin
... On Nov 18, 3:10 pm, Nithin nithin.war...@gmail.com wrote: any idea On Nov 18, 12:23 pm, Nithin nithin.war...@gmail.com wrote: Padding can't do. I want to implement margin, itself. On Nov 18, 12:09 pm, GPU gopuraj...@gmail.com wrote: use the padding On Nov 18, 10:20 am, Nithin

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Nithin
Hi, u try like this.. Point p = new Point(); _mapView.getProjection().toPixels(_gp, p); Then, in canvas.drawBitmap(), try like this... canvas.drawBitmap(bmp, p.x, p.y, null); Thanks Nithin On Nov 18, 6:50 pm, Søren sorni...@fooz.dk wrote: I think I'm getting there, but it seems like my

[android-developers] How to put Margin for widgets

2009-11-18 Thread Nithin
Any idea, how to put margin for widgets... setPadding() wont work in my case. I want the entire widget to move, unlike setPadding. In setPadding(), only contents will move within the widget. Thanks On Nov 18, 3:26 pm, Nithin nithin.war...@gmail.com wrote: Hi, now, I am trying in this, still

[android-developers] Re: How to put Margin for widgets

2009-11-18 Thread Nithin
); setContentView(layout); Thanks On Nov 19, 10:42 am, Nithin nithin.war...@gmail.com wrote: Any idea, how to put margin for widgets... setPadding() wont work in my case. I want the entire widget to move, unlike setPadding. In setPadding(), only contents will move within the widget

[android-developers] Problem in setMargins() and textview

2009-11-17 Thread Nithin
Hi, I created a textview and also MarginlayoutParams. Then i put setMargin for the MarginLayoutParams and inserted that to textview using tv.setLayoutparams(), but its not working. The code is, MarginLayoutParams compParams = new MarginLayoutParams (MarginLayoutParams.WRAP_CONTENT,

[android-developers] Re: Problem in setMargins() and textview

2009-11-17 Thread Nithin
anybody know this.. I googled alot, but cant get the exact thing.. Thanks On Nov 17, 6:45 pm, Nithin nithin.war...@gmail.com wrote: Hi, I created a textview and also MarginlayoutParams. Then i put setMargin for the MarginLayoutParams and inserted that to textview using tv.setLayoutparams

[android-developers] Re: Problem in setMargins() and textview

2009-11-17 Thread Nithin
; compParams.rightMargin=0; //compParams.setMargins(100, 100, 0, 0); TextView tv = new TextView(this) tv.setLayoutParams(compParams); setContentView(tv); any idea please.. Thanks On Nov 17, 7:58 pm, Nithin nithin.war...@gmail.com wrote: anybody know this.. I googled alot, but cant get the exact thing

[android-developers] Re: Problem in setMargins() and textview

2009-11-17 Thread Nithin
Padding can't do. I want to implement margin, itself. On Nov 18, 12:09 pm, GPU gopuraj...@gmail.com wrote: use the padding On Nov 18, 10:20 am, Nithin nithin.war...@gmail.com wrote: Hi, I tried in this way too, still no success MarginLayoutParams compParams = new MarginLayoutParams

[android-developers] Bitmap and editText in onDraw()

2009-11-15 Thread Nithin
Hi, I have a class and extends View . Now we are in onDraw() method. First i draw a bitmap, then under that, I want to put an editText. Shall we can do this ?? if yes, please explain ?? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: offsetLeftAndRight() not working

2009-11-12 Thread Nithin
After a layout means, after attaching the view to layout or after setContentView()... On Nov 12, 12:58 pm, Nithin nithin.war...@gmail.com wrote: Layout pass means... I dont know what layout pass means.. where i have to put the offsetLeftAndRight()... On Nov 12, 12:54 pm, Romain Guy romain

[android-developers] Re: offsetLeftAndRight() not working

2009-11-12 Thread Nithin
be used only for moving a view temporarily. If you want to define the placement of the view for its lifetime, then you can specify padding or margin in the layout's xml file. R On Nov 12, 12:58 pm, Nithin nithin.war...@gmail.com wrote: Layout pass means... I dont know what layout pass means

[android-developers] offsetLeftAndRight() not working

2009-11-11 Thread Nithin
); but the textview is not moving either horizontally or vertically.. Any idea please.. Thanks Nithin -- 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

[android-developers] Re: offsetLeftAndRight() not working

2009-11-11 Thread Nithin
, 2009 at 11:34 PM, Nithin nithin.war...@gmail.com wrote: Hi, I created textview in java and trying  offsetLeftAndRight(int), but the textview is not moving at all. I am using linear layout. the code is, layout = new LinearLayout(this); layout.setOrientation(LinearLayout.VERTICAL

[android-developers] Re: offsetLeftAndRight() not working

2009-11-11 Thread Nithin
Layout pass means... I dont know what layout pass means.. where i have to put the offsetLeftAndRight()... On Nov 12, 12:54 pm, Romain Guy romain...@google.com wrote: Because like I said, it has to happen after the layout pass. On Wed, Nov 11, 2009 at 11:52 PM, Nithin nithin.war...@gmail.com

[android-developers] Map not displaying in 1.6

2009-11-10 Thread Nithin
exiting due to uncaught exception 11-10 15:31:00.295: ERROR/AndroidRuntime(1587): java.lang.NoClassDefFoundError: com.nithin.ViewMap 11-10 15:31:00.295: ERROR/AndroidRuntime(1587): Caused by: java.lang.IllegalAccessError: cross-loader access from pre-verified class Thanks Nithin -- You received

[android-developers] Re: Map not displaying in 1.6

2009-11-10 Thread Nithin
Thanks Neilz, for thw quick reply... i solved now.. the problem was, i added, external map.jar and google api 4 , so 2 references... now displaying properly... Thanks Nithin On Nov 10, 3:20 pm, Neilz neilhorn...@googlemail.com wrote: This happened to me once, and it was because I had

[android-developers] Re: ListActivity in Tab crashes

2009-10-26 Thread Nithin
Hi kevin, check this link, this might help, http://groups.google.com/group/android-developers/browse_thread/thread/d91239d49f722851 In manifest file, are you giving correct action and Category for the ContactListActivity... On Oct 27, 7:00 am, Kevin Bailey ke-andr...@retriever.dyndns.org

[android-developers] Re: How can i bring an activity to foreground from background manually?

2009-10-20 Thread Nithin
Hi Shiva, try this, may help... whichever activity, that you want to put in the foreground, use an Intent, by setting this flag... intent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT); Thanks Nithin On Oct 20, 3:20 pm, pink 444 pnk...@gmail.com wrote:    What i want to implement is i

[android-developers] How to implement JKalman filter on sensor values

2009-10-12 Thread Nithin
Hi all, Anybody know how to implment JKalman filter in the sensor values. If antbody have any link or sample code, please share... Thanks Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to register for multiple sensors

2009-10-10 Thread Nithin
With one sensor, we can register only one sensor, so for multiple register, multiple sensor |Manager is required. On Oct 10, 4:42 pm, DD daviddiaofri...@gmail.com wrote: Hi, A simple question: How do I register for multiple sensors? I just switched from registerListener(SensorListener

[android-developers] Re: Geocoder.getFromLocationName() ignores bounding box

2009-10-08 Thread Nithin
hi Walles, geocoder.getFromLocationName(locationName, 5); will return a list of values and here, 5 is the no. of results(values) we want. So according to that we can get the corresponding latitude and longitude.. Thanks Nithin here, 5 is the total number of results, that we want, On Oct 8, 11

[android-developers] Re: apikey for MapView

2009-10-08 Thread Nithin
I hope now you now, how to get the map API key, if you didn't you can check this link, http://groups.google.com/group/android-developers/browse_thread/thread/38545a723378005f/7cfc6ca3237bf348?lnk=gstq=kesav#7cfc6ca3237bf348 Thanks Nithin On Sep 25, 11:36 pm, jotobjects jotobje...@gmail.com

[android-developers] Re: Drawing

2009-10-07 Thread Nithin
Hi Sonic, you can use canvas.drawCircle() and can draw in onDraw() method. On Oct 7, 2:15 pm, Sonic nitroussi...@googlemail.com wrote: Hi, just a simple question which i'm unsure how would be implemented. Say you have an int called X which is constantly changing, X could equal 0, 10, 20,

[android-developers] Re: Draw Path on Map

2009-10-07 Thread Nithin
Hi Turim, use Overlay class and override the method onDraw() in that onDraw() have the canvas, then its quite straight forward right ?? You can use canvas.drawLine() to draw line or if you want to put any image, then use canvas.drawBitmap() ... On Oct 8, 1:50 am, Turim

[android-developers] Re: Draw Path on Map

2009-10-07 Thread Nithin
Turim, its draw() and not onDraw()... you can check this... http://code.google.com/p/locationfinder/downloads/detail?name=MapSamp.rar#makechanges On Oct 8, 9:50 am, Nithin nithin.war...@gmail.com wrote: Hi Turim, use Overlay class and override the method onDraw() in that onDraw() have

[android-developers] Re: Problem in ListItem...

2009-10-06 Thread Nithin
String item = (String)parent.getItemAtPosition(position); this will do.. On Oct 6, 3:30 pm, ragavendran s sraghav.ra...@gmail.com wrote:   can anybody tell how to retrieve the Listitem values from a list view   For example.i m having 3 listitems such as 1.India                      

[android-developers] Re: How to create a View from an external XML source?

2009-09-14 Thread Nithin
Argy, One way is by, LayoutInflater inflater = (LayoutInflater) getSystemService (Context.LAYOUT_INFLATER_SERVICE); View view = inflater.inflate(R.layout.main, true); then , in setContentView(), you can use this view... Thanks Nithin On Sep 15, 6:37 am, WoodManEXP woodman...@gmail.com

[android-developers] Re: How to display an animated GIF file

2009-09-02 Thread Nithin
Thanks for all reply. I will definetly, going to try the javascript one.. Thanks Nithin On Sep 1, 9:15 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: you can do it via css and js if you have a film-strip style set of image frames On Sep 1, 9:55 am, Maps.Huge.Info (Maps API Guru) cor

[android-developers] How to display an animated GIF file

2009-09-01 Thread Nithin
Hi, I just want to display an animated GIF file. I tried and its static only, its not animating. There are other ways like frame by frame or using animation classes. But I want to know, whether android supports animated GIF image. Thanks Nithin

[android-developers] Re: text view focus

2009-08-27 Thread Nithin
Use setFocusable(true).. On Aug 27, 1:49 pm, Sasi Kumar sasikumar.it1...@gmail.com wrote: how can we give text view focus? Tell breifly with example Thanks in Advance --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Is it possible for a View having more than one Canvas

2009-08-26 Thread Nithin
co-ordinates. Open for all suggestions Thanks Nithin --~--~-~--~~~---~--~~ 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

[android-developers] Re: Is it possible for a View having more than one Canvas

2009-08-26 Thread Nithin
Thanks a lot Andrei, Yesterday, almost my one hour lost thinking about this, now I solved. Once again, Thanks for your input. Thanks Nithin On Aug 26, 5:45 pm, Andrei Bucur andrei.bu...@gmail.com wrote: Use save/restore with MATRIX_SAVE_FLAG flag. Before rotating the canvas you save

[android-developers] Problem in adb.exe

2009-08-04 Thread Nithin
dialog box will come saying adb.exe has encountered a problem and needs to close. We are sorry for the inconvenience. Because of this, I can't run any project, please help Thanks Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Problem in adb.exe

2009-08-04 Thread Nithin
Solved, removed the adb.exe from tools and put another adb.exe from earlier (1.5_r1) sdk. Thanks Nithin On Aug 5, 8:17 am, Nithin nithin.war...@gmail.com wrote: Hi, When I am running any android project, emuulator will come, but after that in console, its saying [DeviceMonitor]Adb

[android-developers] Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, I am working on camera preview. I want to change the standin animation and want to put my own animation, any idea, how this can be done ?? Thanks Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, Now, in camera preview, a square is moving, I just want to remove the square and want to put my own image, How to achieve this, any idea ?? Thanks Nithin On Jul 28, 12:46 pm, Nithin nithin.war...@gmail.com wrote: Hi, I am working oncamerapreview. I want to change the standin animation

[android-developers] Re: Changing standin animation in camera preview

2009-07-28 Thread Nithin
Hi, Is it possible to remove that standin animation and to put our own ?? Sombody please help.. On Jul 28, 2:24 pm, Nithin nithin.war...@gmail.com wrote: Hi, Now, in camera preview, a square is moving, I just want to remove the square and want to put my own image, How to achieve this, any

[android-developers] Re: how to close activity?

2009-06-23 Thread Nithin Varamballi
Hi... When you are moving 1-2-3.. give finish() after start activity ex:Intent intent = new Intent(java1.this, java2.class); startActivity(intent); finish(); --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: how to close activity?

2009-06-23 Thread Nithin Varamballi
Hi... When you are moving 3-1.. give finish() after start activity ex:Intent intent = new Intent(java3.this, java1.class); startActivity(intent); finish(); When finish() called here java3 class will be destroy. Thank You Nithin N V

[android-developers] Re: Image display from a url

2009-06-19 Thread Nithin Varamballi
(); /* Apply the Bitmap to the ImageView that will be returned. */ } catch (IOException e) { Log.e(DEBUGTAG, Remtoe Image Exception, e); } } Thank You Nithin N V

[android-developers] Re: Video Streaming

2009-06-15 Thread Nithin Varamballi
Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: iPod videos streaming

2009-06-15 Thread Nithin
Hi N V... Its very nice to hear that all iPod videos are streaming... Can you tell me how you did this...? Thank You Rock --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Change sdcard permission

2009-06-13 Thread Nithin Varamballi
or just it will show the file permission of the file... Thank You Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to set an android sdk that I built with eclipse adt plugins

2009-06-11 Thread Nithin Varamballi
Hi... In eclipse menu..- window-- preferences--select android and set the SDK path(where SDK store in u r disk)--- apply--- restart eclipse Thank You N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Looking for Android Developers

2009-06-09 Thread Nithin
Hi, Developers who are looking for android jobs in India can send their profile to cont...@androidindians.com We will get back to you immediately. Thanks Nithin www.androidindians.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: no avd available while

2009-06-09 Thread Nithin Varamballi
HI... First You must create avd through command line... Then it will works, Otherwise it will not works Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: How to debug android framework with eclipse and emulator

2009-06-09 Thread Nithin Varamballi
HI... Use DDMS or see the Logcat.. Logcat contains all informations... Just use logcat Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: load image from the web?

2009-05-25 Thread Nithin Varamballi
); } } Thank You Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: load image from the web?

2009-05-25 Thread Nithin
Hi nithin Thanks... Its works for me Thank You Rock --~--~-~--~~~---~--~~ 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

[android-developers] Re: I need help with my App!!!

2009-05-25 Thread Nithin Varamballi
hi.. Currently i am handling one project I will try to help your project... Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: whats wrong with my EditText to int

2009-05-23 Thread Nithin Varamballi
Hi.. Can you update entire code... Thank You Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: Unable to play youtube videos on SDK 1.5 emulator, but playing well on SDK 1.0 emulator

2009-05-19 Thread Nithin Varamballi
Can you update the source Thank You Nihtin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: Unable to play youtube videos on SDK 1.5 emulator, but playing well on SDK 1.0 emulator

2009-05-19 Thread Nithin Varamballi
applications... Can help mp please Thank You Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: video play error

2009-05-16 Thread Nithin Varamballi
Thanks for reply... But i tried another video i e test.mp4 through sdcard... But it works fine May emulator support all .mp4 files...? Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Install Android on Windows XP

2009-05-16 Thread Nithin Varamballi
disk) 6- Ok After installing i change the older 1.1 SDK path to 1.5 1- windows 2- preferences 3- click android 4- set sdk location from your disk 5- Apply 6- restart eclipse Thank You Nithin N V - Show quoted text - --~--~-~--~~~---~--~~ You received this message

[android-developers] java.lang.VerifyError

2009-05-14 Thread Nithin
Hi, I added a third party jar in my application and tried to run, but its showing, java.lang.VerifyError... What maybe he reason for this issue, please help Thanks Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Alert Text box value read error

2009-05-11 Thread Nithin Varamballi
Thanks for reply Ya.. It works fine Thank You Nithin N V --~--~-~--~~~---~--~~ 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

[android-developers] Re: Video streaming error in SDK 1.5

2009-05-10 Thread Nithin Varamballi
Hi... I tried a video .mp4.. It contains mdat atom... I am streaming though local server... While running on browser it works fine... While running on emulator it displays the message like Cannot play the video.. Can any one Help me...? Thank You Nithin N V

[android-developers] Re: Video streaming error in SDK 1.5

2009-05-08 Thread Nithin N V
Hi Dave... I tried to add mdat atom using Hex editor...Bur When i play the video its give error... Please Can you tell me how can i do the video streaming... Thank You N N --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

<    1   2   3   >