home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Tutorial after the Exampleplugin with GUI
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Smirnuff" data-source="post: 10318" data-attributes="member: 10545"><p>Okay, I've written a My Example plugin. Its just about as basic as you can get, when you click the 'Click me...' button you'll be presented with the virtual keyboard, whatever you type here will be shown in the label upon closing the keyboard.</p><p></p><p>The following needs to be added to language\<locale>\strings.xml</p><p></p><p></p><p><string><id>20001</id><value>My Example</value></string></p><p><string><id>20002</id><value>Hi there!</value></string></p><p><string><id>20003</id><value>Click me...</value></string></p><p></p><p>The skin used is Samsonite's excellent BlueTwo so if you use another skin you will need to copy skin\BlueTwo\myexample.xml to the skin\<skin>\myexample.xml.</p><p></p><p>The zip file <a href="http://www.netpoint-it.co.uk/lee/mp/myexample.zip" target="_blank">here</a> contains the source and shoud be unzipped to your MP source folder (in my case its D:\Source Code\clients\internal\MediaPortal\).</p><p></p><p>Uploading now...</p><p></p><p>Also, you'll need to copy the skin xml into the debug folder if you plan to use a debug build.</p></blockquote><p></p>
[QUOTE="Smirnuff, post: 10318, member: 10545"] Okay, I've written a My Example plugin. Its just about as basic as you can get, when you click the 'Click me...' button you'll be presented with the virtual keyboard, whatever you type here will be shown in the label upon closing the keyboard. The following needs to be added to language\<locale>\strings.xml <string><id>20001</id><value>My Example</value></string> <string><id>20002</id><value>Hi there!</value></string> <string><id>20003</id><value>Click me...</value></string> The skin used is Samsonite's excellent BlueTwo so if you use another skin you will need to copy skin\BlueTwo\myexample.xml to the skin\<skin>\myexample.xml. The zip file [url=http://www.netpoint-it.co.uk/lee/mp/myexample.zip]here[/url] contains the source and shoud be unzipped to your MP source folder (in my case its D:\Source Code\clients\internal\MediaPortal\). Uploading now... Also, you'll need to copy the skin xml into the debug folder if you plan to use a debug build. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Tutorial after the Exampleplugin with GUI
Contact us
RSS
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom