Jump to content

Turn java code into android app (I'm a complete noob)

Principis

Hello,

 

I'm starting to learn to program completely by myself. (I started 2 weeks ago or so.)

 

I made a simple rock, paper, scissors program and I wanted to make an Android app with that code.

 

I tried to find some tutorials to make an app but it's way too hard.

 

Here's my code (made it in Eclipse): http://pastebin.com/UwJ3sr5d (I speak dutch so some variables and text is in dutch)

 

Can someone help me with it or can someone give me a link to a good tutorial that I can follow?

 

 

Thanks :)

 

Edit: I tried to do it in Android Studio because the ADT plugin isn't supported anymore.

Link to comment
Share on other sites

Link to post
Share on other sites

Use Eclipse.

- ASUS X99 Deluxe - i7 5820k - Nvidia GTX 1080ti SLi - 4x4GB EVGA SSC 2800mhz DDR4 - Samsung SM951 500 - 2x Samsung 850 EVO 512 -

- EK Supremacy EVO CPU Block - EK FC 1080 GPU Blocks - EK XRES 100 DDC - EK Coolstream XE 360 - EK Coolstream XE 240 -

Link to comment
Share on other sites

Link to post
Share on other sites

Really?

 

What are you using to code?

- ASUS X99 Deluxe - i7 5820k - Nvidia GTX 1080ti SLi - 4x4GB EVGA SSC 2800mhz DDR4 - Samsung SM951 500 - 2x Samsung 850 EVO 512 -

- EK Supremacy EVO CPU Block - EK FC 1080 GPU Blocks - EK XRES 100 DDC - EK Coolstream XE 360 - EK Coolstream XE 240 -

Link to comment
Share on other sites

Link to post
Share on other sites

You need to start by downloading Android Studio http://developer.android.com/sdk/index.html?gclid=Cj0KEQiA_fy0BRCwiLaQ5-iFgpwBEiQA884sOZO5Xl4Vde6HR8JItXC4tIBTSQ2MKE95KCOs-wlCtDYaAvMJ8P8HAQ

 

Like said above, ADT plugin isn't supported anymore in Eclipse.

 

Then by searching Google you should find a ton of tutorial on Android Studio.

You can check the Android Studio Documentation to get started: http://developer.android.com/training/index.html

 

One of the major thing you will need to change in your code is the input. You won't be able to use the 

Scanner input = new Scanner(System.in);

Also the output:

 System.out.println.

 Since you're in an app the console won`t be visible unless the device is connected to a computer.

Link to comment
Share on other sites

Link to post
Share on other sites

Really?

 

What are you using to code?

Eclipse

 

You need to start by downloading Android Studio http://developer.android.com/sdk/index.html?gclid=Cj0KEQiA_fy0BRCwiLaQ5-iFgpwBEiQA884sOZO5Xl4Vde6HR8JItXC4tIBTSQ2MKE95KCOs-wlCtDYaAvMJ8P8HAQ

 

Like said above, ADT plugin isn't supported anymore in Eclipse.

 

Then by searching Google you should find a ton of tutorial on Android Studio.

You can check the Android Studio Documentation to get started: http://developer.android.com/training/index.html

 

One of the major thing you will need to change in your code is the input. You won't be able to use the 

Scanner input = new Scanner(System.in);

Also the output:

 System.out.println.

 Since you're in an app the console won`t be visible unless the device is connected to a computer.

 

I have the Android Studio and tried to do some stuff but it is so difficult errors everywhere and I have no idea what they mean...

 

I'll take a look at that link and also do you know a tutorial from someone?

I followed one for Java and it helped me really much but his android tutorial is for Eclipse so yeah..

Link to comment
Share on other sites

Link to post
Share on other sites

Guess I've been out of the game for too long.

- ASUS X99 Deluxe - i7 5820k - Nvidia GTX 1080ti SLi - 4x4GB EVGA SSC 2800mhz DDR4 - Samsung SM951 500 - 2x Samsung 850 EVO 512 -

- EK Supremacy EVO CPU Block - EK FC 1080 GPU Blocks - EK XRES 100 DDC - EK Coolstream XE 360 - EK Coolstream XE 240 -

Link to comment
Share on other sites

Link to post
Share on other sites

Guess I've been out of the game for too long.

They ended it in June I think so it's not so long ago :)

 

You can probably look at Raywenderlich tutorial. http://www.raywenderlich.com/78574/android-tutorial-for-beginners-part-1

 

I didn't follow his android tutorial but I used the iOS and they are very good.

I'll take a look a that. Thank you :)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×