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",
"com.labtest2.MainActivity"));
startActivity(intent);


--



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. Hinge Issue di HTC Desire Z(T-Mobile G2)

Tanya donk,

Bagi yang sudah menggunakan desire z/G2 gimana masalah hinge yang suka
keluar sendiri, ada yang mengalami kah, kan mau beli tapi pas nanti
sampai disini, keboardnya slide sendiri, kan agak aneh juga gitu....

Cheers..

Fajar

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

2. TCP problem - hangs when reading server's response

I am trying to write client for Android which is supposed to
communicate with PC server application on local network.
Server app is written by my friend in C#. Currently there is an iPhone
app that is using this server application with no problems.

I have very simple code for TCP client:

1. Socket s = new Socket(server, port);
2. OutputStream out = s.getOutputStream();
3. PrintWriter output = new PrintWriter(out);
4. output.println("ACTION=Next&VALUE=0&");
5. BufferedReader input = new BufferedReader(new
InputStreamReader(s.getInputStream()));
6. String st = input.readLine();

I went through many TCP implementation examples, and they are all
similar. Pretty much like my code above.
My app freezes on line 6 when I try to read response from the server.
It doesn't cause any errors (no exceptions), nothing shows in
de{*filter*}, just timeout error after awhile. Server is supposed to
return string <OK> after executing my action in line 4.
I don't understand why this code hangs. Input is not NULL (I've
checked it). I would expect some exception to be thrown or simply
empty string to be returned.

So? What am I missing? Could it be problem with some special
characters that server app is sending and android can't handle that?
Do I need any special permission in my manifest?

I am positive that I have correct IP address and correct port number.
I can see that on server application running on my PC.

Thanks.

-- 

3. Spinner/drum roller control like native Clock app has for choosing hours/minutes

4. ZTE BLADE

5. WISPr support

6. Product images for marketing materials

7. Ajax cross domain requests