Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
Posts: 4
Registered: ‎05-02-2014
My Device: LE Z10, Dev Alpha C
My Carrier: Orange

NEEDING HELP TO IMPLEMENTING HISTORY TAB

I'm needing help to create a history tab on my app. anyone know?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: NEEDING HELP TO IMPLEMENTING HISTORY TAB

Welcome to the fourms.

 

There is very little to go on in your post here!

 

History for what?

 

Where are you getting stuck?


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Highlighted
New Developer
Posts: 4
Registered: ‎05-02-2014
My Device: LE Z10, Dev Alpha C
My Carrier: Orange

Re: NEEDING HELP TO IMPLEMENTING HISTORY TAB

I want to be able to get the history of scanned qr codes. 

 

 

sorry forgot to mention.

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: NEEDING HELP TO IMPLEMENTING HISTORY TAB

QR codes don't have a history on their own. If you are talking about building an app that scans QR codes, and you want to have a part of the app that shows the codes you've scanned in the past, you should write the scanned codes out to a database (SQLite is a good choice, but even a simple JSON file is pretty straightforward) and then display them in a listview. There are a number of samples that show you how to display data from a database in a listview.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: NEEDING HELP TO IMPLEMENTING HISTORY TAB

This is painful.

 

Are you collecting these QR codes or are they are coming from a database somewhere?

 

Have you already written the QR part?

 

What have you done so far, what methodology have you used to store them and where are you stuck?

 

Please write more of those useful things... ermm what are they called... oh yes... Words! Smiley Happy

   [ Sorry watching Jon Stewart at the moment ]


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.