I read an interesting article about Web-to-App interoperability. It states:
Android and iOS allow installed applications to respond to custom URIs
from the web. Since I’m not as familiar with iOS, I will only cover
how Android allows this to work, and how you can use this technique to
your advantage. There are several use cases for allowing your app to
handle custom URIs. The first one I’ll cover is simply launching your
application.
Basically, a link (clicked on a mobile browser) can trigger a specific action with an installed App.
I found it intriguing and I realized that the Google Play Market itself works the same way with market:// links.
My question is:
Can you provide (other) live examples in Android? And in Iphone?
I'm looking for good cases of this kind of "Web to App Interoperability" with both Android and Iphone applications.
Extra question:
Can you suggest a tutorial or reference to do this in Iphone?
Thank you very much.
Any help would be greatly appreciated.
For the extra question, have a look here or here.
I know Spotify uses this. I believe Facebook does too.
Related
I know embedding a website in an in-app browser in a mobile app could reduce the performance, but since the type of website I'm developing is more or less a blog, I was wondering if the performance should be negligible.
I have searched through Google for any posts addressing this issue and there seems to be none.
you can do that, but I suggest you to take a look at Progressive Web Apps (PWA) concept and using it.
Yes. Its very easy to use website in mobile app.
We are building web-application which helps you to sort your contacts by various ways. One important data-source for that is call log (history) and SMS-log.
Is there a way to access that from browser not developing application?
I'm looking possibilities for browsers like:
Android built-in browser;
Google chrome for mobile (Android and iOS)
Safari for iOS
Thank you for any guidance and idea you can share!
No, it is definitely not possible. As CommonsWare says, it would be a huge privacy issue if websites could access that kind of information.
If I can find any sources to back up my statement of fact I will edit my post.
I am trying to work on an app that streams videos from a website into an app. So, it's like watching those videos in the app, not the website. How would you do this? Can someone point me to a tutorial or explain it to me?
Well depends on what framework you are developing for. You need to provide more info if you want real answers.
For example, if you are using the native sdk to develop for the playbook (C/C++), info regarding streaming video can be found here:
https://bdsc.webapps.blackberry.com/native/documentation/video_playback_overview_1935223_11.html
May not be for streaming specifically, but its a start.
If you are developing and AIR application (Flex), well then thats library question. Just off the top of my head, you would probably use the NetStream class. Documentation found here:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html
Again, need more info to give you a good answer.
This is my website: http://www.stustu.co.uk..
I want to create an app that can pull down the listings from this website and display the entries in the form I want; enable users to manage their online accounts conveniently within the app; post new entries. Basically, a similar app to Amazon and eBay.
But I've no clue about how to query the information from the website in the app...
The website itself is WordPress based (quite simple, therefore), and my initial thought was to find some API from WordPress. I did find the official WordPress app, which comes with the source code, but it helps little as its code mainly deals with blogging.
So here's my question:
What are the normal ways a web developer would use on the server side to achieve my aim?
Is that achievable for WordPress?
If not, are there workarounds?
I'm a new self-taught developer, sorry that the question is a bit broad.
The most common approach when you're trying to communicate between an app and a website is to use a web service. Popular architectures include using REST or SOAP to communicate with your server.
This video will teach you how to use REST interface properly on your Android application, while in this link you will find that using SOAP has its disadvantages over REST especially on Android(or mobile in general).
I personally recommend using REST APIs with responses in JSON format for your web service. Twitter did the right thing with their own rest api, and you can structure yours similarly.
Other links you will be finding useful as you develop your application:
google-gson
jackson JSON
http://blogs.developerforce.com/developer-relations/2011/02/rest-api-android-awesome.html
Sorry about not answering your question about Wordpress, as I never had the opportunity to use it. For my apology, have this potato.
How much experience do you have with android? If you have none you should go find the getting started tutorials on the developer site and complete a few of them to familiarize your self with the structure of an android application before you attempt something like this.
The next thing to consider is: does your site look and act nicely on mobile? If so do you want your application to simply be a dedicated browser that pulls up your site? Or do you want to create the entire application natively? In the latter case you'll have to build (or find) some sort of APIs that allow you to tie in to the functionality of your site from within the java in the application.
My experience is mostly on Android so I cannot suggest any strategies or examples for how you'd go about setting up your APIs. But I do know if you attempt to build something that sophisticated natively on android with little experience you'll likely get frustrated early.
In Android, we can easily share content (text, images, video etc) through the Intent.ACTION_SEND startactivity api.
I have an app doing that perfectly already, and have a parallel iOS app that I hope to implement the same feature.
Is there any iOS api support or do I have to use 3rd party sdks or code my own interface layer?
Thanks in advance!
You can do that by implementing a custom URL scheme. Also check this blog out.
This long question approaches the techniques for transmitting information as documents. Be aware that due to the sandboxing, "moving" huge piles of data around (from one application to another) will not be straightforward and you will have to slightly rethink your interaction process.
Several sites attempt to list the schemes, but unless Apple decides to publish them, they're bound to be inaccurate.
Use UIActivityViewController for sharing content with social networking apps.