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
Related
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.
I'm opening an app from a web browser in android and I can't seem to find the way to open this app outside the browser itself. I mean, the app opens inside the browser. I've tried both of these ways:
1) intent://pinnacle.androidApp/#Intent;scheme=launch package=my.androidApp;S.content=WebContent;end
2) my.androidapp://cb
What's the proper way to do this in order to open the app outside the browser?
Thanks in advance.
UPDATE:
My app consists of a native android app with a web view that loads an angular web app. I think that the web browser is opening the web app instead of redirecting back to the android app with the web view.
It goes as follows:
The user opens an android app with a web view that loads an angular web app. Then the user is supposed to log in. Due to some recent changes that google implemented, I can't log in with google from a web view, so I have to open a web browser, log in and go back to the android app. This latter thing is the actual problem. It only works properly if the browser that I use is chrome.
I can't use android to log in because I'm using custom authentication as well to provide access to other web services.
Register a URI scheme for your app and launch it by calling the URI somewhere as a link in your web page. This works 100%.
I have articles which are posted on Facebook for our subscribers and when a user clicks in one of the links they get re-directed to a mobile-site where they login, the problem is now after a a few days 2-3 days the mobile site asks them to authenticate again.
Im guessing Facebook in app browser clears my cookies but what i need to know is how does it manage its cookies especially for external sites. I tried the Facebook developer website there's no documentation on how this in app webview/browser works.
Background Info
Facebook in app browser is rather a webview which renders all the links which user's browse so instead of delegating the rendering to an external browser it handles everything on its own. This comes with limited functionality of course, Facebook added this in app browsing functionality to keep user's in session, because most of the time if user's make use of external browsers they don't come back into the app.
With the above background information Facebook browser is accessible to developer's in a sense that they may choose to use Deep-Linking if the browser doesn't conform to their specifications because the browser is closed i.e you can not modify or rather interact with it, thats why the deep linking functionality allows for developers to give user's an option to choose wether they wish to use their app this is if they have it installed in their mobile devices.
Cookies
Cookie management entirely depends on the In-app browser which if a user wishes to clear them then they can do so via their app settings. Since Facebook in-app browser manages its own cookies thus if a webpage is rendered by the in-app browser it will entirely depend of the in-app browser if its time to clear them from the device.
Deep Linking Overview
App Links is an open standard to deep link to content in your app. When someone using your app shares content to Facebook or another App Links-enabled app you can create a link that makes it possible to jump back into your app from that piece of content.
App Links work by adding metadata to existing URLs on the web so that they can be consumed by your app. If your app doesn't have a web presence with content you can annotate, you can also use a Facebook-provided service to host the data.
The Facebook's app for iOS and Android support App Links today. When the Facebook app comes across a link that supports App Links it will launch your app with the right information so someone can see the content immediately and quickly.
How App Linking Works
A person clicks on a story on Facebook
If someone shares a story on Facebook with content from your app, people can click on the story to view the content in your app. The URL shared to Facebook contains App Link metadata or be a Facebook-hosted URL.
Facebook app looks up the URL to see if it supports App Links
Once someone clicks on a story, the Facebook App does a lookup to see if the content supports App Links. if it does, the Facebook App takes people to your content, either in a web view or by launching your app and linking to the content, depending on the following criteria:
Whether people have your app installed
Whether the device is and Android or iOS device
Whether your app is mobile only
App Links has the following requirements:
If the content is a web page, your web page must include markup to let the app know what app should be launched.
If the content is mobile only, you must still supply a valid http(s) URL that hosts the App Link metadata. Facebook provides a Hosting API for App Links to make it easy for app developers to support App Links content without having to set up a web server.
In order to accept incoming App Links, your app will need to be set up to support them. We cover how to do that for both iOS and Android.
Launching Outbound Apps
It's possible for any app to do what the Facebook app does and add support to launch other apps based on App Links. If you've got an app where people want to click through to links instead of just going to inbound links, we've also provided a document that covers how to add support for the outbound navigation protocolto your app.
I want my app users to be able to share one of the app pages to others as an external web link as a good marketing strategy, so people who don't have the app can view this page and get excited hopefully to download and register although no one can view the app without signed in, for now I have the app and its web domain I didn't build the website yet, What is the efficient way to do so ?
You can write some code on the server to receive the data, store it and then serve it back (php/mysql or java or anything else). The easiest way to do it is to make a form and to send a request from the android app to simulate a filled-in form.
You could also just publish to Facebook or Google+, there are APIs to do that from and Android app.
Facebook Tab application that I installed on my Page is not even viewable on smartphones.What are the different ways so that I can make them viewable?Is facebook doing something for it?
I can't paste the web link (URL) to my app as wall post.That's cheap.
Any other suggestion
As stated here, there is no way to view page tabs with apps on mobile Facebook website, you can only create mobile version of your app and user will be redirected to it when accessing from mobile device.
Facebook doesn't support page tab application on smartphones. So you need to make mobile application. However you can make page tab application and mobile application by same program.
https://shindan-social.herokuapp.com/sss2.salesforce.com/sites
I think this is helpful for developing your app. You know Facebook page use POST method by fetching page from your server. You can distinguish which browser user use from POST or GET methods and user-agent.