-
Notifications
You must be signed in to change notification settings - Fork 431
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
after calling an plyer audio function from an accelerometer function, App crashes. #361
Comments
@Akash3194 please share the logs you see on the terminal. It would help us to see where exactly you are facing error. |
@Malverick i am converting this program into apk and running that apk file on my android phone and when i start accelerometer it it runs smoothely but when i shake my phone, instead of recording, the app crashes. How can i share logs here? |
@Akash3194 see it here. |
@Malverick , I followed these instructions but every time when i run the 6th step then in between a error pops up that says adb not found --waiting for device--. This app which i am trying to make is really important from me. please help, i am trying to find its solution from many days but failing , can u please help, will you please run the above code in your PC and find the error?? Please help me |
@Akash3194 pm me on IRC (#malverick). We can have a proper discussion there. |
@Malverick i texted you on IRC |
@Akash3194 I didn't receive it. You can contact me on my email - |
Try to use the latest release ( |
[from kivy.app import App
from kivy.lang import Builder
from kivy.clock import Clock
from plyer import accelerometer
from kivy.uix .relativelayout import RelativeLayout
from kivy.properties import ObjectProperty, NumericProperty
Builder.load_string("""
:
BoxLayout:
orientation:'vertical'
Label:
id: x_val
text: 'X:'
Label:
id: y_val
text: 'y:'
Label:
id: z_val
text: 'z:'
""")
class Accel(RelativeLayout):
class MeterApp(App):
def build(self):
return Accel()
if name=="main":
MeterApp().run()
]
well this programming is for detecting shake and acting on the command given.
When i call self.record() in accelerate() function, app crashes but when i do something else like giving comand to change labels text it dont crash.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: