Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 63

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
08/25/13 09:51 AM (12 years ago)

Notepad Feature Plugin Help

Hi all, I'm looking to use the Notepad Feature plugin on 5 different screens, each one having it's own notepad feature plugin. Basically I'm using it to store data that saves as local data so that I can recall it and use it as a variable in other screens. The Notepad feature plugin seems perfect since it saves to local data, autohides the keyboard, nd can be used on more than one screen. The problem seems to be that I can't figure out how to call the variable when I want to use it from the other screens, as the text data gets saved as "persist_%@.txt", so the number at the end of the file name seems to change each time. I thought maybe if I had 5 instances, it would be as easy as naming "persist_1.txt", "persist_2.txt", etc, up to the number 5, and it would overwrite itself each time. It doesn't look like thats the case. If the number doesn't remain constant, I don't know how to call the variable. Basically, I want a screen with 5 buttons, and each button will insert an IP address into a string (the IP is what would be stored in the Notepad text file), so I need to write a code that calls a URL like: http://InsertVariableHere/whatever.html Where the Notepad text file is stored on a different screen (actually, up to 5 different screens) Any tips or suggestions?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
08/27/13 07:53 AM (12 years ago)
*Bump
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
09/03/13 12:20 PM (12 years ago)
Nobody? I would think it would be possible to use this notepad plugin almost like a core data text field, but would need to know how to work with the variable on the text field name in order to do so.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.