5 messages in com.googlegroups.android-developers[android-developers] How to access co...
FromSent OnAttachments
Nan.YE09 Jul 2008 19:11 
hackbod10 Jul 2008 17:08 
Nan.YE10 Jul 2008 18:40 
sacoskun21 Jul 2008 00:35 
parth22 Jul 2008 09:50 
Subject:[android-developers] How to access content of a package in the other packages?
From:Nan.YE (nan.@gmail.com)
Date:07/09/2008 07:11:25 PM
List:com.googlegroups.android-developers

Hi all,

After finishing some customized views, how can I use them in other packages? That is to say, for example, I have a customized view named CustomViewA in a package CustomizedViews.apk. The CustomViewA not only has codes but also uses some resources in the package, such as res/ drawable, res/layout, res/values/attr.xml etc. Then, I want to create another project, named TestCustomizedViews.apk, and want to use CustomViewA in this package. How could I do this? How to export the CustomizedViews.apk and how to import it into TestCustomizedViews.apk?

Anyone can help me?