Facebook ticker for android - android

I want to use Facebook ticker to show currently played audio file name of my android app Like spotify.
I want to continuously change the ticker as audio file changes
I search on google i dont find any tutorial or samples. please share how can i achieve this ticker into my app I am new please guide me Waiting for reply
thanks

You must implement your application with Open Graph API. There is a built-in action called "listen".
https://developers.facebook.com/docs/opengraph/actions/builtin/#listen

Related

How to open attachment in Android app without using WebViewActivtiy

My app get a url string from an api call. I show an icon on my UI and when user clicks on it I want to open the pdf so users can preview it and read it. If they want to download or share the attachment I want to support this functionality swell. However I could not find the best way to do this. Can you please help me?
P.S: we can do this in iOS using QLPreviewController, but not sure what the equivalent for it in android is.

Implementing video chat and message chat at once android

I have done a lot of research, but couldn't find the answer. Currently I'm using agora.io.
What I mean :
I want to add into my android app voice call, but on the same screen.
It has to be possible write some messages during a call without ending it, like at this screen
Is it even possible to do it with agora.io or should I change the lib to another one?
Agora video sdk can achieve that. You can use RTM sdk for messaging functionality and RTC sdk for video call. To put them in the same screen, you need to put the video ui on top of the messaging ui.

Andoroid how add video and GIF in android local notification?

Is it possible too embedded video and gif player into android rich notification like iOS?
If possible, please give me an example.
Thanks in advance.
Since notification is a RemoteView, where is no way to show GIF animation. Allowed only widgets that describes in official documentation.

How to use Android Speech to text as Service?

In android i am trying to develop an application where I can open messages or make a call etc. through voice. But I want my application to keep running in background, how can I convert the Google speech to text API into a service ? I will provide my work progress only if you need it, as posting it did not help me in previous questions. I have taken help from this link so far I will share my code if you want. http://www.androidhive.info/2014/07/android-speech-to-text-tutorial/

subcribe to channel and like/dislike youtube video programmatically android

How to achieve from an android application which can subscribe, like or dislike a particular youtube video from android application side. And yes this is not so far, i also want callback for all of them like once user has like video then i want callback of that, too. I have searched and got some idea about YouTube Data API,but how to integrate it in my own app that is what i am confused. And is there any else way to achieve this, if someone have then kindly let me know.
To get ratings (like or dislike) you have to to take the video_ID and make a separate API request to get the details you want for the video.
Here are some of the Listener, you may use this specially for loading, playing and controlling video callback: https://developers.google.com/youtube/android/player/reference/com/google/android/youtube/player/YouTubePlayer#Overview
You may use the 'Get Started', The document will help you to set up your development environment and use the Youtube Android Player API.

Categories

Resources