Showing posts with label windows mobile. Show all posts
Showing posts with label windows mobile. Show all posts

Thursday, September 1, 2011

Old game new interface

   Since last week or so I had a strange craving to play the games that I used to play when I was in school. Those were all small and short games unlike the Most Wanteds or the Counter Strikes and all. Surprisingly, the only long running game that I used to play was Age Of Empires-II. A single regicide match would last for 15+ hours but not in a single stretch ofcourse.
   Now, coming back to the point, ever seen an alcoholic when he is unable to get alcohol? Well, that was my condition when I realised that I had lost the CD in which the games were there! What now??
   *LightBulb!* I suddenly remembered I had already developed the mobile version of Battleship! Why not a mobile version of one of these games? So I started testing my memory to check how much of what game did I remember. Eventually, I ended up deciding to make the mobile version of the K-tour a simple chess board based game. You have to move your knight on all 64 squares of the chess board without repeating at any location.
    Simple to make, I coded it in very little time. I hated my code when I looked at it because it had too many conditions, well to help me out there, my friend simplified the checking algorithm and hence helped me(Felt it worth mentioning).
   Anyways, there was no point in simply doing what I had already played and also there was no point in changing the game play as that would beat the purpose of recreation. Solution?? Change the interface. Added a few tweaks here and there and well, the app was ready!
  Will post it on Open World soon! Till then stay tuned to this space for updates and more posts!
  

Thursday, January 6, 2011

Battleship for Windows Mobile

    Addiction may cause you to do several things.It makes the some steal from or hurt someone. Well, in my case it made me write more than thousand lines of code. My addiction is to the game of Battleship.
  In case you are wondering what it is, well in this game you are supposed to search for the enemy's fleet of battleships before he finds yours.You have to keep hitting till you completely destroy the fleet. Its quite a fun to play the game.
  When I formatted the hard-drive of my computer I foolishly forgot to backup the game.Hence I had no choice but to search for it. But I got a PC version of the game.So, being overcome by the addiction I just thought of making my own version for the Windows phone(coz it's the easiest to code!).
 So after an evening of coding the basic version of the game was ready. Then all that was left was some improvisation in interface but that could wait. First I had my game-lust to be satisfied. Well as it turns out even after 7 days I still haven't improved the interface but I am able to play the game so no complains!
  Anyways now I am planning to make a multiplayer version of the game and will need some time to make that happen but I am on it. In case anyone wants to try it out just mail me.

Monday, November 15, 2010

Exploiting facebook/twitter mobile facilities

We have seen many GPRS based applications for tweeting and updating your facebook status. But what to do if you want to tweet/update status without connecting to internet? Well, facebook and twitter have facilities where you can tweet/update status by simply sending a message to a certain number. You can use that technique in your application. For this you just have to know the method for sending a message from your mobile. If you are coding in C# it is very simple to do.
You just have to writing the following code:
->Microsoft.WindowsMobile.PocketOutlook.SmsMessage sms = new SmsMessage(number,text);
->sms.Send();
In case of facebook the number will be:923223265 and for twitter it is:53000.
Another thing that needs to be kept in mind is that, you need to add
Microsoft.WindowsMobile.PocketOutlook in the references.

This is a simple way to keep your app different from others.Though C# is used for programming for windows mobile.

Tuesday, July 13, 2010

Warning for Windows phione users!

IF u r using windows phone and like me, have a habit of trying out new posts, this is important for u.
the SMS tweaker application that i tried on mu HTC Touch Viva caused real problems on my message folders.
First i changed the mode to threaded mode and then i changed back to normal mode.
due to this the messages which i received were stored god knows where.
in the end i had to remove the app and restart my phone to get the message facility work properly.
the more intigying thing was that the app was given a trusted app certificate.