code's tag archives

Developing for Android, Part V

Publishing your apps No code in this tutorial... and this is actually the last in the series. But never fear! I'll be writing more tutorials, I've simply written these 5 to get you familiarised with android. Hopefully, you're feeling quite confident on some of the aspects now, and you could well be on your way to developing the next killer app! With that said, I'm going to explain how you can publish your app. It's a simple process, but you also have to sign your apk before you can publish i...

Developing for Android, Part IV

Databases and Menus Two for the price of one in this tutorial, actually. We're going to learn about SQLite databases and menus. I'm hoping you'll at least be slightly familiar with databases already, though SQLite is really quite simple. You can pick up the basics, of which we'll be using in this tutorial, at the following links: CREATE TABLE INSERT SELECT It may look a little intimidating, but once you get to grips with it, it's actually quite close to English. :) Let's get to it. As u...

Developing for Android, Part III

Dynamic Layouts in Android No XML in this tutorial! We'll be completely designing our application in Java, and creating our layout completely dynamically. The benefits of this are that we can add an undefined amount of widgets at run time. This is a pretty useful skill, but not brilliantly documented. (Everything is ZOMG LAYOUT.XML FTW!!1!) Okay, so let's get started. We won't be touching on events in this tutorial, our app won't actually do anything, per se... it's merely an example of addi...

Developing for Android, Part II

Again, originally written for </dream.in.code> but I like to add this stuff to my blog as well. :) Basic Layouts and Events Now that we got the basics done, it's time to get into developing our first app. It's not the most impressive application, but it's a great starting point. This will most likely seem very familiar if you've learned programming on the console in the past. We're going to prompt for a name, and display a customised message. However, we'll have a user interface rat...

Developing for Android, Part I

I originally wrote this tutorial for </dream.in.code>, but I like to get my tutorials around a bit. Welcome to Android. We hope you enjoy your stay. So, first off, a bit of an introduction. This is the first part of (hopefully) many tutorials related to the android platform. In this tutorial, we're only going to cover the very basics: how to design your application, and how to utilise the XML layouts to design your user interface. Since this series of tutorials is more directed at...