[android-developers] Re: android.app.Application NullPointerException

2010-09-23 Thread elubin
23, 2010 at 9:03 AM, elubin wrote: > > However, when I leave the app over night and look at it again the next day, > > I receive NullPointerExceptions when attempting to use that same data.  I do > > not believe Application objects get garbage collected, so I have no idea > >

[android-developers] android.app.Application NullPointerException

2010-09-23 Thread elubin
When my app loads, I fill my android.app.Application with some data. The app runs fine as I use it and all the data is available. However, when I leave the app over night and look at it again the next day, I receive NullPointerExceptions when attempting to use that same data. I do not believe App

[android-developers] two programming questions about 'twitter for android' app

2010-08-25 Thread elubin
1. what kind of layout do you think they used to get the animated icon pinned to the bottom of the screen? 2. what view did they use for the icons on the main screen? i have tried gridlayout and a linearlayout with icons, but i'm specifically looking for the effect on focus where there is just a f

[android-developers] ListView :how do i align a count column on right

2010-08-20 Thread elubin
Can someone please provide me a ListView row layout that will show text on the left (the full width of the screen) and just leave one right aligned column for a count on the right? Everything I try has the text overwrite the count column... http://www.elubin.com/images/Capture.jpg -- You receiv

[android-developers] Re: ListView : TextView : text on left and right not working

2010-07-10 Thread elubin
Marquee doesn't help me and i don't want to use fixed width. Is there a way to do this with a table? RelativeLayout? LinearLayout? I would think this is a normal request? text on left and right, with the left text stretching as much as it can. -- You received this message because you are sub

[android-developers] ViewSwitcher with AsyncTask

2010-07-05 Thread elubin
I have an activity that needs to do some stuff in the background. When the background is done, I want it to load a new activity. I can successfully kick off the async task and using using ViewSwitcher I can show a nice progress dialog. However, when the user hit 'back' or 'close' from the new tas

[android-developers] ListView : TextView : text on left and right not working

2010-06-29 Thread elubin
I have a ListView and would like each row to have text on the left and text on the right. I have included the layout for the row below. It appears fine if the left text is short enough, but when the left text it too large, the right text never appears? http://www.elubin.com/images/Capture.jpg

[android-developers] List View : text on left and right not working

2010-06-29 Thread elubin
In a ListView, I am trying to display some text on the left and a number on the right. I got it working with a RelativeView, but if the text on the left is too long, my number doesn't appear? http://www.elubin.com/images/Capture.jpg Here is my layout: http://schemas.android.com/apk/res/android";