Android Question Start Texteditor with intent

gezueb

Active Member
Licensed User
Longtime User
Hi, I would like to start Erels texteditor (see link) from my app as an intent, no send or receive needed (the feedback is via clipboard to get around file copy restrictions). As I am dumb on Java matters, can someone please help me how to call this intent properly? After terminating the texteditor, the calling app should resume.
Erels text editor
 

teddybear

Well-Known Member
Licensed User
It sounds like the app is used only for yourself.
1. Add a close menuitem to exit the app in the editor. perhaps it will return to your app
2.Create a B4J server for the csv file on your pc and your app can download it using httpjob at a local network
 
Upvote 0

gezueb

Active Member
Licensed User
Longtime User
Indeed, teddybear:
B4X:
CloseActivities

Sub CloseActivities 'Erel's deadly app killer, works also from modules (not main)
    Dim jo As JavaObject
    jo.InitializeContext
    jo.RunMethod("finishAffinity", Null)
End Sub
'

closes the text editor/picker and my calling app is live again. Thanks a lot again , Teddybear.

P.S. I have used httpjob, ftp, email etc in the past for data transfer, but as long as I am the only user, USB is good enough.
 
Upvote 0
Top