I have a question on ZXing. Is there any way of launching their app as it is from mine? I've looked everywhere on the internet and haven't found an answer. As of now, I have created the bar-code in my app and run it as a direct link to Google, but I like the interface of the original app since it gives more information on the books being looked up. Mine just doesn't seem too practical in getting the bar-code and then having to look at a bunch of websites on Google to get the information of the book being looked up.
Please check my answer here: Is it not possible to read QR codes in an android application without having a third party app installed?
Basically you can integrate the ZXing code in your application and change the layout/logic as you need.
In this way you don't use the library with the Intent way but it will be directly integrated inside your application.
Related
I'm currently developing a solution that will replace QR codes. The QR codes work completely fine storing a custom URL that takes them directly into the app. This works both on Android and IOS with the same URL working on both platforms.
I have decided to use NFC tags aswell which works the same way as it does when using the QR codes.
However, the problem is that the NFC tags when using an android phone pops up a URL to google instead of the app. I'm confused why the QR codes open the app directly but the NFC tags direct you to google.
I have tried to research about but I'm stuck. Does the android app need an extra line of code to process the NDEF data to directly open when tapped?
The app isn't mine aswell so I will need to contact the developers if that's the case.
Thanks in advance and appreciate the help. :)
You can change the NDEF type on the tag from URI to Android Application Record (AAR).
Check the Android documentation on AAR for more info.
You may also look at the accepted answer for this SO question on AAR
I am still new to custom URLs and deep linking, but I have not been able to find answers to what I'm looking for on other stackoverflow Q/As.
The context of my question is Android and iOS. My app is HTML5 in Sencha Touch, and uses plugins for native calls. So I need to figure this out for Android and iOS.
Here's the problem. Say I have a a document ID for an Evernote note, and I want my app to launch the Evernote app (assuming it's installed) and have that document open up, then how do I go about doing that? Specifically, how do I know what parameters and parameter names I need to pass to Evernote? Is there a way to "inspect" the Evernote app or do I need to get some official documentation from Evernote about what parameter names/values I can provide?
In my example above, we can replace that with something else as well. Say I have a file "doc.xls" that is in Google Drive. Assuming I have Google Drive app installed, how can I open the Google Drive app with "doc.xls" opened? How do I determine what parameters I need to (or can) pass while opening a native app?
I understand the idea of opening and launching other native apps; I have seen examples for Android and iOS but I cannot figure out how to determine the parameters - which is what my question is about.
Is there some general reading I should do on some particular topic to figure this out? Let me know if I can clarify anything about my question.
Thanks in advance for the help.
Mohammad
San Jose, CA
try this tutorial by sencha team
On the use of Custom Scheme URLs to launch App
http://docs.sencha.com/touch/2.1.1/#!/api/Ext.device.Device
you may also try the phonegap version.
https://github.com/EddyVerbruggen/Custom-URL-scheme
all the best Hope this is not too late..
I'm working with android and I have a question. How I can do if I am doing an app that need another app. For example one of my option needs an app that reads code QR (2D) how can I work with both?
Thanks
You should be integrating via intent. See here for details how: https://code.google.com/p/zxing/wiki/ScanningViaIntent.
By doing it this way you eliminate the need to try to copy the barcode scanner app into your own which I think you'll find to be somewhat difficult(Not to mention you won't be tasked with trying to maintain a project that is not yours as new verions of the OS are released). You'll also be saving your users the space of another copy of the barcode scanner application.
Integrating via intent is the way that the authors of barcode scanner intended for you to use it along with your own application.
I am trying to create an android application that is linked to a QR code. I need the user to scan a QR code and be taken to the application which they can then use. I have looked around on the internet where there are many different generators but they are for website,sms,text. Is there a way to link it to an application?
Thanks
You can link to the market page of an app with a link like this:
market://details?id=com.example.admob.lunarlander
Turn that link into a QR code like you would for any other URL. When they scan it, this will give the user the option to Install the app if they don't have it, or Launch the app if they do.
ref: http://support.google.com/admob/bin/answer.py?hl=en&answer=1620109
You can make the link to your app's page on the Android Market website. Basically, just go to market.android.com, find your app and use your app's page's url for the QR code.
I searched a lot and didn't find the answer of my question.
I want to add to my android app video chat feature.
I am writing app for version 2.2 and latest.
Can I provide this feature or not and if I can,please write some link of code
which I need.
And also, I have read this tutorial and I want to know is this real working app and if yes how can I merge this to my native app code?