I will be starting college next semester for my first time practically with a major in CIS. I am interested in Linux development and more specifically Android development. Also web page development. I'm not entirely new to linux or android but I've never built a ROM or anything of that nature. My question is what classes should a freshman majoring in CIS be looking to enroll in. I'm sure I'll need Java and C but not sure what else. thanks for your help.
Ooo would like to know too. Planning to major in Computer Science next year when I leave for college so this would be nice.
Sorry if this is considered hijacking your thread. Dx
if you are single.... this is an obvious one...
YOGA
hawt chicks... everywhere. in stretchy pants.
stretchy. pants. @[email protected]
skinnyveganboy said:
I will be starting college next semester for my first time practically with a major in CIS. I am interested in Linux development and more specifically Android development. Also web page development. I'm not entirely new to linux or android but I've never built a ROM or anything of that nature. My question is what classes should a freshman majoring in CIS be looking to enroll in. I'm sure I'll need Java and C but not sure what else. thanks for your help.
Click to expand...
Click to collapse
If you're particularly interested in Linux and Android those are both embedded systems. To some classes have classes dedicated specifically to embedded systems and kernel development (I'm taking one soon). In order to do this you'll need to know how to code and learn more about memory stacks and the way computer memory is allocated down to the very last bit.
I suggest learning java to start off. And kernels are actually coded in C. So you'll have to learn coding basics and get more in depth as you progress. As a freshman I would start off with learning java, I also suggest you take some of your own time to learn about kernel development before you actually take the class.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
Cool, I know how to code in c. Problem is java. xD Well I can more or less tell what a basic to average java code says, but can't write one. xD
Guess i'll hit up the schools on embedded systems and such.
Kailkti said:
Cool, I know how to code in c. Problem is java. xD Well I can more or less tell what a basic to average java code says, but can't write one. xD
Guess i'll hit up the schools on embedded systems and such.
Click to expand...
Click to collapse
You don't NEED to know java, but it really helps understanding the concepts as C is a little more complicated than Java. Funny thing is, EVERY OS have a kernel. Even windows. Most people don't know that.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
Really? I thought java would be more complicated seeing as how c seems very robust, if I may say, and seems limited, e.g. cannot really have GUI.
I found out about windows having kernels last year too. Com sci at my high school is awesome which is why i want to take it up at college also. xP
Kailkti said:
Really? I thought java would be more complicated seeing as how c seems very robust, if I may say, and seems limited, e.g. cannot really have GUI.
I found out about windows having kernels last year too. Com sci at my high school is awesome which is why i want to take it up at college also. xP
Click to expand...
Click to collapse
The thing that makes java easier is because it's object oriented. C is not...the fact that it's not so limited and anything can be anything (A string variable can even be an int.) is actually what makes it difficult for some people to grasp the concept. AND java can have a gui, Android applications are actually coded in hand, I'm also taking a course on java GUIs and all that nice stuff next semester too.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
Java and C share a lot of similarities, but generally speaking C is not object oriented, but Java is (C can be and Java doesn't have to be, but that's generally the way it is).
Object orientation is something that takes learning, regardless of what language it's in. It's a very powerful programming technique (if that's the correct word) that has a lot of advantages over non-OO programming techniques, and that obviously comes with a learning curve.
Definitely worth getting into, especially for app development.
Archer said:
Java and C share a lot of similarities, but generally speaking C is not object oriented, but Java is (C can be and Java doesn't have to be, but that's generally the way it is).
Object orientation is something that takes learning, regardless of what language it's in. It's a very powerful programming technique (if that's the correct word) that has a lot of advantages over non-OO programming techniques, and that obviously comes with a learning curve.
Definitely worth getting into, especially for app development.
Click to expand...
Click to collapse
Stole the words right out of my mouth bud
-We do what we must because we can; for the good of all of us, except the ones who are dead-
I_am_Error said:
The thing that makes java easier is because it's object oriented. C is not...the fact that it's not so limited and anything can be anything (A string variable can even be an int.) is actually what makes it difficult for some people to grasp the concept. AND java can have a gui, Android applications are actually coded in hand, I'm also taking a course on java GUIs and all that nice stuff next semester too.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
Click to expand...
Click to collapse
Oh no i was talking about c programs not being able to really have a GUI, not java.
That's what I hate about my school in a way though, they switched from java to c.
Now that you mentioned it, I thought all other programming language allowed a string to contain numerical values since they are characters also, but I guess not. Guess that's another reason as to why c is still so popular due to its universitality.
Kailkti said:
Oh no i was talking about c programs not being able to really have a GUI, not java.
That's what I hate about my school in a way though, they switched from java to c.
Now that you mentioned it, I thought all other programming language allowed a string to contain numerical values since they are characters also, but I guess not. Guess that's another reason as to why c is still so popular due to its universitality.
Click to expand...
Click to collapse
Well, a String can be an int but not really. More so, you're doing this String example = "126"; which make it equal to the characters. Not like String otherExample = 126; See the difference?
Plus, people use c because c "speaks" directly to the hardware. As a opposed to java which doesn't speak past the environment that java has set up for itself. C is an extremely useful language and I don't think it's going anywhere in the programming world.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
More or less i think i get what you're saying.
I see, so c speaks to the machine (now i see why it's used for the kernel development) while java only speaks on say a speak virtual machine level.
Kailkti said:
More or less i think i get what you're saying.
I see, so c speaks to the machine (now i see why it's used for the kernel development) while java only speaks on say a speak virtual machine level.
Click to expand...
Click to collapse
Basically. That right there is more or less the reason why people code in C.
-We do what we must because we can; for the good of all of us, except the ones who are dead-
Honestly, likely whatever your adviser says you should take. For my college, computer science courses are taken on a "if it's offered, take it. You can't afford to wait until next time it's offered." That being said, you probably will be lucky to take any until 2nd semester. You have gen eds to finish, which will probably fill up your schedule for at least a year (I'm not taking any major courses until 2nd semester of sophomore year).
In short, don't worry, you'll have time to feel it out and won't be slammed with a crapton of computer science courses and not know what to do.
Thanks a bunch for all your inputs. My wife and I are going to major together so we can bounce assignments off eachother and such. I know one of the college's admissions councilors so I'll just ask here what she recommends we take. but I think the most important thing we've all learned from this thread is that 'crapton' is one word...
hottubtimemachine said:
if you are single.... this is an obvious one...
YOGA
hawt chicks... everywhere. in stretchy pants.
stretchy. pants. @[email protected]
Click to expand...
Click to collapse
Yeaaaaa @[email protected]
Sent from my X8 using xda premium
Related
This really should be in the Dev section, but for fear of the thread getting trashed, I put it in Q & A. If this question has been posted, don't flame me...just point me to the link.
Simply, I want to learn to code in Linux. I now know next to nothing. I have learned most of the shell commands and such, but where do I go from here.
What language is Android in (Java, I presume. But isC++ useful)? I can find tutorials and I am intelligent, so I should be able to learn some on my own. Where do I start?
I have found several interactive tutorials:
1. Learning to program in C++
2. Learning to program in Java
Which one to pursue? I don't want to be Cyanogen or anything, but can't stand to be left out of the loop.
Will
Android apps are built in java. Start here for the SDK and plenty of useful info to get you going:
http://developer.android.com/index.html
Developer.android.com is a good place to start.. its modified form of java called dalvik, but java none the less. C is good for terminal apps, and Im pretty sure you can include some c in apps now too
the language is the least thing you should worry about though. Pick up a book on programming for dummies (i mean it, not trying to be mean or anything) or something that teaches you the basics of programming. There are several conventional approaches that we use to program. You can dive head first into Java, or C++, etc, but if you don't yet understand program flow (sequential, looping, or branching) or about data types and structures, objects, etc, you'll still be at a loss. Programming is a very general concept and once you get the hang of it, then you can pick whichever language is the best tool for what you'll be doing (in this case, google's android implementation of java).
Also pick up some HTML and javascript, both combined will make it a lot easier to understand XML once you get to it, and for some of the shell scripting associated with putting out roms, give using any linux distro as your real main OS a try for a few months. It's frustrating at first, but you'll learn so much trying to learn how to use it.
Jubeh,
Exactly the answer I was looking for. While thankful to the other posters, I think they understood me as having some knowledge (I tried to dive right into the SDK and it made about as much sense as Hebrew).
I am downloading a book called C++ for dummies and another by O'reily.
Let's see where this leads....I hope it is something that if I am dedicated enough can be learned outside a classroom.
Thanks all....
----
Removed:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
jubeh said:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
Click to expand...
Click to collapse
How is it a ware? Ebook...
Removed link anyway.
Thanks for asking this question pinetreehater. I've searched for the answer and not really found what I was looking for. I wanted to ask this myself but, as you stated, I didn't want to get noob-bashed.
I have some programming knowledge. I took some of the older langauges in highschool *mid 80's* (basic (of course), cobol, and assembler). And was quite good at it. IMHO. But I didn't really follow it after that and have basically forgot all of it.
I have a question.
Once I've got the books. How do I practice using them on my pc?
Just wondering if anyone on here is one.
Im really interested in become one but idk if I should go to a 4yr college
or a tech school (itt,devry etc..)
any advice?
university
A good well rounded university education is best if possible. Some start out and get a junior 2 year degree but make certain it's a match with the 4 year school you plan to get your BS degree. often it can take 5, 6 and even more years to finish. They give you projects with deadlines in a week. Computer Science requires much self-education so prepare to learn most things on your own. Programmers from Bill Gates and so on have made fortunes with their own initiative and creative spirit which one develops through intensive study and a drive to be creative much as an artist has. Programming is both a science and an art form.
Tone-E said:
Just wondering if anyone on here is one.
Im really interested in become one but idk if I should go to a 4yr college
or a tech school (itt,devry etc..)
any advice?
Click to expand...
Click to collapse
Just don't buy a learn to program in 24hrs book
If you are to take that path, start programming before you enter college. I already programmed in a VB-like IDE for mobile devices a few years before I entered college and it saved my life. Since I already knew the basic concepts, I made it with nice grades while everyone struggled to understand our teacher.
Visual Basic might not be the best way to start, so I recommend a simple curly brace language like PHP (web-based, very permissive). If you already know HTML, you will love it.
Oh, and NEVER, EVER copy and paste code you don't understand. Take the time to grasp every function you use in your program/website. If possible, start from scratch and use 100% original code. It's the right way to innovate and make mistakes to learn from.
All the best!
-Another programming n00b
anarchyuk said:
Just don't buy a learn to program in 24hrs book
Click to expand...
Click to collapse
I've found "For Dummies" books to be a great place to start and would have loved to know about it a few years ago. Heck I might have been a senior C++ or assembly programmer by now (jk)!
Hi,
I have to admit that I would start with VB.NET and then learn C/C++ eventually. Should have you covered for most platforms.
**** college. You can only learn to code by coding and reading - better prepare to spend a nice bit of hay at Amazon's.
I have a few recommended books here:
http://tamspalm.tamoggemon.com/category/hardware-reviews/book-reviews/
http://tamsppc.tamoggemon.com/category/reviews/hardware-reviews/books/
and also on the other sites.
Hows the salary?
To learn "Computer Science" you need to study at a college.
To "Program" all you need is interest and a logical mind.
I recommend Starting with C or Java, and then specializing in a niche area where you can get a lot of jobs. (For Ex: Android)
The salary is quite good when it comes to programming jobs if you can get hired at a place where your competences are valued.
how long did it take you to become a programmer and how is the work experience.
I'm not. I'm studying and slowly start to get web dev jobs. Work happens all at once and it's thrilling!
o thats cool did u go to a 4yr college or tech school?
I'm a sophomore in high school taking computer science. (please don't judge me because of my age) Our school is making some major budget cuts, so sadly our video game programming and design class (the only other higher level programming class offered) got cut and this will be my last and only programming class at my school (well there's a possibility that it will be brought back in my senior year, but I'd at least like to stay fresh over the summer and next year). I don't know much about java to tell you the truth. I know how to use loops, conditionals, arrays (1 and 2 dimensional) and arraylists and most of the basic variable types (off of the top of my head, integers, doubles, booleans, longs, and strings). I've made some very very simple apps such as whack a mole and craps, but the gui class was provided by my teacher.
My question is this: is there a good, preferably free online program that teaches you the basics of java (especially related to the gui) and possibly some more complex programming?
I appreciate any help. thanks.
P.S. Please forgive me if this is too off-topic, but I really couldn't think of a better place to post this. Hope you guys will be able to help.
gonintendo said:
I'm a sophomore in high school taking computer science. (please don't judge me because of my age) Our school is making some major budget cuts, so sadly our video game programming and design class (the only other higher level programming class offered) got cut and this will be my last and only programming class at my school (well there's a possibility that it will be brought back in my senior year, but I'd at least like to stay fresh over the summer and next year). I don't know much about java to tell you the truth. I know how to use loops, conditionals, arrays (1 and 2 dimensional) and arraylists and most of the basic variable types (off of the top of my head, integers, doubles, booleans, longs, and strings). I've made some very very simple apps such as whack a mole and craps, but the gui class was provided by my teacher.
My question is this: is there a good, preferably free online program that teaches you the basics of java (especially related to the gui) and possibly some more complex programming?
I appreciate any help. thanks.
P.S. Please forgive me if this is too off-topic, but I really couldn't think of a better place to post this. Hope you guys will be able to help.
Click to expand...
Click to collapse
Go to Youtube.....search for a guy named "thenewboston"
He has a whole series of java programming lectures that saved me in my Advanced Java course in college....
Mr. Apocalypse said:
Go to Youtube.....search for a guy named "thenewboston"
He has a whole series of java programming lectures that saved me in my Advanced Java course in college....
Click to expand...
Click to collapse
Thanks! I'll make sure to check him out!
I was in the same place as you a while back. The best way to learn is by trying to make something you want.
Before jumping into any serious programming you need to learn a few more important concepts. Methods, classes, objects, and more on those. You need to understand how it all works before going further.
If you have any questions feel free to message me or hit me up on gtalk. I'll give you some tips, ideas, and some source code of apps to dig into, if you like.
Sent from my SGH-T959 using Tapatalk
the basics:
http://download.oracle.com/javase/6/docs/api/
http://www.eclipse.org/downloads/
now go to some university's entry level cs website and do some of the programming assignments.
but if you know control flow, some data structures, types, etc. just program. there are a ton of simple things to write. for example, write a calculator that has an add method that just adds the two arguments, then write recursive multiplication, factorial, and exponential methods that only use add (or other methods you wrote). it's simple, but decent recursion practice. i could give you a ton of simple programs to write.
oh and pay attention to what everything actually is. read and understand what static, private, public, classes, objects, etc. actually are and their purpose.
birgertime said:
I was in the same place as you a while back. The best way to learn is by trying to make something you want.
Before jumping into any serious programming you need to learn a few more important concepts. Methods, classes, objects, and more on those. You need to understand how it all works before going further.
If you have any questions feel free to message me or hit me up on gtalk. I'll give you some tips, ideas, and some source code of apps to dig into, if you like.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I should have added, I have a basic understanding of methods and classes, and we are just getting into objects now.
Thanks for all the responses guys! really appreciate the help.
also, if you guys have any suggestions for simple apps that a beginner like my self could make, fire away.
I applaud you for beginning a hobby/interest in programming early. Currently I'm a 2nd year student at a university for Computer Science so I have a very direct understanding of Java. You should know that structure of Java (for every day use) is different than that of the Java on Android.
Download the Android SDK: developer.android.com/sdk/index.html
Follow all the steps of installation and DO the Hello, Android (World) app that it gives you. Make sure you UNDERSTAND everything on the screen and in your main class.
Continue reading all the Developer documents for the SDK here:
developer.android.com/guide/index.html
Joy2DaWurld said:
I applaud you for beginning a hobby/interest in programming early. Currently I'm a 2nd year student at a university for Computer Science so I have a very direct understanding of Java. You should know that structure of Java (for every day use) is different than that of the Java on Android.
Download the Android SDK: developer.android.com/sdk/index.html
Follow all the steps of installation and DO the Hello, Android (World) app that it gives you. Make sure you UNDERSTAND everything on the screen and in your main class.
Continue reading all the Developer documents for the SDK here:
developer.android.com/guide/index.html
Click to expand...
Click to collapse
Thanks! I had kind of figured that android developement would be a whole different beast.
Who is this "java" girl and why would you like to go in and out and in and out of her?
What can I say? Different strokes.
gonintendo said:
What can I say? Different strokes.
Click to expand...
Click to collapse
Perhaps you would like to have a go at Missionary Java or K9 Java.
I can sell you my 'Programming with Alice and Java' textbook...if I find it. It has all the intro stuff. First it uses a program called Alice to teach you how it works, and then it teaches you to do actual code. When I find it I can tell you where it leaves off.
Hey guys I've been flashing and rooting and unlocking for a couple years and I'd like to actually learn how to build roms, apps, ect. Where can I learn?
Sent from my PACman Atrix HD using XDA Premium
I think the best place to start learning how to develop apps is the official android SDK with adt. but if building android is what you want then take any Linux distro and start reading about official aosp. information for both are publicly available from Google.
frog1982 said:
I think the best place to start learning how to develop apps is the official android SDK with adt. but if building android is what you want then take any Linux distro and start reading about official aosp. information for both are publicly available from Google.
Click to expand...
Click to collapse
Linux is, like, mac or something right? I'm on Windows 7 so am I screwed?
Blackest Pain said:
Linux is, like, mac or something right? I'm on Windows 7 so am I screwed?
Click to expand...
Click to collapse
Read this.
Good luck!
http://www.dedoimedo.com/computers/dual-boot-windows-7-ubuntu.html
Sent from my MB886 using xda premium
Blackest Pain said:
Linux is, like, mac or something right? I'm on Windows 7 so am I screwed?
Click to expand...
Click to collapse
buy a decent sized harddrive and install ubuntu or mint linux on it. then you can dual boot win7 and linux like me. Just start tooling around with the linux command line (terminal) and learning how to think like a geek lol. Then take someones rom, and take it all apart. look at what makes up a rom... the apps, libs, frameworks, etc. Setup a build environment on your linux box, download the official source code from google, and try compiling it until you can do so without errors. at that point, if you want to start actually deving, you need to know java, cuz that's what source code is in mostly. there are alot of source code modifications avaiable on xda, try merging one in with the source code and rebuilding it and see if it compiles... if not, it''ll tell you where the error is. just play around with it, practice, ask questions, but actually jumping in and just making your self do it is the best way
Youngunn2008 said:
buy a decent sized harddrive and install ubuntu or mint linux on it. then you can dual boot win7 and linux like me. Just start tooling around with the linux command line (terminal) and learning how to think like a geek lol. Then take someones rom, and take it all apart. look at what makes up a rom... the apps, libs, frameworks, etc. Setup a build environment on your linux box, download the official source code from google, and try compiling it until you can do so without errors. at that point, if you want to start actually deving, you need to know java, cuz that's what source code is in mostly. there are alot of source code modifications avaiable on xda, try merging one in with the source code and rebuilding it and see if it compiles... if not, it''ll tell you where the error is. just play around with it, practice, ask questions, but actually jumping in and just making your self do it is the best way
Click to expand...
Click to collapse
Thanks What size hard drive do you recommend and what rom should I dismantle?
(I'd thank both of you but apparently there's a thanks limit I didn't know about...)
each aosp build is about 30 gigs and Linux takes almost no room no matter which distro you use so when it comes to the size of the HDD it is all about the balance of how often you want to clean and how much you want to spend.
frog1982 said:
each aosp build is about 30 gigs and Linux takes almost no room no matter which distro you use so when it comes to the size of the HDD it is all about the balance of how often you want to clean and how much you want to spend.
Click to expand...
Click to collapse
That. I'll add that, on my PC, Linux uses 20GB of space...but I also have two distros installed on the same partiton with one being a chrooted build environment.
Roms use around 20-30GB as is, another 15-20GB is used up when compiling, so you want to reserve 40-50GB PER ROM to be safe.
If you do buy a hard drive just for compiling roms, BUY A SSD...solid state drive. That and RAM will help you the most. I'd expect just a SSD alone would cut my current build times in half.
I'll tell ya that without any Linux experience at all that you're gonna be in for a nice fun time.
Now, if you just wanna write apps, LEARN JAVA. You can do app writing on Windows and test on an Android Emulator (or your phone for at matter). No Linux necessary for just writing apps.
That said, if you want to get into compiling roms, you've picked the right place because I will help you if your serious. If you ask me a SPECIFIC QUESTION I'll give a specific answer. Don't ask "How do I use git?" cause I might not reply very nicely. Ask me "How do I update the kernel with the Dev Teams latest updates and I'll give you step by step instructions. I'm about to have 3 different roms I'm gonna have to compile. So if you just wanna pick one of them that isn't PAC, feel free to be the compiler of it. So far I've had multiple offers for compilers and only @Youngunn2008 has stepped up and actually started doing it.
EDIT:
//I started building custom roms about a year into using Android. Had to. Nobody else on my device could (or would?) and I wanted more roms, simple as that. All I did was CM7, PA, and a few others, but it got me to where I am now. Kanged from Quarx's repos. I owe much of my Android knowledge just from watching his commit history (and for keeping us up-to-date with proper drivers). A good Dev Base is a good place to start from, just remember to give proper credit and thanks (and ask permission if it isn't open souce -- that's a big one).
You guys are the best. I'm gonna start looking for the equipment asap. Although I need to learn how to write code, so I'm gonna go through Java.
@skeevydude I'll definitely hit you up when I need serious help
P.s. where do you recommend I learn Java from?
Thanks everyone!
Sent from my PACman Atrix HD using XDA Premium
Blackest Pain said:
You guys are the best. I'm gonna start looking for the equipment asap. Although I need to learn how to write code, so I'm gonna go through Java.
@skeevydude I'll definitely hit you up when I need serious help
P.s. where do you recommend I learn Java from?
Thanks everyone!
Sent from my PACman Atrix HD using XDA Premium
Click to expand...
Click to collapse
http://developer.android.com/training/index.html
frog1982 said:
http://developer.android.com/training/index.html
Click to expand...
Click to collapse
I'd click Thanks but I've seemed to run out of them (seriously, 8 thanks a day? Really?), so thanks. I can't read script at all (It's like looking a spanish, knowing it's spanish, and not knowing what it says) but I'll try to stumble through this lol
Blackest Pain said:
I'd click Thanks but I've seemed to run out of them (seriously, 8 thanks a day? Really?), so thanks. I can't read script at all (It's like looking a spanish, knowing it's spanish, and not knowing what it says) but I'll try to stumble through this lol
Click to expand...
Click to collapse
my suggestion is to download the SDK and start following the my first app tutorial. I did not understand code at all until I did that and then things started falling into place and making sense.
Blackest Pain said:
You guys are the best. I'm gonna start looking for the equipment asap. Although I need to learn how to write code, so I'm gonna go through Java.
@skeevydude I'll definitely hit you up when I need serious help
P.s. where do you recommend I learn Java from?
Thanks everyone!
Sent from my PACman Atrix HD using XDA Premium
Click to expand...
Click to collapse
Couldn't tell ya where to learn Java from -- I don't know it. I'm starting to learn it myself...meaning today....but it really depends on the weather on what I can for the rest of the day -- lost internet for most of yesterday during a thunderstom and since another one is rolling in I might have to shut my machines down. Also why I haven't been on a whole lot the past 2 days. After today its supposed to be clear skies ahead.
I've just been lucky cause even though I don't know Java, its still pretty human readable and easy to figure out what I need to do when I merge code.
For a bit of help Java=Apps, C++=Kernel/Hardware. Not necessarily 100% true, but for the most part it is.
If you wanna get into writing apps for making money then start with Java....the only reason why I'm starting with Java over C++. As much as I'd like to learn C++\Bionic to help with bug fixes for the kernel, hardware libraries, etc, I'm flat broke and can't find a decent job -- Java and a good idea could fix that. Combine my current situation with the fact that in 10-15 years I won't even be able to do my current line of work (construction is a young man's job) so I need to buckle down and learn a new trade that doesn't involve 8-12 hours work in the sun, crap pay, sore body at the end of every day, and no real job security or benefits.
If anyone reading the above is thinking that I'm thinking I could be the next App Millionaire...I'm not. I'd be happy just to break the poverty line (1-3 thousand a month or more than 18k a year)....cost of living isn't that high in Arkansas luckily. I'd hate to live in NYC\Random Big City where a crappy 1 room apartment's rent is a high as a high-end middle class home here.
skeevydude said:
Couldn't tell ya where to learn Java from -- I don't know it. I'm starting to learn it myself...meaning today....but it really depends on the weather on what I can for the rest of the day -- lost internet for most of yesterday during a thunderstom and since another one is rolling in I might have to shut my machines down. Also why I haven't been on a whole lot the past 2 days. After today its supposed to be clear skies ahead.
I've just been lucky cause even though I don't know Java, its still pretty human readable and easy to figure out what I need to do when I merge code.
For a bit of help Java=Apps, C++=Kernel/Hardware. Not necessarily 100% true, but for the most part it is.
If you wanna get into writing apps for making money then start with Java....the only reason why I'm starting with Java over C++. As much as I'd like to learn C++\Bionic to help with bug fixes for the kernel, hardware libraries, etc, I'm flat broke and can't find a decent job -- Java and a good idea could fix that. Combine my current situation with the fact that in 10-15 years I won't even be able to do my current line of work (construction is a young man's job) so I need to buckle down and learn a new trade that doesn't involve 8-12 hours work in the sun, crap pay, sore body at the end of every day, and no real job security or benefits.
If anyone reading the above is thinking that I'm thinking I could be the next App Millionaire...I'm not. I'd be happy just to break the poverty line (1-3 thousand a month or more than 18k a year)....cost of living isn't that high in Arkansas luckily. I'd hate to live in NYC\Random Big City where a crappy 1 room apartment's rent is a high as a high-end middle class home here.
Click to expand...
Click to collapse
I would also recommend Java. I'm in an internship developing an Android app for a local company and it's pretty straightforward. I'm not very good at building GUIs, but I can manage the flow of code fairly well and I'm learning as I go.
I didn't know you were in construction, Skeevy... With how skilled you seem in all of this I would have thought you'd be from some sort of tech trade.
I've been looking into ROM development myself but it seems a bit overwhelming to me. I have always been interested in how operating systems are put together and built, but the most complex thing I've ever done was patch together a Linux server box for gaming and hosting an old website I had a year or two back.
I have worked with Linux for quite a while and I now run Ubuntu as a primary, no dualboot. It kinda sucks to get used to the lack of applications but I would much rather have the stability and responsiveness of a Linux system. Plus documentation is everywhere so anything is usually fairly easy to fix/get working.
If you guys could post some websites/threads with some tutorials or further reading so I can know what I am getting myself into, that would be awesome. I have always hoped that one day I'd be able to help you guys out with getting bugs squashed and features added.
spy_1134 said:
I would also recommend Java. I'm in an internship developing an Android app for a local company and it's pretty straightforward. I'm not very good at building GUIs, but I can manage the flow of code fairly well and I'm learning as I go.
I didn't know you were in construction, Skeevy... With how skilled you seem in all of this I would have thought you'd be from some sort of tech trade.
I've been looking into ROM development myself but it seems a bit overwhelming to me. I have always been interested in how operating systems are put together and built, but the most complex thing I've ever done was patch together a Linux server box for gaming and hosting an old website I had a year or two back.
I have worked with Linux for quite a while and I now run Ubuntu as a primary, no dualboot. It kinda sucks to get used to the lack of applications but I would much rather have the stability and responsiveness of a Linux system. Plus documentation is everywhere so anything is usually fairly easy to fix/get working.
If you guys could post some websites/threads with some tutorials or further reading so I can know what I am getting myself into, that would be awesome. I have always hoped that one day I'd be able to help you guys out with getting bugs squashed and features added.
Click to expand...
Click to collapse
GUI's are a pita to me as well...but then again, I'm barley mediocre at photoshop
I used to make good money doing what I do, and I liked doing it. I was doing custom wrought iron fences and gates -- the kind you see on high end lake houses and such. Since around September of '08 that line of work went from 30-50 hours a week to nothing....NOTHING. We've had maybe 6 jobs in the past 5 years nothing. Every job I've had since then has either gone under or I was let go because I was the new guy and they had too much costs in labor. Combine that with 2 years of 10 applications a week and not getting a single call back....almost applied and McD's a year ago. Asked how much I'd make and the manager said maybe 4 hours in a 7 day week for the first 6 months to a year....F THAT. Wouldn't have even covered the gas to work...no point in a job that you'd make -$15 for two weeks work....that's negative 15.
As far as my trade and tech are concerned -- I've always been naturally skilled at almost everything I've done. Not bragging, but that's always how things have been for me. My biggest weakness is I have crap social skills -- I have a bad tendency to see everything with pure logic and over analyze things, completely missing things like sarcasm and subtle hints. It wouldn't surprise me in the least to find out I had Asperger's.
Rom development and rom building (kanging) are two different things entirely. If you're already running Ubuntu (preferably 12.04) I could have you building a rom in no time at all.
Its nothing more following the official build setup guide (assloads of copy/paste )
making a directory for the rom
open a terminal to that directory
"repo init -u https://github.com/PAC-man/android.xml -b cm-10.1"
"repo sync"
". build-pac.sh mb886 -jX" where X is the number of cores your PC has
Do something else for a few hours
Check PC -- if the rom fully compiled then you've just kanged PAC-man
To update, go to rom's directory, "make clean", step 5, step 6.
Adding support for other roms is as simple as seeing what other devs\kangers did in the project's vendor directory as well as in the device/common-device directories. It really is simple once you've done it a few times -- first time or two can be a real b*tch.
My only real gripe with linux is some of the apps either just don't seem finished or are just good enough to do the job but look like crap. For me, other than gaming, I've been able to find a suitable replacement for all my common, everyday needs from emulation to video encoding to word processing.
As far as tutorials go....I just use Google, XDA search, and rootzwiki.com search...between the three I can pretty much find anything I need to know. Power searching is the unwritten requirement in all the tutorials I've ever read. Being able to scour the net for odd bits of information is a necessary skill to kang or dev roms.
//Lack of search skills is a reason some of us power users get upset and pissy around here...myself anyways...I can't tell ya how many help questions I've answered where I LITERALLY copy/pasted the error code in the help post to the google search box in Firefox and the FIRST LINK the fix....also why I don't answer the same question more than 2 or 3 times....search just our forums and you might find the answer. :whodathunkit: (// isn't at you, my mind likes to rant in the mornings )
skeevydude said:
Couldn't tell ya where to learn Java from -- I don't know it. I'm starting to learn it myself...meaning today....but it really depends on the weather on what I can for the rest of the day -- lost internet for most of yesterday during a thunderstom and since another one is rolling in I might have to shut my machines down. Also why I haven't been on a whole lot the past 2 days. After today its supposed to be clear skies ahead.
I've just been lucky cause even though I don't know Java, its still pretty human readable and easy to figure out what I need to do when I merge code.
For a bit of help Java=Apps, C++=Kernel/Hardware. Not necessarily 100% true, but for the most part it is.
If you wanna get into writing apps for making money then start with Java....the only reason why I'm starting with Java over C++. As much as I'd like to learn C++\Bionic to help with bug fixes for the kernel, hardware libraries, etc, I'm flat broke and can't find a decent job -- Java and a good idea could fix that. Combine my current situation with the fact that in 10-15 years I won't even be able to do my current line of work (construction is a young man's job) so I need to buckle down and learn a new trade that doesn't involve 8-12 hours work in the sun, crap pay, sore body at the end of every day, and no real job security or benefits.
If anyone reading the above is thinking that I'm thinking I could be the next App Millionaire...I'm not. I'd be happy just to break the poverty line (1-3 thousand a month or more than 18k a year)....cost of living isn't that high in Arkansas luckily. I'd hate to live in NYC\Random Big City where a crappy 1 room apartment's rent is a high as a high-end middle class home here.
Click to expand...
Click to collapse
spy_1134 said:
If you guys could post some websites/threads with some tutorials or further reading so I can know what I am getting myself into, that would be awesome. I have always hoped that one day I'd be able to help you guys out with getting bugs squashed and features added.
Click to expand...
Click to collapse
I'm in high school but I REALLY don't want to work at a fast food place, so this like a good way to earn so change. Once I get out, this will (hopefully) become more of a hobby for the next 25 yrs as I'm training to become an Electrician. Then when I'm done and in the early retirement that seems to come with many people in that field I'll hop back onto this. I also second that idea with the idea of website tutorials lol.
Blackest Pain said:
I'm in high school but I REALLY don't want to work at a fast food place, so this like a good way to earn so change. Once I get out, this will (hopefully) become more of a hobby for the next 25 yrs as I'm training to become an Electrician. Then when I'm done and in the early retirement that seems to come with many people in that field I'll hop back onto this. I also second that idea with the idea of website tutorials lol.
Click to expand...
Click to collapse
Electrician is a good trade to get into. I wouldn't mind being an electrician actually. Especially since I know enough contracters, house flippers, and landlords that are always needing electrical done and hate paying the electrician (they can pretty much write their own check cause you GOTTA have that LICENSE to touch ANY wire)....why I always built my gates to run on a 12V solar setup (more reliable and I don't need a license to mount a panel and hook it up to a car battery; not to mention a grand cheaper).
Look, I'd post some links, but the best links are banned from a site like this where ethics matter. I'm broke so I can't afford the ebooks if ya know what I mean...hint, hint...find good looking book with positive reviews, google search "name of book .epub", ????, profit.
//see my above post for a quick glance at what McD's offered me....TL : DR version....negative 15 a week cause I factored in a thing called gas money.
Hi,
I have a doubt about why to use objects while we are extending a class in another.
Or u can say Whats the use of extending a class when u can call its properties using objects?
Example:
Class A{
---
---
}
Class B extends A{
-----
-----
}
Class C extends B{
psvm(String [] args){
B ob = new B(); /*From this object i can call functions and other properties of class B. So What's the use of extending?*/
}
}
The point is that you make a class X as a base class, containing a number of standard variables (e.g. Vehicle, with license number and top speed).
Then you make a class Y (and mostly also a Z and maybe further, because why one child class), that extend X.
These classes can access and set the variables in the X class, and also have more variables, e.g. the number of doors if it's a Car class.
Then you will make a new Car, which is (through extending, and thus inheritance) also a Vehicle.
In the Car constructor, you would call super(...) with whatever variables Vehicle has, and then set the rest of the parameters that the car constructor got to its variables.
On a phone, so not the clearest explanation, maybe. Ask away if you have questions.
A good example of using inheritance is Streams. You have a Stream base class (abstract class - can't be instantiated) and then you have FileStream and MemoryStream that inherit from Stream. All the underlying stream type code is in the Stream class, and common methods such as reading and writing are handled in the inherited classes, as a FileStream.Read and MemoryStream.Read are obviously two different things.
In short, if you can't think of a good reason to use a base class and inherit then you probably don't need to.
Am I the only one who makes their own libraries for commonly called functions?
Haven't had to. Depends on how commonly and the situation, I guess.
It's best if you work with a team also. Rather than everyone creating the same functions across multiple levels of code. Make a library and notify the team of what's in it. Then they can use the commons too and might even create their own to clean their end of things.
I was taught c++ from a business and team aspect of working with others and needing your **** to be read by others.
Ok.. I got it
Thanks everyone @bassie1995 @Archer @boborone
And why am I not getting the thanks button for anyone of you? :/
mkhawx said:
And why am I not getting the thanks button for anyone of you? :/
Click to expand...
Click to collapse
No thanks button in OT.
Just chatting for the hell of it, no thanks needed.
boborone said:
Am I the only one who makes their own libraries for commonly called functions?
Click to expand...
Click to collapse
I have a C# library called Utilities.cs and it's around 120KB at the minute, but it grows on a daily basis. I did have a library for Delphi that I wrote over the course of years that was a lot bigger, and some of it got included in project Jedi which was eventually added to Delphi by Borland. That was nice, knowing that I'd helped shape that language for other people.
Horses for courses though. A library should never be the answer where a base class is right (I can't think of an example anyway).
boborone said:
I was taught c++ from a business and team aspect of working with others and needing your **** to be read by others.
Click to expand...
Click to collapse
No no, that's not how programming works. you were taught wrong
husam666 said:
No no, that's not how programming works. you were taught wrong
Click to expand...
Click to collapse
Dude the **** that comes out nowadays you'd think that they wrote code for nobody to read, even them when a bug comes out, they can't even figure out what is what.
boborone said:
Dude the **** that comes out nowadays you'd think that they wrote code for nobody to read, even them when a bug comes out, they can't even figure out what is what.
Click to expand...
Click to collapse
I was being sarcastic, but anyway, I'm one of those who write messy code, mainly because I'm usually in a hurry to finish, and I get too lazy to refactor the code later.
I always comment my unreadable code with:
//I'm going to hate myself later
husam666 said:
I was being sarcastic, but anyway, I'm one of those who write messy code, mainly because I'm usually in a hurry to finish, and I get too lazy to refactor the code later.
I always comment my unreadable code with:
//I'm going to hate myself later
Click to expand...
Click to collapse
I know that's how you code. I was halfway talking to/about you. [emoji14]