Posts tagged time

Titanium Mobile Screenshot

Titanium Mobile vs Sencha Touch

I just  tried out the sencha touch examples  on the android 1.6 simulator and the performance is pathetic. Seems like google forgot to properly implement their javascript V8 engine onto their OS.

Appcelerator’s Titanium Mobile and Sencha touch are 2 different frameworks which address a totally different set of audiences. Comparing them is like comparing apples to oranges. But, to a person who has never eaten fruits ever and wants to just try tasting one (analogy to creating a simple app which doesnt do much of processing) and not try juggling with the fruits (analogy to creating detailed games or apps with lot of processing involved), they appear the same. So here’s a post attempting to compare them and help out those who have to make a choice when it comes to building a  simple app.

Titanium Mobile Kitchensink app running in iPhone simulator

Sencha touch examples app running in iPhone simulator

.

Here’s where Titanium Mobile wins : Continue reading “Titanium Mobile vs Sencha Touch” »

Incoming search terms:

Built using ExtJS and PHP

Facebook cricket betting application

This was an idea from one of the senior students from my college. The app will enable users to create virtual teams from their friends on facebook and place virtual bets on cricket matches in the Indian Premier League. The app also had a admin side to manage teams, announcing results etc. The frontend was totally coded using ExtJS framework. The server side code was fully on PHP. I took around 1 month to work on the entire app, working during my free time. There were features to update the betting odds in realtime based on the progress/score of the match.

More info :
Once the user visits the application through facebook, he will be presented with 2 options.
1. Join an existing team – If any of your friends has created a team using the app, you could choose to join their team. A request will be sent to the captain of that team asking their approval.
2. Create your own team – You can choose to create a team by giveing a name to it and then inviting your friends to join the team later.

After you have made a choice, the page will refresh and a new user interface will be shown. The home page is the Dashboard which will contain widgets showing your current points (called bullets), the top teams with maximum points, the past bets placed by your peers.
Now you can goto the betting page and then look at a list of cricket matches being played at that time. If there is a match being played, you can choose it using the dropdown to get a list of possible bets to place. Once you choose the bet you want to place, you will also be shown the odds for that particular bet which decide the points you will win or lose. When you are placing the bet, you also decide the bullets you are willing to risk for the bet.
Once the bet is placed, the bullets from your team gets deducted and your bet will be shown in the dashboard of every member in your team.
After the match results are published, you will gain or lose the bullets depending on the odds of the bet at the time you placed it.
To gain more bullets you could invite more of your friends to join your team. A team can have a maximum of only 11 players.
After the series is over, the team with the maximum bullets win the grand prize.

Flipkart & Healthcare magic had initially offered to sponsor the app. Flipkart had also offered a 6% discount on every user who visited their website through the app.

Click to view the demo of my work
VN:F [1.9.22_1171]
Rating: 7.0/10 (41 votes cast)

Just give the ‘Cricbet bullets’ app a shot. Checkout the sliding fx in the betting page ;)

Incoming search terms:

Kaun banega crorepati flash game

Kaun banega crorepati game (kbc2) (download the game)

Update as of 5th June 2011 : Source code for the game has been published on this page. Now you can change the game as you wish, using Swishmax (www.swishzone.com)

Update as of 20th Dec 2010 : I have been noticing quite a lot of visitors reaching this page through google search.  So drop in a comment if you would like me to add any new features onto the game.

This was a simple game I created using SWiSH in 2005. The questions appear randomly with no logic for the levels of difficulty and the “Phone a friend” lifeline is a dummy lifeline with no real purpose. You should check out the game here. The game was hosted on a free domain kbc2.be and also on openflash.be initially which got a decent amount of hits. Those domain names dont exist anymore, so I have published it here. You can download the source code and read the instructions below if you like to edit the game to suite your needs.

Click below to play the game


VN:F [1.9.22_1171]
Rating: 7.8/10 (4324 votes cast)
VN:F [1.9.22_1171]
Rating: 7.8/10 (4324 votes cast)

KBC flash game source code

I have also noticed a few visitors to this blog searching for terms like “kbc game source code”. I am not sure whether anyone want to modify the existing flash game to accomodate new lifelines or game rules.
Anyway, you can download the source code for this game and a sample questions database (20 questions only) using the link below. You will need Swishmax v3 to open the .swi source file and edit program logic. If you just want to edit the questions and answers database, you can edit the core.kbc file in the zip archive.
If you modify the game using this source code and publish it elsewhere, you should retain an always visible text which reads “thekirankumar.com”

Download the game

How to add your own questions or edit the questions in KBC ?

The questions database (core.kbc is included in the KBC.zip package) contents are as follows :

&totques=183&
&ques1=What is capital of India?&
&a1=Bombay&
&b1=Delhi&
&c1=Calcutta&
&d1=Madras&
&ans1=2&
&ques2=Who is known as the father of the nation?&
&a2=Lal Bahadur Sastri&
&b2=Mahatma Gandhi&
&c2=Bal Gangadhar Tilak&
&d2=Rajiv Gandhi&
&ans2=2&

The first line &totques=183& in the file can be changed to specify the total number of questions you have in your database. If you plan to put only 20 questions, change the line to &totques=20&

The first question is in a variable called quest1, the second on quest2 and so on…
Similar naming for options . Variables a1,b1,c1,d1 will contain the text for the options for question 1. a2,b2 etc for question no 2

Answer is specified as &ans1=2& where the value 2 says the answer for question number 1 is option b (i.e, the variable b1). Similarly ans1=3 means that the answer is c.

Hence, by editing the core.kbc file using an text editor, you can modify/add new questions to the game.

You can access the source code of the flash game by opening the KBC.swi file using SwishMax. Post the URL of your version of the game as a comment in this page, I would love to see them.

kon banega crorepati game
kbc game
kaun banega crorepati game download
play kbc online

House 3D_01

3ds max animation

Since childhood, I was always fascinated by the movies having those CG animation sequences. I always dreamt of growing up to be an animator. But it started taking shape when I installed the trial version of 3ds max 4. The ease of use and the hidden power of 3dsmax immediately stuck to me. I started spending hours together staring at the screen trying to make some cool shapes with different materials. Continue reading “3ds max animation” »

Incoming search terms:

iphonebg_new

Textoo : iPhone (and now Android) app to send free SMS using web gateways

History of Textoo

It all started back in 2010, when I had written a PHP script to send SMS through different Indian SMS gateways (see blog post on this). I would go around different websites trying to publicize this PHP script so that I would get more hits on my blog as well. In some of the blogs I had noticed different J2ME apps which send free SMS and were quite famous. But none of them had ported their apps to iphone and android platforms. A quick search revealed only the 160by2 official app which can do this.
Then I thought, Why not make a small iPhone app which can provide a client user interface to compose messages and then send the message using my own PHP script which I had already made by then. Since then, I started exploring the Appcelerator Titanium framework which was a vry impressive tool to create iPhone and Android apps using plain Javascript syntax. So I applied for both iOS developer access and Android market access by paying 99$ and 25$ respectively.
Once I got through the membership requirements, I started coding the UI in Titanium. And within a few weeks, the iPhone app was ready. The app would connect to my PHP script which would send the messages through the gateways and then return the result back to the app. The app was quite simple and had only 3 views. “Compose message” where you actually type the message after choosing your contacts from the phone addressbook, the “Outbox” view where you see the sent messages, and the “Settings” view where you add the gateways and account details.
After uploading the finished app to App store and getting it approved, I tried making it a paid app for 0.99$ The first few days I received around 1-5 sales a day. But people started complaining about some bugs in the app. And also there were a few problems with the PHP script. So I decided to make it free after a week of sales, so that I can get myself some time to fix the bugs. Since then it remained free and I spent minimal time of enhancing the app and the app continued to be downloaded for almost 6months with an avergae of 20-50 downloads a day.
I kept myself busy working on some freelancing projects on odesk.com and never actually thought of working on the app itself. But one of the iPhone projects which I had taken up on odesk got scrapped mid way through it. I did receive payment for the effort I had put in, but the app was not complete and the codebase was never used anywhere. Instead of scrapping the whole thing, I planned to use in the next version of the iPhone app and started working on the SMS app again.
But this time there was a big change. The app wouldnt send the SMS through my server/PHP script, but instead will connect directly to the gateway website. This way the load on my server would be minimal, and the gateway website would be happy to see all the HTTP requests coming from different IP addresses instead of my server addresses.
So since then, I spent most of my free time in working on the new version of the app and the new version was named Textoo Pro which can be downloaded here

What does it do ?

Textoo connects to major free SMS websites like way2sms, 160by2 etc and sends your SMS for free. It is a multi-account group-SMS app which can be thought of like a pidgin for SMS websites. You add your account username & password on to your app and instead of you going manually to the website and sending your messages, the app will automate it for you. The main purpose of the app is to give back the native texting experience to the end user even when they wish to use free SMS gateways.

Update: Android app also available.

Read more / Download the app

Incoming search terms: