Android barcode reading app and saving into database - android

So maybe this is not the right way to ask in Stackoverflow but I will try my best. So I want to create small Android app which can scan barcodes and save them into sql database immediately. I don't have any idea about making Android app. I tried searching in Google but it is hard to find this exactly.

I'm fairly new to this, too but I will do my best to help you. As far as I can tell, the only way to actively scan something is to take a picture of it, then feed that picture into your database. Look into camera functions for Android instead of a scanner, as they are usually looking for a different type of input, such as Strings. Google Camera API, and look at the database option.

Related

Smart Searching System for Video Database (Android App)

I want to implement a searcher in the app. When the user searches for the video stored in the local phone database using the search bar, suggestion will be popping up to aid in their search. And to generate the relevant filters for each video, I’m thinking of using tensorflow lite to process each video in the database automatically (object detection, human activity recognition, audio recognition), and generate tags to store in the database. And from the database, it’ll be used for the suggestion for the search bar.
For the database, I’m thinking of using DAO, to store the data on the phone locally. I think it has sufficient storage as I’m thinking of storing the tags (such as what kind of object it contains, location when the video is taken, etc)
And for the TFlite models, I got the example codes from the official GitHub of tensorflow lite. And I’m still inspecting the code to get the output of the model and store it to the database.
I’m actually not sure on how to process the videos in the background automatically whenever there’s unprocessed or edited video added to the phone.
Any insight/feedback is definitely welcomed as I’m facing a huge block in implementing the app. Appreciate if links or relevant pointers can be provided so I can look further. And if there’s any wrong to my thought process in implementing, feel free to point it out. Thanks so much.
FYI, I’m coming from Electrical and Electronic Engineering background, and I had never learn android app development before. I’m self learning it now, and implementing the app using Jetpack Compose and Kotlin language, but as long as the methodologies are compatible with the existing project without breaking it, then it’s fine.

is it possible to program an app that receives data from an already existing app?

I'm trying to program an app using android studio that receives data (blood sugar levels) from the app tomato (which calculates blood sugar levels automatically every 5 mins or so). The tomato app already exists and is made by a company.
So I was wondering if doing this is possible. if so, how?
I saw this post: Is it possible for an Android app to use data from another app? which is very similar to what im trying to do but i didnt find an exact solution/answer to this.
Any opinions and help are very much needed and welcomed.
You would first need to know how the app is storing the data, you could check your phone's storage using the Device File Explorer in Android Studio. If they have exposed the data then you are able to check and read the files that the app has exposed. However, I have a feeling that they would not be leaving them in plain text for you to take.
Upon some further reading, it seems they read from a device called a MiaoMiao Transmitter. You could ask the producer of this product for a developer kit and see what they say. This would come with documentation as to how you can get data from the product. However, if they do not provide you with any help, you will need to do some investigation as to how the device functions.
Perhaps it sends android broadcasts when it is taking a reading? This is just speculation of course. This is very niche and I believe that is a reason there are only a few apps that use the device - they are trying to lock out "non-verified" developers. However, when there is a will, there is always a way! ;)
Best of luck!

Barcode scanner in android

I am developing an barcode scanning application using zxing(in eclipse). I have read many stack overflow threads about developing.
I saw mostly things like, need to use a barcode scanner app for handling the decoding the barcodes and QR-codes.
Is there any option to do that also using the code like capturing the image using camera and then read? We need to create an independent app. Can anyone please help me? Thanks in advance and expecting a detailed reply if possible.
One of the biggest advantages of the Android platform is that you can leverage other apps to provide increased usefulness for yours without a ton of work. In essence yes you could rewrite the bar-code app, but a lot of people will ask why would you want to reinvent the wheel? Now it is true that the zxing process is open source so you can look at their entire program, however I found it more effective to just leverage what was already there.
If you place a check in the program to see if the system can handle the action, you can recommend people get the bar-code scanner to unlock that functionality.
This process is encouraged by the folks at Google. However, as always, you can always try to rewrite it from scratch.

Object Recognition with Android

I've been thinking about working on an application. You take a picture of something at a yard sale and it compares it against an image database.
For example say you take a picture of a spoon, and compares the image taken against images in the database and throws back to the user the top 5 possible matches.
Is this possible with current Android?
If so point me in the right direction, for stuff I'd need.
Thanks,
abolbridge
Look forward to your guys feedback.
That is rather possible, but too much CPU consuming and therefore not possible on Android itself. You'd have to build a serverside application for that.
It is going to be hard though. Quite.
Take a look at Google Goggles for an idea. The image processing is entirely made on the server side.
Check out openCV, as it contains a lot of useful object recognition functions and can be used on android. However, this approach will push the limits of the phones CPU and more so, its memory when using higher resolution images. A server-side implementation may be more appropiate.

Image Recognition for Android/iPhone

I'm looking at developing an app that could benefit from having a image recognition system. I've seen this sort of thing in iPhone and Android apps. Take a picture of a book and the app takes you to Amazon where you can find that book. I'm not looking for general image recognition, but more the ability to pick a single image out of a library of about 10k images.
Any ideas of what services are available for this sort of thing?
Google Goggles does something similar to Amazon Remembers. It uses OCR if text can be identified and they want to use it with the similar image search from Google Images. I think they generate some kind of hash for an image with the feature that if the images are similar the images are similar to.
My best guess would be try to start with the character recognition and do a text search for the title of your card. This means your user has to make a very clear image maybe even in a specific position. But for a first application this would be great already. As somebody playing magic I would buy the tool for trading and cataloging my cards.
Actually, while short of getting an actual Amazon employee to tell you there is no way to confirm this, I am fairly certain that the Amazon Remembers feature you refer to is actually the work of crowd sourcing- using lots of people combing through data to make it appear like a computer is doing it. I think they may actually be using there own Mechanical Turk system.
Edit: Also, I found this SO question that might interest you. It is specifically for playing cards, but some of the answers (such as the machine learning example) can be modified to be more helpful for what you want to do with magic cards.

Categories

Resources