Android Bar Code Reader Functionality - android

I need to do product bar code scanning. I would like to know how to integrate this functionality into my own custom app? Should I write an activity to do this that uses some library? If so what library? or could I call an app that already has this capability from within my app?

The Zebra Crossing project is probably a good start. Apache 2.0 License and clients for android, java, and I think ActionScript too.
http://code.google.com/p/zxing/

Related

Can we use an android library (aar) in a GeneXus android app?

We have an android library for mobile data gathering (location, mobile device, etc.) that I would like to share with a partner. This aar component was developed using java and android studio, vanilla stuff.
Problem is, this partner is using GeneXus platform. I have performed a research and what I have found is that you can create an android component using GeneXus, but nothing related to consuming one (an external aar file).
Does anyone know if that is possible?
I also have verified that you can have access to "some" device data, like geo localisation, but that is it. Point is, I could create something in GeneXus, however with far less data richness than native android.
Yes, you can extend Genexus Android native app by using any native library you need to use.
Genexus provide Extensions Library for extensibility in native application.
You can create an External Object in Genexus and then use it in your application.
You can find a full sample in Github with step by step documentation:
https://github.com/genexuslabs/SDExtensionsSample
Best,

How to write a virtual keyboard and share it between android, ios and a web app

Can this be done with any of the popular multiplatform native app development tools? React Native, Angular with Nativescript, etc. Is there another approach you would suggest?
I'd like it to be a first class keyboard for Android and ios and an inapp keyboard for web.
Basically I have an idea for a custom keyboard for domain specific communication. I want to get something running and play around with it and test out new ideas. And I'd like to use it in my daily life for texting on my phone and my PC.
I want special buttons thay type whole terms/sentences. A search feature on the keyboars for the terms/sentences, etc.
You can use React Native Everywhere to develop a virtualize keyboard.Just go through this library, its really simple if you just have some idea of react or react native
I don't think it's possible to write once that runs everywhere at least when you want to customize / build your own virtual keyboard. Because iOS and Android has it's own api definitions to customize keyboard.
Using either ReactNative or NativeScript, it's possible to achieve what you are looking for if you have good understanding of writing native plugins in these platforms.
I would recommend NativeScript over ReactNative as NativeScript is one supports the concept marshalling, so you still use JavaScript as your programming language to directly access any native apis. TypeScript definitions for native apis makes it even more easier for web developers.
Unlike in ReactNative you must jump between JavaScript / Objective C / Java to write a plugin if you want to access any native api or component that is out of box.
I know this is not the exact answer you are looking for, but I believe at least you can choose a platform of your comfort based on this information.

Using Native Android Bluetooth Support for Codename

Need help with a working example of native android bluetooth support for codenameone apps. I have one working in android but having a problem integrating with codenameone.Thanks in advance.
If you have working code in Android already, you just need to create a Native Interface to handle the API calls and callbacks you need. You'll be able to use most of your Android code, a few modifications will be needed to strip out the parts that control the UI. Check the developer guide, it discusses this. I believe that there's also a tutorial video.
There is also a CN1Lib or extension for Bluetooth Low Energy, if that's what you're developing.

Android library to render a website in an app

I'm trying to create a application which will talk to a database and use a custom web service. But I did hear a year ago or so a library for Android, IOS and Windows mobile which basically allows you to call a website and display the website inside of your application, so it is a browser but there is no navigation or anything special it just uses Javascript (I think). Does anyone have any ideas on what this library is called or do they know of a similar library which would allow my goal to be reached.
Apache Cordova may be your answer, you can check it here : https://cordova.apache.org/

Bar code Reader without installing Third party application

I am new to Android. Can anyone give an idea to read bar code and Qr code without installing third party application ( without using Zxing Library). Just using phone camera only.? I am looking for ur answers..
Zxing is the best. You can use it without installing the zxing app.
You can use Zxing.
It's a better customisable QR Scanning library. Something that can be easy to implement and have more control for the developer.
I found some links
Alternative to zxing QR reader library for Java/Android?
Better use this :https://github.com/LivotovLabs/zxscanlib
https://code.google.com/p/android-quick-response-code/
You can use it without installing application.
Just extent the CaptureActivity Class after adding zxing as library project.
Please check this library - https://github.com/embarkmobile/zxing-android-minimal. It offers a minimal ZXing setup to include directly into your app without need to download the barcode scanner app from the Google Play. It's easy to use and it's available as dependency for Gradle and Maven.

Categories

Resources