現今多種外接於行動裝置的 App 或 Accessory 如
SquareUp 等,覺得雖然未必這些應用有多大用處,但他一定有許多不同的固定使用群眾,哪怕是很小眾。其實近兩年也一直想將 Arduino 接至 iPhone/Android Phone 以尋求更多的行動應用,光看看別人做的 project、腦中胡思亂想的 idea 就覺得是很興奮的事情。 其實 iPhone 早就能透過 Dock breakout 雙向傳輸資料,但必須要 Jailbreak 還是無法給一般使用者使用。不過所幸之前有找到走 Audio Jack 的方式,就如同麥克風錄音一樣將訊息傳進 iPhone,再透過 App 去解析這些訊息。不過 Audio Jack 的方式目前實驗還不是太順利 (還有其他更重要的事 XD),因此之後有成功再將心得和程式分享出來。
DK 發表在 痞客邦 留言(0) 人氣(2,939)

等公車是通勤族(上班或上學)每天最頭痛的問題之一,多虧台北市政府提供動態公車資訊查詢,有許多 developer 出了 Android 或 iOS App 供民眾透過智慧型手機查詢公車動態。這邊也要幫 iPhone「我愛搭公車」打一下廣告 (學弟 XD),大家可以多多幫忙偶爾不小心點到廣告一下 (笑)。
不過本篇是來砸場的,既然台北市政府都提供了 OpenData,是不是要好好使用一下呢?筆者某天花了兩三小時整理一下,使用 Python+GAE+jQueryMobile 製作了「公車動態查詢」雲端版,希望讓 iPhone、Android 以外的使用者(WM7, Symbian, BlackBerry等),也能方便在出門前會使用電腦上網的使用者能夠方便的查詢公車狀態。
DK 發表在 痞客邦 留言(2) 人氣(9,317)

常常看到各種 iPhone App 擁有非原本 iOS SDK 的官方 UI 外觀。在自己要硬寫的時候發現,自己寫 TabBarController 的成本好像划不來,因此想到一個小撇步,直接用自己設計的 TabBar 蓋掉原本 TabBar
的 View,因此某天便花了半小時想說動手做看看。以下記錄自定 TabBar View 蓋過原本 TabBar 但又不失 TabBarController 功能的方法。
在 UIApplication 中加入:
[self.tabBarController.tabBar.superview.addSubview: fakeTabBG];
[self.tabBarController.tabBar.superview addSubview: fakeTab];
[self.tabBarController.tabBar.superview addSubview: fakeNavBar];
DK 發表在 痞客邦 留言(1) 人氣(6,529)
自從3G/3.5G逐漸普及,智慧型手機對於商務人士或某些使用者的不可取代性逐漸提高。(jwill.pixnet.net)
DK 發表在 痞客邦 留言(3) 人氣(3,639)

圖轉貼自CreativeApplications.Net,部分文翻譯自CreativeApplications.Net
原文網址 http://www.creativeapplications.net/android/mobile-app-development-processing-android-tutorial/
DK 發表在 痞客邦 留言(8) 人氣(10,897)
iPhone/iPod Touch Serial Port Tutorial By Collin Meyer (TheRain) 12-09-2007
DISCLAIMER: Interfacing electronically to the Iphone has the potential to cause severe damage to your Iphone or cause your Iphone to become non-functional. By following this tutorial you take sole responsibility and understand the risks of what you are doing.
Summary
This tutorial will explain how to use the serial RX and TX lines on the Iphone as a standard UART serial port. Software on the Iphone can access the UART using the same libraries and functions as in any UNIX software. This tutorial was created to explain how to get past this issue. This tutorial will explain some of the basic parts and code needed to use the UART.
Tools
DK 發表在 痞客邦 留言(0) 人氣(1,004)