Depends on if you're trying to write native apps, web apps or use something like phonegap.
If you're looking to write native apps, Android is open-source, and iOS closed source, but they've got a lot of documentation available, albeit verbose at times.