[android-developers] Re: Is it possible to start an remote activity which is loaded by classLoader

2008-12-01 Thread Dianne Hackborn
You don't need any kind of class, just set the desired ComponentName.

On Mon, Dec 1, 2008 at 12:41 AM, Ernest [EMAIL PROTECTED] wrote:


 Hello,everyone.
   I have a question: I can get an Activity class by classLoader which
 can't be declared in the local Manifest.xml.I want to  start the
 activity in this way:
  Intent intent = new Intent(this, xxx.class);(xxx.class is the remote
 activity which loaded by classLoader)
  startActivity(intent);
 But it can't make it work well,because the activity is not declared in
 local AndroidManifest.xml.
 So how can I start the remote Activity then?Thank you very much.
 Best Regards

 



-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Is it possible to start an remote activity which is loaded by classLoader

2008-12-01 Thread Ernest

Thank you for your response,I think the below topic is what I want to
do:
http://groups.google.com/group/android-developers/browse_thread/thread/553d82913f560f7c/b3d45fa6c26105fc?lnk=gstq=have+you+declared+this+activity#

On 12月1日, 下午5时23分, Dianne Hackborn [EMAIL PROTECTED] wrote:
 You don't need any kind of class, just set the desired ComponentName.





 On Mon, Dec 1, 2008 at 12:41 AM, Ernest [EMAIL PROTECTED] wrote:

  Hello,everyone.
I have a question: I can get an Activity class by classLoader which
  can't be declared in the local Manifest.xml.I want to  start the
  activity in this way:
   Intent intent = new Intent(this, xxx.class);(xxx.class is the remote
  activity which loaded by classLoader)
   startActivity(intent);
  But it can't make it work well,because the activity is not declared in
  local AndroidManifest.xml.
  So how can I start the remote Activity then?Thank you very much.
  Best Regards

 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]

 Note: please don't send private questions to me, as I don't have time to
 provide private support.  All such questions should be posted on public
 forums, where I and others can see and answer them.- 隐藏被引用文字 -

 - 显示引用的文字 -
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---