How to access content of a package in the other packages?

Put your problem here if it does not fit any of the other categories.

How to access content of a package in the other packages?

Postby nanye » Wed Jul 09, 2008 2:38 am

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?

Best regards,
Nan YE
nanye
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Apr 18, 2008 3:55 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests