Browsed by
Month: November 2013

One day at TechCrunch Hackathon

One day at TechCrunch Hackathon

Last week on November 14th me along with my colleagues went to attend first ever hackathon by TechCrunch in India. It was sponsored by many companies. The main focus was on their conference. As part of the conference, they conducted a 24 hour hackathon. The event held at Hotel Taj Vivanta, Bangalore.

We didn’t have any idea before going to the event as usual. Just had one idea at the time of the event. The idea was to implement a bidding platform for photos.

And we were able to complete the full prototype for an initial version. I am happy to say that. I have implemented this along with my colleague Phaneendra where I worked on the complete client side and he worked on the complete server side API parts.

We have started with having a simple login system. Since we had limited time, we have used the Android device id as the user login. When the app is installed the unique device id will be sent to the server and it will be used as the main key to identify a unique user.

Instead of having a simple photo bidding platform, it will be good if we can have an option to edit and post the photos. I had worked on adding image filters previously. So it was quick to integrate it within this app. So we have added a feature to edit the photo taken from camera or from your SD card. In the mean time, he created an api for uploading pictures from client device. The api was integrated from the client side.

Till now, basic image editing app setup was done. Then we created the bidding platform. He created an api so that it will list all the photo links through an api. I have integrated it with the app so that it will list all the photos so that user can bid for a photo.

We have set our own bidding logic. Any user can upload their photo. It is voluntary, not mandatory. So that other user can bid on the photos they like. When a user upload a photo, they can set a bidding base price. Other users can bid only on an amount bigger than the base price. Each photo will go on 1 week time for bidding, at the end of one week the highest amount bidding user will be notified and the photo will be given to that person and also it will be deleted permanently from the server. And we have a limit of 20 biddings per day on a photo.

Apart from this we show exif data(meta data) from a photo. And also user can like a photo and also they can set the photo as their wallpaper.

Future plans on this:

1. Integrating payment option
2. Integrating photo printing service directly from the client
3. Integrating OpenGL based Image processing for faster image filtering
4. Integrating AWS on server(We have for 100$ credits at the event from Amazon)

We have used one of my server as the back end. Here is some sample API that we have used:

http://latestxboxgame.com/pixmart/index.php/bids/?photo_id=4

http://latestxboxgame.com/pixmart/index.php/photos

Here is our final product:

https://play.google.com/store/apps/details?id=com.droidboosters.pixmart