Re: [android-beginners] Tabacitivty

2010-07-11 Thread Mark Murphy
On Sat, Jul 10, 2010 at 10:59 PM, Emmen Farooq farooq.em...@gmail.com wrote: In my app if I extend my activity from TabAcitivty and then include tabs , the app works fine , but if I remove the tabs and main activity is still extended from Tabactivty ,the app crashes ? Any advice ? Have at

Re: [android-beginners] Restricting the input in an edit text

2010-07-11 Thread Mark Murphy
On Sat, Jul 10, 2010 at 10:54 PM, Emmen Farooq farooq.em...@gmail.com wrote: How do I a ) Restrict special characters from being entered into an edit text ? I have no idea what special characters are. Take a look at android:inputType and setKeyListener(). -- Mark Murphy (a Commons Guy)

Re: [android-beginners] Restricting the input in an edit text

2010-07-11 Thread Emmen Farooq
like !...@#$%^*() , I mean i dont want to allow these to be entered , thanks agian On Sun, Jul 11, 2010 at 5:23 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 10, 2010 at 10:54 PM, Emmen Farooq farooq.em...@gmail.com wrote: How do I a ) Restrict special characters from being

[android-beginners] how to deal with button clickevent in a listview?

2010-07-11 Thread 苗忠良
hi,all: I write a listactivty,the item including a textview and a button,the data came from a sqlite。but in handling the clickevent , i meet some problem, in the CursorAdapter's bindView() function,i cann't get the current position。in log,i find position of Cursor is the position I last click

[android-beginners] HELP: A Verizon Droid puzzle.

2010-07-11 Thread whitemice
I am based in Germany and publish the Last Call Widget on the Android Market. I have been steady improving it over time, but one group of users still complain about it not working on their devices. My widget listens for the android.intent.action.PHONE_STATE intent, and then sets an alarm to

Re: [android-beginners] HELP: A Verizon Droid puzzle.

2010-07-11 Thread ca44
Hi Mark, My youngest son just tested this on his Droid and the results are: It worked. Thx -Chris - Original Message - From: whitemice markbr...@zedray.co.uk To: Android Beginners android-beginners@googlegroups.com Sent: Sunday, July 11, 2010 10:20:29 AM Subject:

[android-beginners] onClick in ListView erratic ?

2010-07-11 Thread Stu.Axon
I've got an ArrayAdaptor to add onClick listeners to items. The logging in here says it adds them to every item. Some items that I press seem OK, with others the click is not logged, and the click goes through to the list (I can see the highlight, but it doesn't register my button presses). Any

Re: [android-beginners] Restricting the input in an edit text

2010-07-11 Thread Mark H. Nichols
On Jul 11, 2010, at 7:27 AM, Emmen Farooq wrote: like !...@#$%^*() , I mean i dont want to allow these to be entered , thanks agian You could use regex to identify the characters you don't wish to allow, and cause the UI to redirect the user to the field with the offending characters along

Re: [android-beginners]

2010-07-11 Thread Justin Anderson
We are not going to write your code for you... Do what Mark has told you to do. Create two list activities, override onListItemClick() and in that method display the second list activity by calling startActivity(). If you have questions about startActivity() or how to use intents you can do a

Re: [android-beginners] list

2010-07-11 Thread Justin Anderson
We have already answered this question in a previous post... please don't post multiple versions of the same question. Also, no one is going to write the code for you... We all monitor this group in our spare time. You will get concepts, perhaps a few code snippets, but I wouldn't expect much

Re: [android-beginners]

2010-07-11 Thread Raul Martinez
Thanks for the info, I'm a Noob and sorry, I'm not trying to get people to write code for me im just completely lost On Jul 11, 2010 9:23 PM, Justin Anderson janderson@gmail.com wrote: We are not going to write your code for you... Do what Mark has told you to do. Create two list