Share Android Apps on Twitter (or anywhere else)


The Twitter logo.

I attended the Mobile Monday meeting "200,000 Apps - Where's Mine" last night. One thing that became clear is that apps don't do a very good job of promoting themselves. One crippling problems with most app stores is that there's no (easy) way to share an app with a friend. Here's some basic code for an Android app which will post the URL of your app to Twitter. Stick it in a button or menu item for easy sharing. String twitterUri = "http://m.twitter.com/?status="; String marketUri =…

Continue reading →

Android Tutorial - Clickable Widgets


Another quick Android tutorial. I couldn't find an easy or correct method of launching a browser when you click on a homescreen widget. Well, here it is... public class clickWidget extends AppWidgetProvider { @Override public void onUpdate( Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds ) { RemoteViews remoteViews = new RemoteViews( context.getPackageName(), R.layout.widget ); remoteViews.setImageViewResource(R.id.ImageView01, drawableResourse); ComponentName…

Continue reading →