jQuery Mobileは触らないことに決めた。携帯端末エミュレータが不明の為 | 乖離のぶろぐ(*´∀`)吸い込んで応援
(゚ω゚)jQuery Mobileは触らないことに決めた。
(゚ω゚)理由は、携帯端末のエミュレータが分からない。2014.09.11
---------------------------------------------------------------

(゚ω゚)まずは関連情報。
http://ameblo.jp/pochifx/entry-11803948927.html
lubuntu-13.10-desktop-amd64.iso NetBeans PHP(2)
http://ameblo.jp/pochifx/entry-11847864430.html
jQuery UI,PHP,Netbeans,lubuntu-14.04,VirtualBox
http://ameblo.jp/pochifx/entry-11858257637.html
QUnit,PHP,Netbeans,lubuntu-14.04,VirtualBox
http://ameblo.jp/pochifx/entry-11870275765.html
jQuery Validation , Netbeans , lubuntu-14.04

(゚ω゚)ここを見ながら、一通り試してみよう。
http://www.buildinsider.net/tagcloud?tag=jQuery+Mobile
>タグ「jQuery Mobile」の記事一覧

(゚ω゚)「携帯画面は、どうやって見てデバッグするの?」という疑問が沸く。

http://www.atmarkit.co.jp/fsmart/index/jquerymobile.html
「jQuery Mobileでスマホ向け企業サイト構築」
http://www.atmarkit.co.jp/fsmart/articles/jquerymobile01/01.html
>■プレビュー
> Google Chrome Web Developer Tools
> Adobe Shadow
(゚ω゚) 別途、アプリが必要らしい。

https://creative.adobe.com/products/inspect
1.Edge Inspect をコンピューターにダウンロード
2.Google Chrome ブラウザーの拡張機能をインストール
3.Chromeウェブストアから拡張機能をダウンロード
4.モバイルクライアントをデバイスにインストール
iOSAndroidKindle Fire
Edge Inspect は、複数のモバイルデバイスでコンテンツをプレビューする必要のある Web 開発者やデザイナーに不可欠なアプリケーションです。複数の iOS と Android デバイスをワイヤレスでコンピューターと組み合わせ、接続しているどのデバイスからでもスクリーンショットを作成したり、HTML、CSS、JavaScript への変更をリアルタイムで確認することができます。

(゚ω゚) 携帯無しでテストできないの?
https://netbeans.org/kb/docs/webclient/html5-gettingstarted_ja.html
HTML5アプリケーションの開始

このドキュメントは、IDEでHTML5プロジェクトを作成する方法と、プロジェクトでのJavaScriptおよびCSSの使用をサポートするIDEの機能の一部を示します。このドキュメントでは、jQuery JavaScriptライブラリを使用してWebページのリストを変更する単純なHTML5アプリケーションを作成します。
このドキュメントでは、Chrome WebストアからChromeブラウザのNetBeans Connector拡張機能をインストールする方法も示します。


https://netbeans.org/kb/docs/webclient/html5-gettingstarted_ja.html#webkit
埋込みWebKitブラウザの使用
1.ツールバーのドロップダウン・リストで「埋込みWebKitブラウザ」を選択します。
(゚ω゚) iOSなんて、出てきてないんだけど?
(゚ω゚)もしかして、この辺りの設定が不足してる?

http://developer.android.com/sdk/index.html
Get the Android SDK

The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android.

If you're a new Android developer, we recommend you download the ADT Bundle to quickly start developing apps. It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.

(゚ω゚) ./androidを実行すると「Android SDK Manager」が起動した
ubuntu@ubuntu-VirtualBox:~/ダウンロード/adt-bundle-linux-x86_64-20140702/sdk/tools$ ls -la
合計 17408
drwxr-x--- 8 ubuntu ubuntu 4096 7月 1 16:14 .
drwxrwxr-x 7 ubuntu ubuntu 4096 7月 2 12:16 ..
-rw-r----- 1 ubuntu ubuntu 782156 7月 1 16:12 NOTICE.txt
-rwxr----- 1 ubuntu ubuntu 3498 7月 1 16:12 android
drwxr-x--- 2 ubuntu ubuntu 4096 7月 1 16:12 ant
drwxr-x--- 3 ubuntu ubuntu 4096 7月 1 16:12 apps
-rwxr----- 1 ubuntu ubuntu 3286 7月 1 16:12 ddms
-rwxr----- 1 ubuntu ubuntu 1940 7月 1 16:12 draw9patch
-rwxr----- 1 ubuntu ubuntu 33428 7月 1 16:12 emulator
-rwxr----- 1 ubuntu ubuntu 2706541 7月 1 16:12 emulator-arm
-rwxr----- 1 ubuntu ubuntu 2679855 7月 1 16:12 emulator-mips
-rwxr----- 1 ubuntu ubuntu 2811534 7月 1 16:12 emulator-x86
-rwxr----- 1 ubuntu ubuntu 2854417 7月 1 16:12 emulator64-arm
-rwxr----- 1 ubuntu ubuntu 2884527 7月 1 16:12 emulator64-mips
-rwxr----- 1 ubuntu ubuntu 2956240 7月 1 16:12 emulator64-x86
-rwxr----- 1 ubuntu ubuntu 3464 7月 1 16:12 hierarchyviewer
-rwxr----- 1 ubuntu ubuntu 1845 7月 1 16:12 jobb
drwxr-x--- 8 ubuntu ubuntu 4096 7月 1 16:12 lib
-rwxr----- 1 ubuntu ubuntu 2046 7月 1 16:12 lint
-rwxr----- 1 ubuntu ubuntu 12191 7月 1 16:12 mksdcard
-rwxr----- 1 ubuntu ubuntu 1293 7月 1 16:12 monitor
-rwxr----- 1 ubuntu ubuntu 3176 7月 1 16:12 monkeyrunner
drwxr-x--- 7 ubuntu ubuntu 4096 7月 1 16:12 proguard
-rwxr----- 1 ubuntu ubuntu 2259 7月 1 16:12 screenshot2
-rw-r----- 1 ubuntu ubuntu 70 7月 1 16:14 source.properties
drwxr-x--- 2 ubuntu ubuntu 4096 7月 1 16:12 support
drwxr-x--- 6 ubuntu ubuntu 4096 7月 1 16:12 templates
-rwxr----- 1 ubuntu ubuntu 3219 7月 1 16:12 traceview
-rwxr----- 1 ubuntu ubuntu 3054 7月 1 16:12 uiautomatorviewer
ubuntu@ubuntu-VirtualBox:~/ダウンロード/adt-bundle-linux-x86_64-20140702/sdk/tools$ ./android


(゚ω゚)うーん・・、Androidサイトは作りたくないのだけど、見てみただけとなった。

https://netbeans.org/kb/docs/webclient/html5-gettingstarted_ja.html#webkit
(゚ω゚)ここに書いてるキーワード検索が、やはり基本か?
https://www.google.co.jp/search?q=NetBeans+Mobile+device+browser
http://wiki.netbeans.org/MobileBrowsers#Requirements
iOS

NetBeans 7.4 supports development, deploying, debugging and live CSS styling also on iOS Devices. Support for iOS is available only on Mac. Debugging is available for iOS 6.0+.

Setup Instructions:

1. Install XCode from Mac App Store (XCode 4.6 or greater)
2. Install command line tools and iOS Simulator SDK
3. Enable Web Inspector on your iOS Device in mobile Safari Preferences (Settings > Safari > Advanced > Enable Web Inspector).
4. Mobile device must be on the same network as developer machine.

(゚ω゚)Support for iOS is available only on Mac
(゚ω゚)つまり、iOSアプリ作成するためには、NetBeansのMAC版を使う必要がある。
(゚ω゚)iOSのアプリ開発は無理ってこと?
(゚ω゚)そこで、Oracle VM VirtualBoxを見てみると・・・


(゚ω゚) 起動するisoファイルが見つからないねぇ。
(゚ω゚) ということでiPhoneは、開発者を増やせないまま廃れるだろう。
(゚ω゚) 再びAndroidに戻り、jQuery Mobileの学習は続く・・・

http://developer.android.com/sdk/installing/index.html?pkg=tools
Troubleshooting Ubuntu

If you need help installing and configuring Java on your development machine, you might find these resources helpful:
https://help.ubuntu.com/community/Java
https://help.ubuntu.com/community/JavaInstallation
Here are the steps to install Java and Eclipse, prior to installing the Android SDK and ADT Plugin.

If you are running a 64-bit distribution on your development machine, you need to install additional packages first. For Ubuntu 13.10 (Saucy Salamander) and above, install the libncurses5:i386, libstdc++6:i386, and zlib1g:i386 packages using apt-get:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

For earlier versions of Ubuntu, install the ia32-libs package using apt-get:

apt-get install ia32-libs

(゚ω゚) Ubuntuの説明があるということはAndroidサイト開発の定番環境ってこと?
(゚ω゚) 必要なアプリは入ってた。


(゚ω゚) monitorを実行すると、adbをインストールしろと言われた。
http://android.keicode.com/devenv/what-is-adb.php
Android Debug Bridge (adb) とは?
Android Debug Bridge は adb と省略されます。 これは Android SDK の platform-tools に含まれるツールです。

このツールを用いると、現在利用可能なデバイス・エミュレータの列挙、シェルコマンドの発行、ファイルの転送などが行えます。

Eclipse から Android アプリをビルドしたときも、裏側で adb を用いてエミュレータまたは実際のデバイスに接続します。
adb の仕組み

adb は主に adb クライアント と adb サーバー から構成されます。

adb クライアントを起動すると、adb クライアントは現在実行中の adb サーバーを探します。サーバーが見つからない場合は、adb サーバープロセスを起動します。

adb サーバープロセスは起動後 TCP ポートの 5037 番で待ち受けを開始します。 adb クライアントは、5037 番ポートに接続に行きます。

adb サーバーを明示的に起動するには、 adb start-server コマンドを実行します。

(゚ω゚)Android携帯のエミュレーた画面とか無いの?
(゚ω゚)ここまで進んで、あと何が足りない?


(゚ω゚)AVDが起動しないなぁ・・と検索してたら、Ubuntu向けに簡単インストールする方法を見つけた。
(゚ω゚)たしか、JDKでもお世話になったサイトだ。
http://search.ameba.jp/search.html?q=webupd8.org&aid=pochifx

http://www.webupd8.org/2014/09/canonical-releases-ubuntu-developer.html
Canonical Releases Ubuntu Developer Tools Center, Makes It Easy To Install Android Studio And Android SDK In Ubuntu ~ Web Upd8: Ubuntu / Linux blog:
Author: Andrew | Date: Tuesday, September 02, 2014

Install Ubuntu Developer Tools Center with Android Studio and Android SDK in Ubuntu

Ubuntu Developer Tools Center is currently in alpha so you'll encounter bugs! Report them @ Launchpad or GitHub.

Before proceeding, if you've used the unofficial Android Studio PPA maintained by Paolo Rotolo, purge the android-studio package:

sudo apt-get purge android-studio
sudo rm -r "/usr/share/android-studio"


1. Install Ubuntu Developer Tools Center

Ubuntu 14.10: as I said, UDTC is already available in the Ubuntu 14.10 Utopic Unicorn repositories so to install it, use the following command (or search for it in Ubuntu Software Center, Synaptic, etc.):

sudo apt-get install ubuntu-developer-tools-center


Ubuntu 14.04: Ubuntu Developer Tools Center is available in an official PPA maintained by Didier Roche. Add the PPA and install UDTC using the following commands:

sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center
sudo apt-get update
sudo apt-get install ubuntu-developer-tools-center



2. Install Android Studio and Android SDK using UDTC

Ubuntu Developer Tools Center

To install Android Studio and Android SDK, simply run the following command:

udtc android

(゚ω゚)やった事は、青色の部分のみ。

(゚ω゚)表示できたけど、ブラウザはどうやったら起動できるの?

(゚ω゚)このワーニングは、どうやれば消えるの? なにをインストールすればいいの?

Starting emulator for AVD 'aaa'
libGL error: pci id for fd 9: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo