[android-beginners] How to show a Progress dialog in AsyncTask?

2009-08-29 Thread Juan David Trujillo C.
Hi all! I am creating an app that show a Progress dialog in AsyncTask to inform the user while web information is being fetched. I've read there are two ways of doing this: Using handlers or creating and executing an inner class that overrides the AsyncTask class I am trying to create and execu

[android-beginners] Available project that uses Web requests and allows users to rate and comment

2009-07-09 Thread Juan David Trujillo C.
Hi all! Do you know where I can find available source code or any reference on a project that uses Web requests and allows users to rate and comment retrieved content displayed on a list, such as the one that "Android Market" app or "Funny jokes" app use when you browse or search for specific con

[android-beginners] TIE (Track Incomes and Expenses)

2009-02-23 Thread Juan David Trujillo C.
Hi guys! I would like to share with you a project I´ve worked on for the last couple of months with a friend (Estiven Rpo), called "TIE your money". TIE (Track Incomes and Expenses) helps you control money, making personal finances EASY and FUN: -GPS to track incomes or expenses -Customizable info

[android-beginners] Re: How to show a dialog on top of another dialog in an activity

2009-01-25 Thread Juan David Trujillo C.
ve to do is ues the cancel() method on the dialog and that's it. Juan. On Jan 25, 1:11 pm, "Juan David Trujillo C." wrote: > Hi guys! > > I have an activity that shows a dialog that has some editText fields > the user is supposed to fill in.  I would like to validate i

[android-beginners] How to show a dialog on top of another dialog in an activity

2009-01-25 Thread Juan David Trujillo C.
Hi guys! I have an activity that shows a dialog that has some editText fields the user is supposed to fill in. I would like to validate if the user entered information in some fields, and in case he didn't, I would like to show a dialog with an appropiate message on top of the aforementioned dia

[android-beginners] Question about Java coding good practice - Inner classes

2009-01-17 Thread Juan David Trujillo C.
Hi guys! I have been reading some Java coding good practices and inner classes are an important subject. I know for a fact Inner classes are originally used to handle UI events (button clicks, keyboard type, etc.). I was wondering if variables to handle UI elements (EditText, Buttons, TextView,

[android-beginners] Fill spinner with inbformation from Database cursor and XML file

2009-01-12 Thread Juan David Trujillo C.
Hi. I'd like to know how to Fill spinner with inbformation from Database cursor and XML file. Do I have to extend BaseAdapter and create my own adapter with information from both? Thanks! Juan --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-beginners] Getting information from the Internet

2008-11-29 Thread Juan David Trujillo C.
Hi guys! I am creating a software application for the Android platform that requires getting information from the Internet (getting information from a specific Web page, at Facebook). Does anyone know how could this be done? Perhaps some reference code? Thanks in advance for all your help! Ju

[android-beginners] How to get a G1 whithout a suscription plan?

2008-11-13 Thread Juan David Trujillo C.
Hi guys! I don´t live in the US, but I would like to get a G1. Is it possible somehow to buy a G1 without a suscription plan, and just pay for the device? I´ve read that you have to pay a 2 year suscription, is that right? Thanks, Best regards, Juan. --~--~-~--~~~--

[android-beginners] Android market and ADCII

2008-11-13 Thread Juan David Trujillo C.
Hi guys! I have a question: Is it possible to upload an application to the Android market (free or charging) and then use this same application to participate in the Android developer Challenge - ADCII? When will it be possible to upload applications to the Android market, and charge for them? T

[android-beginners] Re: How to fill an autocomple with information from a database query

2008-11-09 Thread Juan David Trujillo C.
t;*** A VER 500 *"); Cursor cur = mDb.fetchCustomEvents("expense", "reason like '" + where + "%'"); Log.d("TOTAL="+cur.getCount(), "*** A VER 500 *****");

[android-beginners] How to fill an autocomple with information from a database query

2008-11-06 Thread Juan David Trujillo C.
Hi all!! I want to create an autocomplete that gets its information from a database query. I have a database method that returns the Cursor (with name, value and date fields) I need, but I dont know how to actually fill it, so it works as expected as the Contacts API demo: http://code.google.com

[android-beginners] How to get the position of a specific element in a spinner based on the element's text

2008-11-04 Thread Juan David Trujillo C.
Hi guys! Does anyone know how to get the position of a specific element in a spinner based on the element's text: Example: Given the following Spinner: position element 0Blue 1Red 2Yellow 3Black 4Brown How do I get

[android-beginners] Re: Using the notification manager from BroadcastReceiver

2008-11-02 Thread Juan David Trujillo C.
(Context.ALARM_SERVICE); You have to use the context prefix always! Hope this is useful! Juan On Sat, Nov 1, 2008 at 12:35 PM, Juan David Trujillo C. < [EMAIL PROTECTED]> wrote: > Hi guys! > > I need to create a notification using the Notification Manager once an > alarm goes o

[android-beginners] Using the notification manager from BroadcastReceiver

2008-11-01 Thread Juan David Trujillo C.
Hi guys! I need to create a notification using the Notification Manager once an alarm goes off. For this, I'm using a BroadcastReceiver, but I haven't been able to use the NotificationManager in the code inside my BroadCastReceiver. What's the right way to do it? I also need to create a new ala

[android-beginners] Database problems

2008-10-12 Thread Juan David Trujillo C.
Hello!! I just downloaded the SDK 1.0 and I'm having some problems working around with databases. First of all: When I try to access "adb shell" in my command prompt, I get a "adb server is out of date. Killing...". Did something change in this new SDK related to exploring databases through the

[android-beginners] Re: Emulator Error

2008-06-04 Thread Juan David Trujillo C.
Hi tmoriarty! Can you specify a little bit more about your software environment (O.S., JDK version, IDE)? I´ve installed Android both under Windows XP and Vista using the JDK 6 and Eclipse and everything worked just fine. I still haven´t tried it yet, but I´m going to install it under Linux Ubun