Might be helpful if you posted your code. Here's some example code
that should give you an idea how to do it...
public class MyActivity extends Activity {
TextView textView;
public void onCreate(Bundle bundle) {
super(icicle);
setContentView(R.layout.main);
textView = (TextView)findViewById(R.id.text_view);
...
}
class MyIntentReceiver extends IntentReceiver {
public void onReceiveIntent(Context context, Intent intent) {
textView.setText("Got here");
}
}
}
On Apr 7, 10:55 pm, "Vijayabaskar s" <[EMAIL PROTECTED]>
wrote:
> sorry not work...
> my main class used Textview. IntentReceiver used to another class.
> i call some string in IntentReceiver to main class function with string ..
> Logcat print that string. But not update textview only display
> nullpointer exception..
>
> Regards,
> Baskar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---