Post: Programming Advice
06-10-2011, 02:13 PM #1
fightinillini94
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys,

I have a VERY basic understanding of C++ and I would like to learn Java to make android apps. So my question is should I use my time becoming proficient at C++ and then learn Java or should I go straight to Java. I have heard many different positions on this, one being C++ will make Java very easy to learn.

Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
06-10-2011, 03:48 PM #2
<Jimbo>
</Jimbo>
Yes, learning C++ first will make learning Java at a later date easier. However this works both ways. I would usually say to stick with a language until you've became more proficient with it, however in your case... You want to make Android Apps? Therefore it's definitely more practical for you to switch to Java now; this will help you to develop your skills more diversely and efficiently (whilst enjoying it more). Smile

Good look, here is a useful link:
You must login or register to view this content. :y:


Originally posted by fightinillini94 View Post
Hey guys,

I have a VERY basic understanding of C++ and I would like to learn Java to make android apps. So my question is should I use my time becoming proficient at C++ and then learn Java or should I go straight to Java. I have heard many different positions on this, one being C++ will make Java very easy to learn.

Thanks

The following 2 users say thank you to <Jimbo> for this useful post:

fightinillini94, Relevant
06-10-2011, 04:37 PM #3
Ritztro
I am a Game Developer
Well I think you should learn both. Because I heard that you can use c++ libraries in your java applications.
06-10-2011, 07:18 PM #4
fightinillini94
Climbing up the ladder
Originally posted by lt
Yes, learning C++ first will make learning Java at a later date easier. However this works both ways. I would usually say to stick with a language until you've became more proficient with it, however in your case... You want to make Android Apps? Therefore it's definitely more practical for you to switch to Java now; this will help you to develop your skills more diversely and efficiently (whilst enjoying it more). Smile

Good look, here is a useful link:
You must login or register to view this content. :y:


Ok thank you for the advice. I think im just going to go straight to java. Also are you saying learning java will also help to learn C++?

---------- Post added at 02:18 PM ---------- Previous post was at 02:10 PM ----------

Originally posted by MrBrent View Post
Well I think you should learn both. Because I heard that you can use c++ libraries in your java applications.


Ok. Thanks for the advice. And yes you can write certain aspects of android apps in native code
06-10-2011, 08:28 PM #5
<Jimbo>
</Jimbo>
I am indeed, it works both ways (At least for me) :p

Originally posted by fightinillini94 View Post
Ok thank you for the advice. I think im just going to go straight to java. Also are you saying learning java will also help to learn C++?

---------- Post added at 02:18 PM ---------- Previous post was at 02:10 PM ----------



Ok. Thanks for the advice. And yes you can write certain aspects of android apps in native code
06-10-2011, 11:35 PM #6
GQGK
Skillz
Originally posted by fightinillini94 View Post
Hey guys,

I have a VERY basic understanding of C++ and I would like to learn Java to make android apps. So my question is should I use my time becoming proficient at C++ and then learn Java or should I go straight to Java. I have heard many different positions on this, one being C++ will make Java very easy to learn.

Thanks


Don't even hesitate. Start java now. I'm actually a java programmer (Computer Engineering Student) and they taught us Java first at my school (most do c++). I have to say it's made the transition to c++ easier as well as objective c. Java is a very easy to learn language that doesn't use many of the difficult things c++ has (aka pointers :p). Just start. If you need help let me know. I've made a few android apps for personal use and I can walk you through the process of how to do it if you'd like.

---------- Post added at 07:35 PM ---------- Previous post was at 07:32 PM ----------

Originally posted by MrBrent View Post
Well I think you should learn both. Because I heard that you can use c++ libraries in your java applications.


This is untrue (meaning a bad idea) in most applications... Java is run by a virtual machine and therefore it is OS independent but machine dependent. Utilizing c++ libraries would defeat this purpose and would make everything OS AND machine dependent. Which I know for android it would not be a good idea.

The following user thanked GQGK for this useful post:

fightinillini94
06-11-2011, 01:28 AM #7
Ritztro
I am a Game Developer
Originally posted by GQGK View Post
Don't even hesitate. Start java now. I'm actually a java programmer (Computer Engineering Student) and they taught us Java first at my school (most do c++). I have to say it's made the transition to c++ easier as well as objective c. Java is a very easy to learn language that doesn't use many of the difficult things c++ has (aka pointers :p). Just start. If you need help let me know. I've made a few android apps for personal use and I can walk you through the process of how to do it if you'd like.

---------- Post added at 07:35 PM ---------- Previous post was at 07:32 PM ----------



This is untrue (meaning a bad idea) in most applications... Java is run by a virtual machine and therefore it is OS independent but machine dependent. Utilizing c++ libraries would defeat this purpose and would make everything OS AND machine dependent. Which I know for android it would not be a good idea.


Ya but C++ is very useful anyway.
06-11-2011, 02:55 AM #8
fightinillini94
Climbing up the ladder
Originally posted by GQGK View Post
Don't even hesitate. Start java now. I'm actually a java programmer (Computer Engineering Student) and they taught us Java first at my school (most do c++). I have to say it's made the transition to c++ easier as well as objective c. Java is a very easy to learn language that doesn't use many of the difficult things c++ has (aka pointers :p). Just start. If you need help let me know. I've made a few android apps for personal use and I can walk you through the process of how to do it if you'd like.

---------- Post added at 07:35 PM ---------- Previous post was at 07:32 PM ----------



This is untrue (meaning a bad idea) in most applications... Java is run by a virtual machine and therefore it is OS independent but machine dependent. Utilizing c++ libraries would defeat this purpose and would make everything OS AND machine dependent. Which I know for android it would not be a good idea.

Ok thanks for the advice. Im gonna search around for some java tutorials. Do you recommend any?
06-11-2011, 06:17 AM #9
kiwimoosical
Bounty hunter
Originally posted by GQGK View Post
Don't even hesitate. Start java now. I'm actually a java programmer (Computer Engineering Student) and they taught us Java first at my school (most do c++). I have to say it's made the transition to c++ easier as well as objective c. Java is a very easy to learn language that doesn't use many of the difficult things c++ has (aka pointers :p). Just start. If you need help let me know. I've made a few android apps for personal use and I can walk you through the process of how to do it if you'd like.

---------- Post added at 07:35 PM ---------- Previous post was at 07:32 PM ----------



This is untrue (meaning a bad idea) in most applications... Java is run by a virtual machine and therefore it is OS independent but machine dependent. Utilizing c++ libraries would defeat this purpose and would make everything OS AND machine dependent. Which I know for android it would not be a good idea.


Android is a linux distro for mobile phones therefore it can run native code, yet it has a JVM in it allowing it to run compiled java byte code. It's not a bad idea, infact if you know what your doing you could skip the JVM and go straight to the native compiler allowing much much more efficiency and speed. Although it's rarely done, it's not a bad idea at all.

---------- Post added at 02:17 AM ---------- Previous post was at 02:16 AM ----------

Originally posted by fightinillini94 View Post
Ok thanks for the advice. Im gonna search around for some java tutorials. Do you recommend any?


I'll be your tutorial, PM me and I'll give you my AIM/Skype/MSN or whatever you use info and I'll guide you through the world of java and XML (UI development for android) Smile
06-11-2011, 04:34 PM #10
GQGK
Skillz
Originally posted by kiwimoosical View Post
I'll be your tutorial, PM me and I'll give you my AIM/Skype/MSN or whatever you use info and I'll guide you through the world of java and XML (UI development for android) Smile


Do you like the xml for android? I started off using it but lately I've been making my UIs programmatically because of the flexibility you have.

---------- Post added at 12:34 PM ---------- Previous post was at 12:29 PM ----------

Originally posted by MrBrent View Post
Ya but C++ is very useful anyway.


Originally posted by kiwimoosical View Post
Android is a linux distro for mobile phones therefore it can run native code, yet it has a JVM in it allowing it to run compiled java byte code. It's not a bad idea, infact if you know what your doing you could skip the JVM and go straight to the native compiler allowing much much more efficiency and speed. Although it's rarely done, it's not a bad idea at all.

---------- Post added at 02:17 AM ---------- Previous post was at 02:16 AM ----------



I'll be your tutorial, PM me and I'll give you my AIM/Skype/MSN or whatever you use info and I'll guide you through the world of java and XML (UI development for android) Smile


According to this I am incorrect: You must login or register to view this content. PARTS of your program can be written in c/c++ IF you know JNI. So it's very usable but not for an entire program that most people would make. Sorry for my incorrectness :p

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo