Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    5
    Rep Power
    0

    Default Java and Android App's.

    hi evryone,

    i was wondering if someone could give me a hint regarding android apps.

    my goal in trying to understand java was to make smartphone apps.

    now ive bin into the book for about a week but i get the feeling that java coding /structure
    is completely different then making an app.

    im pretty much 50% into the book itself and i still cant seem to understand on how to start an app even tough eclips does start a hellow world app on its own with no effort on my end.

    i was actually hoping i'de be able to understand how to expand etc in some degree by now.

    on the other hand in the java application/project i seem to find my way around alot easyer.

    even build my own java assistent (fast browsing all methodes etc + info wich ive learned so far)

    so my question is am i doing something wrong/missing something?
    why so many changes to get the same result like the following.

    why does my android app have Xml (views)
    and a page where i can make/edit strings?
    why is the coding so different.

    for example
    ( public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);)

    while in the book i get fed the following in all examples.

    "public static void main(String args[])"

    how is it that i can manually place objects in the android app and let it auto code and not it java app.

    im terribly sorry for the rambling but i am confused.(very!)

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: Java and Android App's.

    Moved from New to Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default Re: Java and Android App's.

    Android apps are structured quite differently to a normal desktop Java app.
    So if you want to learn Java for Java's sake, rather than Android, then I'd not use Android.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Java/Android/Php project?
    By SandManTFC in forum New To Java
    Replies: 0
    Last Post: 01-22-2012, 10:40 PM
  2. Replies: 2
    Last Post: 10-05-2011, 07:59 AM
  3. Java android
    By amandricel in forum New To Java
    Replies: 0
    Last Post: 04-21-2011, 07:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •