1. Download our Official Android App: Forums for Android!

Apps Question on file structure and examples

Discussion in 'Android Development' started by st3ady, Feb 6, 2014.

  1. st3ady

    st3ady Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    2
    Joined:
    Jan 15, 2014

    Jan 15, 2014
    2
    0
    25
    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!
     

    Advertisement

  2. ProjectLiquid

    ProjectLiquid Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    95
    Joined:
    Jan 14, 2014

    Jan 14, 2014
    95
    10
    38
    Senior QA Tester, Activision
    Galactic Layline
    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()"
     

Share This Page

Loading...