Showing posts with label google phone. Show all posts
Showing posts with label google phone. Show all posts

Saturday, November 1, 2008

Screenshot of Android SDK on its way to my Ubuntu system

See that?


That's the Android SDK on its way to my Ubuntu 8.10 Intrepid Ibex system. You can also see Netbeans IDE 6.1 on the taskbar. I hope to talk about a Hello World app in the near future. That would mean that the installation ended up successfully. Cheers!


Saturday, October 25, 2008

Java and Linux on the Android - Almost the Perfect Match?

As this blogspot's subtitle states, you'll be reading more about Java and Linux here (aside from physics) than anything else, and I was hoping I'd have the opportunity to write a post that would talk about both of them under the same spotlight. Tonight, I was given that opportunity.

When browsing through the web lately, no one and I mean no one is spared from bumping into anything about G1, G-phone, Google Phone, Android, or whatever other name's attached to that thing. Thus, it wasn't entirely surprising that I ended up clicking on one of those articles that talked about this latest, hottest gizmo. Then link after link and click after click eventually brought me to the realization that what I had been dreaming of, that marriage of Linux and Java made in heaven had finally arrived! And of all chapels, they had to be wed under one that brought along so much fanfare, so much hype... the gphone/android/g1/etc. Apparently, applications that run on this phone are written in the Java programming language, on top of a Linux kernel.

Ah, but before all you java-linux fans start jumping up and down like I almost did, read on... as I also did. Well, here's what I discovered: while the apps will be written in Java, they won't be running as Java bytecodes. Rather, they'll be compiled into what are known as Dalvik bytecodes. They also won't be executed on a standard Java Virtual Machine. Rather,they will be running over the Dalvik virtual machine, a specialized VM designed specially for mobile devices.

So much for the marriage of the century. This has not totally dampened my enthusiasm though. In fact, expect to read more about that gizmo/phone here. Yes, yes, I know you've had enough of androids and iphones. Don't worry I'll be concentrating more on linux and java than the phone itself. For who knows? These two might end up in each other's arms in the end. Being in one little phone might just be too cozy for both of them to resist.

For those who are about to puke, i.e., if you're not the romantic type but are simply here for just java or linux, here are some information that you might find useful:

The android architecture makes use of Linux kernel version 2.6 to take care of core system services; including security, memory management, process management, network stack, and driver model.

It contains a set of C/C++ libraries that developers can have access to through the Android application framework

Well, if you want to know more about the Android architecture, you may check out Google's android site.

I will be talking more about Android applications, since they ARE written in Java, in my future posts. Besides, since they DO run on a Linux kernel, we just might end up talking about small Linux apps that can run on the phone as well. What do you think?