[android-beginners] Error in using push command

2009-01-17 Thread srini amul
Hi,   I am trying to copy the file to the emulator. I used a below command   adb push video.mp4 /sdcard/video.mp4   But its giving a below error   failed to copy video.mp4 to /sdcard/video.mp4: Read only file system   How do i solve this error ? Thanks Regards, P.Sriniamul Add more

[android-beginners] Re: send gps location through Eclipse and be nofified through LocationListener.onLocationChanged

2009-01-17 Thread Christoph N
I solved the issue: It is not exactly about the language, but about the number-format on the system. Go to Control Panel Regional and Language Options and change the Standards and formats dropdown to English (United States). I had used german settings before, so I suppose it is all about the

[android-beginners] Re: Problem in playing a video file

2009-01-17 Thread Mahesh Vaghela
Dave, Thank you very much for replying soon. I understand how to push my mp4 in a sd card and retrive the same. I am a bit curious to know limitation of doing this. 1. sd card may not be an part of all the Android devices. 2. If it is the case, all users may not purchase it as an extra item

[android-beginners] calling_issues

2009-01-17 Thread soumyaranjan
hi there According to the release notes of Android SDK 0.9 release 1 , we can place a call between two emulator instances by dialling the emulator number from another emulator. But when i try this out it flashes a message saying Not Registered On Network. Do we have a solution to this. Any

[android-beginners] Basic Thread Question

2009-01-17 Thread steve_macleod
Hi, I am writing an application to get a grip of basic sprite animation. I have a surfaceCreated method which looks like this: public void surfaceCreated(SurfaceHolder holder) { mPacManThread.setRunning(true); mPacManThread.start(); //this thread

[android-beginners] Re: Moving project between machines

2009-01-17 Thread Odessa Silverberg
Maybe you're using different versions of the SDK on your Linux and Macbook? (i.e. 1.0_r1 on Linux and 1.0_r2 on the new Macbook) On Jan 16, 7:47 pm, Faber Fedor faberfe...@gmail.com wrote: I develop my app on my Linux boxes using Eclipse.  Unfortunately, I have to use my Macbook to move my app

[android-beginners] Re: setText not changeing

2009-01-17 Thread Mark Murphy
Eddie O'Hagan wrote: When I attempt to change the text of the textbox it does not seem to change and I cant figure out why. You only ever calculate the tip once, when the activity is first opened. The tip value at that point ($0.00) is the same as the value you have in your XML as the value of

[android-beginners] P2P Android

2009-01-17 Thread Tez
Hi, I want to establish a P2P connection between 2 android devices. Can it be done? Cheers, Earlence --~--~-~--~~~---~--~~ 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] Re: Moving project between machines

2009-01-17 Thread Faber Fedor
On Sat, Jan 17, 2009 at 7:55 AM, Odessa Silverberg silverberg.ode...@googlemail.com wrote: Maybe you're using different versions of the SDK on your Linux and Macbook? (i.e. 1.0_r1 on Linux and 1.0_r2 on the new Macbook) Nope. Downloaded both at the same time. To get my app to build on the

[android-beginners] Overwriting data in EditTexts

2009-01-17 Thread Faber Fedor
In my app, you can click New to add a new location. Obviously, the New screen has several EditTexts on it. I want to clear the field of the EditText when either a) the user enters the field or b) starts typing but only if the data in the field is new data. Just like it happens in the Contacts

[android-beginners] Question about Java coding good practice - Inner classes

2009-01-17 Thread Juan David Trujillo C.
Hi guys! I have been reading some Java coding good practices and inner classes are an important subject. I know for a fact Inner classes are originally used to handle UI events (button clicks, keyboard type, etc.). I was wondering if variables to handle UI elements (EditText, Buttons,

[android-beginners] I hate layouts

2009-01-17 Thread Faber Fedor
I've got a LinearLayout (which, along with several other LinearLayouts, is wrapped in a RelativeLayout which is wrapped in a ScrollView). The XML is below. I want the editName EditText and the Find Button to completely fill the layout from left to right regardless of the screen rotation. As

[android-beginners] Re: Am I root?

2009-01-17 Thread Samat K Jain
On Friday 16 January 2009 12:48:26 Beni wrote: From about 3 Weeks ago I got a Dev g1 Phone from Google. And as far as I know I should have the Root rights because it's a Developer Phone, right? I do not think the developer phone ships with root enabled... seems like a remarkable bad idea

[android-beginners] Re: setText not changeing

2009-01-17 Thread Eddie O'Hagan
yea thats what I decided to do but when the button is pressed it still will not change the textview. On Jan 17, 8:07 am, Mark Murphy mmur...@commonsware.com wrote: Eddie O'Hagan wrote: When I attempt to change the text of the textbox it does not seem to change and I cant figure out why.

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

2009-01-17 Thread awbranch
I'll answer my own question, maybe it will be useful to someone else. All the pictures are accessible via the android.provider.MediaStore content provider. You can write some code like this to list all the images captured on the SDCard protected void listAllImages() { // List

[android-beginners] Re: Problem in playing a video file

2009-01-17 Thread Dave Sparks
You can call android.os.Environment.getExternalStorageDirectory() to get the path to the external storage device. That will handle the case where recommended external store is no the SD card but some other device. If there is no external storage, you can try saving to your app's private data

[android-beginners] Re: Basic Thread Question

2009-01-17 Thread Dave Sparks
This will put your app's message looper to sleep for 10 seconds, which is probably not what you want. As an alternative, you can send yourself a delayed message, or you can have your animation thread read the system time when it starts up and exit after the 10 seconds has expired. On Jan 17,

[android-beginners] PreferenceManager get returning text, not value

2009-01-17 Thread Tane Piper
Hi there, I'm have written a preference activity for my application, where I want to allow the user to currently set a timeout value for GPS. In my XML I have this in array.xml: ?xml version=1.0 encoding=utf-8? resources string-array name=list_gps_timeout item value=220

[android-beginners] Re: setText not changeing

2009-01-17 Thread Mark Murphy
Eddie O'Hagan wrote: if(myCalcButton.isPressed()) { double billNum = Double.parseDouble(myBillAmt.getText ().toString()); double preNum = Double.parseDouble(myPrecentage.getText ().toString()); myAns.setText(+calcTip(billNum,preNum));

[android-beginners] Re: PreferenceManager get returning text, not value

2009-01-17 Thread Mark Murphy
Tane Piper wrote: Hi there, I'm have written a preference activity for my application, where I want to allow the user to currently set a timeout value for GPS. In my XML I have this in array.xml: ?xml version=1.0 encoding=utf-8? resources string-array name=list_gps_timeout

[android-beginners] Re: setText not changeing

2009-01-17 Thread Eddie O'Hagan
ok thanks ill give that a shot On Jan 17, 9:32 pm, Mark Murphy mmur...@commonsware.com wrote: Eddie O'Hagan wrote: if(myCalcButton.isPressed())         {            double billNum = Double.parseDouble(myBillAmt.getText ().toString());            double preNum =

[android-beginners] Re: setText not changeing

2009-01-17 Thread Eddie O'Hagan
I think I found what u were talking about. myCalcButton.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { double billNum = Double.parseDouble(myBillAmt.getText ().toString());