[android-developers] Re: how to manage different resolution under same density?

2012-06-07 Thread Glen Cook
That's right there is a 4 by 4 matrix of theoretically possible devices However, you only need to include graphics for the 4 generalised densities: drawable-hdpi drawable-ldpi drawable-mdpi drawable-xhdpi One screen being physically larger than another doesn't mean it will have more

[android-developers] Layout: N Gallerys

2012-04-09 Thread Glen Cook
Hi Guys, I've been presented with a design that looks visually like an arbitrary number of gallery views. [Gallery 1] [Gallery 2] ... [Gallery N] It looks similar to the Pulse newsreader application.Can anyone suggest an approach? I was thinking along the lines: 1. A standard ListView with a

[android-developers] Re: eclipse plugin phonegap

2012-01-31 Thread Glen Cook
You can do it here: http://docs.phonegap.com/en/1.4.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android I set it up today. It is very easy to get started. They have their own Google group here: http://groups.google.com/group/phonegap Cheers, Glen On Jan 31, 4:58 

Re: [android-developers] Runtime exception while audio recording

2012-01-24 Thread Glen Cook
A couple of things to try: 1. Make sure permission is set in your manifest: uses-permission android:name=android.permission.RECORD_AUDIO/ 2. Make sure the source file's permissions are okay 3. Try calling reset() on the MediaRecorder prior to setting the source. On Fri, Jan 20, 2012 at 11:55

[android-developers] Re: Is Application.onCreate() always called when broadcast receiver gets onReceive()?

2012-01-18 Thread Glen Cook
There are parts of the application that are created prior to Application.onCreate being called: notably ContentProviders The Application.onCreate documentation was changed recently: From: Called when the application is starting, before any other application objects have been created. To: Called

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: https://dl-ssl.google.com/android/repository/addons_list.xml

2012-01-17 Thread Glen Cook
Hi Vikram, I hit this problem a few weeks ago: There are many possible solutions in this thread here: http://code.google.com/p/android/issues/detail?id=21359 The solution that worked for me is covered in comments {27, 45}: But essentially I installed that package using Eclipse running as

[android-developers] Installation: Separated Client and Service

2011-07-28 Thread Glen Cook
Hello, We have an application that consists of a UI and a download-service that downloads content. In the future, we would like to: 1. Share our download-service with other applications 2. Offer various branded and customised versions of the client [Would appear as separate downloads in the

[android-developers] Home Screen Widget: Start Programmatically

2011-07-19 Thread Glen Cook
Hiya, My understanding is that it is not possible to auto start a home screen widget. (There are many posts saying it cannot be done) However, we've found that the majority of our users don't know how to start Android widgets. So we've provided a step by step dialogue to explain it. However,

[android-developers] Re: Home Screen Widget: Start Programmatically

2011-07-19 Thread Glen Cook
permission to open the home screen application's files So I assume this is not possible which presents another problem... On Jul 19, 4:15 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 19, 2011 at 11:06 AM, Glen Cook glenandr...@googlemail.com wrote: My understanding

[android-developers] Renderscript: You Tube Carousel

2011-06-01 Thread Glen Cook
Hi Guys, Do you have any idea when the renderscript code used to create the you tube carousel will be open sourced? This thread from February mentions that there are plans to do it, but I'm unable to find updates: