or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
android studio QRcode 掃描及生成 教學
(不含Android studio 教學)
按esc可選擇頁面
環境介紹
部分重點說明
連接MySQL教學
(使用JDBC)
下載Mysql connectcor 5.1.48
開啟Project並將connector裝進lib
啟動連線設定
連接質料庫程式碼
說明在下一頁
程式碼說明
額外執行緒程式碼
因為資料庫連結程式不能在介面主執行緒執行
主要是因為 若在主程式執行連結資料庫錯誤或延遲會導致整個軟體出錯
額外說明
因為是額外執行緒所以不行控制介面
若要控制介面需要另外呼叫
建立掃描QRcode
安裝套件
啟動相機

請在介面中放置一個TextView以及一個surfaceView
接著再程式碼區宣告所需物件
在介面主程式連結物件
取得相機權限
先來看看目前樣子

接著需要顯示於介面上
並設定關閉程式時關閉相機
建立掃描執行
完成可作基本掃描的Scanner
接下來製作對焦
在主程式外建立一個事件
(@scanner)錯誤 請把它改成此頁面名稱
接著建立按鈕或surface建立事件 並給予啟動對焦
#完成 如果不成功可以問問我
製作產生QRcode
安裝套件
介面建立個ImageView

ID設為helloworld
接著
直接使用
研究看看吧~~
