• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Question on file structure and examples

st3ady

Lurker
Hey there, not sure if I correctly titled my post, but basically I found a site that has example source code with projects to learn from.

for example:

SQLiteDatabase « Database « Android

I just made the switch over to Android Studio from Eclipse and I am wondering, how do I go about copying and pasting the different parts of the text into the correct portions? I see parts that say they are for the xml files, where do they go? Does the majority of the text go into main_activity.java? Confused as to which folders they should go in and so forth.

Thanks!
 
I have never used Android Studio but ill assume its somewhat similar to Eclipse

So one file you may see might be AndroidManifest.XML. But you can write XML code into a java file with the method "writeXML()"
 
Back
Top Bottom