How can i embed the barcode scanner in my application?
-
How can i embed the the barcode scanner into my application such that when i start the application, the barcode scanner screen is actually a part of another activity.. the barcode scanner screen itself should be one of the screens.. on top i should be able to have a textview controlled from my custom activity and at the bottom the barcode scanner which is from the zxing library... One way i know is using fragments.. but then i want to support all platforms starting 2.2 and that wont be possible in this case.. Please help anyone, if anyone has the answers...
-
Answer:
To do that, your Activity needs to extend ActivityGroup. I think my response in this question contains the details: http://stackoverflow.com/questions/7968078/tabs-using-fragments-on-android-but-inside-another-layout/7968181#7968181 A big problem with this is that Google is planning to deprecate the ActivityGroup class. I understand why they have created Fragments, and they are important. But I still think ActivityGroup is needed for cases like yours.
user1095761 at Stack Overflow Visit the source
Related Q & A:
- How can I properly read data from bar code scanner?Best solution by Stack Overflow
- How can I add extension to browser from ExtJs application?Best solution by Stack Overflow
- How can I embed a pic inside an email?Best solution by answers.yahoo.com
- If I have a form, such as an application, how can I fill it out using my computer?Best solution by answers.yahoo.com
- Can I embed a photo into a Yahoo email, if so how do I do it?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.