I am working on some android application and want to add Sign up functionality for users.
Users are expected to sign up using google+ or Facebook. Any idea how to do this using python and kivy?
This link is great, but need a little help from python developers.
You could. The webdebugger tool in kivy uses flask to serve a web interface for debugging. So it's certainly possible, but whether it's the best choice is another question. Kivy is really built for native, hardware accelerated GUI apps, not being a web server...
Packaging your application for the Kivy Launcher¶Go on Google Play Store and search for Kivy Launcher from kivy org. Click on Install. Select your phone… And you're done!
If you're a Python developer thinking about getting started with mobile development, then the Kivy framework is your best bet. With Kivy, you can develop platform-independent applications that compile for iOS, Android, Windows, MacOS, and Linux.
The link in your question shows how to call the Google Play Services API to sign in. To call the API from Python, you need to use a library called Pyjnius which is mentioned on the Kivy docs to wrap the Android classes in a Python class.
You should be able to do something similar with the Facebook API after installing the Facebook SDK for Android. Some users have found problems integrating these SDKs into their Kivy projects, with some discussion and solutions here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With