Showing posts with label Source. Show all posts
Showing posts with label Source. Show all posts

Saturday, June 2, 2012

Samsung Drops Source Code For The Galaxy SIII (AKA I9300) – Get It While It's Hot

Mere days after its (official) launch in 28 countries worldwide, Samsung's Galaxy SIII – perhaps the most hotly anticipated Android phone to date – can be tweaked and modded by eager developers the world over. That's right, Samsung officially dropped the I9300's source code today at the manufacturer's Open Source Release Center.

image

While those of us in North America wait (im)patiently for the SIII's release, those looking to get their hands on the device's source need only stop by its listing at the OSRC here, or head over to github (here), where user chirayudesai has already uploaded the (unzipped) source into three branches: master, stock, and stock_update1.

Wednesday, May 16, 2012

[Update: Now With ICS Source] Gold For Android Developers: Add AOSP Source Code To Eclipse With The "Android Sources" Plugin

As an Android developer, the first thing I do when I set up Eclipse with ADT on a new machine is hunt down the Android source for the API level I'm working on.

Earlier this month, I added a request for Android 4.0 source to be added to the plugin, and I'm pleased to report that the plugin maintainer just added it to the latest version.

Honeycomb sources are being worked on.

Note: If you already have the plugin installed, you'll need to re-install for this addition to show up.

Developers should understand what I'm talking about, but for the rest of you - this priceless little addition to our development process means whenever we want to see just what exactly Android is doing at a certain point in our programs, we can actually take a peek.

In fact, I oftentimes gain more insight into how the code works (or why mine doesn't work) from looking at the source than from reading documentation. Go try that with iOS...

In other words, if I'm looking at Activity.class, which is part of Android, instead of looking at what you see on the left, I would much rather be looking at what you see on the right:

image image

Left: without source code | Right: with source code

Until I found the plugin I'm about to show you, the process of downloading and packaging the source code for consumption in Eclipse had always been quite painful.

Yes - Android is open, but in order to grab the right source from its repositories, one needs to spend a considerable amount of time first figuring out where all the parts are and then downloading them one by one, praying that they're using the right branch. It's a mess, really - a mess Google shouldn't have left for developers to sort out.

Enter the Android Sources Eclipse plugin. No more downloading random zips, searching for the right sources, and figuring out what to package where - just install the plugin, restart Eclipse, and all available API levels (currently 3-10, considering Honeycomb isn't open sourced and ICS source hasn't come out yet) are automagically available. 170MB of open goodness.

Here's how to get it up and running in a few clicks:

Start Eclipse, go to Help -> Install New Software.Click Add...Enter http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/ into the Location field and whatever you want into the Name field. Press OK.Now Select the newly added repository from the dropdown in the Work with prompt. You should see Android Sources as the only available plugin:
imagePress Next, then Finish, wait, and restart Eclipse at the prompt.Voila - you're done. You should now be able to step into any Android class (this excludes native functions, however) and examine the source code. Do it during debugging or regular development and stop staring at boring class definitions.Code our next favorite app.???Profit.

Update: qbking77 from ACS made a video running through these instructions:

Enjoy!

Tuesday, April 24, 2012

HTC Unloads Kernel Source Code For A Bevy Of Devices, Including The One V

HTC, keeping up with its recent pattern of speedy source release, has dropped official ICS kernel source code for a heaping handful of devices, perhaps most notably the One V, a member of HTC's new One line which hasn't yet debuted in many countries.

Other devices include the US variant of the Vivid and several iterations of the Sensation, with the Desire HD and myTouch 4G Slide's Gingerbread (2.3) kernel source also being dropped.

image

Those interested in tweaking or developing with the official kernel source of the above devices should head over to HTC's Developer Center (linked below) to grab the downloads.

Source: htcDev

Related Posts Plugin for WordPress, Blogger...