Amazon Gift Cards

Saturday, April 11, 2009

Open URL/Website from android

Here is a small piece of code to open a URL/Website from your application, place it on your class that has startActivity function, for example your class that extends Activity

String url = "";
Intent i = new Intent(Intent.ACTION_VIEW);

Hope this helps.

Friday, April 3, 2009

App that developers need when developing Android App - Log Collector

I barely recommend apps on my blog (or did i) but this is special, there is an application on the market called Log Collector, what it does is it collect the logs from your phone and email it to whom ever you want it to be email to. So how can i make use of this?

As a developer, most of the time you would get a force close when testing your application on a real phone, but most of the time you don't have any idea why it happened. So here is how Log Collector is really useful, after a force close, you immediate email the report log to you or the developer of an application. It might help you a lot or atleast have a clue on what's going on.

Hope this helps :)