Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

What Can I Read Up On To Learn More About Coding?


This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 astewes

astewes
  • Members
  • 2 posts

Posted 21 July 2012 - 12:55 PM

I've become really interested in the coding behind these mods and want to learn more.

For those of you either involved with CyanogenMod builds or knowledgeable about the coding that goes into them - what resources out there would you recommend I check out? I can imagine much of it would be 101s on basic coding, so feel free to recommend anything covering the fundamentals. As far as my coding background, I know a moderate amount of HTML/Javascript. Which doesn't exactly give me a good base, but I tend to pick up on things quickly...thanks in advance!

#2 mdfilio

mdfilio
  • Members
  • 7 posts

Posted 21 July 2012 - 07:21 PM

There's all kinds of things involved within creating something like cyanogenmod. Just visit:

https://github.com/CyanogenMod

And start browsing some of the source. You'll see different parts of android are done in different languages: Java, C++, C, python

For instance, there's individual apps within cyanogenmod that provide functionality, such as torch, that are going to be in large part java.

Seeing the whole thing is going to be overwhelming. So first, I recommend focusing on something specific and defining what you actually want to do.

From a beginning programming stand point, a free book in PDF format for download that teaches most if not all a Computer Science class does and also covers python is Think Python and can be found at:

http://www.greenteap...om/thinkpython/

There's also a java version of the book on the same site although I haven't actually used it. I believe the content is the same just formatted for Java instead of python. In any case, those books will give you a good programming base to expand on.

A good programming Android apps book (although not free if you search hard enough you are sure to find a copy) is Learning Android:

http://shop.oreilly....636920010883.do

( It appears you can also view the work in progress version of the book at http://ofps.oreilly..../9781449390501/ )

Which gives a hands on approach and in the course of the book you make a twitter like client. I highly recommend learning git as well and since the book does things in a build a working piece at a time approach would be great practice for it. Pay attention to the errata of this book, there are some gotchas and misprints if I recall correctly.

I don't know of a git resource I'd recommend though, I have been doing it more brute force style myself.

You don't need a full programming background to make modifications, although without a specific goal in mind it's hard to say. The forums are your friends at:

http://www.xda-developers.com
http://rootziwiki.com

#3 astewes

astewes
  • Members
  • 2 posts

Posted 22 July 2012 - 02:54 AM

Thanks for the input. Greatly appreciated!