[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread MMC2
What does your app actually do? Mike - Original Message - From: pulsarman325 pulsarman...@googlemail.com To: Android Beginners android-beginners@googlegroups.com Sent: Wednesday, October 28, 2009 6:42 AM Subject: [android-beginners] Re: I have a great idea for an app and have tried my

[android-beginners] Re: force orientation change?

2009-09-03 Thread MMC2
Hi Jeffrey I previously sent you a reply with this line that you place in the manifest. android:screenOrientation=portrait I had only just found it and while trying to find out whether you can change the orientation by code while the program is running, I found some tips that

[android-beginners] Re: force orientation change?

2009-09-02 Thread MMC2
Hi Jeffrey, Try android:screenOrientation=portrait in the manifest. Is your groovy logo a three dimension barcode? Mike - Original Message - From: Jeffrey Blattman To: android-beginners@googlegroups.com Sent: Wednesday, September 02, 2009 2:30 PM

[android-beginners] Edit text change input type in code

2009-08-22 Thread MMC2
Can anyone show me how to change the input type for a textedit to 1) numeric decimal and 2) to text using code please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Re: How To Delete An Item In ListView

2009-08-17 Thread MMC2
MessageHi Eric, The documentation including the books, is so frustrating in the lack of help and explanation at times. What you need to do is insert and delete your items into the holder of your data and then display it in the listview. This might be an array, or as in my case a table in

[android-beginners] Accessing the text of a textview of an item in a listview that has been selected.

2009-08-16 Thread MMC2
I also want to remove an item from a listview. I am using a simplecursoradapter. I store the id of each item in a textview which is invisible. I want to access the id of the item that has been selected by getting the text of this textview and converting it into a long. Then I will remove the item

[android-beginners] Re: WIFI Communication between two or more phones

2009-07-30 Thread MMC2
. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 27, 7:10 pm, MMC2 m...@mmc2.com.au wrote: In my

[android-beginners] unable to open sync connection

2009-07-30 Thread MMC2
I get the message unable to open sync connection, when compiling in Eclipse, often enough to be really annoying and timeconsuming. The only way I can deal with it is to restart the computer. Sometimes it comes up straight after a restart, but usually restarting fixes it for a while.

[android-beginners] WIFI Communication between two or more phones

2009-07-27 Thread MMC2
In my app I would like to send a number of very small messages consisting of a few characters each, to one or more phones that have the same app and are within WIFI distance. Can this be done and can someone point me in the right direction please?

[android-beginners] Brisbane HTC Dream Test Run App

2009-07-02 Thread MMC2
Is there anyone in Brisbane Australia who has a HTC Dream Android phone and would allow me to test my Apps on it please? I am nearly finished two apps and I will soon need to give them a test run on a real phone before I place them on the market.

[android-beginners] I found the minus key on the android emulator

2009-06-24 Thread MMC2
I have been battling with the issue of how to enter a negative number into an EditText. I have discovered the answer to the problem and would like to share it. The minus key on the android emulator is the g key. This seems to be a surprising place for it to be at first, but with the benefit of

[android-beginners] How Do you enter a negative number into an EditText

2009-06-23 Thread MMC2
Can someone please tell me how to enter a negative number into an EditText? Also where can I find a map of the keyboard and corresponding keycodes. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: How Do you enter a negative number into an EditText

2009-06-23 Thread MMC2
- From: Sean Hodges seanhodge...@googlemail.com To: android-beginners@googlegroups.com Sent: Tuesday, June 23, 2009 6:08 AM Subject: [android-beginners] Re: How Do you enter a negative number into an EditText On Tue, Jun 23, 2009 at 1:07 PM, MMC2m...@mmc2.com.au wrote: Can someone please tell me

[android-beginners] Re: minus key on the keyboard

2009-06-22 Thread MMC2
told android if you'd like integers or decimals as format. If you wanna use decimals, then try decimal|signed On Jun 21, 7:55 am, MMC2 m...@mmc2.com.au wrote: I have a text edit that has android:numeric=signed in the xml layout. But I can't enter a negative number in to it. I have tried pressing

[android-beginners] minus key on the keyboard

2009-06-20 Thread MMC2
I have a text edit that has android:numeric=signed in the xml layout. But I can't enter a negative number in to it. I have tried pressing the I key for negative but it doesn't work. Can someone tell me what I am doing wrong please. --~--~-~--~~~---~--~~ You

[android-beginners] OnClickListener problem with ArrayList in onCreate

2009-06-19 Thread MMC2
I had a major problem trying to set up an OnClickListener and some buttons. When I included the following code with the last line included, not commented out as it is here, the app would always crash at run time. Often there would be problems with the compile process as well. If I

[android-beginners] buttons and clicklistener

2009-06-17 Thread MMC2
I am trying to put some buttons into my app and determine when they are pressed by using OnClickListener. The following code excerpts show that I implement View.OnClickListener. Then I define some buttons. Then in onCreate I make a new button and set the listener. Further down I try to do

[android-beginners] Re: buttons and clicklistener

2009-06-17 Thread MMC2
is generated but the app crashes at run time. Any ideas please? As to my message below, cancel the part about the Content View. - Original Message - From: MMC2 m...@mmc2.com.au To: Android Beginners android-beginners@googlegroups.com Sent: Wednesday, June 17, 2009 1:48 AM Subject

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

2009-06-14 Thread MMC2
- Original Message - From: MMC2 m...@mmc2.com.au To: android-beginners@googlegroups.com Sent: Sunday, June 14, 2009 3:28 PM Subject: [android-beginners] Re: String format of numbers into currency Thanks Mark for your reply, but when I include the line you suggested String t

[android-beginners] String format of numbers into currency

2009-06-13 Thread MMC2
I want to format a number that is held in a string called s to have a leading $ sign and two places after the decimal point. So partly following an example I wrote static public String customFormat(String pattern, String s ) { DecimalFormat myFormatter = new DecimalFormat(pattern);

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

2009-06-13 Thread MMC2
formatting? Regards Mike - Original Message - From: Mark Murphy mmur...@commonsware.com To: android-beginners@googlegroups.com Sent: Saturday, June 13, 2009 7:52 AM Subject: [android-beginners] Re: String format of numbers into currency MMC2 wrote: I want to format a number

[android-beginners] Re: OnKeyListener in a for loop

2009-06-11 Thread MMC2
(...) (which is an inline implementation of the OnKeyListener Interface) can't access variables declared inside a method!! On Jun 10, 1:50 pm, MMC2 m...@mmc2.com.au wrote: I am trying to enter 7 entries using an EditText in a for loop. But I get the error message Cannot refer to a non final

[android-beginners] OnKeyListener in a for loop

2009-06-10 Thread MMC2
I am trying to enter 7 entries using an EditText in a for loop. But I get the error message Cannot refer to a non final variable n inside an inner class defined in a different method. Without the for loop I can enter one entry. How do I set up a loop to do this. EditText enter_count =

[android-beginners] Focus change Listener

2009-06-08 Thread MMC2
I am trying to set up and use a focus change listener for an Edittext view. I have included OnFocusChangeListener after implements in my beginning class statement. public class todolist extends Activity implements OnItemSelectedListener, OnTouchListener,

[android-beginners] Spinner focus

2009-06-08 Thread MMC2
Can you assign the focus to a spinner in code using requestFocus() or any other way? It is not happening for me, but I can assign the focus to a textEdit and then manually press the 'up' on the dpad to place the focus on the spinner. --~--~-~--~~~---~--~~ You

[android-beginners] Can a Text View request and receive focus

2009-06-07 Thread MMC2
Can a Text View request and receive focus? --~--~-~--~~~---~--~~ 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

[android-beginners] sdk version

2009-06-03 Thread MMC2
I am using Android and Eclipse. How can I check which version of the android SDK that is installed? --~--~-~--~~~---~--~~ 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: sdk version

2009-06-03 Thread MMC2
of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jun 3, 6:39 am, MMC2 m...@mmc2.com.au wrote: I am using Android and Eclipse. How can I check which version of the android SDK that is installed

[android-beginners] Re: sdk version

2009-06-03 Thread MMC2
Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jun 4, 12:02 pm, MMC2 m...@mmc2.com.au wrote: Yes but my

[android-beginners] Setting Focus by code in an array list

2009-06-01 Thread MMC2
I am writing an app that is partly based on the ToDo Item example in the book Professional Android Application Development by Reto Meier. I have an array list that lists data stored in a database. What I would like, is to be able to set the focus automatically to the first item by code when the

[android-beginners] Re: Setting Focus by code in an array list

2009-06-01 Thread MMC2
, post up the activity code so we can better see what it i s you are trying to do. Regards, Sean On Mon, Jun 1, 2009 at 10:19 AM, MMC2 m...@mmc2.com.au wrote: I am writing an app that is partly based on the ToDo Item example in the book Professional Android Application Development by Reto Meier. I

[android-beginners] Re: Setting Focus by code in an array list

2009-06-01 Thread MMC2
#setSelection%28int%29 If you're still struggling, post up the activity code so we can better see what it is you are trying to do. Regards, Sean On Mon, Jun 1, 2009 at 10:19 AM, MMC2 m...@mmc2.com.au wrote: I am writing an app that is partly based on the ToDo Item example in the book

[android-beginners] Re: Setting Focus by code in an array list

2009-06-01 Thread MMC2
/widget/ListView.html#setSelection%28int%29 If you're still struggling, post up the activity code so we can better see what it is you are trying to do. Regards, Sean On Mon, Jun 1, 2009 at 10:19 AM, MMC2 m...@mmc2.com.au wrote: I am writing an app that is partly based on the ToDo Item

[android-beginners] To Do List Example Crashed Eclipse

2009-05-18 Thread MMC2
I have been progressing through the To Do List example from the book Professional Android Application Development. At each stage of the example I would run the app without any major problems. Then after the final stage I ran the App. At first it worked including the remove item feature. Then it

[android-beginners] Notepadv1Solution Problem

2009-03-17 Thread MMC2
Thank you to Mike Garcia, Francois Stephany and Kacper86 I found and deleted the three files and the problem is solved. I can proceed again. Thanks again and all the best to everyone in these forums. MMC2 - Original Message - From: Kacper86 cpph...@gmail.com To: Android Beginners

[android-beginners] Problem with Notepadv1 tutorial

2009-03-16 Thread MMC2
I successfully completed the 'Hullo World' tutorial. Then I went through the Notepadv1 tutorial only to find that there is an error although I do not know what it is. So I loaded the Notepadv1Solution app but it won't run either. It has the same error. Can any one help please?

[android-beginners] Notepadv1 tutorial

2009-03-16 Thread MMC2
When I load the Notepadv1Solution app from the tutorial Im get an error and can't run it. I don't understand the error. Help please. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] Android beginners

2009-03-16 Thread MMC2
I am new to this. I have just tried twice to post a question but it does not appear anywhere that I can find it. I have done the Hiullo World tutorial. Then I did the Notepadv1 tutorial but it came up with an error, and I can't work out what it is. When I load the Notepadv1Solution app, which

[android-beginners] Re: Android beginners

2009-03-16 Thread MMC2
out how to display the line numbers. Many thanks if you can help. MMC2 - Original Message - From: Mike Garcia To: android-beginners@googlegroups.com Sent: Monday, March 16, 2009 4:07 PM Subject: [android-beginners] Re: Android beginners There is a delay for all new accounts