Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Not able to integrate the barcode functionality in My Xamarin.forms Project #1

Open
Rishitosh opened this issue Dec 13, 2016 · 0 comments

Comments

@Rishitosh
Copy link

Hi,

When I download and run the BarcodeForms project it was working fine, Thanks for providing the great stuff. But i have a problem in integration of this same functionality into my project. i am using xamarin.forms project (Xamarin.Forms Version 2.0.0) What i have done for integration is described as below:

In Portable Project:

  1. Create the IScanner.cs interface.
  2. In MainPage.xaml I copied the content of MainPage constructor of your project in portable project.
    In Droid Project:
  3. Add EMDK 2.2.0.7 Component
  4. Match all the references from your project to mine.
  5. Add AndroidManifest.xml and write the permissions over there.
  6. In Asset, Add EMDKconfig.xml and change the package name as per my project package name
    5.Add BarcodeScanner.Droid and ScanReceiver.cs file in project.
  7. Copy Paste the MainActivity.cs code into my project in the same file.
    In Motorola device
  8. Profile is automatically created named as Barcode_1
  9. Check the intent action and all the properties in the profile
  10. in Associated app verify my app name over there.

When I run the project and scanner is opened, I placed the break point on MainActivity.cs but it is not working there.
Can you please write the verification steps need to be verified when integrating this scanner functionality into other project. It will be very much help full.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant