Web application with QR code reader - hybrid-mobile-app

Hi I want to build an library automation but I want use QR code for books.
And I want to read QR code from mobile and could I do that from web application to read qr code from mobile and conver to form data after I can save information books. Is it possible . Or should I do hybrid-mobile-application later read QR code as mobile client .And which tech are opensource and fast like ZXing.If possible could I do all of them with javascript

Yes, you can read a QR code from a web application. There are javascript libraries that enable you to scan a QR code using a camera from a mobile phone. Here is one: https://github.com/jbialobr/JsQRScanner. This is a port of ZXing QRReader to javascript. Note that many browsers only allows you to use a webcam when your website is served via https.

Related

How do I upload video in a tweet in an iOS app using XCode

I am new to iOS development and need to make a change to an iOS app I'm taking over to add video to a tweet. My current app UI allows the user to type in text for a tweet but I would be changing that to allow them to pick a video to upload along with the tweet similar to how the Twitter app works.
I see the Twitter API supports uploading video but I haven't been able to find any good examples on how to accomplish this using XCode and Objective-C. Any recommended approaches or tool kits I can leverage to accomplish this?
https://dev.twitter.com/rest/public/uploading-media
I had to roll my own solution. Check out my project https://github.com/mtrung/TwitterVideoUpload.
Light-weight due to using built-in Apple's Social framework to keep things light. No need to add extra frameworks such as TwitterKit and Fabric.
Support chunk upload.
Built-in support for user's credential retrieval
Thanks for the -1 that was helpful. So thought I found the answer with Fabric (https://get.fabric.io/). The Android side supports image and video upload with a tweet but the iOS side does not (image only). It looks like you have to roll your own solution including building a video picker. Then you can use the Twitter REST API to upload the video. Not exactly what I was hoping for but it is doable.
This link shows Objective C and Swift code to do the video upload Share video on Twitter with Fabric API without composer iOS.

how can i add a bar code reader to my rails 3.2 application

I am doing a project on rails where I have to scan the barcode from the client side and save the barcode data to the database. How can I use barcode scanner in webpage client side?
There are some javascript libraries for this purpose. Here are some of them:
http://manuels.github.io/unix-toolbox.js-exact-image/demo/
https://developer.tizen.org/development/articles/barcode-generator-and-scanner
(includes QR codes as well)
You can either provide a place where the user can upload an image with the bar code or use HTML5 canvas and the Camera API to get the code from the camera. In the last case, you should be aware of browsers supports, of the Camera API, canvas, etc.

What is advantage of embedding HTTP server in iOS app?

In linked in implementation, they have HTTP server implemented in iOS app. What could be the reason behind this architecture, if uiwebview already handles the HTML loading and rendering.
I don't think they have a HTTP server embedded as much as they are just making very liberal use of UIWebView and the features of HTML5.
And the benefits of doing this are that they only have to write a relatively general implementation of the LinkedIn mobile interface in HTML5 and those changes get carried across to iOS, Android, Windows Mobile, and whatever other mobile platforms support HTML5.
I have a couple of apps with an embedded HTTP server. This is used as one possible method for importing/exporting data to/from the app. The user connects to the app from their computer's web browser to the server on their iOS device. The user can then download a file from or upload a file to the app. I added this feature before iOS supported file sharing via iTunes and the Documents directory. It's now one of several ways to get data to/from the app.

Application Craft and QR Code reader

I am working on a mobile application (Android)using application craft which is a web-based technology which can also be ported to an android app. I would like to know how is it possible to allow my system to activate the camera device in the mobile device so that the user is able to capture the QR code and the system is able to decode and display the details accordingly.
I am not intending to use the QR technology to navigate users to a link but use the technology to display details.
Hope someone can enlighten me.
Have a look at https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner

TTS BlackBerry API

Is there any API to use TTS (Text-To-Speech) in BlackBerry? This could be on any version of the OS.
this is what RIM has to say about Text to speech API
The Text-To-Speech API in the BlackBerry® Java® Development Environment permits a developer to create a BlackBerry device
application that converts information into audio output. The Text-To-Speech API uses the JSR 113 specification (also known as
the Java® Speech API 2.0 specification) to support a speech synthesizer.
The developer can use the Text-To-Speech API and the Accessibility API to create a screen reader application. The Accessibility
API retrieves information from device applications and sends the information to the Text-To-Speech API. The Text-To-Speech
API can use the information that the Accessibility API provides to create audio output. For example, the Oratio™ for BlackBerry®
smartphones application uses the Accessibility API and the Text-To-Speech API to convert information into audio output for
users who are blind or visually impaired.
Currently, RIM limits the use of the Text-To-Speech API.
For more information about the JSR 113 specification, visit http://jcp.org/en/jsr/detail?id=113.
There are other apis which you can try
http://www.ispeech.org/text.to.speech.tts.saas.api
Yes we have
Go to below link:
Speech-Enable Your BlackBerry
And follow these steps.
First click on signing up for a developer's account. and get the key it is FREE.
From this you can get Two keys. One for Device and another for simulator;
when you check on simulator you must have to give the simulator key;
when you signIn on application replace the simulator key with the Device key;
Click on Sample Application on that link.
click on iSpeech BlackBerry Demo to download the sample demo. Extract that zip file you can get the one Lib file. (if you want to do your own Add it to your application).
NOTE: If you not get the key then, the sample demo which is provided by that link does not work.

Resources