• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Recommended way to display a considerable number of results

 
Jhon Barrantes
Greenhorn
Posts: 17
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I want to ask you if you know of practical way to display data (maybe in tabular format) coming from a WebService.

I'm really new to j2me, I've just learned how to consume RESTful webservices, now I need to learn how show that data (which comes in json format) to the user.

Basically this is the code I use :



As you can see I only concatenating the results to then show it to the user. But surely there's gotta be better ways to that and here's where I need you help.

How would you display a typical json Array in j2me ?? How do you deal with limitations such as limited memory and small screen sizes when you have to work with a considerable number of results? Pagination???

Any advice or resources you could provide would be greatly appreciated.

Thanks in advance.

P.S. This is the jar I used to work with json: http://www.java2s.com/Code/Jar/j/Downloadjsonmejar.htm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic