Problem opening ar.js example on android phone - android

Whenever I try to open examples of ar.js online on my android phone.
https://stemkoski.github.io/AR-Examples/
I receive this message.

Usually, this error appears when the is a problem with the website SSL certificate or if you don't allow the website to access your phone's camera. In your case, it seems like you just need to give permissions to the website. You should also make sure your chrome version is up to date.

Related

auto-fill not working in InAppBrowserObject external website on Android device

I have been struggling to get my app working the way I want it to. I have an ionic/angular based app that is meant to be only for the Android platform. It is basically a wrapper for an already-existing website from the company I work at. The InAppBrowserObject works great for this, it does exactly what I want except that it doesn't auto-fill the login credentials. It makes it so users need to login every time they open the app which is not what we want. We want the external website to open in the app itself and not in the device's browser, so I use "_self" as target.
I have noticed that when I use the device's browser (target: _system) that it asks for permission to save the credentials and then it does actually save them. It is only when I use the targets: "_self" or "_blank" that I get no popup asking to save it (it also doesn't save it). In the image below you can see the code in the app.component.ts file and some information about the app which might be important. The app is small, it literally only has the app.component files and that's it. It opens the external website immediatly when the app is started.
At this point I am clueless as to what to do about this problem. I think I have visited every website that is related to this subject and the solutions are either outdated or there is no solution at all. I hope I gave enough information as to what the problem is, if not, I can always add more.
Information:
using Angular(ts), Ionic in vs-code. Testing apk in Android Studio.
InAppBrowserObject (Cordova, #awesome-cordova-plugins/in-app-browser)
app.component.ts file ^
target set to _self and not auto-filling the inputs (the inputs in the website are set with autocomplete on)
target set to _system and auto-filling is working correctly.

Detecting the OS version then recommended to user to install application

I have an android mobile application for the product. I want to display a recommendation message when user open website in android device. Recommendation message should be like For better experience install the mobile application. In that message will provide one link which will open Application if already installed or otherwise redirect on the Play store link.
Actually, I don't have any idea and I don't know where to start. Can you please help me.
Edited:
I have uploaded reference image, In Below image, you can see the highlighted area.
I think that this is possible by reading the User Agent
https://developer.chrome.com/multidevice/user-agent#chrome_for_android_user_agent
If you are parsing user agent strings using regular expressions, the
following can be used to check against Chrome on Android phones and
tablets:
Phone pattern: 'Android' + 'Chrome/[.0-9]* Mobile'
Tablet pattern:
'Android' + 'Chrome/[.0-9]* (?!Mobile)'

Android Auto development from outside service area

I don't know if this is off topic for this site or not. So please accept my apologies if it is off topic.
I wan't to try Android Auto for development purposes. So firstly I am trying to start the Android Auto Desktop Head Unit emulator (DHU) and prepare my device following this link. But as I try to download the Android Auto app, Google Play will not allow me to download as it is not supported in my country. No problem, I downloaded the apk using Apk downloader site and installed that. When I open the app, it's not allowed to proceed as it detects my country isn't supported for this feature. To overcome this I tried the following steps:
Clear the app data of Android Auto app and force stop it.
Used tunnel bear vpn to fake my location to USA.
Fake my GPS using Fake GPS app to USA.
Now open the Android Auto app to continue.
But still it doesn't let me continue, the app says my country does not support this. So I am stuck here unable to begin development as I won't be able to test. Am I missing something? Is there any other way to bypass this?
Thanks in advance. Any help will be appreciated.
N.B.: I have developer options enabled in my Nexus 5 device(api level 23).

can we install another application from our android apllication?

i am using a augmented reality in my android application.
For this i am using the wikitude api. This api requires the phone to have the wikitude browser installed in our phone. if it is not there is a provision that i can show a message that the apk file is not available on your phone.
When the above message is shown that the wikitude broswer is unavailable on the phone, i want to install the brower on the user's phone using the code in my application.
Right now i am providing a link to the android market where the wikitude browser lies, rather than redirecting him to this url, i want to install the app directly in the phone without the user ever knowing that there is another app being installed in the background from the android market.
is this possible in android?
thank you in advance.
It's actually a bad idea to try to install any kind of software without letting your users know about it. And there are permissions that user must accept, you cannot just overcome this. So the only solution for you is to redirect the user to the market and let him know that he won't be able to use your application without having the other one installed.

Android market link in SMS

I have tried via <a href="market://search?q=pname:com.google.zxing.client.android"</a>
but it is not working.
I have also checked in Google Android T-mobile G1 but it does not show me link.
How can i embed link of android market application link in sms?
Use the alternative Market URI format:
http://market.android.com/search?q=pname:com.google.zxing.client.android
That will be picked up by the SMS application and become clickable, assuming you don't apply any HTML formatting, as danilo mentioned.
You can't use HTML in a SMS. A simple market://-Link would be handled by Android, but apparently the default SMS application doesn't support linking it.
For your own phone, you could try installing an alternative sms app, but for other phones it will be difficult to get this working without additional software.
Best option would probably be to file an issue in the Android bug tracker and to ask the developers to fix this issue: http://code.google.com/p/android/issues/list

Categories

Resources