顯示具有 Coding 標籤的文章。 顯示所有文章
顯示具有 Coding 標籤的文章。 顯示所有文章

2012年3月26日 星期一

Titanium Mobile - Facebook Graph

Introduce how to call facebook graph api in Titanium Mobile Project

There have two way using it, direct link or use Titanium.Facebook.requestWithGraphPath

For more info about the detail of Facebook Graph API please see the official site here

I will also list some api call example below
First,use direct link

[wp_ad_camp_2]

2012年3月25日 星期日

Git Config - Autocomplete & color

Though I'm not that familiar with git (a version control)

but I still find something good to help us use git better

like you can have the command autocomplete in Mac's terminal

or mark the filename and give it a different color so that we can check immediately

[wp_ad_camp_2]

2012年3月23日 星期五

Titanium Mobile - Twitter Tweet

This is a guide about tweet a status in Titanium Mobile Project

This is Easy to Use and need not to download any module!

First, u'll need two js file in the project/Resources directory


jsOAuth-1.3.3 and twitter (this is from here)

Android with OpenCV native c++ code

This is for the OpenCV 2.3.1 version and using the prebuild version from official site.

First,download these three things and remember to set up eclipse with android-sdk.

1.Android-ndk 

2.opencv-android 

3.cygwin 

--------------------------------------------------Install Step----------------------------------------------------------

Using OpenCV 2.3.1a in Xcode 4

I'm now using Mac OS X to writing my OpenCV project

(install OpenCV in 1 minute, just open terminal and type the three red lines!!)


To build the environment, first we should have OpenCV in our OS

I use homebrew to install OpenCV 2.3.1a and I think it's very easy and fast.

First open your terminal and type
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

By doing this, homebrew is now inside your system.