Hi All.
I am working on a app, that needs information from other app like a profile user id or something similar? Will really appreciate if someone posts the links/concepts that I may leverage. A code snippet may also help...Thanks
Thanks Jarvan...basically I am trying to retrieve information from the Company Portal app that is part of the Work-profile. Will the above links also work for this retrieval?
@mk18576 said:
Thanks Jarvan...basically I am trying to retrieve information from the Company Portal app that is part of the Work-profile. Will the above links also work for this retrieval?
Basically the information is dynamic in company portal app...so I cannot hard-code data to external file. e.g. the user id might be different for different users for the same device, hence I would need to retrieve the updated info.
Answers
1.Stroage the info in a file and save as external storage. Get the file in your app.
https://docs.microsoft.com/en-us/xamarin/android/platform/files/external-storage?tabs=windows
2.Use Intent to pass data between apps.
https://developer.android.com/training/sharing/receive
https://docs.microsoft.com/en-us/xamarin/android/platform/files/external-storage?tabs=windows
3.Use ContentProvider to access data.
https://docs.microsoft.com/en-us/xamarin/android/platform/content-providers/
https://dzone.com/articles/access-all-contacts-using-content-provider-concept
Thanks Jarvan...basically I am trying to retrieve information from the Company Portal app that is part of the Work-profile. Will the above links also work for this retrieval?


Basically the information is dynamic in company portal app...so I cannot hard-code data to external file. e.g. the user id might be different for different users for the same device, hence I would need to retrieve the updated info.
Get the data from server database.
https://docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/web-services/
https://forums.xamarin.com/discussion/118765/how-to-connect-xamarin-android-to-sql-server