swatch.start([PackageName]
SmartWatchアプリを起動します。引数を省略した場合は、Bitmapキャッチャを起動します。BitmapキャッチャはSmartWatch用スクリプトを動作させるために必要です。
引数
- PackageName: SmartWatchアプリのパッケージ名を指定します。例えば、ミュージックプレイヤーアプリのパッケージ名は、"com.sonyericsson.extras.liveware.extension.music"となります。
(注意) swatchコマンドを使うには、別アプリのBitmapキャッチャが必要です。
Bitmapキャッチャのダウンロードはこちらから
→ https://play.google.com/store/apps/details?id=com.luaridaworks.smartwatch.bitmapcatcher
使用例
通常の使用例は、swatch.putflush()を参照してください。
--ミュージックプレーヤーを起動します。 swatch.start("com.sonyericsson.extras.liveware.extension.music") system.exit()