Hi,

I'm not yet familiar with the android terms...

I have a library (a view) that has a simple activity. How can i make
it available to any application?

I can explain in details: i have a virtual machine that is composed of
0.1% java code and 99.9% c code. Basically, the java code process
events and sends to the vm.

Now an user may deploy its application. The idea is to have something
like this:

          Intent intent = new Intent("android.intent.action.MAIN");
          intent.setClassName(packageName, className);
          intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
 Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT );
          startActivity(intent);
          return 0;

How can i make the activity available to any application so that the
code above would work?

best regards

    guich
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to