应用程序发明人文本框字符串 [英] app inventor textbox strings

查看:74
本文介绍了应用程序发明人文本框字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hellosir

i为appinventor类中的我的Android应用程序创建了两个文本框



上面url中的semister编号的一个文本框

http://doeresults.gitam.edu/onlineresults/pages/NewReportviewer1.aspx?sem=&reg=\">

即sem =



注册号码的另一个文本框

即reg =



两个文本框应该放在url中的相应位置



i用于此逻辑的连接组件,但它只需要一个字符串



请帮我先生为这个逻辑构建块

hellosir
i have created two text boxs for my android app in appinventor class

one text box for semister number in the above url
"http://doeresults.gitam.edu/onlineresults/pages/NewReportviewer1.aspx?sem=&reg=">
i.e sem=

another text box for registerd number
i.e reg=

the text in the two text boxes should be placed in the respective positions in the url

i used join component for this logic but it is taking only one string

please help me sir to bulid blocks for this logic

推荐答案

String semStr = semTxt.getText().toString();
String regStr = regTxt.getText().toString(); 





和你的网址,

http://doeresults.gitam.edu /onlineresults/pages/NewReportviewer1.aspx?sem=+ semStr +& reg =+ regStr


这篇关于应用程序发明人文本框字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆