iOS Tutorial List of methods to access external resources or share to external apps

There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods:

- ActivityViewController (iPhone library):

SS-2018-11-15_16.57.10.png


Allows sharing text, images or files with third party apps.

https://www.b4x.com/android/forum/t...pp-with-activityviewcontroller.73159/#content

- DocumentInteraction (iPhone library):

SS-2015-03-18_09.27.24.png


Allows opening a local file with an external app.

https://www.b4x.com/android/forum/threads/open-local-files-with-external-apps.51941/#content

- CFBundleDocumentTypes (no library)

Allows opening external files with your app.

https://www.b4x.com/android/forum/threads/open-external-files-with-your-app.50525/#content

- DocumentPickerViewController (iUI8):

SS-2018-11-15_16.16.20.png


Allows importing external files from external apps including iCloud Drive. Files are copied to the local app.

https://www.b4x.com/android/forum/posts/625407/

- Camera (iMedia)

Allows picking photos or videos from photos library.

https://www.b4x.com/android/forum/threads/imedia-library-camera-and-videoview.46144/#content

- Phone.AddImageToAlbum / AddVideoToAlbum (iPhone library)
Adds a photo or video to the photos library.

- Make File.DirDocuments accessible with the built-in Files app: https://www.b4x.com/android/forum/t...les-accessible-with-files-app.133476/#content
 
Last edited:

ilan

Expert
Licensed User
Longtime User
thanx for that info this is very helpful.

is there also a possibility to send a file via wifi from my pc (b4j app) to my b4i app?
i was thinking of uploading the file to ftp and the download to the app but if there is a way to directly send the file it would be a better solution.
 

ilan

Expert
Licensed User
Longtime User
There are many ways. A simple one is to add a FTP server to your app: https://www.b4x.com/android/forum/threads/74320/#content

this is very interesting. i looked at the thread although i could not manage to perform a simple send task from b4j app to b4i app.
i also searched for an example based on ftp server but could not find one.

For further discussion please start a new thread.

ok i will, thanx

edit: https://www.b4x.com/android/forum/threads/send-file-from-b4j-app-to-b4i-app-via-wifi.116810/
 
Top