[android-developers] Re: Better view recycling like the Google Play App

2012-12-13 Thread Nicholas Campion
of the views are built. Anyone else looked at this? On Wednesday, December 12, 2012 10:47:38 PM UTC-6, Nicholas Campion wrote: I'm wondering if anyone could give me ideas about how the Google Play app implements its list of apps (e.g. the search results page). I'm specifically interested

Re: [android-developers] Better view recycling like the Google Play App

2012-12-13 Thread Nicholas Campion
seemed to do the trick. Nick On Thursday, December 13, 2012 1:34:40 PM UTC-6, Kristopher Micinski wrote: You've seen the efficient adapter sample in the API demos...? kris On Wed, Dec 12, 2012 at 11:47 PM, Nicholas Campion cam...@gmail.comjavascript: wrote: I'm wondering if anyone

[android-developers] Better view recycling like the Google Play App

2012-12-12 Thread Nicholas Campion
I'm wondering if anyone could give me ideas about how the Google Play app implements its list of apps (e.g. the search results page). I'm specifically interested in how it handles the apps icon because, it appears to be lazy loaded (flinging down the list will show a placeholder) but it seems

[android-developers] Extending AdapterView: RecycleBin and view recycling

2012-11-07 Thread Nicholas Campion
I have re-embarked on my much aligned quest to extend AdapterView to allow for a horizontal scroll implementation. I've gotten to the point of wanting to implement view recycling. The AbsListView.RecycleBin implementation makes use of the hidden method dispatchStartTemporaryDetach as well as

[android-developers] Strategy for Unknown Location

2012-10-10 Thread Nicholas Campion
Obviously, Android apps sometimes don't know their location (lastKnownLocation returns null, etc.). Internally, we deal with this by checking if the app wide Location object is null and substituting -999 for latitude and longitude ... something that is obviously invalid so we can quickly spot

Re: [android-developers] Re: Wrong apk starts-up

2012-10-09 Thread Nicholas Campion
I have seen this, historically, on older phones using HTC's sense ui. The application launcher would cache the invokable target using properties of the AndroidManifest. It seemed to eventually go away, specifically if the device was restarted. I noticed this specifically when we changed the

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-06 Thread Nicholas Campion
Yup, that setting is factored in when 'sp' units are used anywhere on the device. On Friday, August 3, 2012 3:26:47 PM UTC-5, bob wrote: Is this what you're talking about? http://postimage.org/image/8y0sxvyej/ On Friday, August 3, 2012 1:54:29 PM UTC-5, Nicholas Campion wrote

[android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Nicholas Campion
We use 'sp' density preference scaled fonts throughout our app. We've noticed that this mechanism just doesn't seem to cut it on larger screen devices. The issue is the distance someone uses a phone app from their eyeballs vs. the distance used for a tablet. In our admittedly unscientific

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Nicholas Campion
On the nexus 7 its under settings-display. On Friday, August 3, 2012 1:50:54 PM UTC-5, bob wrote: Where is this font scaling feature? I looked all throughout settings on my Galaxy Tab, and I don't see one. Thanks. -- You received this message because you are subscribed to the Google

Re: [android-developers] Issue with device scaling on Nexus 7 Tablet?

2012-07-26 Thread Nicholas Campion
, and the color of the pixel next to it). On Wed, Jul 25, 2012 at 8:22 PM, Nicholas Campion camp...@gmail.comwrote: I am seeing some weird behavior on the Nexus 7 tablet when i set a centered relativelayout to have a background image with padding. http://stackoverflow.com/questions/11656534

[android-developers] Issue with device scaling on Nexus 7 Tablet?

2012-07-25 Thread Nicholas Campion
I am seeing some weird behavior on the Nexus 7 tablet when i set a centered relativelayout to have a background image with padding. http://stackoverflow.com/questions/11656534/padding-issue-on-nexus-7-tablet I thought an SO question might help illustrate better. The gist is that my small

Re: [android-developers] integrate twitter in my app

2010-11-04 Thread Nicholas Campion
On Thu, 2010-11-04 at 09:39 +0530, Babita kumari wrote: In my app , on Button click , I want to show twitter login page . Can any one tell me by posting some code snippets, how to do that ? I had to remove twitter4j from my app as Twitter recently moved to forcing oAuth login. You can read

[android-developers] Help interpreting MediaPlayer error

2010-11-03 Thread Nicholas Campion
I have the following code: ... this.mediaController = new MediaController(this); this.videoView.setMediaController(this.mediaController); this.videoView.setOnPreparedListener(this); this.videoView.setOnCompletionListener(this); this.videoView.setOnErrorListener(this);

[android-developers] Streaming Audio Support on Android

2010-11-01 Thread Nicholas Campion
I am looking for a bit of help understanding the implications of the 'Android Supported Media Formats'[1]. I see that the AAC formats are only supported for decoding when using 3GPP or MPEG-4 container and that there is no support for raw AAC. My question is this, I am working on a project which