Facebook SDK 3.1 for iOS – runs on iOS6, but crashes on iOS 5.x

Did you set the frameworks to be optional? When you are adding AdSupport.framework, Social.framework, and Accounts.framework, there is drop down menu to the right that you can select between “Required” and “Optional”. See a picture example here: Link Another thing to check is in your Project’s “Build Settings” that ‘Base SDK’ is 6.0 and ‘iOS … Read more

Is there a way to detect if the Facebook Javascript SDK loaded successfully?

You should load the Javascript Library Asynchronously and put all your FB related functions inside the window.fbAsyncInit method: <div id=”fb-root”></div> <script> window.fbAsyncInit = function() { FB.init({ appId : ‘YOUR_APP_ID’, // App ID channelUrl : ‘//WWW.YOUR_DOMAIN.COM/channel.html’, // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server … Read more

Open XML SDK 2.0 – how to update a cell in a spreadsheet?

Here is the working code. This is a prototype. For a larger number of changes, one might open the document only once. Also, there are some hard-coded things like sheet name and cell type that would have to be parameterized before this can be called production-ready. http://openxmldeveloper.org/forums/4005/ShowThread.aspx was very helpful. using System; using System.Collections.Generic; using … Read more

How to install Java SDK on CentOS?

The following command will return a list of all packages directly related to Java. They will be in the format of java-<version>. $ yum search java | grep ‘java-‘ If there are no available packages, then you may need to download a new repository to search through. I suggest taking a look at Dag Wieers’ … Read more

Windows SDK 7.1 Setup failure

With Windows 10 x64, the setup is blocked by: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version Change both values temporarily to 4.0.30319 and the setup will let you continue. Make sure you edit the registry with elevated privileges, otherwise you will not be allowed to change the values.

How to set IntelliJ IDEA Project SDK

For a new project select the home directory of the jdk eg C:\Java\jdk1.7.0_99 or C:\Program Files\Java\jdk1.7.0_99 For an existing project. 1) You need to have a jdk installed on the system. for instance in C:\Java\jdk1.7.0_99 2) go to project structure under File menu ctrl+alt+shift+S 3) SDKs is located under Platform Settings. Select it. 4) click … Read more