星期四, 十月 25, 2007

iPhone/iPod Touch 軟體開發

雖然 Leopard 發行在即,但這兩天關於 iPhone/iPod Touch 的消息也不少。其中最重要的應該就是 Apple 決定釋出 iPhone 的 SDK,因此以後也可以自己寫 iPhone 的原生程式了,而且 iPod Touch 也適用。
Third Party Applications on the iPhone
Let me just say it: We want native third party applications on the iPhone, and we plan to have an SDK in developers’ hands in February. We are excited about creating a vibrant third party developer community around the iPhone and enabling hundreds of new applications for our users. With our revolutionary multi-touch interface, powerful hardware and advanced software architecture, we believe we have created the best mobile platform ever for developers.
It will take until February to release an SDK because we’re trying to do two diametrically opposed things at once—provide an advanced and open platform to developers while at the same time protect iPhone users from viruses, malware, privacy attacks, etc. This is no easy task. Some claim that viruses and malware are not a problem on mobile phones—this is simply not true. There have been serious viruses on other mobile phones already, including some that silently spread from phone to phone over the cell network. As our phones become more powerful, these malicious programs will become more dangerous. And since the iPhone is the most advanced phone ever, it will be a highly visible target.

Some companies are already taking action. Nokia, for example, is not allowing any applications to be loaded onto some of their newest phones unless they have a digital signature that can be traced back to a known developer. While this makes such a phone less than “totally open,” we believe it is a step in the right direction. We are working on an advanced system which will offer developers broad access to natively program the iPhone’s amazing software platform while at the same time protecting users from malicious programs.

We think a few months of patience now will be rewarded by many years of great third party applications running on safe and reliable iPhones.

Steve

P.S.: The SDK will also allow developers to create applications for iPod touch.
Apple - Hot News
這消息出來之後沒幾天,Apple 又在開發者網站上規劃了一個新的區域 - iPhone Dev Center,雖然目前只有 Web App 放在上面,但未來 SDK 公開之後應該也會以此為中心。

只是這個 SDK 不知道會不會只能在 Mac 上使用,還是會像 Safari 一樣推出 Windows 版呢?總之,應該趕快弄台 iPhone 或 iPod Touch 來玩了 :)

標籤: , , ,

星期日, 十月 07, 2007

試著在 Virtual PC 7 中安裝 Linux [1]

因為這學期修了一門 Linux 驅動程式開發,所以想在 VPC 中安裝一套 Linux 來用,沒想到真是困難重重啊...

先說明我的需求:因為只是要在上面練習寫 driver,所以 GUI 就省了,只需要有 ssh server 能夠登入就好。
我的配備則是 PowerBook G4 1.67GHz,記憶體有 2G,使用 Virtual PC 7.03。

首先先用了我最熟悉的 Mandriva。下載了 Mandriva 2007.1 來裝,輕鬆愉快的安裝好,只花了大約半小時多,然後開機,結果一直停在Uncompressing Linux... Ok, booting the kernel.不會動...它就是不會動...

於是我轉向 Mandriva 2007.0,結果相同...它還是不會動。

因此我腦筋動到了最近幾年很紅的 Ubuntu 上,抓來試試,先試了 7.04,沒想到在安裝的時候就遇到問題...看起來是螢幕設定有問題,安裝畫面大概只能看到一半...

我只好摸黑進行,一直到了安裝 base system 的時候,我看到進度列一直停留在 6%,停了起碼有 20 分鐘以上,只好放棄重新啟動。
經過了重複的試驗之後,我發現在 Ubuntu 安裝畫面一開始的地方可以設定 VGA,改成 800x600x16 之後,突然,安裝畫面正常了,我可以看到整個畫面了,也才發現原來進度列雖然停在 6% 但是它還是有在跑的!接下來就是耐心的考驗了....在經過了 2.5 小時的安裝之後,系統終於安裝完畢,但是第一次啟動就看到如下的畫面...Kernel 噴了兩行 CPU 的暫存器內容...掛了...

這樣不行,請出 Google 大神,在網路上翻啊翻的,看到有人說 Windows 版的 Virtual PC 2004 差不多就等於 Mac 版的 VPC 7,安裝的資料可以參考這個網站:What Works and What Doesn't in Microsoft Visual PC 2004。在查閱了裡面的資料之後,我確定了目前應該沒有人安裝成功我試的這幾個 Linux Distro...

退而求其次,我看到目前為止 Ubuntu 可以安裝的最新版本是 Ubuntu 6.06,就決定是你了吧,不過我實在是沒力在等下去,決定把電腦放下載,先去睡了。

標籤: ,