Is it possible to store the UPC to your Android device, (excel or notepad) after scanning, and be able to send it to PC via WiFi? And make the data directly go into notepad or excel?
I'm developing an inventory system using the Android WiFi scanner. Please help me because I'm having a hard time searching if this is feasible.
I am actually working on this exact project for my work!
I downloaded an app called ScanPet! (you will also need to download Barcode Scanner - also free, and you dont need to do anything with the app) It will scan a barcode and automatically store the serial number. You can then input a couple other fields manually like model, price, comments, and a few others. The app stores it all in an excel doc that you can then email to yourself.
If you are using outlook, then its rather easy to scan the inbox, grab the attachment, open it, and then input the data from the excel doc into your database!! As you said, a batch call can be setup to scheduel the task as well!! Best of luck automating friend!
Related
This question already has answers here:
How to launch my Android app from a QR reader?
(2 answers)
Closed 1 year ago.
I have seen some example that people code executable code on a QR code like this https://itsmattkc.com/etc/snakeqr/. I wanted to create a QR code that executes the command to open a specific phone application for any phone (android & IOS).
The process will be like this,
Scan QR code with a phone.
Phone executes the command that stores inside the QR code (code that does something like "start C:\...\specific app" in C language) and open the App or prompt user to download it if the application is not installed on the phone.
Close the window that is used to execute the command(if any).
My question right now is,
What language can be used to code the command that open the phone application like what I stated above?
How can I turn the code into a QR code?
Background A QR code doesn't itself execute anything, at a high level QR code is just a method of serializing an array of bytes into a visual form, the reader can de-serialize the image back into an array of bytes which must then be interpreted.
Generic QR readers will generally assume that the original data represented an encoded string and so will decode the bytes into a string.
The instructions in SnakeQR tell you to use a QR reader that allow you to save the bytes to disk, instead of decoding them into a string, which just demonstrates that the QR code contains binary data and that the data on its own doesn't do anything, the user needs to take that data and complete the next step to action it, but that action is up to the user.
This is when the magic starts to happen, if the QR code represents or contains a URL, then most reader applications will auto-launch a web browser and will navigate to that URL.
In the app development world we can hijack the default behaviour of these QR code readers to interact with the device in 3 ways:
Write a web page that will execute scripts to complete your operation on the device that navigates to that page, host that somewhere globally accessible and store the URL to that page in your QR code.
Use a URI that the device will recognise as an internal location, this post How to launch my android app from a QR reader is describing this process, in the android application API you can define these intents, effectively registering a URI with a specific action.
The specifics to this are out of scope, this question is about the QR code itself, but most operating systems will have a similar process where there are standard actions bound to URIs and there is usually a mechanism for you to create custom bindings.
Write your own proprietary QR Reader application that can natively understand the commands in the QR code and can execute them direct.
In terms of languages that support this, its not a language specific thing, in Android applications the mechanism you want to exploit is Android Intents Tutorial (Android Developers - Intents).
In iOS there have been mixed version of URL bindings over the years, but SiriKit is probably the closest in terms of functionality, its far more restricted than android, but enough to launch apps and pass through arguments.
In Windows OS you can register URI schemes to do the same thing...
When it comes to proprietary logic, we can use all 3 methods to build a seemless experience for the users:
Make a landing web page with a message like "If you see this page then you should install my app for an enhanced experience..." (on this page there should be instructions for how to find and install your app)
Make the QR code a URL to the landing page with the parameters that you want passed to the app as URL parameters.
Build and publish your app, in this app you should register the URI to the landing page with the native device OS so that after the device is installed, your app runs instead of the user going to the landing page. Don't forget to map any parameters as startup arguments for your app.
I am trying to perform WhatsApp chat analysis and basically want to have the messages instantly transferred into a text file for further processing.
The issue is that WhatsApp does create a local backup daily at around 2:00 am in the msgstore.db, however, I wish to receive the texts and media instantly after every message. In a nutshell, is real-time text and media retrieval of WhatsApp messages possible on every message?
P.S. I did try searching online for the mining methods for WhatsApp, but they usually seem to be based on the local backups that have the lowest backup interval of a day, whereas I want it on every message.
Update: As suggested by #pette, I tried emulator method and it too is able to perform chat analysis on the daily local backup. I came across many research papers and realized that WhatsApp does not allow for third party apps to sniff on its application.
Also, I tried using automation technique wherein, I use whatsapp web and automate to copy text on every message. But, these techniques are limited to computer application.
Is it possible to pipe-out whatsapp texts to another text file or log file?
you can install an android emulator, as x86, install the apk of whatsapp, mount the disk of your emulator and open msgstore.db, but you can only retrieve the text files
Maybe u can use emulator and write a script which will monitor msgstore.db file and date/time it's last time changed. It will be changed when ever new message is received or sent. Than if it's modified u can read messages from it. This is idea, as I am doing same thing on different type of DB with PHP.
Every file has time stamp when it's changed. So give it a try.
I want to build an android app, that when you put your phone on nfc tag, the app connect to server (I suppose database will be in web server) and get the data from database, and when you put a phone on second nfc tag it connect again to server, but this time gets diffrent data from database(must be there new database).
So basically I' am new to servers and databases and if this is posible what I mention above or at least a similar. Can you provide me with some tutorials that I can learn from and will help me build this.
Please go through the following link,
http://developer.android.com/guide/topics/connectivity/nfc/index.html
It has all the tutorials on how to utilize NFC on Android. It has certain API's available as well which you can use. The part where first it does a different operation and the next time a different one all depends on you on how you deal with it. You can write a condition based on a boolean value to see if its a first time or second.
Hope this helps.
I got a android device (running lolipop) with a Bar code reader Attached to it.
I do not have any API's from the manufacturer on how to retrieve Bar-codes , however the device does works and retrieves data from the application given by default from the manufacturer.
I just want to gather information before proceeding any further but i cannot find any help online (GOOGLE.. probably i am not searching correctly).
I basically want to create some application or use any available application that can retrieve information from the barcode on click of the scan button ('This scan button is a physical button on device' ) and send it as keystroke to any input text field in browser (native android browser or Google chrome ).
Any Suggestions on how to procced will be highly appreciated .
I’m building an Android application that I want to publish only once, but want it to connect to 2 different servers. The application will be downloadable with a QR-code
For example, my friend has a moviedatabase on his own server and I have one. Without manually writing the server url in the application settings, I wanted to modify the .APK file or the QR code, giving it a parameter. So when my friend scans in the QR-code which I make for him, I want his app to connect with his server. When I scan my QR-code I wanted it to connect to mine. Right after the installation of the .APK.
Is this possible? Or are there any suggestions how I can put the server url “somewhere” without entering it manually in the code?
There is another option. Making a textfield that the user can fill by scanning a QR-code. But for me, that is still manually entering the URL.
Any suggestions or advice are welcome.
What is the problem to store server url in preferences and make an extra Activity to grab qr from camera and change the preference
This isn't supported functionality on install. There's no way to link to an Android Market url with extra information to be executed as a post-install script. You can include a QR code scanner in your app (I believe ZXing is open source and/or free to use, for example), and you can have the server info encoded in the QR code. You can save this to any persistent storage (such as SharedPreferences or SQLite) and then use this for all future data requests.