GERSON PINTO Member Licensed User Longtime User Jul 17, 2019 #1 Hello. I using the following code in a button for share text content of the EditText1 view: Code: Copy Dim i As Intent i.Initialize(i.ACTION_SEND, "") i.SetType("text/plain") i.PutExtra("android.intent.extra.TEXT",EditText1.Text) i.WrapAsIntentChooser("Share via:") StartActivity(i) when the cursor is blinking inside EditText1 text area does not work to share How solve this???
Hello. I using the following code in a button for share text content of the EditText1 view: Code: Copy Dim i As Intent i.Initialize(i.ACTION_SEND, "") i.SetType("text/plain") i.PutExtra("android.intent.extra.TEXT",EditText1.Text) i.WrapAsIntentChooser("Share via:") StartActivity(i) when the cursor is blinking inside EditText1 text area does not work to share How solve this???
Erel B4X founder Staff member Licensed User Longtime User Jul 17, 2019 #2 There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else. Upvote 0
There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else.
GERSON PINTO Member Licensed User Longtime User Jul 17, 2019 #3 Erel said: There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else. Click to expand... Well, when starts the activity first time the code works and share options pop up. After I type some text in editText not works more.... Upvote 0
Erel said: There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else. Click to expand... Well, when starts the activity first time the code works and share options pop up. After I type some text in editText not works more....
GERSON PINTO Member Licensed User Longtime User Jul 17, 2019 #4 Erel said: There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else. Click to expand... I am using the EditText in a TabHost..... Upvote 0
Erel said: There is no relation between this code and the cursor position or whether the field is focused. The problem is somewhere else. Click to expand... I am using the EditText in a TabHost.....
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2019 #5 It will be best if you upload a small project that demonstrates it. Upvote 0