發表文章

TensorFlow on Android (I)

AndroidManifest.xml 裡頭定義了 application 的名稱、圖示、 activity,像是: <application android :allowBackup= "true" android :debuggable= "true" android :label= "@string/app_name" android :icon= "@drawable/ic_launcher" android :theme= "@style/MaterialTheme" > <activity android :name= "org.tensorflow.demo.ClassifierActivity" android :screenOrientation= "portrait" android :label= "@string/activity_name_classification" > <intent-filter> <action android :name= "android.intent.action.MAIN" /> <category android :name= "android.intent.category.LAUNCHER" /> <category android :name= "android.intent.category.LEANBACK_LAUNCHER" /> </intent-filter> </activity> </application> Intent (意圖) ## 代表使用者與應用程式的互動, 是可用來向另一個應用程式元件 要求動作的傳訊物...

eclipse 建立 Dynamic Web Project

圖片
hy:好久沒有動手寫程式,好多東西都已經遺忘,為了之後自己方便學習、操作,所以呢,上課還是要做筆記啊XD ******************************************************************************** 在安裝好eclipse和Tomcat的情況下,開始以下操作。 1.  開啟eclipse 在javaEE下動作。 2.  新增一個新專案,Dynamic Web Project ------------------------------------------------------------------------------------------------------------------ 3.  點選之後的畫面是長這樣的。 ------------------------------------------------------------------------------------------------------------------ 4.  輸入自己想要的專案名稱、 target runtime 的地方選擇<None>、 Dynamic web modulo version 的地方選擇你要的版本、 (阿這個部分我是選最新的:) Next。 ------------------------------------------------------------------------------------------------------------------ 5. Next。 ------------------------------------------------------------------------------------------------------------------ 6. Generate web.xml deployment descriptor 打個勾勾, 會在/MyWeb/WebContent下產生一個web.xml,Finish。 ------...