After reading CI6230 I decided to encrypt my phone storage. I was running CyanogenMod (CM) 10.1.2, which is awesome. But I digress.
So… the encryption went fine. It took awhile, and things were A-OK until I decided to tinker with my phone – despite all of the horror stories and downtime I’ve endured (my colleagues can attest to that) and try Paranoid Android (PA) 3.94. I mean, we’re explorers aren’t we?
So I’ve been fiddling around with ADT for a couple of hours. It’s possible to programmatically create layouts; i.e., an Android UI, but it’s not great. It’s way easier to define the layout in XML, and then bind whatever event handlers are required. Here we have a simple class:
package net.waynekhan.blog.foo; import android.app.Activity; import android.os.Bundle; import android.view.*; import android.widget.*; import java.util.*; public class HWA extends Activity implements View.OnClickListener { protected void onCreate(Bundle savedInstanceState) { super.
This semester, I’m taking a course on Android development. So I’ll be posting a bit more Android-related stuff as we go along. I’m developing on the MacBook Air, so get comfy with the command line.
To get started, grab a copy of the Android SDK. The Android Development Toolkit (ADT) bundle is pretty awesome. It comes with Eclipse and the plugin all setup already: http://developer.android.com/sdk/index.html#mac-bundle.
Unzip the .zip, so the full path be like: /Users/<YOUR-HOME-DIRECTORY>/Downloads/adt-bundle-mac-x86_64/.
Awhile back I decided to start using Springpad for bookmarking and notes. It’s worked out pretty well so far.
Springpad has various ways of saving stuff; e.g. browser extensions, a bookmark-let, email but I was looking a way to feed stuff from Reader (which I love); i.e. without opening a new window, waiting for the page to load and then finally using either the extension or bookmark-let to save it to Springpad.
“Show, don’t tell” is an ad about some English enrichment class. So instead of saying that John is smart, show how smart he is: John asks thoughtful and insightful questions, solves problems others take awhile to delve into, and so on and so forth.
Bonus: George R. R. Martin’s Game of Thrones version: “Words are wind”.
References http://bullythebear.blogspot.sg/2012/12/show-dont-tell.html