If you have read my previous post about this subject here, then consider this a bug-fix or an update. Posting to user’s wall is easy enough but what about if you want an application to post, say user accomplishment (such as High Scores or user achievements) onto the application page? The process is actually straightforward. […]

One of the most common layout is the three-sections-layout where an application contains a Header section on top, a Content section in the middle, and a Footer section in the bottom.  The Header section may contain the application title and the Footer may contain advertisement, buttons, or tabs. For example in the game below, I am using […]

Packt Publishing is offering exclusive discounts. Read their press release here: July, 2011 Packt Open Source announce exclusive discount offers on best-selling books Packt Open Source has this week announced a series of discounts on its selection of best selling Open Source books. Readers will be offered exclusive discounts off the cover price of selected print books and eBooks for […]

Have some free-time? Interested in AI programming? Then why not download one of our iPhone and iPad apps. Free for a limited time — click here. Don’t have an iPhone or iPad? Play the Java applet here. Background The puzzle 8 – also known as the sliding-block puzzle or tile-puzzle – is one of the […]

This is intended as a beginner How To guide to create an Android application with Adobe AIR platform. The resulting application is akin of a Hello World application that doesn’t do much. Frankly the basic of writing an Android AIR app is quite straightforward and there’s not much to mention here beyond the basic. Consider […]

 NOTE: This method appears to be broken at this time (7/28/2011). I don’t know if and what has changed on the Facebook side, it just stopped working. Will update this post if it works again. UPDATE (8/9/2011): The method has slightly changed but works again now. Please see this post for the update. Posting to […]

Here’s a small class that does string substitution, inspired by printf function in C. You can pass an Object into the function and it will search and replace the content of stringwith values of the objects. Parameters: stringFormat is a String object that you want to fill with replacements. substituteData is an Object containing the […]

UPDATE: This guide is not functional at this time due to changes to OAUTH 2.0 on the Facebook.com. See: http://developers.facebook.com/docs/reference/javascript/FB.getAuthResponse/. I might revise it in the future, but right now I’m disgusted by of all these Facebook API changes. ########################################### Here’s an example of a Flash SWF that allows you to browse images (and swfs) from […]

As explained in the previous article, you can post to user walls with or without dialog. Which method to use depends on your need. If you want user to enter a message, then you need the dialog. At other times, you might want predefined messages so why bother prompting the user? (Note that Facebook has […]