Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Clipboard access — Gideros Forum

Clipboard access

MikeJensenMikeJensen Member
edited September 2012 in General questions
Is there a way in Gideros to put text onto the Clipboard so I can paste it into a textbox in another app ? Likewise is there a way to get text from the clipboard in Gideros ?

I've looked through the API reference and many pages of these forums but I can't find an answer. Sorry if I've just missed it along the way.

Thanks
Tagged:

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Accepted Answer
    I think there is no way to access clipboard in Gideros now.
    But I'm just interested, can you provide an example how this feature could be useful in mobile app context?
    Like you copy text from one app and then got to other and paste it? Why would you want to do that?
  • Hi ar2rsawseen, thanks for answering and sorry for this late response.
    I wanted a simple way to generate some text and put it onto the clipboard automatically, then paste it into another app for editing. I've dropped the idea now anyway, but had decided to do it with MonoTouch (hence my disappearance from here). My concept wasn't a game app. Gideros is clearly good for games whereas MT has a much wider scope.
    Thanks again
  • @MikeJensen,

    You might want to see this link http://giderosmobile.com/forum/discussion/2272/pass-data-to-a-gideros-app#Item_5

    It has videos demonstrating two ways of passing data to a Gideros Application and one of them is using the clipboard.

    It is a bit sad to see you choose MonoTouch, but then if you can justify the costs of MonoTouch licenses, etc well... in comparison to the Absolutely FREE Gideros framework.

    I used to be a Microsoft Developer right from the early days of DOS and BASIC, seen through Microsoft's Database (FoxPro, Visual FoxPro), Visual Basic (3,4,5,6) and a bit of DotNet, then I got a Mac... I cannot imagine working with C# on a Mac, specially since there are a couple of Frameworks that use C# and provide you with an editor that works on Mac using this Mono Layer (which is Free, but not MonoTouch) I was the Technical Reviewer on Dimitris Tavlikos' book "iOS Development Using MonoTouch Cookbook" so know a bit more about the way MonoTouch works.

    However I cannot justify the costs and while Lua can provide the same flexibility and more, currently I would rather use Gideros.

    There are many developers like you and I that want to create an enterprise application than a game app. So if you follow some of my articles, you will notice that they provide information more towards enterprise type features than game like features.

    Either ways whatever you choose, all the best. Gideros will be here allowing you to use the stuff you want. It is just a matter of someone providing it to you or pushing it done yourself.
    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    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
  • MikeJensenMikeJensen Member
    edited December 2012
    Hi OZApps; thanks for your reply. A few things I'd like to add to the discussion, just for context really.

    I was looking for a way to put data *onto* the clipboard, not to retrieve it from the clipboard, so while I appreciate you looking up that post for me, I don't think it would have solved my problem.

    Like you I have a long background as a Microsoft dev, in fact I still pay most of the bills by writing ASP.NET+C#. So C# is a natural choice for me - far more so than Lua - even though the bulk of the learning curve is with the Apple object models. I haven't "chosen" MT anyway, because I dropped that project, but it is one I'd consider since I know C# so well.

    Regarding the cost of a framework, when compared to the cost of time to learn a new technology, most frameworks - even MT - are relatively cheap. However the learning curve with the objects that you work with still applies.

    I think Gideros looks fantastic, especially for game development. None of what I am saying or have said is intended to imply that it is in any way bad. (Except perhaps if you want to get text onto the clipboard :) ) I'm certain I'd use Gideros if I ever had a good idea for a game.

    For what it's worth, Gideros is not free in my opinion, simply because I wouldn't put an app out there without paying Atilim for his hard work first.

    Thank you once again

    Likes: gorkem

    +1 -1 (+1 / -0 )Share on Facebook
  • OZAppsOZApps Guru
    edited December 2012

    Regarding the cost of a framework, when compared to the cost of time to learn a new technology, most frameworks - even MT - are relatively cheap. However the learning curve with the objects that you work with still applies.
    Agreed, there is always a learning curve and that is not cheap as it takes a lot of time and effort to master. Given that you work with C# on a daily basis MT is not a learning curve for you.

    None of what I am saying or have said is intended to imply that it is in any way bad. (Except perhaps if you want to get text onto the clipboard :) )
    Is that all? I will post another video demonstrating that ;) The point is that with Gideros you can think of what you want to do and in 90% of the cases you can actually do it in comparison to other the NOT so free framework where you need to buy an annual license of > $2000 before you can think of extending it.

    Edit: Here is the video of placing data onto the clipboard from Gideros.

    For what it's worth, Gideros is not free in my opinion, simply because I wouldn't put an app out there without paying Atilim for his hard work first.
    Agreed, however the context of Free in my sentence above is one that does not restrict you or force you in any way. If you use Gideros and create an app and then for the next 18 months you do not use it, your PRO license expires, that does not prevent you from creating applications. You can still create applications unlike another framework that simply Locks you out. You can still have demo and prototypes with the "Made with Gideros" splash screen and remove it when you do publish, unlike a big TRIAL VERSION alert box that greets you at start.
    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    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
  • Why did the video not embedd in the post above?

    Likes: antix

    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    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
    +1 -1 (+1 / -0 )Share on Facebook
  • I added something more ... custom popup menus.


    Likes: hgvyas123, Mells

    twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
    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
    +1 -1 (+2 / -0 )Share on Facebook
Sign In or Register to comment.