Tuesday, January 19, 2010

The Nexus One : the ultimate Ninja Weapon ?


Not sure it is the best way to unbox the phone :)

Friday, January 1, 2010

Android Market : updating an application does not update its place in the 'by date' order anymore ?

Today, I updated my 'Word Prospector' Game, with a small bugfix.

I then took my phone, went to the market to see and test from the market the change.
And ... I couldn't find my game in the top of the list sorted by date !!!
It should have been there, at the first place. But, no, I tried to find it, but couldn't because it was sooo far in this list...

It could be a temporary, local bug, and maybe the old market behavior will come back in the next days / hours ( the famous bug of the 2K10 year ? )?
But I feel like it is a big change in the market policy !

What are the consequences of such a move :
* The "By Date" order in the market gets its real meaning back : you won't always see the same applications in this list. It's quite true that it was strange to see a very old application at the top of this list !
* Constantly improving / debugging your application will have a much lower impact on your visibility on the market. By now, every new version brings some new users. This could be the end of this behavior. Does it means people won't update / improve / debug their applications as much as before ?
* it certainly means it will be better to make a lot of application rather than having an application you constantly improving
* Perhaps it means you should make a 'top quality' appplication from day one, because improving it won't bring you any more users ( but that was already the case because of the ratings : if at start your ratings are low, it is very difficult to change them )
* Will people create a new application when they want to release a new version, or at least when a new feature is integrated in their version ?

Can we consider it is the market getting more mature ?
In my case, I hope that it's just a bug...

What do you think ?


EDIT : It looks like I've been alarmed by a well known ( but that I didn't know ) : an updated application will be at the top of the 'By Date' only if the previous update was more than 'some time' before ("some time" being around one week )
I didn't know that, and didn't observe this behavior before !

Thank to all the people that gave me this info !

Thursday, December 10, 2009

How to improve your application : a crash reporter to improve stability !

What is a crash reporter :
One condition for success, when shipping an application is that it should be as stable as possible !
And to achieve this, you have to test as deeply as possible your application. But :
1) If you are alone, it is a time consuming task,
2) It's still easy to miss some bugs, some special cases.

On the other hand, if you have a lot of users, the application will be launched a lot of times, a lot of special cases will be experimented by users, so they will suffer from unexpected crashes.

So we have to collect informations on the crashes that occurs on the end user device !
This is what a crash reporter is doing : whenever your application crash (and don't be over confident, it WILL happen ), it sends you informations on the conditions of the crash...
Don't get me wrong : the end users should not be your testers. If your application is full of bugs, they won't use it anymore, and you're just loosing your time ! But if you estimate your application is safe enough, and that you can't find any more bugs, publish your application with a crash reporter : you'll see all the 'other' bugs. The ones that result from situation you didn't imagine, and that really happen on your customer mobiles !

So what is in the crash reporter :
A crash is made of two different parts : the first one that collects information, and the second one that sends this information to you.

Note that there are already some packaged solutions for this, like this one :
http://code.google.com/p/android-remote-stacktrace/

But I preferred to create my own one (is it a good solution ? )

What to report ?

For each report, I chose to report as much information as possible. That includes :

  • The callstack
  • The information about the system that android provides me ( like the device type, the OS version, the application version, ...)
  • The avalaible memory ( memory is one of the most common issue in small mobile world ).


How to report ?
Most of the crash reporters I saw or heard about are using a Http connection silently opended to send the information to a Php wbe server that will store the issues in a database.

But I prefered to simply use mail :
Pro :

  • Simple to implement,
  • No server side code to make / test / debug,
  • gmail will automatic dealed with cases where there is no internet connection, 
  • Let the customer know that his problem is taken care of,
  • Let the customer know exactly what informations he sends you,
  • Involve the customer in the quality of your program ( if he didn't send a report, he can hardly complain the application is still bugged, so he 'should' be more tolerant).


Cons

  • All customer won't send the report !
  • Some customer could fake it ? That would be strange, but we definitively live in a strange world... So better be prepared to it !!
  • If you have a lot of bugs / a lot of customers, you can finally have a lot of mail to treat !
  • A Web/database solution is way easier to use for creating analysing tools ( like counting the occurences of each bugs, linking it to a version, etc ... )


So as you can see, each solution has some advantages. I would say if your application is big, go for a web/database solution.
In my case, I knew ( actually I hoped ) I hadn't a lot of bugs, so I chose the mail solution BECAUSE IT IS WAY SIMPLER TO DO !!

So here is the code :

Monday, December 7, 2009

Introducing the X Phone




Sorry...
Couldn't help...

(note that it is in German, but you don't need to understand what is said to fully appreciate this video )
- thanks Dom for this link !!

Monday, November 9, 2009

Google To Acquire AdMob

It is official : AdMob is now part of Google !

This is kind of funny :
Google is the giant Leader of virtual ads.
But on its own OS, its ads solution is still not ready ( it is still in beta state for the moment, and only avalaible for people with 100 000 pages views / day -sic- )...

So it just bough the current leader on mobiles !