Recently I was looking at an easy way to pass data to a Gideros App from another external application, while the iOS is a sandbox with a lot of security, it also does allow for passing data, like Google Maps does. Here is an article I wrote (more of a demo actually than an article) http://howto.oz-apps.com/2012/12/pass-data-to-gideros-application.html
@ar2sawseen, this works when both the apps are setup properly, one for sending and one for receiving. I saw that Clipboard question, this cannot be used in that way. This is more like how the new GoogleMaps are, if you use
Here is a better/clearer video that demonstrates the use of clipboard, each time the gideros app is restarted, it reads the clipboard and displays it in the console.
to use the clipboard, you do not need to do anything special, it is available to all apps. In fact you can also set data to the clipboard from a Gideros application.
However to use the first way, not the clipboard there is a lot of overhead plumbing required as it will automatically start your app for you too, if you did notice. You could call this test app using
openURL("testme://some data")
from lets say MashBall app. This would open the app above (1st example) and display the data passed.
The point is that MashBalls has to do something to invoke this.
In the second example using the clipboard, no one has to do anything and iOS offers the clipboard to access data. However the gideros application has to set or read the data from the clipboard directly.
So the browser is technically an app and also setup for this form of URL data transfer, which other apps are not unless you specifically code them to do so.
Comments
There was once a question in the forum is it possible to pass clipboard buffer, so one could copy something from one app and paste it into other.
So probably it is possible
So in this case Unfortunately, this is not the way to copy/pass data via the clipboard.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Oh crap, it is the little console output on the top that is important and it looks really crappy in this video. Let me try that again...
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
However to use the first way, not the clipboard there is a lot of overhead plumbing required as it will automatically start your app for you too, if you did notice. You could call this test app using
The point is that MashBalls has to do something to invoke this.
In the second example using the clipboard, no one has to do anything and iOS offers the clipboard to access data. However the gideros application has to set or read the data from the clipboard directly.
So the browser is technically an app and also setup for this form of URL data transfer, which other apps are not unless you specifically code them to do so.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps