[android-beginners] Re: doing something useful in splash

2009-02-10 Thread madcoder
I think the splash screen can be shown (or not shown) using a boolean flag in the method: onNewIntent(Context context) Although I won't be able to test until I get home. :) The problem for me is passing data between the intents. I can pass primitives via bundles, and load data from files for

[android-beginners] Re: MediaScanner

2009-02-10 Thread Rohan Francis
Hi Dave, Thanks for the clarification! Regards, Rohan On Feb 10, 12:55 pm, Dave Sparks davidspa...@android.com wrote: There are 2 ways that the average user is going to add files to the SD card: 1. Remove the SD card from the device, and plug it into a PC or other device to transfer

[android-beginners] how can i upload audio file into res/raw folder

2009-02-10 Thread jaimin
hi. i am new to android and i want devlop a mediaplayer so i want to upload my audio file into my res/raw folder so how can i upload my audio file into res/raw folder in my project . anyone have any suggestion ? plz give me suggestion i need it very badly . thanks. jaimin

[android-beginners] Re: Getting data from a server

2009-02-10 Thread Mark Murphy
shobhit kasliwal wrote: I am new to android and in my application I want to read and update data (text and image) which is stored in a database at the server. How can I do this ? The same ways you would do this in any other environment where the client and the server are connected via the

[android-beginners] Re: doing something useful in splash

2009-02-10 Thread Mark Murphy
madcoder wrote: The problem for me is passing data between the intents. I can pass primitives via bundles, and load data from files for new intents/ activities, but how to just pass a reference to a user defined data type? is that not allowed? It's pretty much not allowed. Mostly because

[android-beginners] Re: packaging to a jar file

2009-02-10 Thread snehal kedar
Mark thanks for your reply. I did create a jar and use it in a different application. i could include the resources in the jar as well but cant access them . gives a resource not found exception at run time. On Tue, Feb 10, 2009 at 4:50 PM, Mark Murphy mmur...@commonsware.comwrote: snehal

[android-beginners] Re: packaging to a jar file

2009-02-10 Thread Mark Murphy
snehal kedar wrote: I did create a jar and use it in a different application. i could include the resources in the jar as well but cant access them . gives a resource not found exception at run time. Resources cannot be packaged in a JAR. They can only be packaged in an APK. Code residing in

[android-beginners] How to deploy application on device

2009-02-10 Thread Anup
Hi: I am new in Android development. I have already tried the simple HelloAndroid example which is avilable in documentation.But i have one problem is that how to deploy the application in the device(cellular phone). I am also crating package of that file, which having .pak extension. But it

[android-beginners] Re: Installing the Eclipse Ganemede Plugin (ADT) for Android

2009-02-10 Thread Sri
Thanks ! On Feb 9, 8:58 am, Greg Corradini gregcorrad...@gmail.com wrote: Sri, Below the numbered section you cite there is a section called Troubleshooting ADT Installation. In this section you can manually download the ADT zip file and manually load it into eclipse (see the directions).

[android-beginners] Re: Installing the Eclipse Ganemede Plugin (ADT) for Android

2009-02-10 Thread Sri
Changing to http worked, Thanks! On Feb 9, 8:59 am, asim riaz asim_develo...@yahoo.com wrote: Sir   change the https to http and it will work   Regards Asim --- On Mon, 9/2/09, Greg Corradini gregcorrad...@gmail.com wrote: From: Greg Corradini gregcorrad...@gmail.com Subject:

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread George
I've tried reading the exif data with os x's 'more info' and EXIF viewer for os x. They both show exif data for photos taken with the native camera app, but don't show anything for any of the photos i take with my own app. I was poking around the source code last night and noticed..

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread George
ExifTool Version Number : 7.67 File Name : road_trip_1.jpg Directory : . File Size : 107 kB File Modification Date/Time : 2009:02:10 13:43:31+00:00 File Type : JPEG MIME Type

[android-beginners] Re: doing something useful in splash

2009-02-10 Thread madcoder
ok, thanks. i'll work on it tonight --~--~-~--~~~---~--~~ 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,

[android-beginners] Re: How to convert base64 to image?

2009-02-10 Thread dilu
I am trying to display the image which is in byte array .How do I write to file and how to access that file to display the image ? On Feb 9, 8:48 pm, Mark Murphy mmur...@commonsware.com wrote: dilu wrote: Hi All, I am getting image from server side as Base64 string in xml form.Now i want to

[android-beginners] Re: Getting data from a server

2009-02-10 Thread shobhit kasliwal
Hi Can you please tell me how can I use RestWebServcie, because I tried to use it before but I got a blank screen so can you please give me any tutorial, that would be really helpful for me. Thanks Regards Shobhit Kasliwal On Tue, Feb 10, 2009 at 5:17 AM, Mark Murphy

[android-beginners] Re: Beer Radar Tutorial

2009-02-10 Thread madcoder
It would also be nice to see different icons on the radar map. For example: A bottle indicates a store where beer can be purchased (and maybe a mixed drink glass for liqueur stores). A glass indicates a pub - a place where you can actually sit down and drink. Also, a small font (text view)

[android-beginners] Re: Records not loading from database in listview

2009-02-10 Thread jwesonga
Any chance I could get some help on this please? On Feb 6, 6:50 pm, jwesonga crazylun...@gmail.com wrote: I've been working on a simple database app on android, I can't seem to get it to work, all I get when I run the emulator is Users list empty, when I check the sqlite database from the adb

[android-beginners] Re: Records not loading from database in listview

2009-02-10 Thread Mark Murphy
Any chance I could get some help on this please? The way to loop through a Cursor is: c.moveToFirst(); while (!c.isAfterLast()) { // do stuff here c.moveToNext(); } (I may be slightly off in my method names, as I am not in front of the SDK docs right now). -- Mark Murphy (a Commons

[android-beginners] Re: how can i upload audio file into res/raw folder

2009-02-10 Thread Dave Sparks
You can't upload your audio file into res/raw. You can place an audio file in the res/raw folder when you compile your code and aapt will compile it into the APK along with the code and other resources. You can then play it by using the MediaPlayer with code roughly like this: MediaPlayer mp =

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread Dave Sparks
As far as I can tell, the only information we pass down through the Camera.java layer to the camera driver is geo-location. All the other EXIF data comes from the driver itself. ImageManager can be used to write additional EXIF data, but I believe that requires a full read/write sequence

[android-beginners] Re: Detect rotation of device

2009-02-10 Thread XXL
one more.. if it is possible... can the rotation be simulated in the programming IDE? --~--~-~--~~~---~--~~ 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] How to layout

2009-02-10 Thread frizzo
Hello, I have 5 buttons. I'd like to layout the 1st 4 buttons starting at the top and going down. I want the last button to be docked to the bottom of the screen. How can I pull off something like that? --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Using bluetooth of native machine

2009-02-10 Thread LaFolle
Hi all, I am writing an application which will be using bluetooth. Can I use laptop's bluetooth device from an emulator? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] Re: Getting data from a server

2009-02-10 Thread LaFolle
This might help : http://code.google.com/android/devel/data/network.html On Feb 10, 10:39 am, shobhit kasliwal shobhit.kasli...@gmail.com wrote: Hi I am new to android and in my application I want to read and update data (text and image) which is stored in a database at the server. How can I

[android-beginners] upgrading sdk

2009-02-10 Thread schwiz
Hi I am new to programming and even more new to java. In the upgrading the sdk instructions on developers.android.com they say to Open a console/terminal and navigate to the /tools directory of your new SDK. Launch the emulator with the -wipe-data option. Can someone please explain to me how

[android-beginners] Re: Will the android dev 1 phone update ota?

2009-02-10 Thread Joe_Booboo
Hi, My feeling is that the Android Dev 1 will not get an OTA (over the air) update, simply because you need to have a T-mobile G1 phone. I do hope that Google will give instructions on how to update the Android for the Dev 1 phone Rgds On Jan 17, 3:51 pm, Anton Melser melser.an...@gmail.com

[android-beginners] Fullscreen webview - why is that

2009-02-10 Thread h...@nnes
Dear list, I'm currently developing a G1 only webservice. Its designed for HVGA, so there is no need for zooming. In fact I'd even fancy to inactivate zooming in Chrome for this service. I do not think that is possible, is it? So I made the decision of jumping into Android development and

[android-beginners] Trying to Build Term.apk

2009-02-10 Thread CrossBow
Warning: Rant. I am far from a pro developer, but I have participated in Open Source development in the past, and with a book on my lap, and 2 monitors full of quick reference guides and web forums, I can usually get things to compile. I have also done my own version of Hello World as well as a

[android-beginners] Re: MediaScanner

2009-02-10 Thread mathiastck
Or download files to the card over the air. On Feb 9, 11:55 pm, Dave Sparks davidspa...@android.com wrote: There are 2 ways that the average user is going to add files to the SD card: 1. Remove the SD card from the device, and plug it into a PC or other device to transfer files. 2. UMS

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread George
Ah ok. Surely i should be getting exif data written then, even without the geo exif data? Could it be something to do with the way im saving the image? I can't think of much else! Unless is the developer g1 phone im using to test this on? Bitmap bm =

[android-beginners] Re: Dev Phone 1 - GPS and Wifi issues

2009-02-10 Thread murray
I am having similar issues .. I have not gotten around to building my Ubuntu based dev machine... as I have been on the road... Have you found a way around this? On Feb 3, 5:26 am, heisterkamp.cars...@googlemail.com heisterkamp.cars...@googlemail.com wrote: Hi, just got my Dev Phone and

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread George
Ah ok. Surely i should be getting exif data written then, even without the geo exif data? Could it be something to do with the way im saving the image? I can't think of much else! Unless is the developer g1 phone im using to test this on? Bitmap bm =

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread George
Ah ok. Surely i should be getting exif data written then, even without the geo exif data? Could it be something to do with the way im saving the image? I can't think of much else! Unless is the developer g1 phone im using to test this on? Bitmap bm =

[android-beginners] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Justin (Google Employee)
We do know of an issue where the Windows default compressed folder expander won't properly expand the zip file. Testing indicates that other zip utilities can expand the archive without issue. We're updating the zip archive so that its compatible with the Windows compressed folder viewer.

[android-beginners] Re: Trying to Build Term.apk

2009-02-10 Thread Mark Murphy
First, rant aside, we really do welcome you to the world of Android. CrossBow wrote: My first few feeble attempts to do anything with the Android source have been even more frustrating. Issues related to the Android source code are probably best asked on lists related to the Android source

[android-beginners] Re: How to layout

2009-02-10 Thread frizzo
Never mind, figured it out - RelativeLayout. On Feb 10, 10:08 am, frizzo rg...@vbrad.com wrote: Hello, I have 5 buttons.  I'd like to layout the 1st 4 buttons starting at the top and going down. I want the last button to be docked to the bottom of the screen. How can I pull off something

[android-beginners] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Brad Gies
Just in case it helps. I downloaded it yesterday, installed it, and have had no issues whatsoever. I'm running Windows XP RPO, and I did use the Windows default compressed folder utility. Sincerely, Brad Gies - Brad Gies

[android-beginners] Re: How to indicate a carriage return in strings?

2009-02-10 Thread frizzo
Figured it out. \n Question of inconsistency though, why does it recognize HTML constructs for pretty much everything else, but uses \n for carriage returns? On Feb 9, 12:45 am, frizzo rg...@vbrad.com wrote: I want to show some text in the AlertDialog.  This text comes from strings.xml where

[android-beginners] Re: Fullscreen webview - why is that

2009-02-10 Thread Mark Murphy
h...@nnes wrote: So I made the decision of jumping into Android development and putting that service in a webview... But honestly, starting from superscratch, it's kind of tough start ! I got the code below compiling and running on the emulator, the only catch is that it is neither

[android-beginners] Re: Detect rotation of device

2009-02-10 Thread Mark Murphy
XXL wrote: can the rotation be simulated in the programming IDE? Ctrl-F12 -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: MediaScanner

2009-02-10 Thread Dave Sparks
You can't download files OTA unless there is an application to receive them. It is the application's responsibility to fire off the mediascanner to scan the files. DownloadManager does this if you use the browser. On Feb 10, 11:23 am, mathiastck mathias...@gmail.com wrote: Or download files to

[android-beginners] Can ListActivity include other controls?

2009-02-10 Thread frizzo
I'd like to have a form, which has a label on the top, followed by a list that takes up most of the real estate, and a button on the very bottom. Should I inherit from the ListActivity class and somehow finagle the 2 non-list controls onto the form, or just extend the Activity class and add all

[android-beginners] Re: Can ListActivity include other controls?

2009-02-10 Thread Mark Murphy
frizzo wrote: I'd like to have a form, which has a label on the top, followed by a list that takes up most of the real estate, and a button on the very bottom. Should I inherit from the ListActivity class and somehow finagle the 2 non-list controls onto the form, or just extend the Activity

[android-beginners] Getting a bearing from the sensor manager

2009-02-10 Thread George
Hello, I'm trying to get a compass bearing from the sensor manager but im unsure whether i should be using magnetic field or orientation? Orientation seems to return the angle the phone is pointing, but not the actual magnetic compass bearing? Any pointers on what i should be doing here?

[android-beginners] In Gmail App, Group Contacts not showing up when typed

2009-02-10 Thread CPT Morian
Hello, When composing a email in the Gmail Appliation on the G1 phone, I go to type a Group Name that exists in my Gmail Contacts, but it doesn't show up in the auto complete. Only individual contacts appear in auto complete. This has a nasty effect of not being able to compose an email on the

[android-beginners] Re: Fullscreen webview - why is that

2009-02-10 Thread Liu Robin-W20836
Regarding to full screen, please see below url. http://mobiledevelop.blogspot.com/ Regards, Robin Liu -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of johannesne...@googlemail.com Sent: 2009年2月10日 3:08 To: Android

[android-beginners] Cannot setup Setting up Eclipse before Installing the Eclipse Plugin (ADT)

2009-02-10 Thread amazing
I'm following this doc http://developer.android.com/sdk/1.1_r1/installing.html on Eclipse setup. This is my first install of the SDK. It came to Setting up Eclipse section first. Then I cannot Select Android from the left panel.. There is no Android. I ended up going through the next step

[android-beginners] Re: Audio Processing Options

2009-02-10 Thread clark
All you really need is a method to access the raw data of the sound. With that you can do whatever kind of DSP stuff you want. The real question is, are there Classes and/or methods that allow the developer to access the raw sound data? With the addition of google's voice search as of RC33, I

[android-beginners] Re: how can i upload audio file into res/raw folder

2009-02-10 Thread jaimin mehta
thanks for the reply i will try that thing On Tue, Feb 10, 2009 at 11:15 PM, Dave Sparks davidspa...@android.comwrote: You can't upload your audio file into res/raw. You can place an audio file in the res/raw folder when you compile your code and aapt will compile it into the APK along with

[android-beginners] Re: How to deploy application on device

2009-02-10 Thread Ganesan V
You ned to creae .apk file, Just extract the Helloandroid example and create project use eclipse and compile it. then you will get .apk file the install that apk file ino emulaor or device. Ganesh. On Tue, Feb 10, 2009 at 6:00 PM, Anup anupdesai1...@gmail.com wrote: Hi: I am new in Android

[android-beginners] Re: Camera class doesn't save exif data?

2009-02-10 Thread Dave Sparks
Unfortunately, this is beyond my knowledge at the moment. I work on the native code (media framework, hardware adaption layer). The only time I ever write Java code is to see if I can break my framework. :P I'll see if can get one of my colleagues to take a look. On Feb 10, 12:33 pm, George

[android-beginners] Re: Audio Processing Options

2009-02-10 Thread Dave Sparks
It's on the roadmap for Cupcake. On Feb 10, 4:06 pm, clark clarkd...@gmail.com wrote: All you really need is a method to access the raw data of the sound. With that you can do whatever kind of DSP stuff you want. The real question is, are there Classes and/or methods that allow the developer

[android-beginners] Re: Problem when running project

2009-02-10 Thread Ganesan V
you have to change the main.xml file in your project, I mean you need to change the string for display, Ganesh. On Mon, Feb 9, 2009 at 12:57 PM, Anup anupdesai1...@gmail.com wrote: I have simple created HelloAndroid.java file as per mentioned on website,but whenever i am running the file i

[android-beginners] Adding a new package to the source

2009-02-10 Thread Wick
I'm working with the android source and trying to add a new package, 'test.package', which holds a class 'Test'. Everything works fine and the package is built with the rest of the source (I can also build using 'Make Test'), but if I attempt to import the class (using 'import test.package.Test'