本文實(shí)例講述了Android開(kāi)發(fā)實(shí)現(xiàn)撥打電話與發(fā)送信息的方法。分享給大家供大家參考,具體如下:
xml布局:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="電話號(hào)碼" /> <EditText android:id="@+id/edit_main_number" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="請(qǐng)輸入電話號(hào)碼"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="短信內(nèi)容"/> <EditText android:id="@+id/edit_main_content" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="請(qǐng)輸入短信內(nèi)容"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <Button android:id="@+id/btn_call" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="撥打電話"/> <Button android:id="@+id/btn_send" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="發(fā)送信息"/> </LinearLayout> </LinearLayout>
文章標(biāo)題:Android開(kāi)發(fā)實(shí)現(xiàn)撥打電話與發(fā)送信息的方法分析-創(chuàng)新互聯(lián)
標(biāo)題URL:http://www.rwnh.cn/article48/poohp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計(jì)公司、外貿(mào)建站、網(wǎng)站設(shè)計(jì)、用戶體驗(yàn)、標(biāo)簽優(yōu)化、App開(kāi)發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容