-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.currentTimeMillis() returns a negative number #229
Comments
I've verified the error using my own java method. The good news is that it seems to affect only long values returned from java, not the ones sent as a parameter.
and calling from python
From which I get D/PLANILLA(26699): Parametro 4294967294 It's unfortunate because it's not possible to use the AlarmManager in android without working long integers. I've had a look at the code for pyjnius to try to provide a patch, but I'm afraid it's beyond my skills. |
Do you (or anyone else) know if this is still an issue? I guess it's a pyjnius problem anyway, not something to change in p4a. |
I just noticed this fetching the time value from android.location.Location - getTime() returns a negative value when calling from python. Using latest pyjnius. |
From Kivy Remote Shell
It is supposed to be a long integer
The text was updated successfully, but these errors were encountered: