Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 49

mobileClematis
Aspiring developer
Profile
Posts: 36
Reg: Oct 21, 2014
Kolkata, India
10,860
10/29/14 02:33 AM (9 years ago)

Writing Plugin for first time

Is it sufficient only to go through the following documents before writing any plugin? http://www.youtube.com/watch?v=ofAfbIlHYyM&list=PLD0A0EA5DD8159A35 Do I need to check any other documentation? Please suggest if any.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
10/29/14 05:58 AM (9 years ago)
That should cover the basics. If you are experienced with writing mobile apps, then creating a plugin will be pretty easy. Download the 'self-hosted' version of some existing plugins and take a look at the folder structure. Every plugin has the same basic setup: 1) Root folder - contains the 'control panel' files written in HTML, along with the config.txt (specifies the class name to be used and some other meta-data), the config_cp.txt (tells the control panel which HTML files to display, the icon and the readme file. 2) Screenshots folder - contains just that - screenshots of your plugin in action. 3) iOS folder - contains the .h/.m files written in objective-c 4) Android folder - contains the .java and .xml files, contained in the same directory structure as would be found in an app (i.e., 'src', 'res', etc).
 
mobileClematis
Aspiring developer
Profile
Posts: 36
Reg: Oct 21, 2014
Kolkata, India
10,860
like
10/29/14 06:03 AM (9 years ago)
Ok..Thanks for your suggestion.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
10/29/14 06:07 AM (9 years ago)
No problem - glad to have another plugin developer on the site. Looking forward to what you come up with!
 

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.