[android-beginners] not able to play video files

2008-11-20 Thread baba vali
hi, i am beginner working over android from 3 weeks i want to play video i am tring to play video files(3gp,mp4) from local files or from a url i am not able to get succed getting mediaplayer error(-38,0) (-1,0) can anyone share the code thanx in advance --~--~-~--~~~

[android-beginners] Re: Camer API sample

2008-11-20 Thread elf
I tried that. It passed the compilation and can run. (I am using the Eclipse plugin). After I click "space bar", I got "Sorry! The applicaiton com.android.camerapitest (xxx) has stopped unexpectedly. please try again. Forced close" Any clue? Thanks again. Elf On Nov 20, 2:10 pm, mathiastck <[E

[android-beginners] help

2008-11-20 Thread androidfan0911
i want to delete some of the preloaded apps such as amazonmp3 etc. help please --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegr

[android-beginners] will the android ever be compatible with mobiles other than the G1?

2008-11-20 Thread Aaditya Bharadwaj
iv been wanting android to run on my winmo6 smar phone htc vox s710 since the initial rumors of a gphone i would like to know when the android could be installed a s an os to various mobile phones, with all the hardware compatible nd stuff.. --~--~-~--~~~---~--~~ Y

[android-beginners] Where to find pictures from camera and how to read them

2008-11-20 Thread awbranch
I want to load the pictures taken from the camera into a Gallery view and allow the user to select one. I have a couple of questions. 1. Where do I find the pictures? Does the camera store them to a standard location? 2. How do I access the pictures? Is there a content provider, or can I read t

[android-beginners] Re: Load onto phone

2008-11-20 Thread chunny
you could use adb install {ur file name}.apk when the phone is connected to your pc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@go

[android-beginners] Re: new raw folder cannot be found by aapt tool

2008-11-20 Thread madcoder
Sorry guys, I figured it out... I didn't realize the it was under import->general Thanks anyways! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to andro

[android-beginners] Re: why my GPS always unavailable?

2008-11-20 Thread Caiwangqin
My G1 Build number is kila-user 1.0 TC4-RC30 116143 On Thu, Nov 20, 2008 at 12:32 PM, McDaniel, William ABEAN < [EMAIL PROTECTED]> wrote: > > What sort of phone do you have jesse? > > -Original Message- > From: android-beginners@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Je

[android-beginners] Re: Not able to locate any database on Emulator

2008-11-20 Thread Vaibhav Gathibandhe
Thanks Mark. I can see the database and tables now. Regards, Vaibhav On Thu, Nov 20, 2008 at 7:03 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > Vaibhav Gathibandhe wrote: > > Is there any way I can see the database and its table (through the > > shell) that my application is creating? > > Your

[android-beginners] Re: Not able to locate any database on Emulator

2008-11-20 Thread Mark Murphy
Vaibhav Gathibandhe wrote: > Is there any way I can see the database and its table (through the > shell) that my application is creating? Your original process was fine. Just don't put the .db extension on the end if the database file doesn't have it. So, you wind up with: sqlite3 data/data/co

[android-beginners] Re: Not able to locate any database on Emulator

2008-11-20 Thread Vaibhav Gathibandhe
HI Marc, Thanks for the response. Is there any way I can see the database and its table (through the shell) that my application is creating? Thanks and Regards, Vaibhav On Thu, Nov 20, 2008 at 6:41 AM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > Vaibhav Gathibandhe wrote: > > Hi all, > > > > I a

[android-beginners] Re: About the screen width and height???

2008-11-20 Thread 心蓝
Thanks for your answer! I'm sorry to express the second question! And the second question like this: if i use the touch to move the screen, how can we get the distance between from and to?? 2008/11/20 Dennis Wilmsmann <[EMAIL PROTECTED]> > > int w = getWindowManager().getDefaultDisplay().ge

[android-beginners] Re: Camer API sample

2008-11-20 Thread mathiastck
It's not too hard to get CameraAPITest.zip working. I'm betting it didn't compile for you? I think in the capture call, the method needs another parameter in 1.0, but you can just pass a null. I think that's for shutter effects. On Nov 19, 11:11 pm, elf <[EMAIL PROTECTED]> wrote: > Hi, > Does

[android-beginners] Re: posibility of self-acting sms/ mms an phone calls

2008-11-20 Thread Mak
that sounds good. i hope you're right, cause this is a good solution to be sure that the application can't do unexpected things. and you don't have the problem that the user must allow every automatic phone call. --~--~-~--~~~---~--~~ You received this message becau

[android-beginners] Re: Why isn't this layout file working?

2008-11-20 Thread Znupi
Hey thanks a lot! Sorry for taking so long, I'm pretty busy with school :-( On Oct 5, 12:10 am, "Zachary Becker" <[EMAIL PROTECTED]> wrote: > You want to use the XML attribute *android:layout_weight="1"* so that the > element will take up as much space as it can. I edited your layout and > posted

[android-beginners] 2D over 3D

2008-11-20 Thread jj
Hi I am porting an application based on the sdk 3.0, and I am having countless problems... now, I am struggling trying to put 2D graphics on top of a 3D scene... After a lot of headache, I managed to create a opengl context, which now works, but when I try to put 2D graphics on top of it, this

[android-beginners] Re: Importing Jars

2008-11-20 Thread jeremy Kalinowksi
Yes I have tried this and it doesn't seem to work. 2008/11/20 Adam Connors <[EMAIL PROTECTED]> > Did you try this ? > > In eclipse: right click -> Build path -> Configure Build Path > > Add jars to "libraries" tab (I think you've already done this) > > Click tab *"Order and Export"* and check all

[android-beginners] Re: Importing Jars

2008-11-20 Thread Adam Connors
Did you try this ? In eclipse: right click -> Build path -> Configure Build Path Add jars to "libraries" tab (I think you've already done this) Click tab *"Order and Export"* and check all the jars that you want to export into the compiled apk file... Then they'll be accessible in the applicatio

[android-beginners] Re: Importing Jars

2008-11-20 Thread jeremy Kalinowksi
I do use Eclipse for development. I have imported them into project and I references them using "Add jars" in the Java Build Path menu for the project Preferences. I "import" as usual in my Java files. Everything checks out in the java file, no errors. Thanks for helping. Sincerely, Jeremy 2008/11

[android-beginners] Re: posibility of self-acting sms/ mms an phone calls

2008-11-20 Thread [EMAIL PROTECTED]
My understanding is that when the user first installs the software, they are prompted to 'allow' the permissions that are requested. So given the 'notepad' application that you have mentioned - if you were a user who had downloaded it, and you were prompted to allow access to both phone and messa

[android-beginners] developing on DEC Alpha with FreeBSD

2008-11-20 Thread [EMAIL PROTECTED]
Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL P

[android-beginners] posibility of self-acting sms/ mms an phone calls

2008-11-20 Thread Mak
Hello everyone. Is there a chance for sending sms/ mms and calling a number automatic and without users authentication. In the AndroidManifest.xml the applications request the permissions like CALL_PHONE and SEND_SMS, but the developer can set this permissions by himself. Don't the application nee

[android-beginners] new raw folder cannot be found by aapt tool

2008-11-20 Thread madcoder
I am trying to use a wav file for my test application in the Eclipse IDE. I created a raw folder under res, then imported the sound file into it. My code: MediaPlayer mp = MediaPlayer.create(Test_Class.this, R.raw.largeSound); The 'R.raw' is reported as an error, "R.raw cannot be resolved" So

[android-beginners] How can i control the monkey tool by any scripting language

2008-11-20 Thread Mohammad Usman
Hi, I need to do stress- testing of my application for that I am running the monkey tool which generate the random hits and touch. I want to program the monkey by any scripting language. Please help if it supported in Android. Regards Usman DISCLAIMER == This e-mail may contain

[android-beginners] Re: OnClick Listener problems...please HELP!

2008-11-20 Thread dove xia
do you change the parameter in setContentView() in onCreate. for example, first activity is setContentView(R.layout.bluetooth_main); and second is setContentView(R.layout.bluetooth_editmydevice); in second activity code onCreate @Override public void onCreate(Bundle icicle) { super.on

[android-beginners] Re: Importing Jars

2008-11-20 Thread Adam Connors
In eclipse: right click -> Build path -> Configure Build Path Add jars to "libraries" tab (I think you've already done this) Click tab "Order and Export" and check all the jars that you want to export into the compiled apk file... Then they'll be accessible in the application when you run in emul

[android-beginners] problem with selcting a item from list

2008-11-20 Thread jayesh jethva
hey all..i m having problem with selecting a item from a listonListItemClic() is not catching this eventis there any other call back function for this? -- Jayesh M. Jethva --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[android-beginners] Re: why my GPS always unavailable?

2008-11-20 Thread McDaniel, William ABEAN
What sort of phone do you have jesse? -Original Message- From: android-beginners@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Cai Sent: Wednesday, November 19, 2008 10:27 PM To: Android Beginners Subject: [android-beginners] why my GPS always unavailable? i try to use

[android-beginners] Re: About the screen width and height???

2008-11-20 Thread Dennis Wilmsmann
int w = getWindowManager().getDefaultDisplay().getWidth(); int h = getWindowManager().getDefaultDisplay().getHeight(); Unfortunately, I have no answer to your second question; I don't understand the question. ;) Dennis On 20 Nov., 08:00, SinFrancis <[EMAIL PROTECTED]> wrote: > I wanna konw the

[android-beginners] Progress Bar before an Activity

2008-11-20 Thread Siva
Hi, I have a requirement where when I click a menu option, I invoke a new activity. This new activity takes a little long time to display. So I want a progress bar for this while. Which is the best way to accomplish this? Thanks. --~--~-~--~~~---~--~~ You received

[android-beginners] Disable the screen lock?

2008-11-20 Thread Markjm223
Is there a way to disable the screen lock while the phone is closed and in the vertical position? Maybe an option I could uncheck that I can't find? Thanks for any help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-beginners] Disappearing Dialer

2008-11-20 Thread Markjm223
Is it possible to keep the dialer visible during an entire phone call? An example would be when I was on a automated service call. You know the situation: Press 1 for this Wait Press 2 for that Wait some more During the wait time the screen shuts down and locks so then I have to hit menu twice

[android-beginners] Re: Not able to locate any database on Emulator

2008-11-20 Thread Mark Murphy
Vaibhav Gathibandhe wrote: > Hi all, > > I am not able to locate any database on Emulator through the shell. > > I have tried with the Notepad application. The application is working > very properly and creating notes, but I can't see the application's > table and database from the shell. > >

[android-beginners] Re: OnClick Listener problems...please HELP!

2008-11-20 Thread [EMAIL PROTECTED]
Have you looked in the logcat at the exception text? On Nov 20, 1:14 am, "Lawrence Samantha" <[EMAIL PROTECTED]> wrote: > how about putting a try catch block and run it on debug... see where it > fails. > > 2008/11/18 Light052 <[EMAIL PROTECTED]> > > > > > > > Hi All, > > > Am very new to the And

[android-beginners] Re: How to let image scaled to appropriate size.

2008-11-20 Thread [EMAIL PROTECTED]
Hi Brian, I am glad that you have solved your problem. With regards to your question about how weight works: The weight property only has an effect if the view is trying to "fill_parent" in a dimension with some other view. Since you have your mysterious weight=300 as a property of a view that

[android-beginners] Re: View.SetBackgroundColor(int color) simple question

2008-11-20 Thread redders6...@googlemail.com
Thanks all, As I had mentioned, I knew it was possible in XML, I was wondering if it was also possible at runtime. I had forgotten that to tell java that a number is in hex you put 0x before it instead of a #. I got confused with the xml. On Nov 20, 1:14 am, "心蓝" <[EMAIL PROTECTED]> wrote: > Yo

[android-beginners] Not able to locate any database on Emulator

2008-11-20 Thread Vaibhav Gathibandhe
Hi all, I am not able to locate any database on Emulator through the shell. I have tried with the Notepad application. The application is working very properly and creating notes, but I can't see the application's table and database from the shell. # sqlite3 data/data/com.android.demo.notepad2/d