Pass Data from Angular6 Micro App to Mobile Application - android

I have an application in Android (Kotlin) and iOS (Swift 4) that opens a micro app in a WebView which I made using Angular6.
There is a button in my web app that enable users to sync a date to their respective calendar.
What is the best way to pass data from my web application to my native application?

If I understand your problem correctly you can try using Firebase Dynamic Links. From inside the web app the users would select to sync the data then that will open the dynamic link which will bring them back into the native Android or iOS app. These dynamic links can store small amounts of data which you can read in once you've handled the deep link. See this sample code for Android.

Related

Update mobile app when user delete data from website - Xamarin forms

Problem: Our mobile App users can update data from the website as well. All i want is to send a message to App (Android & iOS) to update user data as soon as user for example delete anything from website. What is the best way to achieve this?
Environment: Both Mobile App & Website is hosted by us. Website is built in Asp.net and Mobile App is done using Xamarin.Forms.

How to send data from webpage to native app on mobile device, both Android and iOS?

The scenario is, a user is visiting my webpage, click the download button to download my apk package (on Android) or go to App Store (on iOS). Then install the app and open it.
What I want to do is, when the user visits my webpage, I store some data to somewhere, and when the app is installed and opened, it can somehow read the the data (so the custom url scheme doesn't work in this situation).
For example, the user is reading an article on my webpage and then he finds out that we have an native app. So he downloads the app and installs it. We hope that when he opens the app, it could automatically display the article he was just reading. Therefore, the native app needs to know the article id from the webpage.
Now I can think of two solutions to do this but have some difficulty to overcome:
When the user visits my webpage, I copy the data to system clipboard using document.execCommand('copy') and then in my app, I acquire the data from system clipboard. While, as you may know, this API are badly supported on mobile browsers due to security reasons.
Use remote server as media. Webpage sends data to the server and app fetches it. But the data is device sensitive, and I can't think of what can be used as a unique identifier for a device. Because all webpage can obtain is some navigator.userAgent information.
So, is there someone that can help me out here and find a perfect way to send the data from webpage to native app. I would be very grateful!
I think the best option you have is to :
-Store the data in a table
-Create a php page that will do the query to get the data
-Do a http query from you android/ios app to this php page, you've your data !

Creating Mobile and Web App. What to do first?

I'm creating an android app, using Android Studio and at the same time making a web version of the said app using django. Is it better to make a python web app in django with the database and all first. So in the mobile app, i wont need to store data anymore, im just gonna grab the data from the web to show in the mobile app. If so, how do i do getting data from web and show it to android app?
The usual way is to make a web service which returns a json which you can consume on your mobile app and store it if needed offline.

is there a way to use existing websites as an Android app?

I need your expertise to understand how an Android App can communicate with an existing website.
Using the same web interface but should be displayed as an Android app
Using the same database, when we try searching, and the result should be displayed with in the app
Using the same authentication, so if we accept username/password on our Android app, it should use an existing website script which can authenticate and whatever is returned should be displayed in the app.
Thanks
Well you can use webview for display of pages that should be optimized for best user experience on phone, you can query the database and show response on android - for that you need to build parser on webpage that can accept some sort of query and return response in for example json or xml format. The same goes for authentication, it is very simple actually
As per my knowledge, you need to access Web Services of Website to take the data back from the Website to the App.

Mobile app for an existing not mobile website

I wan't to build an app which will work like the facebook app or the 9GAG app, the app need to acces the website content and show it inside the app, I don't have acces to the website I want to build the app on, does any one know how to do that?
The website must provide some kind of public or private API to fetch the content as feed. Then only we can integrate and show in the app. For example you can see the Feedly Android App,it fetches the content of the news,blog websites and showing in the app. Market url : https://play.google.com/store/apps/details?id=com.devhd.feedly

Categories

Resources