Facebook iOS SDK and ARC

6 Comments

I have found a lot of developers having problems adding the facebook iOS sdk code to a project that has Automatic Reference counting. Most of the suggested workaround are adding number of compiler flags to your project , but there is a better way handling this. The SDK is provided with a project file that allow you to compile a static library to be used. when using the static library that is already compiled , your project target is compiled separately to the SDK allowing you to optimize your own code separated from the SDK. To active that , download the SDK as described on the Facebook developers site  .

Once downloaded open the project and drag the src folder to your project in Xcode:

When you release the drag Xcode will prompt you on how you would like to add the files :

make sure you select Copy items ( since Facebook project file hold links to it file on same location) and de-select  the “Add to Target” you should get the group add like this:

then go to your project file info tab and scroll all the way down to the link libraries list :

click the + sign and choose the Facebook-ios-sdk library :

that is it.

when you want to update the source file and re compile just the library you can choose to compile from your schema drop down

working this way allow you to build from source and version of the SDK and also once the source will be ARC enabled it will also work and you won’t need to change a thing.

Happy coding.

Subscribe – “Follow” on facebook

Leave a comment

Introducing the Subscribe Button Now you can hear from people you’re interested in, even if you’re not friends.Facebook have added an option for following public shares and update using a subscribe button. this button is not enabled by default and you as the account owner will have to enable it on this page subscribe page.

If you have reached your 5000 friends limit this will come handy.

The most important mobile payment infographic. Ever. | MobilePaymentsToday.com

Leave a comment


The most important mobile payment infographic. Ever.



The most important mobile payment infographic. Ever.
Compliments of MobilePaymentsToday.com

ITRI touchscreen technology lets you pinch-to-zoom boob tubes of any size (video)

Leave a comment

ITRI touchscreen technology lets you pinch-to-zoom boob tubes of any size (video) – http://pulse.me/s/dPMO
This extra hardware will enable any screen to be a multi touch. from the little that it show, this hardware will need some calibration setup  and if you want to attach it to your tv , what application it will serve? but the real deal is , do you want to get out of your spot  to touch it?  remote is still a better option to me.

#Nokiapp at #MWC11

Leave a comment

So the main message of Nokia in today’s dev day was that Symbian is here to stay. Nokia will introduce new windows phone 7 soon based on the partnership they made with Microsoft but it is not going to replace Symbian or Meego. The support for Symbian for developers will continue with advancement in Qt by better API and new nice tools for faster easier development of apps.
The Qt quick for example , is a very nice way of producing a native app with animation in a very short amount of code. The code itself ,QML, that remind me of css3 will finally allow many of us that did not wanted to mess with Symbian development , to take a look and download the SDK for a spin.

image

NOKIA is also about to launch in app billing to ovi store. this will be added to the already available service provider billing that they continue to add in more and more countries.

With 3 platforms , Symbian ,wp7 and s40 a large user base connected to a largely deployed Ovi store and improvements on developer tools Nokia have not said the final world and plan together with Microsoft to create the third smartphone Ecosystem.

Managing multiple platforms

Leave a comment

The Mobile industry has reached a blossoming era. The devices are more capable and the platforms provide a rich developing frameworks and app stores to monetize the development effort. As a developer you have many opportunities to publish but you need to master each platform by it self. For this reason some companies have identifier this difficulty and came up with a unified systems to develop once and publish to multiple platforms.

When looking more closely to the unified options available there is a qutions rising is really suitable for all your needs , or there is a catch?

Well to my opinions there is. when examining the user experience of iOS , Android , Bada Symbian and the likes you can spot they are not the same. while in iOs you will need to put a navigation bar to browse back to previous screen with an Android activity you just click the physical back button , iOS uses tab bar on the bottom of the screen while Android tab bar widget is designed to be placed on the top. Bada uses shoulder area for action button and Android normally has a physical menu button etc’ .

while the standard UI widgets on each platform has it’s own styling and placement , games like Angry birds look almost exactly on each platform. since they do not use the built in UI kits for widgets and controls but design their own. could they benefit from unified platforms so they could manage one source code ? almost. there still some differnties with device capabilities like accelerated 3D graphics or run time memory allocation options.

Most of the unified developing option are with some sort of none static scripting language.
But using them for game development is problematic becuase you need to get best performance you can for smooth high frame rate output. Wekit HTML 5 and CSS 3 can be used as a unified development platform creating an hybrid apps to be published on the app stores. But this kind of apps will miss the power for 3D graphics and can not have one style of UI to fit each platform.

personally I prefer writing in each platform natively. this will allow you best performance and best user expirience you can get from the platform. yes it will cost more since you will need to rewrite your app for each platform but it will be the best. And this is what we want, to be the best so we will sale more , aren’t we ?

Install Android app from a PC

1 Comment

If you have download an apk file to your local pc and want to install it to your android device here is what you need to do :

download and install Android SDK according to the SDK install on the android.com site.

if you are running windows , on the sdk install the additional component window sdk driver .
connect your android device using a usb cable.
in the android sdk->platform-tools locate the adb.exe
in command line on the specified path write :

adb install < path to apk >

you should enter your real path to the apk file you want to install on the device.

for more information about installing the sdk and windows driver go to SDK

%d bloggers like this: