Android Question Pass views between different apps

apty

Active Member
Licensed User
Longtime User
Is it possible to pass a view e.g a layout with two buttons to a different app (a completely different app with different package name)? I would like to pass a layout from one app to another app and view it in the other app. Please assist.
 

DonManfred

Expert
Licensed User
Longtime User
No, it is not possible. You can pass a json file with the content (only data, strings, values, NO views) and build the layout in the other app based on the data.
 
Upvote 0

apty

Active Member
Licensed User
Longtime User
Assuming i save the json file in File.DirDefaultExternal on the first app. How do i access this file in the second app?
 
Upvote 0
Top