[android-developers] Small png doesn't scale to specified dimensions.

2011-06-14 Thread nbadal
Hello, My app requires a small resolution resource image (32x5 px) to be scaled to a size drawn by the user. When I display the image though, it is always too big or too small. To test my scaling code, I also have my app draw a blue rectangle for the specified size; when I test it though, the

[android-developers] Adding Feature to Android (that I've made)

2010-08-26 Thread nbadal
I'm almost completed with a DatePickerPreference that I've built (a preference widget I was suprised didnt already exist), and would really like to share this function with every developer. I know the process for submitting patches to the android open-source project, but I was wondering how I

[android-developers] Inserting Data into a Cursor?

2009-06-24 Thread nbadal
Hello, I'm looking for a way to insert data into a cursor that is separate from the SQL database it retrieves the rest of the information from. Is there any way to to this, or is there a different way to add more information to a list view item? What I'm trying to do is to use a date column for

[android-developers] Re: Inserting Data into a Cursor?

2009-06-24 Thread nbadal
do whatever calculations and data mapping you need. On Tue, Jun 23, 2009 at 7:19 PM, nbadal ladabk...@gmail.com wrote: Hello, I'm looking for a way to insert data into a cursor that is separate from the SQL database it retrieves the rest of the information from. Is there any way

[android-developers] Re: Inserting Data into a Cursor?

2009-06-24 Thread nbadal
); } On Jun 24, 10:13 am, nbadal ladabk...@gmail.com wrote: So if I wanted to intercept the date data from the database, then do my calculations, then send that number back out to a textview in the list item, what would I need to do? On Jun 24, 10:07 am, Marco Nelissen marc...@android.com wrote

[android-developers] Re: Inserting Data into a Cursor?

2009-06-24 Thread nbadal
Alright, Thanks for the help! On Jun 24, 10:24 am, Mark Murphy mmur...@commonsware.com wrote: nbadal wrote: Would something like this work? @Override public void bindView(View view, Context context, Cursor cursor) {     TextView daysUntil = (TextView) view.findViewById(R.id.daysuntil