Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7744383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:45:15+00:00 2026-06-01T09:45:15+00:00

I don’t really know much about the capability of the different OSs. However, I

  • 0

I don’t really know much about the capability of the different OSs. However, I was wondering if I wrote a program in Java using Eclipse on Windows, would I be able to somehow open the program on an Android tablet? Is there something like command prompt on Android where I could execute the Java files?

The program itself doesn’t use any Java API’s, just simply java.util.Scanner.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:45:16+00:00Added an answer on June 1, 2026 at 9:45 am

    Well,

    Having just written my first game for Android (using the Canvas) and then converting the whole thing to use LibGDX, I will give you an answer based on my experience. And you are exactly correct, I used Eclipse on Windows Vista 64.

    Here’s what you are going to want to do…

    1. Install the lastest Java SDK.
      Make sure to set your JAVA_HOME variable after installing and also include %JAVA_HOME%\bin in your PATH environment variable. It is installed correctly when you can go to a command prompt and type java -version and get a valid response (something other than Bad command or File Name).

      1. Download and install Eclipse.
        The version you want is Helios (setup for Java development).

    2) Download any drivers you need in order to hook up your android phone to the PC (this will depend on the phone you have). If you don’t have an android phone, then this step does not apply to you.

    3) Download and install the Android ADK

    4) Install the Android ADT eclipse plugin via the main menu:Help:Install New Software option. The URL to use should be https://dl-ssl.google.com/android/eclipse/.

    5) If you are going to be developing a game, choose to use LibGDX, which is a free (FREE!!) OpenGL library which will give you all the performance you might want at a fraction of the learning curve (although even then the learning curve can be quite steep at some critical points if only because the documentation is so fragmented and oftentimes vague or incomplete – I am hoping to do a major brain dump of all the steep learning areas in a blog or some other form some day when I have extra time (and you know how often those days come along).

    6) If you are going to use LibGDX, you are very happy, because you can write and debug your android application directly under Windows or Mac or Linux and then with less than 10 lines of code, have it also running on the Android.

    7) If you are going to develop directly for the Android OS and do not have an actual android device, then you will need to set up an emulator. The emulator comes with the ADK, you will use it to configure an instance of a virtual android device – Do a google search on how to do that. That being said, this option is very, very slow if you are going to do the normal code, test, debug, code, test, debug cycle. You really need an actual android phone or tablet for this to be even partially acceptable performance wise.

    And finally, in answer to your actual question, yes, you can run and debug your android application directly from within Eclipse. You can set breakpoints and single step through your code on an actual android device or on a software emulated android device (or if using LibGDX, on your windows box directly). And I yes, java.util.Scanner is available in Android, but you will probably find it to slow (and if you are reading vertices, you probably want to use LibGDX which will probably already have a class that does what you are wanting to do – really!).

    I hope that helps – If it isn’t enough to get you going, you might want to consider a different hobby, because with Android development, it generally will stay pretty complex all the time (and the tools are definitely not bug-free themselves as you will find).

    Backup often and have fun! Good Luck!!

    rpbarbati

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know much about running a function on every item in an array, still
Don't know a whole lot about streams. Why does the first version work using
Don't know much about encryption... Say I'm preparing a SAML request to submit to
Don't really know how to formulate the title, but it should be pretty obvious
I don't know whether this is really possible, but I'm trying my best. If
I don't want to know a way to preload images, I found much on
I don't have much PHP experience and I want to know how to best
don't know if this is possible.. I'm using sqlite3 schema: CREATE TABLE docs (id
Don't know how to google for such, but is there a way to query
Don't know why but font is not displaying.Please help. CSS(in css folder): style.css: @font-face

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.