Re: [android-developers] Re: Scrolling large image - working good but slow

2009-11-12 Thread Lee Laborczfalvi
To render to a SurfaceView you need to get the SurfaceHolder, lock it and then draw to the Canvas and finally unlock it. Have you considered an ImageView and just calling invalidate and doing your drawing in onDraw? Lee On Fri, Nov 13, 2009 at 9:32 AM, Genc gmt...@gmail.com wrote: Hi Scott.

Re: [android-developers] Trap in TabHost when AsyncTask delays setContentView at activity startup

2009-11-04 Thread Lee Laborczfalvi
content arrives? j On Tue, Nov 3, 2009 at 8:52 PM, Lee Laborczfalvi labor...@gmail.com wrote: I've got a tab host activity started from a home screen shortcut. When my application starts it downloads information from a server using an AsyncTask. In the onPostExecute method of the AsyncTask I

Re: [android-developers] Trap in TabHost when AsyncTask delays setContentView at activity startup

2009-11-04 Thread Lee Laborczfalvi
On Wed, Nov 4, 2009 at 8:58 PM, Lee Laborczfalvi labor...@gmail.com wrote: I'll give this a go and let you know how it works. Thanks for the tip. Lee On Wed, Nov 4, 2009 at 8:27 PM, Jeff Sharkey jshar...@android.com wrote: Instead of delaying the setContentView() call, can you inflate

[android-developers] Unable to start activity from WebView using URI (but can start from non-webview email application)

2009-11-03 Thread Lee Laborczfalvi
I am having issues starting my application using a URI displayed in a WebView control. My application defines two activities that can be started using specific URIs. I've defined my intent filters as follows: intent-filter action android:name=android.intent.action.VIEW / category

[android-developers] Trap in TabHost when AsyncTask delays setContentView at activity startup

2009-11-03 Thread Lee Laborczfalvi
I've got a tab host activity started from a home screen shortcut. When my application starts it downloads information from a server using an AsyncTask. In the onPostExecute method of the AsyncTask I call setContentView to display the TabHost. When I start the homescreen shortcut by tapping on the