Beginners Problems

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SciTek Offline
Junior Member
Posts: 25
Joined: Feb 2012
Reputation: 0
Post: #1
Hi out there..

After hours of trying and figureing out how everything's working, I gave up.
Can anybody tell/explain me, how that works? I'm trying to write an addon, which gets a Json-List from web and it should be display in xbmc.
Currently, I've done something like:
imported ness. libs
fetched json-list, parsed and via print I got an array. But how can I display each entry to the xbmc-screen?
I tried it with xbmcgui.ListItem(). As I understood, I have to create a List-Object and add each Item into it, right? I tried it with addDirectoryItem() but I have no idea, what exactly all those parameters are for.
Are there any good FAQs, Dev-Docs or stuff and EASY understandable Examples for Xbmc Eden or compatible? Like:

win = OpenWindow("Title") // Open's a Window with "Title"
btn = Button("Click", 0, 0, 120,20) // Displays a Button at PosX=0, PosY=0, Width = 120, Height = 20

Thanks for you support!
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,230
Joined: Oct 2003
Reputation: 177
Post: #2
See the stickies in the forum I've moved your post in. In particular, check out this:

http://code.google.com/p/xbmc-gpodder-in...loads/list

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote