8

Update view from different thread Android

view full story
linux-howto

http://stackoverflow.com – I make a simple Android Apps that will update its view when an SMS is received. This is the code for my receiver class public class SMSReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub intent.setClass(context, SMSReceiverService.class); intent.putExtra("result", getResultCode()); WakefulIntentService.sendWakefulWork(context.getApplicationContext(), intent); } } That class will call SMSReceiverService class to handle the oncoming SMS and execute method notifyMessageReceived, which is sho (HowTos)