ok ,, i've just noticed that you can pass an Intent to setContent() to
start an activity.  so I have defined and declared a MyMapActivity,
but what I get now is a NullPointException as soon as I hit the
MapTab ... here it is:

Uncaught handler: thread Main exiting due to uncaught exception
java.lang.NullPointerException
    at android.widget.TabHost
$IntentContentStrategy.getContentView(TabHost.java:556)
    at android.widget.TabHost.setCurrentTab(TabHost.java:238)
    at android.widget.TabHost$1.onTabSelectionChanged(TabHost.java:95)
    at android.widget.TabWidget
$TabClickListener.onClick(TabWidget.java:134)
    at android.view.View.performClick(View.java:1857)
    at android.view.View.onTouchEvent(View.java:2966)
    at android.view.View.dispatchTouchEvent(View.java:2706)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:609)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
    at android.policy.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1193)
    at
android.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
876)
    at android.app.Activity.dispatchTouchEvent(Activity.java:1520)
    at android.policy.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1177)
    at android.view.ViewRoot.handleMessage(ViewRoot.java:617)
    at android.os.Handler.dispatchMessage(Handler.java:80)
    at android.os.Looper.loop(Looper.java:91)
    at android.app.ActivityThread.main(ActivityThread.java:3052)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:356)
    at android.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
1547)
    at android.os.ZygoteInit.main(ZygoteInit.java:1445)
    at android.dalvik.NativeStart.main(Native Method)


thanks in advance

cheerio

On May 7, 5:28 pm, WildLuka <[EMAIL PROTECTED]> wrote:
> hi guys,
>
> any way of adding a map to a TabSpec or Tab ?
>
> cheerio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to