Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to access R.java ,images and main.xml in Mobile Module Project

$
0
0

Now I have create a Mobile Module Project, I want to access the layout file main.xml by using setContentView(R.layout.main) and the Bitmap by BitmapFactory.decodeResource(ImageFilterMain.this.getResources(), R.id.XX),but it can't access the image.jpg and main.xml.Is there any body can help me?Tell me where to place the android res folder and R.java in Mobile Module Project,and how to access this resource?Thanks a lot! ![alt text](C:/Users/Sencloud/Desktop/img.jpg "Title")


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>