[android-developers] Re: AsyncTask, Runnable Thread, ???

2011-07-01 Thread netlander
AsyncTask is designed to run with Android API (activity, service, etc...) so that would be my preferred choice if I was using it within an activity say. The class has a well designed lifecycle and makes code more readable than the thread/handler idiom. On Jul 1, 3:02 pm, Jorge Luis wrote: > I nee

[android-developers] Re: Request a webpage and display in app

2011-03-10 Thread netlander
Try using WebView in your activity. http://developer.android.com/reference/android/webkit/WebView.html Llies On Mar 10, 2:24 pm, Raghav Sood wrote: > Hi everyone, > > I am trying to create an app that take an URl as a user input and displays > the webpage below the textbox. I would like to know

[android-developers] Re: Honeycomb SDK

2011-01-26 Thread netlander
Good point spiral123, it would be in line with android openness to make this sort of information available to developers as early as possible, something that would greatly benefit the platform, no doubt. However this wasn't the case (and still isn't) with Google TV. Let's hope that with the change

[android-developers] Re: ContentProvider blank screen

2010-09-17 Thread netlander
uld perhaps kick off an IntentService or a Service with an > AsyncTask that reads your data files and updates the ContentProvider > in the background. Then you could publish your progress via the > AsyncTask's methods for doing that. > > On Sep 16, 12:03 pm, netlander wrote: > &g

[android-developers] ContentProvider blank screen

2010-09-16 Thread netlander
Hi, My app has one activity and one ContentProvider, the activity is simple in that it's just a splash screen at the moment with no other logic in it (I do intend to have more activities in the app). The ContentProvider uses SQLite as a back end and loads some static data from files on first insta

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-14 Thread netlander
There's far too much written on Java vs whatever other language people think is better. The bottom line is java has hit the right balance between performance/ease of coding/maintenance/scalability and what not, and that's why there's overwhelming adoption for it out there. This also allowed for a h

[android-developers] Stopping GPS inside an activity

2010-08-12 Thread netlander
Hi, Currently working on a simple app to allow users to find various things around them. When the activity that shows the Google map is active I can see the GPS icon on the status bar, which is normal. But I need to be able to stop the GPS hardware when my user navigates away from the activity, an