you need add any new activity to your AndroidManifest.xml used by tabhost
2008/12/1 Guillaume Perrot guillaume.p...@gmail.com
A working code:
public class UbikIMActivity extends TabActivity
[...]
@Override
protected void onCreate(Bundle icicle)
{
super.onCreate(icicle);
[...]
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
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 because we
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
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
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 how
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
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
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 available
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();
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:
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
12 matches
Mail list logo