android数据库给单选赋值,如何使用android studio将单选按钮的值保存到mysql数据库?...
我想創(chuàng)建一個(gè)投票應(yīng)用程序,其中有不同的職位,其中有兩個(gè)職位每個(gè)都有兩個(gè)聯(lián)系人。我希望當(dāng)我選擇一個(gè)人記錄到數(shù)據(jù)庫(kù)。 [職位的disgn與它的參賽者部] 下面是XML代碼的一部分:如何使用android studio將單選按鈕的值保存到mysql數(shù)據(jù)庫(kù)?
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:text="@string/posts"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:id="@+id/textView3"
android:textStyle="normal|bold"
android:textSize="30sp"
android:layout_weight="0.03"
android:textAlignment="center" />
android:text="@string/chairman"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="31dp"
android:id="@+id/textView4"
android:textStyle="normal|bold" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
android:layout_weight="0.01"
android:id="@+id/Chairman">
android:text="@string/duncan_sirikwa"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/radioButton4"
android:layout_weight="1.23" />
android:text="@string/kosgei_kevin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/radioButton3"
android:layout_weight="1" />
2016-11-18
Dunn
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來(lái)咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的android数据库给单选赋值,如何使用android studio将单选按钮的值保存到mysql数据库?...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: ikbc机械键盘打字出现重复_超小无线机
- 下一篇: linux cmake编译源码,linu