Intent for opening browser

by sam aldis » Mon, 13 Apr 2009 12:12:42 GMT


Sponsored Links
 Can anyone post me the intent for opening the
Browser on the url specified.?

--~--~---------~--~----~------------~-------~--~----~



Intent for opening browser

by Mattaku Betsujin » Mon, 13 Apr 2009 12:22:31 GMT


 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("
 http://www.google.com ")));





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Contacts query joining People and ContactMethod.

I've searched and believe I have the answer, but I want to make sure.
Can I do a single query retrieving all People, their phone numbers,
and their emails? It seems like I can't, and to avoid the dreaded n+1
problem I have to do two queries - one for all people and one for all
emails and merge them myself.

Is this the case? Is there no way to join these two tables in one
query?
--~--~---------~--~----~------------~-------~--~----~

2. Large amounts of data and app responsiveness

Hi all,
in my irc app, I'm trying to improve the responsiveness when it has to
deal with a lot of data at a single time.

At the moment, once the data is append()-ed to the textview, I post a
delayed runnable (100ms delay) back to the UI thread to make it scroll
right down to the bottom. Unfortunately, without the runnable being
posted, it doesn't seem to be possible to correctly calculate the
amount the ScrollView should scroll and often scrolls halfway only.

This works fine for normal situations and the program is fully
responsive. But when, there is a lot of channel activity, the queue of
Runnables start to strain the UI thread and it has trouble appending
the data as it arrives and occasionally causes an ANR.

My question is, how would I get around this? Without the Runnable, it
doesn't scroll correctly but with it, it causes problems. A possible
solution could be to detect when there is an influx of data and post
the Runnable less often, but I'm not sure how I would detect this.

Any ideas welcomed.
--~--~---------~--~----~------------~-------~--~----~

3. Interesting article (and discussions in comments) about Dalvik.

4. Bug - my ("desktop") screen won't scroll sideways

5. service-activity question

6. Dynamically updating a GridView with animations

7. Unmarshalling a custom Parcelable fails with a ClassNotFoundException