DSCGGV /
Android-Web-Club
This is the primary repository for hosting projects under the Android/Web club.
Loading repository data…
qreate / repository
This is an spotify playback package for flutter
This project is not being actively maintained please use: https://pub.dev/packages/spotify_sdk
Spotify Playback Plugin.
No iOS Implementation yet, WIP..
IMPORTANT: Make sure you have the Spotify app installed and that you are logged in or your test device!
First, add spotify_playback as a dependency in your pubspec.yaml file.
Afterwards, download the Spotify Android SDK here and move the spotify-app-remote-release-x.x.x.aar file to android/app/libs/ in your project.
Then initialize the spotify playback sdk like this
@override
void initState() {
super.initState();
initConnector();
}
/// Initialize the spotify playback sdk, by calling spotifyConnect
Future<void> initConnector() async {
try {
await SpotifyPlayback.spotifyConnect(clientId: "", redirectUrl: "").then(
(connected) {
if (!mounted) return;
// If the method call is successful, update the state to reflect this change
setState(() {
_connectedToSpotify = connected;
});
}, onError: (error) {
// If the method call trows an error, print the error to see what went wrong
print(error);
});
} on PlatformException {
print('Failed to connect.');
}
}
After this you can use all the available methods
Demonstrates how to use the spotify_playback plugin.
See the example documentation for more information.
Get image accepts the following parameters:
//You can provide an image uri
SpotifyPlayback.getImage(uri: "spotify:image:3269971d34d3f17f16efc2dfa95e302cc961a36c", quality: 100, size: 360);
//Or you can provide an url returned webAPI
SpotifyPlayback.getImage(uri: SpotifyPlayback.imageLinkToURi("https://i.scdn.co/image/3269971d34d3f17f16efc2dfa95e302cc961a36c"), quality: 100, size:360);
//Theese both return a Uint8List encoded image.
//You can then use the Image.memory() to display the image
Image.memory(yourUint8ListImageHere)
See CHANGELOG.md.
Feel free to contribute by opening issues and/or pull requests. Your feedback is very welcome!
MIT License
Copyright (c) [2019] [Joran Dob] Copyright (c) [2019] [QREATE]
Selected from shared topics, language and repository description—not editorial ratings.
DSCGGV /
This is the primary repository for hosting projects under the Android/Web club.
andrepbento /
This is an experimental and NOT FINISHED full-stack project for a Pub company.
Raksh16 /
This is an Android-based Health Recommendation Application aimed at connecting users with professional health assistance. • The application encompasses features like BMI Calculator, Nutrition Plan, Exercise Recommendations, and Community platform.The application was developed using Java, Dart, and Kotlin to ensure a robust and versatile platform.
| Gets the authToken by using the redirect url, client id |
| clientId, redirectUrl |