Pages

Saturday, September 17, 2011

Matches

A strategy game. For free.

Available in Android Market


Two players take turns removing matches from distinct rows.
There are three rows of matches. On each turn, a player must remove at least one match, and may remove any number of matches provided they all come from the same row.
You can play against CPU or a human, where the game can be used as a "magnetic board".
You can set both players to CPU as a auto-play demo mode.
The engine (CPU) has three levels of playing strength: easy, medium and hard.

Try hard level. Good luck!

Sunday, September 11, 2011

Reading List 1.0.1

Small update. I've added automatic title retrieving from browser history, when available. This feature saves time and bandwidth. Added "about" field in preferences which shows current app version.

Saturday, August 20, 2011

Reading List

Today at 0:15 I've published first app :-)
https://market.android.com/details?id=com.carrotfield.readinglist

Long story short: This is some kind of a "read it later" client. I read a lot using my Motorola Milestone phone. I started writing this app months ago just because I needed something to remember unread links. It is very usefull for me, I hope you will enjoy too.

Thursday, August 18, 2011

Missing proguard.cfg

Project created long time ago has no proguard.cfg file. Updating project with an android command fixes it.

$android update project -p ~/workspace/ProjectName
Updated local.properties
Added file /home/username/workspace/ProjectName/build.xml
Added file /home/username/workspace/ProjectName/proguard.cfg


Beware opening build.xml file. If so, occurs an error "Default target help does not exist in this project". Then you should add one line below <project> tag:

<import file="${sdk.dir}/platforms/${target}/templates/android_rules.xml"></import>

To enable ProGuard, line below should be added in a default.properties file:
proguard.config=proguard.cfg

Switching JDK in Ubuntu

I have two JDK installed: OpenJDK and Sun version. There is one quick method to switch between them:

$sudo update-alternatives --config java

There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
* 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode

Press enter to keep the current choice[*], or type selection number:

After selection you can check:
$ java -version

Friday, August 5, 2011

Registration to the Android Market

Registration to Google Checkout. Debit card approved.
Registration to the Android Market - positive:

Your Registration to the Android Market is approved!
You can now upload and publish software to the Android Market.

$25 less.
Now it's time to get to work :-)

Sunday, July 31, 2011

How to remove Blogger Navbar

Go to a Dashboard -> Settings -> Design -> Edit HTML
In a code find a Template Style and add

#navbar-iframe {
   display: none !important;
}



For example:

<b:skin><![CDATA[/*
-----------------------------------------------
Blogger Template Style
Name:     Simple
Designer: Josh Peterson
URL:      www.noaesthetic.com
----------------------------------------------- */
#navbar-iframe {
   display: none !important;
}

/* Variable definitions
   ====================
   <Variable name="keycolor" description="Main Color" type="color" default="#66bbdd" value="#cc6611"/>

Saturday, July 30, 2011

Minimizing site and email costs

Despite the fact I have virtual server now, I tried to find cheapest way to have an email and a web page. What I need is:
  • email and web page in my domain
  • unlimited transfer (or big)
  • disk space enough just to not worry about a capacity
I decided to use Google Apps. Free version is enough for now. 7,5GB Gmail in my own domain name was quite easy when I had ability to edit DNS records. I know many companies which uses this solution with success.

Last goal was a web page. I prefferred wordpress so far, but wordpress.com or own virtual server is related with costs. Google Sites was interesting, but after some tests, this option became least flexible. I have no time to master App Engine, which I think is most flexible (maybe in a future), so I decided to try Blogger.

Naked domain

I wanted my blog at "carrotfield.com" address. It's important to write "ghs.google.com" in both DNS fields: A (for naked domain) and CNAME (for www sub-domain). Make sure you checked "Redirect yourdomain.com to www.yourdomain.com" in Blogger Settings -> Publishing -> Advanced Settings -> Your Domain. In other way naked domain (in this case) carrotfield.com will not be redirected to www.carrotfield.com.

Company name

It took me two weeks to decide what name to choose. Definitely too long. The goal was to take name which is:
  1. memorable, easy to remember
  2. spellable
  3. has free ".com" domain name
Sites like Crazy Namer are very helpful, but for me none of generated name was OK. There were a lot of short free domains, but next day I couldn't remind a name. So I decided to get not technical name, but memorable. Name Ninja is a perfect and fast tool to find a free domain name.

Why I think I spent too much time?
  • You can always change a name.
  • It takes less time to get good or better name than perfect.
  • There is no perfect name
  • Name isn't important. Product matters. Good product makes company name a synonym of success. Not name.

Friday, July 29, 2011

Welcome

Instead of creating some kind of a "company site", I decided to launch this "dev blog". It will chronicle my projects and thoughts. I wish I would say "our", but for now I'm just an "indie". I hope this blog will help me controlling a time and getting things done. Maybe give some feedback sometime.