hi...

         @Override
        public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        add();

this way you call the add function... Then it will thrown exception...

see this blog.. This may help you

http://groups.google.com/group/android-developers/browse_thread/thread/9a17873ffe8b6e0b/5ef7d60fb4ea4fa1?q=nithinvaramballi#5ef7d60fb4ea4fa1

Thank You
  Rock

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to