you need add any new activity to your AndroidManifest.xml used by tabhost
2008/12/1 Guillaume Perrot
>
> A working code:
> public class UbikIMActivity extends TabActivity
> [...]
> @Override
> protected void onCreate(Bundle icicle)
> {
>super.onCreate(icicle);
>
> [...]
>
>/* Create t
A working code:
public class UbikIMActivity extends TabActivity
[...]
@Override
protected void onCreate(Bundle icicle)
{
super.onCreate(icicle);
[...]
/* Create tabs */
Resources resources = getResources();
TabHost tabHost = getTabHost();
/* Create home tab */
TabSp
Hi all,
same problem here..
I've been trying to debug this problem all day long and can't seem to
find the breakthrough. I'm using tabhosts to create tabs on the main
screen, then I try to put list inside the other tab.To achieve that,
I'm using setContent(Intent e ) methods.. hoping that the list
On Nov 24, 1:42 am, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 23, 2008 at 3:45 AM, Guillaume Perrot
> <[EMAIL PROTECTED]>wrote:
>
> > * you can't bind to a service, onServiceConnected will never be
> > called.
>
> This is a bug that should be fixed in the future. Not documented b
On Sun, Nov 23, 2008 at 3:45 AM, Guillaume Perrot
<[EMAIL PROTECTED]>wrote:
> * you can't bind to a service, onServiceConnected will never be
> called.
This is a bug that should be fixed in the future. Not documented because we
didn't realize it was broken. :)
> * window features (only availa
Eureka!
I got this to work by taking a look at this sample project:
http://www.mail-archive.com/android-developers@googlegroups.com/msg06956.html
Set my class that extends TabActivity as the main layout.
Thanks again Mark for your help.
On Nov 23, 12:45 pm, g1bb <[EMAIL PROTECTED]> wrote:
> Hi
Hi Mark,
My question now is, now that I have the subclass created, how do I
create the tabs using _it_, instead of how I was doing it before via
the code in my first post?
Thanks again for your help.
On Nov 23, 12:23 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> g1bb wrote:
> > I have no problem
g1bb wrote:
> I have no problem with that at all. I found this API demo:
> http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/Tabs3.html
>
> Which is exactly what I want, but now I'm having a hard time deriving
> from that subclass. Is there an example anywhere of h
Hi Mark,
I have no problem with that at all. I found this API demo:
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/Tabs3.html
Which is exactly what I want, but now I'm having a hard time deriving
from that subclass. Is there an example anywhere of how to do thi
Activities inside TabAcitivity are not "true" acitivities, and so have
some limitations that I noticed.
And of course, no documentation about that:
* you can't bind to a service, onServiceConnected will never be
called.
* window features (only available in the TabActivity).
* you can't use most of
g1bb wrote:
> Gotcha, but how do I define activityGroup as a LocalActivityManager?
> (I assume that's what it's wanting)
If you're not subclassing TabActivity, can you? If the docs are right,
that should clear up your problem. Since TabActivity inherits from
ActivityGroup, my guess is that the
Gotcha, but how do I define activityGroup as a LocalActivityManager?
(I assume that's what it's wanting)
Sorry, I can't find much documentation on this. Thanks again.
On Nov 22, 3:20 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> g1bb wrote:
> > I've been trying to start new activities based on a
g1bb wrote:
> I've been trying to start new activities based on a TabHost using the
> following code:
> setContentView(R.layout.main);
>
> TabHost tabs =
> (TabHost)this.findViewById(R.id.th_set_menu_tabhost);
> tabs.setup();
>
13 matches
Mail list logo