Can I have a web app running, and a native google maps app launched by the web app running on a droid, and have actions performed by the user on the web app automatically update the native map app?
Ex. User clicks link on web app. Query string values in the address feed maker points to the maps app and it launches in the native app rather than a browser if the user chooses that. Then, user goes back to web app, makes changes. When user goes to map app, changes on web app are already reflected in map app via some sort of push notification system from the web app to the native map app.
Is this at all possible to do?
if you are talking about web app runs on the same devices, you can at least use some URL scheme to open the native Maps app. But there seems to have no way for returning the information back to your web app. (well, for the sign-in app, there seems to be some connection and data sharing between the signed in devices, but not sure how it works.)
but the ultimate solution I can think of to this question is to develop your own version of the Maps app, which should be an app that use Google Maps API to do basically the same thing the google maps does, which also sync data with your backend web server.
Related
I have two projects a web app and an Android app and I want to link them together. I have Firebase auth set up on the Android app (user app) and I want the admin web application to link the auth account as 2 way (admin and user). Is that possible? If it is, can you explain how?
Is that possible?
For sure it's possible. This can be simply done inside the Firebase console. Once you have successfully created your project, then you'll be able to add as many apps as you need. Since you have a web and an Android app, you should go to "Project settings" and hit the blue Add app button. The first time you should create the web app and the second time, the Android app. How? Simply follow the instructions that are provided. There are only 2 steps in the case of a web app, and four in the case of an Android app.
We have a web app build in Vue JS and it's SPA, now we want mobile version of the app but due to time and other factors we don't want to build the mobile app from scratch so we resort to using CodenameOne BrowserComponent to load the web app and because it's CodenameOne we can submit to app stores.
The issue we're have now is that the app will have phonebook contacts access on the mobile device, CodenameOne have full access to mobile device once the user grant the permission but reading the contacts in CodenameOne and sending it to VueJs component that will display it is where our issue lie.
CodenameOne can interact with Javascript but I've not seen sample codes for VueJs.
I'm trying to build a web app to detect beacons in my room.
So far I have integrated the Google Beacon API on a webpage and using Google Client JS API have used the below services:
https://proximitybeacon.googleapis.com/v1beta1/beacons to fetach all the beacons of my project
https://proximitybeacon.googleapis.com/v1beta1/beaconinfo:getforobserved?key=+ apiKey to get all the attachments of my active beacon.
All the above is working fine, but this is different from what I'm looking for. Is there a way that when the web page open in chrome, a function is triggered whenever it finds a beacon. As per my undertanding this is possible using a native app (Android or iOS).
Google Nearby Notifications was an option to advertise URL but Nearby Notifications is Temporarily Muted
A little confused with the purpose of Google Beacon API.
Unfortunately, no, there are no browser-based APIs that let you change what is on a web page in a browser based on beacon detection.
For this to work, there would need to be JavaScript bindings to bluetooth scan events, something which does not exist on any platform. Google has some Chrome OS extensions that let you interact with Bluetooth via JavaScript, but these are not available in the Chrome browser on Android or in Windows/Mac versions.
Recenlty I've notice that I get push notifications from facebook even that I don't have facebook app open. How is that possible?
This is done using the Push API which builds off the ServiceWorker API which allows web applications to register long-lived background services that outlive a specific website visit. As to how this is implemented, even if the browser/website is not in the foreground, there is an application running in the background or there is a handler registered to start/resume the background application when an event is received. Android services enable this under-the-hood.
I think Using push notifications...In mobile computing is that the technology doesn't require specific applications on a mobile device to be open in order for a message to be received. This allows a smartphone to receive and display social media or text message alerts even when the device's screen is locked and the social media application that is pushing the notification is closed.
I've built a web page that shows a map along with geo-tagged images. I would like to also show some real-time sensor data, for example noise levels.
I can put the page in a UIWebView in iOS and I can access the sensors I need from a native app (built in Xamarin if that's relevant).
I can obviously build web services on my server and send the sensory data from the native app, then use ajax to get the data to the web page. While there are good reasons to do this I would still like my app to continue working (albeit with decreased functionality) while it's not connected to the internet - I need to be able to pass the sensory data (json) from the native app to the web page without reloading the web view itself.
Q: Is there a way to continuously pass data from the native app to the page inside the UIWebView?
I have implemented the bridge for Xamarin (and WP8) here: https://github.com/sami1971/SimplyMobile/tree/master/Core/SimplyMobile.Web
Take a look at the WebHybrid class (it has partial class implementation for Android, iOS & WP8 in addition to the core partial class).
Here is a small sample application: https://github.com/sami1971/SimplyMobile/tree/master/iOS/Tests/WebClientTests
Take a look at this Xamarin Component
Allows for bidirectional communication with the UIWebView in
Monotouch.
http://components.xamarin.com/view/jsbridge