JAVA SE 6
http://java.sun.com/javase/index.jsp
なんかOpenOfficeも同梱されてる・・・なんとなくインストールしてしまった。。。
こういうので何の気なしにインストールしてしまうね、なるほどね
set JAVA_HOME=F:\bin\Java\jdk6
set Path=%Path%;%JAVA_HOME%\bin;
http://code.google.com/intl/ja/android/
SDKをダウンロードしてみる。
set ANDROID_HOME=F:\java\android-sdk-windows-0.9_beta\
set Path=%Path%%ANDROID_HOME%tools\
な感じで。
http://www.eclipse.org/
http://mergedoc.sourceforge.jp/
日本語化
eclipse.iniへ
-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
さてEclipseを起動してプラグインを有効化しようとしたら
https://dl-ssl.google.com/android/eclipse/
につながらず・・・
ADTのzipをいれてアーカイブでと
Troubleshooting ADT Installation
If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:
* In Step 4, try changing the remote update site URL to use http, rather than https.
* If you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4, you can configure proxy information from the main Eclipse menu in Window (on Mac, Eclipse) > Preferences > General > Network Connections.
If you are still unable to use Eclipse to download the ADT plugin, follow these steps to download and install the plugin from your computer:
1. Download the ADT zip file (do not unpack it).
2. Follow steps 1 and 2 in the default install instructions (above).
3. In Eclipse 3.3, click New Archive Site....
In Eclipse 3.4, click Add Site..., then Archive...
4. Browse and select the downloaded the zip file.
5. Follow the remaining procedures, above, starting from steps 5.
Note that to update your plugin, you will have to follow these steps again instead of the default update instructions.
をやってみた・
・Eclipseを再起動後
ウィンドウ>設定
で
AndroidのSDKロケーションを
F:\java\android-sdk-windows-0.9_beta
と設定
うやっとできた。
2008-08-31 01:17:42
はじめにWindowsにつなげて、MediaPlayerから
アーティスト:news
アルバム情報:news
のようなファイルを必要なだけ作っておきます。
[そのファイルはnewsというプレイリストを作っておきます!]
今回は、2つです。
状態を確認
# dmesg
sd 8:0:0:0: ioctl_internal_command return code = 8000002
: Current: sense key: No Sense
Additional sense: No additional sense information
sd 8:0:0:0: ioctl_internal_command return code = 8000002
: Current: sense key: No Sense
Additional sense: No additional sense information
sd 8:0:0:0: ioctl_internal_command return code = 8000002
: Current: sense key: No Sense
Additional sense: No additional sense information
sd 8:0:0:0: ioctl_internal_command return code = 8000002
: Current: sense key: No Sense
=== 省略 ===
usb 2-2: USB disconnect, address 11
usb 2-2: new full speed USB device using uhci_hcd and address 14
usb 2-2: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
Vendor: TOSHIBA Model: gigabeat U Rev:
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 1867264 512-byte hdwr sectors (956 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
sd 9:0:0:0: ioctl_internal_command return code = 8000002
: Current: sense key: No Sense
Additional sense: No additional sense information
SCSI device sdb: 1867264 512-byte hdwr sectors (956 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
!!!
sdb1 に gigabeat が接続されました。
マウントします。
# mount -t vfat /dev/sdb1 /mnt/giga
// mnt/giga ディレクトリは最初に作っておきます。
/mnt/giga/Music/news/news
というディレクトリが作成されていて
[news]# ls
nikkei.mp3 yomiuri.mp3
今回は,日経と読売を利用するのでこの2ファイルを作成
(MediaPlayerからnewsというプレイリストを作成済)
このファイルを更新するとプレイリストから聞くことが出来ます!
(タイトル・アーティスト情報等は引き継がれませんが、プレイリストで分けてあるのでOKです。)
例えば「読売ニュースPodcast」を利用すると
http://podcast.yomiuri.co.jp/
ファイルは
http://podcast.yomiuri.co.jp/podcast_yomiuri_online/files/071221.mp3
のようなものなので
USBに接続した状態で
1. マウント
2. mp3をダウンロードして保存(/mnt/giga/Music/news/news/yomiuri.mp3という名前で。)
3. アンマウント
[]# umount /mnt/giga
でOK.毎朝最新ニュースを聞くことが出来ます^-^。
===========================================
簡単なシェルを書いておく。
#!/bin/sh
TODAY=`date '+%y%m%d'`
mount /dev/sdb1 /mnt/giga
sleep 3
wget http://podcast.yomiuri.co.jp/podcast_yomiuri_online/files/$TODAY.mp3 -O /mnt/giga/Music/news/news/yomiuri.mp3
sleep 3
wget http://nikkei-pod.stream.ne.jp/www09/nikkei-pod/kiku/kiku1-$TODAY-pc.mp3 -O /mnt/giga/Music/news/news/nikkei.mp3
sleep 3
umount /mnt/giga
===========================================
これだけでOKです。
最後にcronを設定して終り。
0 7 * * * 1-5 /home/news/news.sh
月-金の7時に取得です。
便利です。
2007-12-29 20:45:13