iOS Tutorial Open local files with external apps

n3t

Member
Licensed User
@n3t have you copied the xml file to internal libraries folder?

@tucano2000 in most cases it works properly without setting the type. Have you tried it?
Yes the lib is ok.
Tested on iPhone and iPad.
Same problem. Seems that the returned value is not a Boolean (may be a Int?)
 

n3t

Member
Licensed User
V2.0 beta will be soon released. Please try it again with the beta version. If it doesn't work then you should post the code.
Tested with last beta.
It's OK.

thanks
 
Last edited:

mrossen

Active Member
Licensed User
Hi,

Is it possible to change the language in the window. The text for the apps and "Cancel" is always in English.

I would like to change this to my phones default language. (Danish)

Mogens
 

mrossen

Active Member
Licensed User
I haven't changes anything in settings since installation of ios9.

Anything else on the iPhone is on Danish.

When I look in settings/Language & Area it says Danish

Mogens
 

JackKirk

Well-Known Member
Licensed User
I have semi-successfully got DocumentInteraction working in my app.

I say "semi" because I want to share jpgs to the same range of apps as you can from the photos app.

For example, sharing from the photos app I can share to Messages(SMS) and Mail(email) but I can not share to these from my app.

I've googled up on UTIs and tried all that seem even remotely relevant - all to no avail.

Anyone have any insight?
 

JackKirk

Well-Known Member
Licensed User

JackKirk

Well-Known Member
Licensed User
Erel, you can stop worrying again;)

The solution is so stupidly simple - I'm not sure what this says about me.

B4X:
                    UI_activityviewcontroller.Initialize("Event_UI_activityviewcontroller", Array(wrk_bmp))
                    UI_activityviewcontroller.Show(Showlist_page, Showlist_page.RootPanel)
NOT:
B4X:
                    UI_activityviewcontroller.Initialize("Event_UI_activityviewcontroller", Array("text message", wrk_bmp))
                    UI_activityviewcontroller.Show(Showlist_page, Showlist_page.RootPanel)
Instagram only accepts images (apparently) so if you dispense with the "text message", I get the identical popup as when I share an image from the Photos app.

Happy days...
 

tcgoh

Active Member
Licensed User
Hi,

Can I open an external CSV file stored in dropbox with my own APP created by B4i using this lib?

Thanks
 
Top