Sun Mobile Dictionary – iPhone App

Posted by mahmud ahsan in iPhone | No Comments

iphone3 days ago Apple approved one of my educational application for iPhone. This is a dictionary application that I first developed for j2me based mobile phone. For the last 5 weeks I was learning Objective C and iPhone application development and then I developed this application. This is a very popular dictionary for mobile phone, just visit this link you’ll see this dictionary total downloaded 800,092 times from getjar.com and achieved 182 reviews on there.

By the way, I’m not leaving web application development, I just learning and developing some iPhone apps as my hobby. You can contact with me if you have any cool idea. ;)

Continue

Are you defensive programmer?

Posted by mahmud ahsan in PHP, Technology | 10 Comments

defensive programmingSo what is defensive programming? Shortly said, in any problematic situation your code doesn’t break rather bypass the situation by taking proper steps. If you want to know details just visit wikipedia

I am just writing this article because I found that many programmers don’t accept this approach. So if you provide unexpected data sometimes the application will crash or show you unwanted error message and sometimes important data (for web application).

Continue

Apply new data model and do specific change

Posted by mahmud ahsan in Facebook | No Comments

facebook Facebook declared their new data model some months ago, and June 30 is the deadline for all apps to change. After then they will automatically update your application.

According to facebook new data model is:
“Providing greater control to users, this change also helps application developers. When you upgrade your application to the new data model, all requested permissions are presented in a single dialog rather than a sequence of separate dialogs.

I really like this feature and already updated my applications. I think you’ll also like it check the screenshot

Continue

Waiting for apple’s approval

Posted by mahmud ahsan in Personal, iPhone | 2 Comments

iphoneFor couple of weeks I was very busy. After wake up from sleep I just open my laptop and start study till end of  night, beside my main job. My study was  about Objective C and iPhone Application development. Last 4 days, I got more pressure. I developed a dictionary application for iphone. Basically a dictionary engine. In my student life I developed the same thing using Java for J2ME platform. I completely rewrite that for iphone. I’m amazed that iphone supports SQLite3 that makes the query engine easy. In j2me I’ve to search on flat files.

Continue

Lots of PHP programming now learning Objective C

Posted by mahmud ahsan in Various | 2 Comments

iphone At last I decided to learn Objective C and develop application for iPhone. As a result 2 days ago I bought a mac book pro and fully shifted from my windows 7 OS Based HP Pavilion DV5. I gifted my HP laptop to my wife. :D I’ve also a net book running Ubuntu.

Mac book pro is awesome. This is first time I’m using mac book. The LCD is amazing. Everything looks beautiful. And Snow Leopard is also a nice OS. Many people told me Mac isn’t much user friendly. But honestly mac is very user friendly than any other OS.

So for last 2 days I’ve been reading Objective C basics  using Cocoa Framework. At first glance syntax looks confusing like declaring object and use.

Continue

Graph API & IFrame Base Facebook Application Development

Posted by mahmud ahsan in FB Connect, Facebook | 204 Comments

facebookFacebook is one of the top social networking site and its easy to develop facebook application. You can also easily integrate facebook features via facebook connect into your site. But it may happen that you want to develop facebook application that will run within facebook site. If this is the case, then this is the right article for you to start.

In this article I discussed all the basics and techniques you need to develop iframe base facebook application.

You’ll learn from this article:

  1. Setup IFrame Application
  2. Facebook Authentication for Iframe Application
  3. Setting extended permission for more information
  4. How to set links
  5. Form Submission technique and getting Data
  6. JQuery – how to use javascript and javascript library
  7. Graph api using php
  8. Stream Publish (wall post)
  9. Status Update via php api
  10. Status Update via javascript api
  11. Invitation Feature
  12. Iframe Resizing

Before proceeding checkout the demo & Download Code

Demo: http://apps.facebook.com/thinkdiffdemo/
Download Code

Continue

Update Your Code If You Use Facebook Multi-friend Selector

Posted by mahmud ahsan in Facebook | 38 Comments

facebookWe normally use facebook multi-friend selector to invite our friends. Some applications also tracked the user ids to whom a user sent invitation. That is very easy to track because when we send invitation facebook will pass ids parameter that contains the invitation receiver ids.

But yesterday I noticed facebook changed their invitation functionality. That is after I send invitation facebook shows me a new email invite box. That wouldn’t be a matter to me, but I noticed the tracking records become duplicate.

Continue

Codeigniter 1.7 Professional Development Book Review

Posted by mahmud ahsan in Review | No Comments

codeigniterSome days ago I got this book from packt. I skimmed all the chapters of this book and read details some chapters. This is a very good book to start developing web application using Codeigniter framework.

The writer Adam Griffiths nicely describes details of this framework. Beside codeigniter framework, the writer also mentioned how to add external libraries like facebook,twitter, memcache to develop web application using codeigniter framework.

Continue

User’s Demographic Data from Facebook

Posted by mahmud ahsan in FB Connect, Facebook, MySQL | 8 Comments

facebookSometimes you may need to collect facebook user’s basic data for your website or application. Then you’ve to call graph api or legacy api or fql query to collect some specific data. This is a basic requirements for most of the fbconnect base website or facebook application.

For this reason, here I’m sharing the code, how could I collect those basic data and store them in database.

Before proceeding check the demo.

If you’re automatically logged in the site, then first logout and relogin and approve all the permissions. Now I’m showing the database table schema first

Continue

Create Facebook PopUp Authentication Window using PHP and javascript

Posted by mahmud ahsan in FB Connect, Facebook, Javascript | 43 Comments

facebookSome days ago one of my friends Paul Espino asked me that he is facing a problem of redirection loop.  He followed exactly my article php sdk & graph api based fb connect tutorial but in his server when user logged in via facebook connect by clicking javascript base fbconnect button the login() method of below code called again and again

FB.Event.subscribe('auth.login', function(response) {
    // do something with response
     login();
});
function login(){
    document.location.href = "<?=$config['baseurl']?>";
}

I tested the code in various server but the problem occurs only in his server. Then I think to solve the problem using php-sdk generated login code.

Continue

Page 2 of 15«12345»10...Last »