2012-09-24

Using Xcode workspace




Using Open Source Static Libraries in Xcode 4

http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/


Easy Xcode Static Library Subprojects and Submodules

http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules


Helping Xcode Find Library Headers

http://www.cocoanetics.com/2012/01/helping-xcode-find-library-headers/

Mac 上常用的好工具整理

Mac 上常用的好工具整理


Alfred 一個快速開啟已安裝程式以及搜尋的工具

http://www.alfredapp.com/


Better Touch Tool 一個可以在滑鼠移到邊界時自動調整視窗大小,當然還有其他功能啦~~


看看介紹囉
http://www.macuknow.com/node/2716

http://mulicia.pixnet.net/blog/post/24733084-%E8%A7%A3%E6%94%BE%E4%BD%A0%E7%9A%84%E8%A7%B8%E6%8E%A7%E5%8A%9F%E8%83%BD%3Abetter-touch-tools%E3%80%81jitouch%E3%80%81magi

下載點
http://blog.boastr.net/


Text Wangler 一個文字編輯軟體,跟ultraedit差不多強大吧~~

介紹文
http://it.mjwo.org/2012/04/mac-os-x-textwrangler-4.html

下載點
http://www.barebones.com/products/TextWrangler/


Sublime Text 也是一個文字編輯軟體,有很多適合Coding用的功能喔

介紹文
http://kevintsengtw.blogspot.tw/p/sublime-text-2.html#.UGCY7aT9EWU
下載點
http://www.sublimetext.com/


Yahoo中文輸入法

下載點
http://tw.media.yahoo.com/keykey/instruction_mac.php


Terminal 介面調整


http://osxdaily.com/2012/02/24/ir_black-theme-add-colors-easily-to-the-terminal-in-mac-os-x/


Office 

Kingsoft Office Suite 2012:微軟 Office 無痛轉移的最佳方案

Libre Office


繪圖軟體 

向量 : Inkscape
點陣 :Gimp

2012-09-17

iOS image processing

iOS image processing library

用著iphone上拍照的軟體,想著以前大學好像學過一門課叫做Image processing 這一類的,所以關於影像處理這一部分的東西應該會有現成的library可以拿來使用吧~~

於是乎就問了問Google大神

最後找到了這一包強大的東西了.說明中寫著有用到iPhone的硬體加速,裝起來跑,還真的有加速的感覺了。有興趣的請跑跑看examples裡面的FilterShowcase吧~
https://github.com/BradLarson/GPUImage


以下的似乎沒這麼強大..留作參考囉~
http://maniacdev.com/2012/05/easy-and-extremely-fast-ios-uiimage-image-processing-library-blursharpenemboss/

http://maddogsoftware.wordpress.com/2011/06/05/uiimage-processing-using-vdspaccelerate-framework/

ios youtube download

How to download the youtube video and save it?


問了問google大神..
Keyword: stackoverflow download youtube videos ios
找到一些討論串
http://stackoverflow.com/questions/5087249/save-youtube-video-to-iphone-in-the-app

最後找到了一個可以運作的程式碼囉~~喔耶!!
https://github.com/comonitos/youtube_video

2012-09-14

Android Camera 常見問題

Android Camera 常見問題

同事在使用客製化的Camera的時候遇到不少問題,大致上如下面的連結所提到的問題都有碰到了

Android Camera 照相机常见问题 解决方法
http://zhaostudy2.blog.163.com/blog/static/135350205201111710030726/


後來一切的問題在Google Android的SDK裡面的Sample找到了解答
在Android sdk的目錄底下有這麼一個東西
android-sdk-macosx/samples/android-16/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.java

單然,我們可以把ApiDemo這整個專案import進來跑跑看囉~
首先在Package Explorer空白處點右鍵選擇New=>Other...

接下來選擇Android =>Android Sample Project
接下來選擇一個版本的Sample囉
再來就選要看的專案,這裡的標的物就是ApiDemo囉,選好按下finish就好囉

Android CoverFlow

Android CoverFlow

Android Coverflow Widget V2

http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html


另外在Google Code上面找到一個改寫上面那個Widget的專案

android-coverflow


Simple implementation of android's cover flow widget. It is largely based on excellent code from Neil http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html
http://code.google.com/p/android-coverflow/

2012-09-13

Setup Apache and PHP on OSX 10.8 Mountain Lion

如何在Mountain Lion 上面跑PHP呢?

找到了下面的參考,Mountain Lion 裡面有內建的東西呢~~真貼心~

Install and configure Apache, MySQL, PHP and phpMyAdmin on OSX 10.8 Mountain Lion
http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

Funding platform for creative projects

Kickstarter


Kickstarter is a funding platform for creative projects. Everything from films, games, and music to art, design, and technology. Kickstarter is full of ambitious, innovative, and imaginative projects that are brought to life through the direct support of others.
Since our launch on April 28, 2009, over $350 million has been pledged by more than 2.5 million people, funding more than 30,000 creative projects. If you like stats, there's lots more here.

flyingV是一個協助群眾發起或支持創意專案的平台。如果你有一個想完成的計畫(例如:電影、音樂、表演、活動、設計......等),你可以在flyingV上刊登你的計畫向大家推廣,並邀集喜歡你的計劃的人用資金支持你,助你完成夢想。如果你支持創意、喜歡創作、想認識各式各樣的新生代創作人,在flyingV上,你可以瀏覽到豐富的計畫,也可以成為提案者最有力的夥伴,一起見證這些計畫從腦海裡奔向現實、踏進你世界的過程。 


Reference
http://lifehacker.com/5882940/the-best-sites-to-raise-money-and-get-your-ideas-off-the-ground
http://www.similarsitesearch.com/alternatives-to/kickstarter.com

jQuery Chart Library

jQuery Chart Library

http://xaviershay.github.com/tufte-graph/

http://www.jqplot.com/tests/pie-donut-charts.php


Reference

25 Awesome Open Source jQuery | JavaScript Charting Library for Web Developer
http://www.fromdev.com/2012/05/15-awesome-open-source-javascript.html

Use iOS5's UIAppearance protocol to custom UINavigationBar background

iOS5的 UIAppearance protocal能幹嘛呢?



這邊有篇中文的參考
http://furnacedigital.blogspot.tw/2011/11/appearance.html

這邊還有一篇英文的參考,有這些Class的示範喔


  • UIActivityIndicatorView
  • UIBarButtonItem
  • UIBarItem
  • UINavigationBar
  • UIPopoverController
  • UIProgressView
  • UISearchBar
  • UISegmentedControl
  • UISlider
  • UISwitch
  • UITabBar
  • UITabBarItem
  • UIToolbar
  • UIView
  • UIViewController

  • http://www.ioslearner.com/uiappearance-proxy-protocol-tutorial/



    想要整個 App 都套同一種客製的UI,就加在 AppDelegate 裡面就行囉!

    - (void)customUI
    {
        // Set the background image for *all* UINavigationBars
        UIImage *navBG = [[UIImage imageNamed:@"navbar-iphone.png"]
                          resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
        [[UINavigationBar appearance] setBackgroundImage:navBG
                                           forBarMetrics:UIBarMetricsDefault];

        // Customize navigation bar back button
        UIImage *navBackButtonBG = [[UIImage imageNamed:@"nav-back-button.png"]
                                    resizableImageWithCapInsets:UIEdgeInsetsMake(5, 16, 5, 7)];
        [[UIBarButtonItem appearance] setBackButtonBackgroundImage:navBackButtonBG
                                                          forState:UIControlStateNormal
                                                        barMetrics:UIBarMetricsDefault];
        
        // Customize navigation bar buttons
        UIImage *navButtonBG = [[UIImage imageNamed:@"nav-button.png"]
                                resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 5)];
        
        [[UIBarButtonItem appearance] setBackgroundImage:navButtonBG forState:UIControlStateNormal
                                              barMetrics:UIBarMetricsDefault];
    }

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        // Override point for customization after application launch.
        
        [self customUI];
        
        return YES;
    }




    2012-09-11

    iOS multi language

    iOS multi language

    某日,寫著iOS的App熊熊想到一個問題:iOS 5 的Storyboard要怎麼處理多國語言的問題呢?

    只好請示了一下谷歌大神:

    使用KeyWords:ios storyboard multi language

    Introduction to internationalization using storyboards on iOS 5
    http://www.albertmata.net/articles/introduction-to-internationalization-using-storyboards-on-ios-5.html


    也有影片ㄟ不過不是我要找的東西,不過也留起來
    Xcode: Organizing Apps with Multiple Storyboards
    http://www.youtube.com/watch?v=D4_twoYvB4M


    繼續往下看了看搜尋結果,找到一個介紹影片,Yeah!
    Automatic localization in iOS storyboards
    http://www.youtube.com/watch?v=cF1Rf02QvZQ

    Open Source 2D Game Engine for iOS


    The Sparrow Framework

    The Open Source Game Engine for iOS

    http://gamua.com/sparrow/


    cocos2d for iPhone

    cocos2d for iPhone is licensed under the MIT license.

    http://www.cocos2d-iphone.org/



    Particle Effects editor 

    (爆破效果編輯器)
    http://particledesigner.71squared.com/

    2012-09-05

    Android Drag and Drop

    Android Image Drag and Drop and Pinch to Zoom


    找到一個寫的不錯的lib 在 google code 上面
    專案名稱:android-multitouch-controller
    http://code.google.com/p/android-multitouch-controller/




    其他參考資料

    http://codingjunkie.net/android-drag-and-drop-part1/
    http://codingjunkie.net/android-drag-and-drop-part-2/
    http://codingjunkie.net/android-drag-and-drop-part-3/

    http://www.wglxy.com/android-tutorials/moving-views--part-2-drag-drop

    http://blahti.wordpress.com/2010/12/20/moving-views-in-android-part-1/
    http://blahti.wordpress.com/2011/01/17/moving-views-part-2/
    http://blahti.wordpress.com/2011/02/10/moving-views-part-3/

    Some Sample
    MTPhotoSortrDemo

    2012-09-04

    Some Android libs

    Android 一些 libs

    android-multitouch-controller
    MIT License
    http://code.google.com/p/android-multitouch-controller/

    NewQuickAction 
    Apache License 2.0
     
    https://github.com/lorensiuswlt/NewQuickAction 
    Facebook SDK for Android
     
    Apache License 2.0
     
    https://github.com/facebook/facebook-android-sdk 
    GSON
     
    Apache License 2.0
     
    http://code.google.com/p/google-gson/ 
    CWAC TouchListView
     
    Apache License 2.0
     
    https://github.com/commonsguy/cwac-touchlist 
    Android MapView Balloons
     
    Apache License 2.0
     
    https://github.com/jgilfelt/android-mapviewballoons 
    Apache Commons IO
     
    Apache License 2.0
     
    http://commons.apache.org/io/ 
    greenDAO
     
    Apache License 2.0
     
    https://github.com/greenrobot/greenDAO 
    Application Crash Report for Android
     
    Apache License 2.0
     
    http://code.google.com/p/acra/ 
    libs-for-android
     
    Apache License 2.0
     
    http://code.google.com/p/libs-for-android/ 
    scribe-java
     
    MIT License
     
    https://github.com/fernandezpablo85/scribe-java

    Drag-And-Drop-Android
     
    GNU LGPL 3.0
     
    https://github.com/mtparet/Drag-And-Drop-Android 
    MJPEG on Android
     
    ???
     
    http://www.anddev.org/mjpeg_on_android_anyone-t1871.html (2009) 
    http://code.google.com/p/android-camera-axis/ (GNU GPL v3, 2011)