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. Augmented Reality Framework

I'm looking for an Augmented Reality Framework to show geopoints (like
Layar does).

I have a database or POI (points of interest) and I like to show it in
AR as part of my app.

Someone know a library, framework or sample code to do this?

Thanks in advance

-- 

2. ListView/ ScrollView : What exactly is happening in onInterceptTouchEvent()

I know that we are not supposed to put a listView inside of a
scrollView.  The layout  and nesting of my apps views are determined
at run time and I have no control over that.My situation demands it
and I have a working implementation to achieve that.  However I am not
sure what exactly is happening in  onInterceptTouchEvent().

I am returning false from onTouchEvent() ,of scrollView, if the
MotionEvent occurred within the bounds of the listView, thus the event
is passed down to my listView to handle. So if I touch and drag
outside the listView my outer scrollView scrolls, else if I touch and
drag on the listView, the listView scrolls. They dont compete for
scrolling anymore. This is all possible only if I always return false
from the  onInterceptTouchEvent() of the scrollView. In the default
implementation it returns true if it is being dragged. My solution
breaks if I return true from here for any condition. Is it ok to
simply return false all the time from  onInterceptTouchEvent()? I have
tried scrolling in several ways and both the scrollview and the
listView are scrolling as expected when I return false.

A standalone listView also works fine when I simply return false from
its onInterceptTouchEvent() instead of  returning  super(AbsListView).
onInterceptTouchEvent()

Anyone has any scenario when the scrolling might not work?

thanks,
vk

-- 

3. Weird Camera Intent behavior

4. Which is the best way to implement double buffering?

5. Spaces in links to Android Developers reference

6. Problem with WebView

7. Honeycomb SDK