CopierciN

September 22, 2008

How to integrate with CopierciN?

Filed under: CopierciN, iPhone — gomercin @ 12:59 pm

Currently, I am using a very very primitive, yet effective technic as a clipboard: a file. “Copy”ing is just reading contents of that file and “Paste”ing is writing come content into that file. So, if you have a text based application, you can use the same clipboard file with CopierciN and voila, your application is also integrated with CopierciN :). If you want your text to be available in clipboard (and be overwritten if user copies something) then use the “/var/mobile/Documents/clipboard.gom” file. Then the users can launch CopierciN and press “paste” to paste your text. You can also read the contents of the last copied text from there.

Another file is “/var/mobile/Documents/lasttext.gom”. This file holds the text to be shown when CopierciN is launched. So, you can write some stuff to this file and tell users to launch CopierciN (or launch it automatically if you can) and CopierciN will be showing the contents of this file when it is launched. Then the user can chose to send it as an SMS, or e-mail etc.

That’s all for basic integration. When I come up with a better, non-buggy way for text selection, I will share it too and hopefully, we will have a realistic looking copy-paste framework :)

6 Comments »

  1. This is simple but it works :P

    Comment by Netuser — September 22, 2008 @ 2:57 pm

  2. how do I go about using what you mention? Cause I would like to copy and paste to my magicpad..
    I understand the directories you mention but I don’t understand what I really need to do with it… Please help

    Comment by haveabreak — September 25, 2008 @ 12:42 am

  3. Actually that was meant for developers, sorry for not clearing that out. So integration with magicpad would only be possible if the developers of decide to change their application in this way.

    Unfortunately, this would make them be rejected from the AppStore

    Comment by gomercin — September 25, 2008 @ 8:27 am

  4. hi i’m trying to find a place to download copierciN for my iphone 3g but can’t find anywhere with a download click just a lot of sites with info about it. where can i go?

    Comment by syma — October 10, 2008 @ 8:41 pm

  5. Was wondering if it’s possible to integrate irealsms to your program? wanting to save some important sms to notes.

    Comment by Andy — December 2, 2008 @ 12:07 am

  6. I might check irealsms later, it might be possible

    Comment by gomercin — December 2, 2008 @ 11:11 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress