I am trying to integrating ZXing barcode in my symbian application but i its working only in the UI class but i want to integrate in listbox view so that when i click list item Zxing has to open. is this possible? anybody have idea on this?
Asked
Active
Viewed 278 times
1 Answers
1
Do you just want to open zxing camera view when clicking listbox item? Then you need to catch listbox event
void CCasesContainer::HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType) {
if ((aEventType == MEikListBoxObserver::EEventEnterKeyPressed)
|| (aEventType == MEikListBoxObserver::EEventItemClicked)) {
TInt currentItem(iListBox->CurrentItemIndex());
// open the zxing view smth like
DeactivateActiveViewL();
CAknViewAppUi::ActivateLocalViewL(TUid::Uid(zxingView));
}
}
To learn more how views work in symbian start from here or there

shtolik
- 1,341
- 22
- 29
-
thank you shtolik now camera is opening when i click list box item but when i press back and activating previous view its switching back but camera is still running in backgroung how to close camera? – poppy Jan 20 '12 at 10:00