allanbezerra | 19 November, 2009 20:45
This posts describes how to start the development using GuaranaUI Framework.
The developer can download two version of GuaranaUI. In the full package, build process is necessary. This ant based build system is very flexible, the user can select one of 6 themes available for 2 diferent resolutions. One more easy way is to get the built version, prepared for 360x640 resolution with default green theme.
1. Copy need files
You must copy lib and themes folders for your widget.
2. Guarana UI PATH Settings
Two paths must be setted in your javascript code:
- NOKIA_PATH_JAVASCRIPT = 'lib/';
- NOKIA_PATH_STYLE_ROOT = 'themes/nokia/base/';
3. Include dependencies
- CSS
<link rel='stylesheet' href='themes/themeroller/default-theme/Themeroller.css' type='text/css' media='screen'>
<link rel='stylesheet' href='themes/nokia/ext-theme/default/360x640/custom.css' type='text/css' media='screen'>
- JAVASCRIPT
<script src="lib/jquery/jQuery.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/Guarana.js" type="text/javascript" charset="utf-8"></script>
4. Component creation (for Rating Component)
Nokia.use('rating', function(){
var rating = new Nokia.Rating({
element: '#rating01',
value: 2
});
});
A complete starting example is available here.
-- Allan Bezerra
Browsing |
Previous |
Comments (5) |
Trackbacks (0)
allanbezerra | 20/11/2009, 19:45
Jappit,
FN is working on this. In the meantime, Daniel Arroyo from FN created a entry in FN discussion boards about feedback from Guarana. Let's talk about it there:
http://discussion.forum.nokia.com/forum/showthread.php?p=675635#post675635
Also, feel free to send me an email anytime: allan.bezerra@{nokia.com, indt.org.br, gmail.com}
Tks,
-- Allan
selias46 | 03/12/2009, 15:01
Thanks for sharing this post. I am planning to start writing my own widget in Guarana later on today.
selias46 | 03/12/2009, 15:01
Thanks for sharing this post. I am planning to start my own widget using Guarana later on today will let you know how it goes.
selias46 | 03/12/2009, 15:03
Do you know how to delete comments? By mistake I posted the same thing twice here and I can't figure out how to remove it?
Feedback about Guarana
jappit | 19/11/2009, 22:24
Hi Allan,
which is the best way to send feedback (bug reports, compatibility issues, feature requests) about the Guarana UI Library?