How to: Dramatically speed up your LG Optimus 2X!

August 1, 2011 4 comments

I was messing around with my beloved Android-phone the other day. Using the method described in this post, I was able to succesfully increas the performance of my phone. I mean, really increase the performance!

Read on for some tips on how to get rid of that annoying LG Bloatware, and dramatically increase the performance of your 2X, without the use of custom roms.

Please notice that this method requires you to root your Optimus 2X. This will break your warranty, and could potentially harm your phone. That being said, rooting is really easy on a 2X, and I personally had no problem doing it.

Read more…

How to: Make a quiz in AS3.. Setting up Questions and Answers

July 23, 2011 2 comments

Since I haven’t been able to find the time to work on my Java-skills and post about it, I thought I might share one of my old  AS3-projects with you. I give to you; a simple Quiz-application!

The application presents the user with one question, and three possible answers (only one correct, of course). On top of that, points are given, based on how the user is doing. The order of the questions and answers is random.

This tutorial focuses on the structure of the application. Hence, the application is very ugly.. but it works!

Read more…

Pages: 1 2

New project-posts: An AS3-Quizzz

July 22, 2011 Leave a comment

Since I’ve been busy doing stuff, I haven’t been able to find the time to post anything. Luckily, my schedule isn’t that packed the next couple of days, so I might just be able to do some coding, and drop a post or two.

For my next post I’ll describe an Actionscript 3-project I worked on earlier this year. The project was made as an Android app, using Adobe air.. I might write a little bit about that as well.

Anyway, the applikation is a simple quiz. So, for my next couple of posts, I’ll describe the code-structure for a quiz with one question and three possible answers (only one correct, of course).

How to: Add an “about”-dialog

July 17, 2011 Leave a comment

If you’ve gone through all the hard work of making and releasing an app, you probably want some credit for it! This posts explains how to create a menu in your app, and a very simple custom dialog.

Read more…

Categories: Android, Java Tags: , , , , ,

How to: Switch between layouts

July 15, 2011 Leave a comment

Having all text, elements and functionality in one view is a bad idea. If the app has more than just a few elements, the view if going to be filled up, and hard to navigate. Hence, you’re probably going to need more than one view!

This is a simple way to make more than one view.

Read more…

Categories: Android, Java Tags: , , , , ,

WhatWeek?: Making it prettier!

July 14, 2011 Leave a comment

The last couple of posts we sorted out the basic functionality. Now, lets take a look at how we can make the application less ugly.

I’ll assume you read the previous posts.

Read more…

WhatWeek?: “Calculating” dates

July 14, 2011 Leave a comment

Like the previous post, this post will deal with some of the basic functionality of the “WhatWeek” application. This time, we’ll take a look at how to calculate the dates of the first day of the week, and the last day of the week, based on a weeknumber, given by the user.

I’ll assume that you’ve already read the previous post, and implemented the code from that..

Read more…

WhatWeek?: “Calculating” weeknumber and day of the week

July 12, 2011 Leave a comment

In this posts we’ll take a look at some of the basic functionality of the application: informing the user of weeknumber and day of the week, based on a date, given by the user. To do this, we need the application to do some very basic “calculations”, using the GregorianCalendar.

Read more…

First Android-Project: WhatWeek?

July 12, 2011 Leave a comment

As mentioned in a previous post, my first project in Java is a simple Android-application. The main element used in this application is the GregorianCalendar, since the point of the application is calculating weeknumber and day of the week based on a date, and calculating dates based on a weeknumber. The calculations will be based on the danish calendar (the first day of the week is monday, not sunday as in the states).

I’ll be describing the project in several smaller posts, instead of one massive post. Every post will deal with a given aspect of the application, and I’ll provede descriptions and code-snippets. Of course, the source-code and .apk will be available!

AS3: Remove child – safe n’ easy

July 11, 2011 Leave a comment

I cant find the original source for this line of code, which makes me feel like a douche. Still, I feel a need to share it, since it’s really brilliant!

A very simple and safe way to remove objects in Actionscript 3:

if (object) is (object.parent) object.parent.removeChild(object);

Goodbye compiler error 2007 and 2025!

As noted, I can’t take credit for this. If any of you know the original source, please let me know so I can credit the guy behind it!