How to call another application from tabview

by Ganz » Fri, 23 Apr 2010 08:05:16 GMT

Sponsored Links
 I wish to know if any way to start another application inside my
landing application.

I have created a two application. My Landing Application has the
tabview. And in the second shows toast message.
Is there any way to load another application in a each tab?

I can start a another application using below code
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.labtest2",


How to call another application from tabview

by Kumar Bibek » Fri, 23 Apr 2010 13:01:33 GMT

 Application is not the right word. You can put an Activity inside a
Tab. But again, I am not sure if you can put an Activity from another
application in the Tab. You have to check it out for yourself.

Thanks and Regards,
Kumar Bibek


Sponsored Links

Other Threads

1. How did they made those "solve the math to dismiss the Alarm Clock" type apps?

I certainly hope they don't hold a wake lock. :)  They should just schedule
an alarm.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


2. Threads for networking and DatagramSocket

My Android app is exchanging traffic messages via UDP with a server -
binary messages of up to 60 Bytes. The server I'm using (external,
don't have access to code nor can I convince the developer to change
stuff :( ) is identifying the clients solely through sockets (no other
type of client ID whatsoever), so I need to use the same socket for
receiving and sending. My initial plan was to use separate Threads for
receiving and sending data. The network load depends on the traffic
situation - sometimes there might be a lot of messages coming in,
sometimes only a few. The client also needs to send periodic keep-
alive messages, which are simple, 10 character strings. Now the
problem is that Java's DatagramSocket.receive method() is synchronized
and also blocking as long as there is data to receive, so my sending
thread cannot use the socket for sending anything, which results in
the server kicking off the client because there's no response coming.

My question is, how bad (or not bad) do you think will rejecting the
threads and doing all the networking as described above in the UI
thread be? Of course, if you also have suggestions on how to overcome
the issue, it will be greatly appreciated!



3. pthread lib problem

4. where to download the linux-kernel for Android 1.5?

5. How to catch event from the virtual keyboard ?

6. how to disable the keygaurd and screen locking in android

7. dirent64 is missing in bionic/libc/kernel/common/linux/dirent.h