Comments (13)
Could you describe what you did in more detail? Running the code seems to work fine for me:
I/python ( 5315): Starting audio thread
I/python ( 5315): Initialize Python for Android
I/python ( 5315): ['/data/data/org.test.gps/files/lib/python2.7/site-packages', '/data/data/org.test.gps/files/lib/site-python']
I/python ( 5315): Android path ['/data/data/org.test.gps/files/lib/python27.zip', '/data/data/org.test.gps/files/lib/python2.7', '/data/data/org.test.gps/files/lib/python2.7/lib-dynload', '/data/data/org.test.gps/files/lib/python2.7/site-packages', '/data/data/org.test.gps/files']
I/python ( 5315): Android kivy bootstrap done. __name__ is __main__
I/python ( 5315): Run user program, change dir and execute main.py
I/python ( 5315): Python for android ended.
from plyer.
Did you run this on Android? That could be the problem, as I think that
there problems running this on Windows.
On Thu, Mar 13, 2014 at 4:09 PM, trivedigaurav [email protected]:
Could describe what you did in more detail? Running the code seems to work
fine for me:I/python ( 5315): Starting audio thread
I/python ( 5315): Initialize Python for Android
I/python ( 5315): ['/data/data/org.test.gps/files/lib/python2.7/site-packages', '/data/data/org.test.gps/files/lib/site-python']
I/python ( 5315): Android path ['/data/data/org.test.gps/files/lib/python27.zip', '/data/data/org.test.gps/files/lib/python2.7', '/data/data/org.test.gps/files/lib/python2.7/lib-dynload', '/data/data/org.test.gps/files/lib/python2.7/site-packages', '/data/data/org.test.gps/files']
I/python ( 5315): Android kivy bootstrap done. name is main
I/python ( 5315): Run user program, change dir and execute main.py
I/python ( 5315): Python for android ended.Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-37580467
.
Benjamin Ward, Period 7 Psycho
from plyer.
At this point the GPS facade is only available for Android. It will raise a NotImplemented Error on all other platforms.
from plyer.
It is running on Android, as you can see in the logcat output.
I used the latest (master) python-for-android, which in turn pulled the latest pyjnius I believe. Android version is 4.4.2.
from plyer.
What device and version of Android are you using?
On Mar 13, 2014 10:26 PM, "lipi" [email protected] wrote:
It is running on Android, as you can see in the logcat output.
I used the latest (master) python-for-android, which in turn pulled the
latest pyjnius I believe.Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-37610071
.
from plyer.
Nexus 4 and Android 4.4.2 Python-for-andorid was built on Ubuntu 12.04, using NDK r9c and SDK 19.
Will try to reproduce it with different SDK level on different host and phone.
from plyer.
Although I have not yet been able to reproduce the issue, it seems to be a Pyjnius issue and not necessarily specific to the GPS example. It occurs when calling the constructor to the PythonJavaClass
. Here is another such reported issue on 4.4.2: kivy/pyjnius#92
from plyer.
Thanks for the tip, the example works after switching the runtime back to Dalvik.
I am closing this issue as it seems to be a duplicate of kivy/pyjnius#92
from plyer.
I am having trouble running the gps example in plyer.. I runned it but it is stuck with getting Click start to get GPS location updates. I runned it in kivy luncher with plyer and buildozer inside. can u please provide a screeshot of what should be seen after running the application and provide a clear step by step of running properly this program. PLease..............
from plyer.
I don't think Kivy Launcher has the Android permissions necessary to use
the GPS. You should compile an APK using buildozer and install it to your
device. Putting buildozer in your project does nothing.
On Fri, Feb 13, 2015 at 4:16 AM, iamryanmoreno [email protected]
wrote:
I am having trouble running the gps example in plyer.. I runned it but it
is stuck with getting Click start to get GPS location updates. I runned it
in kivy luncher with plyer and buildozer inside. can u please provide a
screeshot of what should be seen after running the application and provide
a clear step by step of running properly this program. PLease..............β
Reply to this email directly or view it on GitHub
#40 (comment).
Ben Rousch
[email protected]
http://clusterbleep.net/
from plyer.
can i get an apk of the plyer example for gps? i will install it in my phone because I am really curious about this python program?
from plyer.
why is that when i runned the other examples, its working in my kivy launcher only that of gps is not. can someone provide another library for accessing gps in kivy?
from plyer.
hello, glad , download the GPS example plyer https://github.com/kivy/plyer/tree/master/examples/gps but for android in buildozer compile the application does not start when installed on my device with android 4.4.4 Error throws me NotImplementedError. thanks
from plyer.
Related Issues (20)
- iOS17 uniqueid TypeError
- Persistent notification HOT 1
- macOS: AttributeError: 'NoneType' object has no attribute 'setDelegate_' HOT 1
- Support mail address is broken HOT 1
- Remove references to distutils HOT 2
- Document platform-specific installation options. HOT 1
- notification.notify() fails druing .setDelegate_() method HOT 3
- New PyPI release, please HOT 3
- local variable 'values' referenced before assignment
- Foreground Service Notification Error HOT 4
- Is There A Way To Close The FileChooser Without User Interaction? HOT 1
- please replace `mock` by `unittest.mock` HOT 2
- Notification customization feature: notification window title isnβt working properly. HOT 1
- Icon tray icons not dispearing after notification has been dismissed HOT 1
- Mac OS battery status HOT 7
- audio gives error OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF on windows HOT 1
- How do I read gyroscope data on android? HOT 1
- Plyer GPS object not working HOT 4
- Update import usage to comply with correct function signature HOT 1
- WiFi function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plyer.