Is it possible to have a control in a standard webpage that prompts a user on a mobile device to select a contact? I have a simple SPA that I would like users to be able to invite their friends to use. Rather than having them type in the names/numbers manually I'd like them to be able to select them from their contacts list directly. I don't need access to the whole list, just whichever ones the user selects, so it doesn't seem like there should be a security issues.
Edit: In that other question someone suggested using an API called BridgeIt, but that API has been discontinued. Someone suggested that the functionality of that API was available in HTML5 now, but didn’t explain further. Does anyone know if this is possible with HTML5 or if there is an alternative to BridgeIt available?
Related
I'm working on something where I provide content to users based on the things they view over the internet, or by the kind of applications they use. Is there a way to get a user's search history, bookmarks or cache from various browsers (preferably Chrome). Also is there a way to get the 'search parameters' typed by the user to install apps on Play Store. The aim is to create a background service that helps understand user search habits on the mobile platform.
Unfortunately you can't because every android application in a sand box for more information go to this link:Sand Box
and if you want to do sort if thing you must implement rooted application and the database file in chrome is encrypted
So sharing on social channels is a hot topic these days.
I have done some research on how to share to Facebook, Twitter, LinkedIn and G+.
Lets start with an example.. I want to share text, and an image to 4 social channels (Facebook, Twitter, LinkedIn and G+), but without the user adding more text.
My findings so far:
You can use Intent.ACTION_SEND but there are a lot of limitations like:
You need to make your own chooser if you want to filter the social channels
Sending text and image is not possible without the user adding more text
Using default social channel APIs, but:
Can be overhead, you only want to share.
Are not always stable.
There are some open source libraries you can use, but they are not as complete as you may think
Use paid services (do I need to say more...)
So in conclusion, I need help. What is the way to go?.
You don't need to do anything for the Intent.ACTION_SEND. Specifically because the apps listed are meant to handle this intent.
This should be perfectly fine because you'd rather have the user's choose what they'd like to share it on then constrain them to one. I'd say if you're looking to share then stick with the standard on android and use ACTION_SEND.
You can't expect the user to have Application A when they may prefer using Application B. Don't think in terms of constraint.
Also as your comment about the limitation of ACTION_SEND.. I'd recommend re-reading the documentation because I don't see that limitation anywhere:
http://developer.android.com/reference/android/content/Intent.html#ACTION_SEND
You can use SocialAuthwhich supports 10 social providers and it provides you functionality's like share text , upload image , get albums , feeds etc.
I need to share some text and image from my android app to Pinterest, how could it be possible?
Pinterest's API is closed off, they don't document it, or give any explanation or way to register applications to be able to use it.
Basically, they don't want anyone but them making apps that interact with their site, while it's possible (you could, for instance, run a web browser in the background and have it open pages and such just as a user on the website would) it's not really 'meant' to be done, so it won't be easy :/
I hope to create an android app which can save all the url visits, including typed-in url or url visited by clicks. Can someone give me a hint? Thanks!
In general this is impossible to do without a rooted device. While Lokesh's answer hints at the posibility of using the browser history, it is in all reality quite possible that the user will simply have used another browser. You also don't consider the possibility of people "visiting" other URLs by using apps which display information from those URLs but don't explicitly load in a WebView? (For example, the Gas Buddy app.) To do this reliably, you will need some kind of a proxy, which can actually monitor network traffic and log it. However, you should note that this kind of ability will not be possible without rooting the device.
I have a problem, and I am aware is not fully supported by Android.
I am looking for a way to open specific Gmail labels directly from another Android application.
So, in the Android app I want to be able to get the email count for a Gmail label.
However, based on research, I have observed that accessing custom (user-defined) labels is not so straight forward. Any help will be much appreciated.
Summary Question: How can I directly access (open) user-defined Gmail labels from an Android application and determine the number of unread emails in that label.
Might there be something available that is similar to the Gmail Label notifier application?
Newer versions of Gmail support a ContentProvider which, I think, gives you what you want. You can read more on the Android Gmail developer site.
Note, again, that this will only work on newer versions of Gmail. You might consider using PackageManager to confirm the existence of the ContentProvider in question on any given device.