In spotify web-api it is possible to preview track for 30 sec. So, I want to know, is it possible to implement this functionality using spotify android sdk. I was unable to find any Classes or methods related to that and also want to know if this functionality is available in spotify android sdk, then can we test it without spotify Premium account?
OR
Is it possible to use Spotify Web Api in android app?
Any help would be appreciated. Thanks in advance.
The Spotify native SDKs only use a "native" component for playback of full-length songs. The correct, officially-supported way of looking up metadata etc is to use the Web API. The iOS SDK provides a wrapper for this, but the Android SDK doesn't (yet).
Therefore, yes, you should use the Web API in your Android app. Since the Web API allows 30-second previews without authentication, you can do that in your app too.
Since the Android SDK doesn't include wrappers for the Web API at the moment, you'll need to build them yourself. The Spotify Web API is just a standard JSON/REST API - there's nothing special about it - so any Android JSON/REST library should be able to interact with it just fine.
Related
I am working on developing an offline google assistant alternative using DeepSpeech voice recognition model. Am using Voice-Interaction Service and sessions for same. however, I also want that "hey-Google" like feature. I have been seeing many guides and they point to AlwaysOnHotwordDetector. However in the latest android api that is deprecated.... what to do?
I'm currently building an online tutoring app to help solve my country's crisis in education.
To do this, I need to integrate a video calling service. I'd prefer to use Hangouts over other services since it is based on webRTC and its free. However after much searching, I haven't found anything that explicitly states whether or not its possible to integrate it natively or through a webview. Do you have any ideas on how to go about doing this or if its even possible?
Thank you so much! :)
Unfortunately there is no way to integrate this functionality yet, the hangout API is web based and since hangout requires the camera there is no way to enable this from a webview.
See these answers:
start google hangouts in android
Google hangout API for Android
How to embed Hangout chat in my Android App
I want to integrate voice and video call feature in my android as well as web app using sip.The scenario is like the end user can call from android app or web app to my support team which would be on web app.The scenario is similar to a call center where user call from app to support team.I did some research on found lot of javascript and android sdks available but they don't provide cross platform functionality.Is there any open source library which could be used to achieve cross platform functionality and flexibility to use our own sip server.
Please have a look at the Restcomm platform
It contains Android SDK that uses SIP, Web SDK (that uses sip over websockets) and a Telephony Application SIP Server called Restcomm-Connect that allows you to build applications very easily through HTTP APIs or Visual Designer
TBH, the only thing I found till now is Linphone. They use an LibLinPhone SDK to implement things, but it is open sourced under GNU. I am still looking for other SDK alternatives, as they don't have the best documentation in the world.
we are developing an application for adobe air with in-app purchase
(of game add-ons).
we need to implement alipay inside the app.
I downloaded their documentations, it looks like there is no native extension for air.
i thought about using it with php + StageWebView (to show their UI for user paument) .
anyone here has an experience with Alipay + AS3?
Create an API on your own server that maps to the Alipay API or just hit the Alipay API directly. You shouldn't use a StageWebView for anything more than displaying a simple page since you have absolutely no control over it and cannot retrieve any data or response from the browser in your AS3.
If you are planning to upload this to the iOS App Store, you can't use Alipay. You must use Apple's In-App Purchase system. If you don't, Apple will reject your app. I don't know about the Google Play Store off the top of my head, but I believe it is recommended you do the same though not currently enforced the way Apple does. Additionally, it is natively supported and what users expect when using an Android or iOS device. There are various AIR Native Extensions (ANE) that you can use to implement that (just do some searching and you should find some)
Can anyone explain to me what is meant by:
"...the free use of the Google Maps API for development of a mobile application is permitted if the application is developed using the Google SDK...
If the application is developed outside of the SDK and is publicly available for free to download from app stores..."
What does it mean to develop outside and inside the SDK? If I am using Google Maps SDK to develop a GPS based app for navigation etc. I assume that constitute as using the Google SDK
But I dont know what outside the SDK means?
I believe this means that if you want to use google maps you have to used their SDK and not use a web interface i.e a UIWebView (It is possible to use google maps in your app using the web(maps.google.com) and using the various web APIs etc). I imagine this is because they don't want slow, badly running maps included in apps, which is what you could get if people try to use their maps through the web interface.
By using their SDK, the programmer no interaction with the web APIs, as this is handled by their SDK which is optimised for mobile development.