@@ -5,7 +5,8 @@ Accessing Android APIs
55When writing an Android application you may want to access the normal
66Android APIs, which are available in Java. It is by calling these that
77you would normally accomplish everything from vibration, to opening
8- other applications, to accessing sensor data.
8+ other applications, to accessing sensor data, to controlling settings
9+ like screen orientation and wakelocks.
910
1011These APIs can be accessed from Python to perform all of these tasks
1112and many more. This is made possible by the `Pyjnius
@@ -28,9 +29,9 @@ Using Pyjnius
2829-------------
2930
3031Pyjnius lets you call the Android API directly from Python; this let's
31- you do everything you can (and probably would) do in a Java app, from
32- vibration, to starting other applications, to getting sensor data, to
33- controlling settings like screen orientation and wakelocks .
32+ you do almost everything you can (and probably would) do in a Java
33+ app. Pyjnius is works by dynamically wrapping Java classes, so you
34+ don't have to wait for any particular feature to be pre-supported .
3435
3536You can include Pyjnius in your APKs by adding the `pyjnius ` or
3637`pyjniussdl2 ` recipes to your build requirements (the former works
@@ -91,7 +92,9 @@ platform-specific APIs. Android is a supported platform, but it also
9192supports iOS and desktop operating systems, with the idea that the
9293same Plyer code would do the right thing on any of them, though Plyer
9394is a work in progress and not all platforms support all Plyer calls
94- yet.
95+ yet. This is the disadvantage of Plyer, it does not support all APIs
96+ yet, but you can always Pyjnius to call anything that is currently
97+ missing.
9598
9699You can include Plyer in your APKs by adding the `Plyer ` recipe to
97100your build requirements. It is not included automatically.
0 commit comments