[android-beginners] MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
ALL, CAN SOME ONE TELL ME HOW TO MAKE THREE CONTROLS IN A SINGLE LINE USING LAYOUT? I WANT TO SHOW AN IMABE, A BUTTON AND TEXT LABEL IN A SINGLE LINE. I TRIED THAT ON LAYOUT IN ECLIPSE. BUT IT ACCEPTS ONLY ONE CONTROL FOR ONE LINE, IF ADD NEXT CONTROL IT GOES TO NEXT LINE(ROW). I WANT TO MAKE

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
On 10/18/09 1:03 AM, Clave Yard wrote: ALL, CAN SOME ONE TELL ME HOW TO MAKE THREE CONTROLS IN A SINGLE LINE USING LAYOUT? I WANT TO SHOW AN IMABE, A BUTTON AND TEXT LABEL IN A SINGLE LINE. I TRIED THAT ON LAYOUT IN ECLIPSE. BUT IT ACCEPTS ONLY ONE CONTROL FOR ONE

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
LE LINE:To: android-beginners@googlegroups.comDate: Sunday, October 18, 2009, 9:03 AM are you using a listview or no? i'll assume no ... yes, to get three views positioned horizontally across the page, you would use a LinearLayout and specify android:orientation="horizontal". On 10/18/09

[android-beginners] Run application at device startup:

2009-10-18 Thread Clave Yard
Hi All, If i want to run my application at device startup immediately, what are things that i need be taken care of. Is there any tutorial or sample or help on this? Clave/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: MULTIPLE CONTROLS IN SINGLE LINE:

2009-10-18 Thread Clave Yard
that. it gives an okay GUI editor for layouts ... so you can try things out quickly and see what looks correct. some things to watch out for are setting weights, setting gravity, and setting layout widths. On 10/18/09 2:39 AM, Clave Yard wrote: Yes. You are right. android:orientation=horizontal

[android-beginners] OnCompletion video notification on MediaController and VideView usage?

2009-10-17 Thread Clave Yard
All, I am playing my video file from sdcard using the following code. private VideoView myVideo;     private MediaController mc; myVideo=(VideoView)findViewById(R.id.VideoView01); myVideo.setVideoPath(filename); mc=new MediaController(this);

[android-beginners] Make VideoView into Center?

2009-10-17 Thread Clave Yard
All, Does anyone know how to make VideoView into center of the device? Is there any chance to do that programmatic ally (or) any other way? I am playing a video file on VideoView. It is showing the video on a bit top postion, instead of as usual in center of the device. When i play the same

[android-beginners] Re: Make VideoView into Center?

2009-10-17 Thread Clave Yard
I RESOLVED IT BY ADDING BELOW LINE IN main.xml file. android:layout_gravity=center thanks. --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: [android-beginners] Make VideoView into Center? To: android-beginners

[android-beginners] UI Related questions.

2009-10-17 Thread Clave Yard
All, 1.) I have a Dialog showing on my application. Right now it is showing in the center of the device. But i want to see that dialog in Top of layout. How to move it? 2.) How to add an image in a Dialog box? thanks. --~--~-~--~~~---~--~~ You

[android-beginners] Re: UI Related questions.

2009-10-17 Thread Clave Yard
My question seems to be not reached forum yet? --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: UI Related questions. To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 9:08 PM All, 1.) I have

[android-beginners] Re: UI Related questions.

2009-10-17 Thread Clave Yard
this? thanks. --- On Sat, 10/17/09, Clave Yard calvetobediffic...@yahoo.com wrote: From: Clave Yard calvetobediffic...@yahoo.com Subject: [android-beginners] Re: UI Related questions. To: android-beginners@googlegroups.com Date: Saturday, October 17, 2009, 9:31 PM My question seems

[android-beginners] UrgentHelp:Play Video file when accelerometer is triggered code error:

2009-10-16 Thread Clave Yard
Hi All, MyTask: I want play a video file in media player or videoview when the device is being shaken(accelerometer triggers). 1. I'm able to get notification whenever accelerometer is triggered on the device using the following code separately. 2. And i'm able to play my video file

[android-beginners] Beginner Android-Java development:

2009-08-13 Thread Clave Yard
hi I am a new-bie for Java development and also Android. But i have well experince on developing other mobile device development such as Windows Mobile, Palm and iPhone. Basically know C,C++ well. Please someone or from Android team advice how should i learn it? Do i need to learn Java basics