Android setup

edited May 2012 in Help request
hi! i'm new here and i would like to know how to setup the whole enviroment to make android apps, i read the android setup manual and couldn't understand how to set it all up.

it says i need eclipse with the android sdk, ndk, adt and cywin but it doesn;t says exactly HOW to set it all up...... can someone help me with a quick explanation?

it also doesn't says were to put orx's libraries...

Comments

  • edited May 2012
    Hi and welcome!

    Did you read that section on the wiki : http://orx-project.org/wiki/en/orx/tutorials/setup_android ?

    To install all the android stuff (ndk,eclipse), you can use the android developper tutorial :
    - SDK: http://developer.android.com/sdk/index.html
    - NDK: http://developer.android.com/sdk/ndk/overview.html

    I hope that can help you !
  • edited May 2012
    i have eclipse with the sdk installed, but i still can't figure out how to implement cygwin, ndk and orx into the project...

    i'm new to all of this so i don't really understand how to use java, i know c++ and since orx says it's a c++ library i though this would be my best choice.

    but hey, i knew the hardest part would be the start, once i can set it all up and watch the samples i know i'll be able to grasp the concept... i just need help setting everything up... :side: :dry:
  • edited May 2012
    Hi aurum34 and welcome here! :)

    Did you also have a look at the older version of the tutorial: http://orx-project.org/wiki/setup_android_manual ?

    I've never used the Android version myself so I won't be able to help you much on that sorry!

    In a first time though, I'd recommend setting up a project for computer instead of Android. Learning orx there and then create an Android project later when you are familiar with orx.
    Beside multitouch everything else will be almost, if not completely, identical to what your computer version and you shouldn't have to change any code. :)
  • edited May 2012
    really? well, if the code will be the same then i don't see why not trying that. i really wanted to make use of the gestures in the android screen, like, "draw a circle here" or "slash there" but if the code is reusable then i have no objections to that idea.

    i did read that manual, actually that's what gave me so much trouble, i mean look at it: :angry:

    Download the latest versions of the Android SDK and NDK. The latter is required in order to build native apps (i.e., using C/C++), which we're doing.

    In China, these can be acquired from a mirror such as http://androidappdocs.appspot.com/index.html.

    Follow the installation instructions to make sure the SDK is properly installed.

    Windows users will need to download Cygwin to emulate the GCC environment.

    Mac and Linux users can use the NDK directly, and may optionally add the NDK folder to their $PATH environment variable

    Download Eclipse and install the ADT plugin provided by Google.

    Make sure you have up-to-date versions of the SDK, NDK, and ADT.

    The Google/Android sites linked above have a lot of information on installing and configuring these packages, and are worth browsing if there are any issues.







    it seemed useful at first glance but after a while i noticed that it didn't said how to implement the ndk and stuff into the eclipse environment, and here i am...

    anyway, what's the manual for the PC setup? anything i should know that's not in the manual?
  • edited May 2012
    You can find setup tutorials here:
    http://orx-project.org/wiki/en/orx/tutorials/main

    I can advise to use the Visual Studio 2008 Express Edition; as it's best documented. You can also use VS2010EE, but you'll need some know-how to convert it, so not very beginner-friendly.

    As mentioned, don't hesitate to ask, while I may be not as good in Orx as mr wizard above, I know a thing or 2 about visual studio ;)
  • edited May 2012
    Vs2010, and a bunch of other IDEs have tutorials, :) - take a look at my tutorials. They're linked in my signature.
  • edited May 2012
    And more generally orx is a good ol' C library in term of integration. So you simply need the include files (the orx/code/include folder if you use the svn version), the compiled library itself (in orx/code/library) and some preprocessor defines to let your code know if you're using a debug, profile or release version and so on.

    It's very standard C/C++ procedure and there's no real gotchas there. :)
Sign In or Register to comment.