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. Delete Contact field value in SDK early 5

HI All,
I am trying to delete Contact field value in SDK early 5. I am using
update method of ContentResolver for update value like that

ContentResolver resolver =
getApplicationContext().getContentResolver();
ContentValues cv = new ContentValues();
cv.put(Contacts.People.NAME,"NAME");
int count = resolver.update(Contacts.People.CONTENT_URI, cv, "_ID =
'1'", null);

and everything works fine (count = 1) but if I`am trying to delete
field:

ContentResolver resolver =
getApplicationContext().getContentResolver();
ContentValues cv = new ContentValues();
cv.putNull(Contacts.People.NAME);
int count = resolver.update(Contacts.People.CONTENT_URI, cv, "_ID =
'1'", null);

nothing happens but count = 1 again . Also I`m replace
Contacts.People.CONTENT_URI to
Uri peopleUri =
ContentUris.withAppendedId(Contacts.People.CONTENT_URI, 1) but nothing
changed
Any ideas?

-- 

2. Seeking advice on a first program (includes general idea, just implementation advice.)

Hello all, to start with I've gone through the entire notepad
tutorial, I'm a professional game programmer who has some extra time.
(though most of my time has been in C++, I did take a year or two of
Java classes in college, and remember some of it).

I'm not sure the group is a good site to ask questions like this.. If
someone has a Forum that might be a good place to ask these newbie
questions, please feel free to point me in the direction.

I've examined a few of the samples, and think I've a grasp of what I
want to do.  I've a three to four project plan for some Android
releases to sharpen my skills, but since this is my first project and
I have never really developed for a mobile phone or the android
before, I'd like to make sure I have a solid plan.

The first project is an example of the license plate game, however I
want to do a few things to change it.  Heck maybe when I'm done it'll
become a bingo style game, with bluetooth connectivity, you never
know.

The base idea is I want to offer a list of states, with checkboxes
next to them.  so to do this, I'll be starting with a Linear List
layout similar to the note pad example, and then have a row that is
only a Checkbox.  I can use text and call strike through if it's been
checked off.   Perhaps offer an option to not show them if they are
checked.

But I want the list to be generated from a set of lists.  Maybe all of
America's states, maybe reasonable American states (no Hawaii, no
Alaska) maybe a North American list, (add in Mexico and some Canadian
provinces), a European list, who knows.

I'd probably have to have a pop up window that lists all of the lists
I suppose using a radiogroup of some sort.

So then as far as the data, after weighing options I think best
solution is to make a database with two fields, "checked" and "name".

I figure I can use the menu for most of the user interaction (aside
from clicking on stuff we want to check off) with maybe a few context
menu items, I understand how to make all of those already so I should
be good.

The question I have is what is the best way to populate the lists?
Should I create raw data, and have different files for all the
lists?   Or is there some other way to do this?  I've seen this done
on the searchable dictionary, but I'd like to hear what people who
have actually generated the data like this before.

In addition is there an easy way to look at the sql database these
applications create, or do you have to run searches on them and output
the data?

Finally any other suggestion or advice?   I definitely want to try to
get something like this on the market so I can see the full life cycle
and see if anyone actually likes it.  (luckily there's not a plethora
of them already) but I also want a few people to look over my code if
they're willing when I'm done to make sure I've done this right or at
least not missing any basic mistakes.

Thank you for your time,

Frank

-- 

3. Contact added through API does not get synced

4. Trying to move multiple widgets at the same time

5. Senior Android developer Position- Las Vegas; 6 months min

6. how to disable auto pdp context activate feature?

7. Weird contact behavior in 2.1 - adding phone number