I have a situation where I want my users to install my app for which I am using beacons. So the phone should detect the presence of app without an app, I have found a link which says it is possible in iOS because google has build beacon detector in chrome app but is there a way by which it works for android as well?
Any direction given will be highly appreciate.
The Google Chrome app has support for detecting Eddystone-URL beacon frames on both iOS and Android. I am the one who wrote the "How To Push Beacon Messages Without an App" post you link to in your question. At the time that post was written, Google had only released the functionality for the Chrome app for iOS. Since then they have released similar functionality for Chrome for Android.
The details of how the user opts-in to beacon notifications on Chrome is a bit different for Android.
In addition to Chrome support for Eddystone-URL, Android also supports beacon notifications through its Google Nearby service as part of Google Play Services, if they are installed on the phone. (On most US and European phones Google Play Services is installed. On most Chinese phones it is not.) Using this system, you must first register the beacons with Google (it works with iBeacon, Eddystone frames, and AltBeacon), but the notification to be displayed must be configured on Google servers. You can read more about this here.
Related
This is a general query that I have because I have seen contrasting posts about the ways people have implemented it.
My use case is that I want my Android device to connect to iBeacon whenever it is in range, and start a particular app.
How do I go about it? I am not looking for code, in particular, a general direction of how to go about it would be good.
Here's what you can do:
You can program an app to auto-launch itself when a beacon is detected. If this app is already installed on an Android device, it can send a notification or simply appear when the beacon is seen. The free and open source Android Beacon Library has tools that let you do this. See here
Here's what you cannot do:
If you do not have a custom app installed on a phone, then you can not make the phone do anything to respond to a beacon. Once upon a time, it was possible on many phones with Google Play Services to make a beacon detection prompt a user to install your app. Google, however, discontinued this feature of their Nearby service in December 2018.
I want to send a notification on that mobile which is in the range of beacon without any app and bluetooth is on.
Is it possible to send the notification?
Right now I'm using alt beacon library.
The closest you can come to doing this on Android devices is to use a beacon to advertise an Eddystone-URL frame. Users with newer versions of Chrome for Android who have opted in to receive physical web notifications will see a notification to show the page of the URL transmitted by your beacon when Chrome detects it.
You can read more here.
There are lots of caveats. Users must have Bluetooth on, must have a newer version of Chrome installed, and must have enabled this feature.
Yes, it's possible to send notifications without app if your beacon device supports Eddystone-URL protocol. On Android devices version 6.0 and later Google Nearby feature should be enabled. For earlier Android versions, it's possible to use Physical Web feature on Chrome browser. For iOS devices with iOS version 8 and later and installed Chrome browser, Physical Web feature is also available.
I'm trying to find a cross-platform indoor wifi positioning solution. We have investigated Apple's CoreLocation. Apple has surveyed our site and we have a working prototype that works fairly well. However, Apple's solution is Apple only and not cross platform. Since roughly 50% of our users use Android phones, we need a solution that is cross platform.
Using Apple's indoor CoreLocation for Apple devices and Google's Geolocation for Android devices is not really feasible since we have over 2000 sites.
https://developers.google.com/maps/documentation/geolocation/
Google's Geolocation service WOULD be cross-platform if we had a way on iOS to get the access point MAC Address and signal strength. Unfortunately I see no AppStore approved method of doing this. Have I missed something in the Apple Apis?
I'm also open to alternative solutions. iBeacons would be cost prohibitive -- at least for version 1. Location sensing LED lights are out too.
You could check out IndoorAtlas (http://www.indooratlas.com) as their magnetic field based solution has SDKs for both iOS and Android and it is software only.
I have an android app with Google-analytics integrated. Recently, i ported it for Blackberry10 devices and is currently there on both Playstore and Blackberry world. Now, how do i know from the analytics reports about the blackberry devices running my app. In the analytics report,for devices it shows a row in devices an "Not Set". I did not make any changes for porting my app to blackberry except the mandatory changes in the manifest.
Can anyone please give some suggestions.
The following would allow you to verify inside your app to see whether it's a BlackBerry or another Android device running your app (taken from BB Developer site):
java.lang.System.getProperty("os.name").equals("qnx")
Unfortunately I am not sure what properties Google Analytics uses for its device information.
I know it had been asked many times about connect Ios and android via bluetooth.
I just want to know if android os update to 4.3 and use the bluetooth four-chip,it is any possible for their connection?
I only need receive some bytes from android device,then display on the Ios device.
for now, the answer is no. And I am talking about the newest bluetooth low energy technology.
Since android 4.3, you can now turn your android device into a central, listening to other peripherals's advertisement. However as of today, android 4.4.2, google still haven't realised any public api which allows you to turn android into a peripheral(like a broadcaster). So you can't advertise or send data. Although I did see a page saying you can do it privately, I haven't tried it yet.
http://blog.cozybit.com/enabling-peripheral-mode-in-android-kitkat-4-4/
On the iOS side, in iOS7, apple added new apis and now you can turn your iPhone into either a peripheral or central(not at the same time). So it is ok for inter-iOS exchanges, while android can only listen and receive data from iOS. You can try searching iKardz on the App Store and see how it's done on 2 iOS devices.
http://www.ikardz.me
However, the story didn't end here. Due to some bugs in google bluetooth apis, you can't actually connect to any smart devices for now, for details please see this link.
Communicating between iOS and Android with Bluetooth LE
SO for the record, this limit DID NOT come from apple.