[android-beginners] Re: Problem running the Hello World example

2009-06-14 Thread Fahd
I see. What do you exactly mean by clean Mike? Fahd On Jun 14, 3:37 am, Michael Dorin bsddo...@gmail.com wrote: I was/am having the same problem. I saw a post that said do a 'clean'  then exit eclipse and go back in... then it should work. Let me know how it goes please. -Mike On Sat,

[android-beginners] Re: String format of numbers into currency

2009-06-14 Thread MMC2
Further to my formatting problem and your reply, I changed s from being a string to being a double and it now works. Thanks for your help. I would still appreciate your recommendation on a writeup about string formatting and your thoughts on the sync connection problem described below. Mike

[android-beginners] Re: Problem running the Hello World example

2009-06-14 Thread Fahd
I found out how to clean :) Ok now a message is coming Sorry! Process com.android.phone is not responding Force close or wait nothing happens with either option. some progress but still no hello android window... Fahd On Jun 14, 7:16 am, Fahd fahdb...@gmail.com wrote: I see. What do you

[android-beginners] Application crashes when I try to retrieve colums from a dbRow

2009-06-14 Thread Kevin J. Brooks
The LaunchFav crashes at the first i.putExtra. The error is The application Track My Drinks (process.parisj13.trackmydrinks) has stopped unexpectedly. What am I doing wrong? private Intent LaunchFav() { Cursor c = mFavDrink.fetchAllDrinks();

[android-beginners] Re: String format of numbers into currency

2009-06-14 Thread sm1
short and sweet examples: http://www.java2s.com/Code/Java/I18N/JavaI18NFormatNumberFormat.htm serge On Jun 14, 7:17 pm, MMC2 m...@mmc2.com.au wrote: Further to my formatting problem and your reply, I changed s from being a string to being a double and it now works. Thanks for your help. I

[android-beginners] Re: Invokation Exception

2009-06-14 Thread sm1
As MrChaz wrote, you'll definitively need the Camera permission and for checking if you are still getting exceptions, try this: Camera cam = null; try{ cam = Camera.open(); }catch(Exception ex){ Log.e(Camera.open(),+ex); } if(cam==null){ return; } //it is very important that the camera be

[android-beginners] XML Layout Language

2009-06-14 Thread Mitch
Does anyone know a link to the specification for the XML Layout? I'm looking for a description of the tags etc. Since I'm new and just learning, a simplified version would be nice, focusing on the most common tags. Everything I read now is vague. If not, here's some questions I have that are

[android-beginners] How to Drag-n-Drop an Image from source to target ImageButton

2009-06-14 Thread Chandru
Hi I have a TableLayout with various Image buttons. I'm using XML layout instead of a custom view class. I'd like to move an image from one ImageButton object to another like moving a chess piece to a target square by capturing a piece. I'd like to know how to obtain the target ImageButton

[android-beginners] Porting C project in android

2009-06-14 Thread subram
Hi There I am new to android,I had downloaded Android SDK and Eclipse in windows,android source code in ubuntu. I created a C project in ubuntu and generated shared library of my project using the Android.mk,arm compiler that comes with the android source files and make .Now i have to

[android-beginners] Making .apk files?

2009-06-14 Thread [.K]
I want to test out a program. Now how do I make the apk file? So I have my .java file right? Then what? Thanks for the help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] starting the htc dream

2009-06-14 Thread Yves Dorfsman
Hi, I received my HTC dream, installed a sim and the battery, and it prompts me to setup my google account. I don't want to setup my google account, I don't even have a data plan (and don't plan to get one any time soon as they are too expensive in Canada). But, I still want to use the phone

[android-beginners] Possible to run Android on ARM7?

2009-06-14 Thread peterweichai
Hi, Is it possible to run Android on ARM7 board? I have a ARM7 board running with uclinux previously, would like to know is it possible to replace it with Android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Can I just redraw part of the view without clean the existed pic?

2009-06-14 Thread James Lai
Hi, I want to draw more pictures to a canvas of a view when I touch the screen, such as when a touch event happened, I will draw a number in the canvas, then a touch event happened again, I want to draw another number in a different area in the canvas(I need keep the first one I drawed just

[android-beginners] Re: Android dev guide

2009-06-14 Thread [.K]
I was wondering if there is a pdf version of the android dev guide. I would like to print out the guide but not sure exactly how to do that. Any help would be appreciated. A simple google search would've found it for you, but here you are. http://files.me.com/artyom.loenko/nc9a4c

[android-beginners] Camera Preview

2009-06-14 Thread roscoe_x
Camera Preview sample code in here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html My questions are: 1. There's an error in the program, in the try{} catch{} part in surfaceCreated(). Any suggestions on how to solve this problem? 2.

[android-beginners] loading images from network/web url

2009-06-14 Thread R
Hello All, I want to do something like img src='http://www.google.com/ image.png' /. How do i achieve this in android. I have looked up SDK and found imageviewer. all i can get to his how to load from a file path. i am unable to achieve this if the image is located somewhere in the web and is

[android-beginners] EditText

2009-06-14 Thread Synapse
How can I change choise from contextual menu of EditText ( Menu that includes copy/paste funcionality ) ? Anyone has some piece of code? Synapse --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Voicemail Indicator Always On

2009-06-14 Thread Chris de Barros
Hello, I am on the BTC GSM network in The Bahamas. I can not get the VM indicator to go away even though I have deleted all VMs in my inbox. The indicator always shows up as new VM in the status/notifications bar. Also, I get a weird blank SMS every time I delete the VM from my inbox using the

[android-beginners] Re: More about Conversion to Dalvik format failed with error 1

2009-06-14 Thread Lordsaibat
I had those same errors but the Java file was not created when I made a new project. On May 19, 4:06 pm, Dahai Guo guo...@gmail.com wrote: I am new to Android. Tocreateand run the HelloWorldproject, I installed Eclipse 3.4, Android SDK, and ADT. Right after theprojectwas created, I got two

[android-beginners] My First Custom View Totally Busted

2009-06-14 Thread Dave Smith
Hi all - I'm trying to get up to speed with custom views, and I took most of this code from examples, but I cannot get it to do anything. When I run the code below in the emulator I just get a blank screen, and when I set debug breakpoints it shows that onDraw() never gets called! It's got to

[android-beginners] Grid (TableLayout) of TextViews

2009-06-14 Thread Sergio Padrino
Hi! I'm trying to create a 10x10 grid of TextViews using TableLayout. I want this grid fills the whole screen like this: http://files.getdropbox.com/u/1040020/right.png But I get this: http://files.getdropbox.com/u/1040020/wrong.png My code: TableLayout layout = new TableLayout(this);

[android-beginners] XML Layout Specification

2009-06-14 Thread Mitch
Here's a layout from the DevGuide: http://developer.android.com/guide/topics/ui/declaring-layout.html ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-beginners] tools/android fails with runtime error java.lang.AssertionError on ubuntu 9.04

2009-06-14 Thread Brett
I just had an issue and fixed it myself, so I thought I would put this out there in case anyone else has the same problem. I am running ubuntu 9.04. I just downloaded the android sdk for linux and when I tried to run android list targets I got a java runtime error. I eventually figured out that

[android-beginners] How to put buttons in a row?

2009-06-14 Thread Dan Lee
Hi I am totally newbie for android. Today I wrote one example code. I would put them 3X3. but buttons won't be in same row. What I want is here... button1 button2button3 button4 button5button6 button7 button8button9 Here's my example code... = public

[android-beginners] OnClickListener

2009-06-14 Thread trontron
I will refer to the HelloListView tutorial list for a reference. How do I set an onclicklistener on a particular item in the list? How do I make the response of onclicklistener of a list item to start activity2? Thanks for the help. --~--~-~--~~~---~--~~ You

[android-beginners] New Projects

2009-06-14 Thread Lordsaibat
When I make a new project the .java file is not generated. I can run the project, but it does not run in the emulator or anything. It did work before then it stop working one day. I tried deleting the folder and all project files. After that I reinstalled everything but I am still having

[android-beginners] Re: Where I can get royalty free pictures?

2009-06-14 Thread Brandon
I've used PicFindr (http://www.picfindr.com/) in the past, and there's a pretty large amount of royalty free pictures. There are some sponsored results that cost money mixed in, but they are clearly marked and easy to ignore. Good luck! -Brandon On Jun 8, 8:44 pm, Andrew Li

[android-beginners] Re: How to put buttons in a row?

2009-06-14 Thread guruk
u can do it in your xml file with tablelayout and tablerow TableLayout android:id=@+id/widget253 android:layout_width=fill_parent android:layout_height=fill_parent android:stretchColumns=0,1,2 xmlns:android=http://schemas.android.com/apk/res/android; TableRow

[android-beginners] Re: Can I just redraw part of the view without clean the existed pic?

2009-06-14 Thread lai james
It seems I can not see my question in the post list, why 2009/6/13 James Lai jamesla...@gmail.com Hi, I want to draw more pictures to a canvas of a view when I touch the screen, such as when a touch event happened, I will draw a number in the canvas, then a touch event happened again, I

[android-beginners] Re: Making .apk files?

2009-06-14 Thread guruk
i dont know exactly what you like. when u use eclipse go to android tools and export signed or unsigned apk On Jun 13, 9:54 pm, [.K] flyord...@gmail.com wrote: I want to test out a program. Now how do I make the apk file? So I have my .java file right? Then what? Thanks for the help.

[android-beginners] Re: Practical questions

2009-06-14 Thread Tony Su
As a person has used Windows Mobile/CE devices for over 6 years and been developing for the mobile platform for over 4 years, I think I can offer some perspective... First, regarding G1 availability, costs and restrictions (since to date anything else is largely vaporware or just

[android-beginners] Re: Making .apk files?

2009-06-14 Thread Tony Su
On this related subject, I may have a need to create the APK using only the command line (not using Eclipse). I didn't seem to notice that the Android SDK supports this, am I missing something? For that matter, what exactly are the different options how to create an APK? Are there other

[android-beginners] Re: Problem running the Hello World example

2009-06-14 Thread Fahd
All of a sudden it began to work!!! when running i got two new statements that I didnt before: [2009-06-14 22:09:29 - HelloAndroid] New emulator found: emulator-5554 [2009-06-14 22:09:29 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched... Can anyone help me understand

Re: *****SPAM***** [android-beginners] OnClickListener

2009-06-14 Thread Nigel Eke
On Sat, 2009-06-13 at 09:29 -0700, trontron wrote: I will refer to the HelloListView tutorial list for a reference. How do I set an onclicklistener on a particular item in the list? How do I make the response of onclicklistener of a list item to start activity2? You will need to setup

[android-beginners] Re: XML Layout Specification

2009-06-14 Thread Mark Murphy
- What does xmlns mean? That defines an XML namespace. http://en.wikipedia.org/wiki/Xml_namespace - What is the android:xxx sytnax all about? That is the use of an XML namespace. It keeps (most) of the Android attributes out of the way of any other attributes one might layer in from some

[android-beginners] Re: How to put buttons in a row?

2009-06-14 Thread Mark Murphy
I am totally newbie for android. Today I wrote one example code. I would put them 3X3. but buttons won't be in same row. What I want is here... button1 button2button3 button4 button5button6 button7 button8button9 You could use: -- A nested set of LinearLayouts

[android-beginners] Re: What DB do you use in android flatform?

2009-06-14 Thread Mark Murphy
I'm going to design small application in android flatform. I need DB to manage data. What DB is mostly used in android? and Where can I get the docs? SQLite is included with Android. http://sqlite.org and http://developer.android.com for documentation. -- Mark Murphy (a Commons Guy)

[android-beginners] Re: Porting C project in android

2009-06-14 Thread Mark Murphy
I am new to android,I had downloaded Android SDK and Eclipse in windows,android source code in ubuntu. I created a C project in ubuntu and generated shared library of my project using the Android.mk,arm compiler that comes with the android source files and make .Now i have to

[android-beginners] Choosing the Right Book

2009-06-14 Thread Mahou
Hi, I have enough for one book and wanted to know your opion on which on to get. The choices are: Hello Android http://www.amazon.com/Hello-Android-Introducing-Development-Platform/dp/1934356174/ref=sr_1_5?ie=UTF8s=booksqid=1245037980sr=1-5 or Unlocking Android

[android-beginners] Hai

2009-06-14 Thread Siva
Im new for this android how to communicate to each other via sms . using socket .Is there related example pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Re: Problem running the Hello World example

2009-06-14 Thread Sheng-Yi Shih
Finally it worked now. I am not sure why but it took like 10 mins. I found a way to make it easy. 1. Use command line to run the emulator emulator -avd avd_device_name to let it show the main menu. 2. Run Hello World by eclipse. 3. It will ask you to choose android device. Just select

[android-beginners] how to create apk file in android ,like in j2me we create jar and jad files

2009-06-14 Thread janardhan
hi, i am new to android . i done some sample applications. how to create apk files for that one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to