将服务器对活动的响应显示为文本视图
我正在制作一个社交应用程序,在其中我收到服务器端的响应..即 profilr 朋友的电子邮件。我想将该响应带到下一个活动并显示为文本视图。 如何做到这一点?谁能帮我解决这个问题吗?
I am making a social app in which I am getting response from server side.. i.e emails of profilr friends. I want to take that response to next activity and display as the textview.
How to do this?? Can anyone help me over this??
在
firstActivity.java
中获取字符串中的响应,然后借助Intent.putExtra
将值传递给secondActivity.java
并获取、分配到相关的TextView
To Put
To fetch
In
firstActivity.java
take the response in String and then pass the value tosecondActivity.java
with the help ofIntent.putExtra
and fetch, assign to the relatedTextView
To Put
To fetch