Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: What do I need to know to program this in Android?

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What do I need to know to program this in Android?

    (I'm sorry if this is not the right section for this thread)


    ok
    Hello everyone,
    My backround in java is:

    Basic arithmetic, variables and string manipulation
    functions
    recursion
    classes
    packages
    interfaces
    enums
    exception handling
    generics


    I want to develop a fun android game app, like megapolis(city building app, nice graphics, cool design options...)

    I am fully aware that my background in java is still relatively poor for a grand project like this, and that I should get familliar with more java libraries such us
    the .NET etc...

    my question is:

    what should one know in order to develop a game app like Farmville for example?

    what java topics I should cover?
    What design programs one can use when creating objects and animations for a game app?
    How does it all come together - I mean - say I am making a game and I create a class Citizen, and in my mind there is a picture of a citizen in my city building app that behaves in a certian way. Let's say that I also managed to create all the animations needed for a citizen.

    How do java and, say, 3ds max meet? How do I assign java code into objects I created with an animation / graphic program?

    I wish to develop an android application, like

    --- Update ---

    Please Ignore the last sentence

    thank you forum members for any answers


  2. #2
    Junior Member
    Join Date
    May 2013
    Posts
    2
    My Mood
    Amused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What do I need to know to program this in Android?

    Read a book

  3. #3
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: What do I need to know to program this in Android?

    I'm not sure what you are confused about. Your questions seem to be related to basic java concepts, which apply both to android and desktop programs.
    In my experience, I have found it easier to build the android app's processing engine independently from the Android interface. What I would do is create 3 projects: the processing engine, the Android UI, and a tossed together desktop UI.
    The project for the processing engine would contain all of the game's core functionality. Everything that isn't dependent on Android components should be put here.
    The project for the Android UI would be where you create all the Android user interface stuff. This project would have the processing engine project as a dependency, and would send user input to that project to be processed and respond back to the UI.
    The project for the Desktop UI would contain an extremely basic concept of the Android UI. I would invest just enough time into this to get it functional. This project would also depend on the processing engine project, and would also send user input to that project for a response.

    I would do it this way because it makes it easier for me to test the processing engine on the desktop version than the Android version. The Android version will require you to launch the emulators and all sorts of other stuff. Attempting to debug the processing core of the game can become a real headache if you are doing it through a top-heavy Android UI. If the project for the processing engine contains all of your functional code, and the Desktop and the Android UIs send the same information to the processing engine, the processing engine should perform the same for both UIs. This means you can do a quick launch of the Desktop project to test your processing engine project, and it means you don't have to put together a fully functional Android UI until after you know the processing engine is working correctly.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  4. The Following User Says Thank You to aussiemcgr For This Useful Post:

    GregBrannon (January 27th, 2014)

Similar Threads

  1. Connecting Android and PC for Speaking together in My own program
    By Navid Noorani in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 14th, 2013, 07:47 AM
  2. Seeking Developer To Port Our Program To Android!
    By cdenczek in forum Android Development
    Replies: 0
    Last Post: August 28th, 2013, 01:48 AM
  3. [SOLVED] Installed Android program which I created bombs out
    By HanneSThEGreaT in forum What's Wrong With My Code?
    Replies: 20
    Last Post: July 12th, 2013, 04:40 AM
  4. xml view for android program
    By ikkyu in forum Java IDEs
    Replies: 0
    Last Post: November 28th, 2011, 10:27 PM