background preloader

Android

Facebook Twitter

ProGuard. The CommonsBlog — HTML Tags Supported By TextView. There is a lovely method on the android.text.Html class, fromHtml(), that converts HTML into a Spannable for use with a TextView. However, the documentation does not stipulate what HTML tags are supported, which makes this method a bit hit-or-miss. More importantly, it means that you cannot rely on what it will support from release to release. I have filed an issue requesting that Google formally document what it intends to support. In the interim, from a quick look at the source code, here’s what seems to be supported as of Android 2.1: Python for Android. Mobile app development for smartphones is hot. This is no more prevalent than in the Android space where the activity level oftentimes is frenzied. However, when it comes to building a “real” Android app, it seems there's only one programming choice: Java (although it is possible with a lot more work to use C/C++ with Android's Native Development Kit).

That said, Google wisely chose the popular Java programming technology upon which to base its Android SDK, which runs a customized VM. By and large, this has been a smart strategy, as (unlike another popular smartphone) there's no need to own specific hardware and software to get started with app development on Android. That's great—assuming, of course, you're a fan of Java. In this article, I walk through the steps involved in preparing your computer for Android development with SL4A, then show how to write, test and run a simple script written in Python on your Android device. $ javac -version $ java -version $ sudo apt-get openjdk-6-jdk. Get Started Developing for Android with Eclipse - Smashing Magazine. Advertisement There’s a lot to get excited about in mobile application development today. With increasingly sophisticated hardware, tablet PCs and a variety of software platforms (Symbian OS, iOS, WebOS, Windows Phone 7…), the landscape for mobile developers is full of opportunities — and a little complex as well.

So much choice can be overwhelming when you just want to get started building mobile applications. Which platform should you choose? What programming language should you learn? Why Develop for Android? Android is an open-source platform based on the Linux kernel, and is installed on thousands of devices2 from a wide range of manufacturers. Android’s free development tools make it possible for you to start writing software at little or no cost. Here are a few other advantages Android offers you as a developer: The Android SDK is available for Windows, Mac and Linux, so you don’t need to pay for new hardware to start writing applications.An SDK built on Java.

Large image Packages. Python, JRuby on the Android Platform in 10 Steps » By Matthew Sacks » Android.