
1. MainActivity
public void gotoSecondActivity(View v){
Intent it =
new Intent(
this, SecondActivity.
class)
;
startActivity(it)
;
}
public void gotoThirdActivity(View v){
Intent it =
new Intent(
this, ThirdActivity.
class)
;
startActivity(it)
;
}
bravohsiao 發表在 痞客邦 留言(0) 人氣(65)
1. Abstract 的重點在最後一行
2. Claim 的重點在找技術的關鍵字
3. 從 Patent Application 找到的專利比較新
4. 下載專利PDF方法: 進入Image頁面,右鍵檢視網頁原始碼,拉到最下面點附檔名為PDF的連結即可
bravohsiao 發表在 痞客邦 留言(0) 人氣(44)
XAMPP 包含Apache&MySQL
使用PHP語言,寫好後放在對應路徑,
開啟本機端XAMPP伺服器後即可將PHP檔內容顯示於瀏覽器上。
bravohsiao 發表在 痞客邦 留言(0) 人氣(37)
問題如下:
android studio開以後出現錯誤訊息 且看不到gradle " Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. "
bravohsiao 發表在 痞客邦 留言(0) 人氣(1,213)
Android Studio 的 Spinner 設置方式與eclipse不太一樣
<參考>
1. 在strings.xml 新增(建議用手打字):
< string name = " choose_chocolate " > Choose Chocolate
< string-array name = " chocolate " >
< item > Crackles < /item >
< item > Fruit and Nut < /item >
< item > Dairy milk silk < /item >
bravohsiao 發表在 痞客邦 留言(0) 人氣(1,056)
bravohsiao 發表在 痞客邦 留言(0) 人氣(549)
bravohsiao 發表在 痞客邦 留言(0) 人氣(3,545)
1. 找不到src資料夾?
ANS: 將左上角的(app上面)"Android" 模式 改成"Project" 模式 即可看到
2. 如何建立assets資料夾?
bravohsiao 發表在 痞客邦 留言(0) 人氣(11,106)
參考<這個>
1. 從原來的遊戲畫面要Load 選單時,使用 Application.LoadLevelAdditive("MoreStuff");
bravohsiao 發表在 痞客邦 留言(0) 人氣(584)
1. Unity本身提供了多種粒子樣式
點選[Assets]→[Import Package]→[Particles],之後點選[Import]將所有粒子材質匯入
2. 發射魔法軌跡
bravohsiao 發表在 痞客邦 留言(0) 人氣(2,711)