[android-developers] How to show numeric only pad with big numbers, such as phone type?

2010-05-07 Thread Juan David Trujillo C.
Hi all ! I want to use an EditText that allows only numeric decimal values, however, I want the virtual keyboard to display big bumbers, such as when you use a phone input type. Is this possible, or do I have to customize the property? In order to achieve this, what I tried was that I used the a

[android-developers] Is it possible to publish two versions for the same app simultaneously?

2010-04-25 Thread Juan David Trujillo C.
HI all! I am working on an app that uses the rating bar (stars) to allow the user to grade information. The SDK version is 3 (OS 1.5 - , but the rating stars are shown incorrectly for devices with OS 2.1. I read some posts in the forum that suggest to upgrade the SDK version to 4 (OS 1.6 and hig

[android-developers] How can I upload a device recorded Video to a specific YoutTube account?

2010-03-29 Thread Juan David Trujillo C.
Hello everyone, I have read previous posts that somehow mention how to upload videos to YouTube, but I would like to get the whole picture of what I mention, considering new OS versions have been released: Is it possible to record a video directly from the device, and then use some sort of Androi

[android-developers] Smaller tabs, such as the Facebook official app

2010-02-14 Thread Juan David Trujillo C.
Hi all! I want to create an application that uses small tabs, such as the one the Android's facebook official app uses. Does anyone know how these kind of tabs can be created? Do I need to extend the TabHost class in order to customize it, or is there a more general easier approach? Thank you fo

[android-developers] Re: How to enable Fingerpainting (i.e. API demo example) on a surface, but not only with finger touch

2009-11-13 Thread Juan David Trujillo C.
Best regards, Juan. On Nov 11, 12:15 pm, Dianne Hackborn wrote: > That is just how capacitive screens work. > > On Wed, Nov 11, 2009 at 8:35 AM, Juan David Trujillo C. < > > > > > > jdavidandr...@gmail.com> wrote: > > Hi all! > > > I was checking

[android-developers] How to enable Fingerpainting (i.e. API demo example) on a surface, but not only with finger touch

2009-11-11 Thread Juan David Trujillo C.
Hi all! I was checking the possibility to allow painting on the screen of a surface (i.e. API demo Fingerpainting example), however when I checked it, this technic apparently only allows painting with the tip of your finger, if you try to use any other object (pencil, thick pen, etc.) it does not

[android-developers] 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-developers] 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-developers] TIE (Track Incomes and Expenses) - Android application

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-developers] Multiple alarms not being recognized

2009-02-21 Thread Juan David Trujillo C.
In case this is useful for someone: When you are programming several AlarmManagers, you have to differ them using a setData parameter: intent.setData((Uri.parse("custom://"+SystemClock.elapsedRealtime (; long firstAlarmMillis = getFirstTimeAlarm(mYear, mMonth, mDay, mHour, mM

[android-developers] Is it possible to associate text from an editText to a EditTextPreference?

2009-01-25 Thread Juan David Trujillo C.
Hi guys! I would like to know if it's possible to associate text from a regular editText to a EditTextPreference? My problem is I would like to get the text from a regular EditText and then associate it to an EditTextPreference, so when the user visits the settings section, this text is shown by

[android-developers] 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-developers] 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-developers] Re: Android market and ADCII

2008-11-28 Thread Juan David Trujillo C.
Hi Teo! Is the application you uploaded open-source? or, is it free, but closed source? Thanks, Juan. On 14 nov, 09:18, Teo <[EMAIL PROTECTED]> wrote: > Regarding your first question, i asked myself the same... I uploaded > my app to the Market though, with the assumption that i'll be able to

[android-developers] 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-developers] 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-developers] Re: How do I update my activity on receiving intent in BroadcastReceiver

2008-11-09 Thread Juan David Trujillo C.
intent.putExtra("type", type); PendingIntent sender = PendingIntent.getBroadcast(context, 0, intent, 0); AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); long nextAlarm = getNextAlarmMillis(position); //a

[android-developers] Re: Using an autocomplete filled 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-developers] Using an autocomplete filled 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-developers] How to get the position of a specific element in a spinner based on the element's text

2008-11-06 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-developers] Re: Using notifications and creating alarms from a 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 1:51 PM, Juan David Trujillo C. < [EMAIL PROTECTED]> wrote: > Hi guys! > Does anyone know how I can create a notification and schedule an alarm > from a Broadcas

[android-developers] Re: How do I update my activity on receiving intent in BroadcastReceiver

2008-11-01 Thread Juan David Trujillo C.
Hi Megha! I'm having a similar problem. I want to be able to create a notification and schedule an alarm from a BroadcastReceiver class. Do I have to make my BroadcastReceiver an inner class of an Activity or is it just using a regular class that extends BroadcastReceiver? Is it possible to lau

[android-developers] Using notifications and creating alarms from a BroadcastReceiver

2008-11-01 Thread Juan David Trujillo C.
Hi guys! Does anyone know how I can create a notification and schedule an alarm from a BroadcastReceiver? Am I doing something wrong, cause when I try to use any of these, I get an error: final NotificationManager mgr = (NotificationManager)getSystemService(NOTIFICATION_SERVICE) or Intent i = new