[android-developers] Disable Button after click

2011-03-11 Thread pabbot
Hi all, In my application, when I click on a button that inserts a record on the database and closes the Activity, sometimes it takes long to close that Activity and some users are clicking on the Button twice. That causes that the record is inserted twice in the database. Is there any way of

[android-developers] onActivityResult never called on ActivityGroup

2010-07-21 Thread pabbot
Hi all, I'll be brief. I have an application with the following Activities Schema: A (ActivityGroup) | |__ B (Activity Group) | | | |__C (Activity) | |__ ... (Other Activities) | |__ D (ListActivity) | | | |__ ListView with a custom adapter with two buttons per row All the Activities

[android-developers] Re: onActivityResult never called on ActivityGroup

2010-07-21 Thread pabbot
Maybe this could help. When I show the dialog, the logcat logs the following: 07-21 20:26:58.790: WARN/ActivityManager(56): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK... On 21 jul, 20:15, pabbot pabloabads...@gmail.com wrote: Hi all, I'll be brief

[android-developers] Shadow on top of a layout on ActivityGroup

2010-07-16 Thread pabbot
Hello everyone, I'm trying to give my first steps on working with ActivityGroups. To be more specific, I have a parent activity with a layout containing several buttons, and another layout below them in order to add other activities' layouts by means of the addView() method. Well, everything

[android-developers] Database Backup when updating my app

2008-12-03 Thread pabbot
Hi everyone! I was wondering how should I proceed if I want to update my own application. I mean, I'm currently developing a typical app, which stores all the data on a SQLite Database. The point is that once I've delivered the application to my customer and he's been playing around with it for

[android-developers] setOnKeyListener problem

2008-10-15 Thread pabbot
Hi everyone, this is my first post here so I'll try not to extend so much. I've got a Layout with 3 EditText, called mText1, mText2 and mText3. I want to navigate through them by pressing the ENTER KEY, so I decided to set a onKeyListener for every of them and every time I detect the user

[android-developers] Re: setOnKeyListener problem

2008-10-15 Thread pabbot
Ok. It's solved. The solution is not only to detect the KEYCODE_ENTER but also the key down. Previously it detected both the key press and the key release and this fired two KEYCODE_ENTER events... On 14 oct, 23:50, pabbot [EMAIL PROTECTED] wrote: Hi everyone, this is my first post here so