The Android NDK comes with several examples. This guide assumes you have the NDK environment setup as described here: https://www.permadi.com/blog/2011/09/setting-up-android-jni-projects-in-windows-eclipse-and-sequoyah/. When you extract the NDK, you will see a samples folder. There’s no Eclipse project file in these samples, but it’s very easy to create them. 1. Do File->New->New Project->Android->Android Project. 2. Select Create Project […]

I was having some issue customizing the look and behavior of the default SeekBar so I tried writing a custom one. Here’s the result, hope it’s useful and interesting: My approach is to create a Layout consisting of two ImageViews: a “slider bar” and a “slider thumb” images. Then, in the onDraw function, I draw […]

UISlider can be skinned to produce output like these: There are three sections that you can change: The bar portion on the left side of the thumb, using setMinimumTrackImage:UIImage The bar portion on the right side of the thumb, using setMaximumTrackImage:UIImage The thumb, using setThumbImage:UIImage For the UIImage, you will most likely need to stretch […]

This guide walks you through in getting the Facebook Credits Sample running in test mode. 1. Download the official sample code from: https://github.com/facebook/credits-api-sample 2. Read the overview. 3. Copy the files into your server into a subfolder (your server must support PHP): – callback.php – index.php – xdreceiver.html 4. Create a test application. Fill out […]

Here’s the Press Release I received from them: Integrate Flash applications with Facebook using Packt’s new book Packt is pleased to announce Flash Facebook Cookbook, a new book that will teach developers to work with the key Graph API objects and their social connections, using the Facebook ActionScript 3 SDK. Written by James Ford, this […]

One of the things that I played around several years ago was the GD library, which allows image manipulations and creations on the server-side. I have always want to automate repetitive things such as creating glossy-icons for web-pages.  Basically I want to automate the process of converting: From this To this: I wasn’t sure if […]

It is quite annoying for us developers that getting the numeric user id when that user has a vanity URL. Granted that for user’s that hasn’t set their own (vanity) URL names, this is easy, just login and see the URL bar, which will be something like https://www.facebook.com/profile.php?id=NUMERIC_ID. But for user that has vanity URL, […]

Glossy Icons Creator
August 13, 2011

Convert your icons into glossy version, instantly! Javascript must be enabled in your browser to use this tool. Please upload one image only at a time, JPG, PNG and GIF are supported. For best result, use square images. To save the result, right-click on the image and do “Save As” (rename the php extension with […]