开发者

Display selected Text

开发者 https://www.devze.com 2023-02-01 05:15 出处:网络
Suppose I have a TextView wi开发者_如何学Goth the text \"Select text in your web browser and click the Spreed\". If I select the first couple of words (\"Select text\") and click the OK button, just t

Suppose I have a TextView wi开发者_如何学Goth the text "Select text in your web browser and click the Spreed". If I select the first couple of words ("Select text") and click the OK button, just those two selected words should be displayed in the next activity. How would I go about doing this in Android?


Start from here : http://developer.android.com/resources/tutorials/hello-world.html

You could provide data between activities using intents and bundle.

0

精彩评论

暂无评论...
验证码 换一张
取 消