--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/8b05fc9f-6b2a-47bc-b3df-512dfe254bb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. I tried first to use matplotlib and eventually installed matplotlib on buildozer garden requirements, it worked fine on desktop, but couldn't manage to debug and deploy on phone. several packages, libraries were missing, I've tried to add them manually, until a point the error was more complex. I've started this app about a month ago, so I thought I had the most updated version of everything. I'll check that out.
You probably did have the most updated version of everything at the time, the matplotlib recipe was actually merged just 5 days ago!
2. I managed successfully to use web browser for url and email, at button tap from the app. The problem to launch the file, apparently, is how to save the file. On desktop i used numpy.savetx, because data contains arrays, and it was saved in the same py file directory. On the phone, the app crashes once button is tapped. Your solution sounds great I believe, once I figure how to save the file on the phone. I ended up creating a scroll view label and "pasting" the data there, all inside app. Right now, there's no way to "export" the data. Another issue was the format, I couldn't reproduce the prompt terminal shell (e.g. print output) to the label. That means the left alignment of the 2nd 3rd etc. columns are not left aligned in kivy but look good on terminal.
So what is the real question here, how to save the file or how to
view the file in another program? If you just want to save the
file, that's easier and you can use normal python mechanisms. I
don't know why your numpy call is failing, but you can debug that
with adb logcat:
https://kivy.org/doc/stable/guide/android.html#debugging-your-application-on-the-android-platform
- it's possible there is a bug with the compiled numpy, if so we
can look into that.
For printing output, make sure to use a monospaced font, that should take care of alignment.
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/CVaflFZKxD4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEqdqRK4jc%3DZkgCYhpmZ0oxa16RAZXGrcR51g0kOgkpRYw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b63bc2d9-c73c-1df1-dbba-bd13679707d6%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/8b05fc9f-6b2a-47bc-b3df-512dfe254bb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/CVaflFZKxD4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEqdqRK4jc%3DZkgCYhpmZ0oxa16RAZXGrcR51g0kOgkpRYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b63bc2d9-c73c-1df1-dbba-bd13679707d6%40gmail.com.
You need to read the logcat log just as you would read the terminal output on the desktop. If your app has actually started up before crashing (as it has here), you can pull out only the lines containing the word `python` and you should see your program's normal output including the python traceback when it crashes. You can do e.g. `adb logcat | grep python`, or read the logcat docs to see the specific syntax for this.
For matplotlib, you'll still need to update your build to use the latest python-for-android. The simplest way is to delete the .buildozer folder in your app dir and run the build again, it will re-fetch python-for-android.
About the crashes, it's little use to know that the app crashed,
you must read the traceback in the logcat. Just as on the desktop,
there will be a specific error there to follow up, e.g. it may
indicate that your ttf file is not present which would indicate
you need to add it to the list of files included in your app
(there are options for this in the buildozer.spec).
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEqQXS0NVRcyLCmzv9YXQTehTO6zKMPdqCrt%3DUfgBNbLMg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/0a6f669d-e139-05f1-f844-eed2aa6608ff%40gmail.com.
I think hostpython3 is maybe missing openssl for some reason. I'm
not sure what's going on, or what is different to my own
environment where it works fine. I've opened an issue at
https://github.com/kivy/python-for-android/issues/1859 to look
into it. I'm afraid there is no ETA for a fix right now.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEojStAfWyK_qfuPqbz_mw-jTVFZNd81gjCcJ4bDc4o%3DHg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/bbbeb116-44f0-e96e-a24f-6d5d23849baa%40gmail.com.
unknown url type: https
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/8b05fc9f-6b2a-47bc-b3df-512dfe254bb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/CVaflFZKxD4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEqdqRK4jc%3DZkgCYhpmZ0oxa16RAZXGrcR51g0kOgkpRYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b63bc2d9-c73c-1df1-dbba-bd13679707d6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/CVaflFZKxD4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEqQXS0NVRcyLCmzv9YXQTehTO6zKMPdqCrt%3DUfgBNbLMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/0a6f669d-e139-05f1-f844-eed2aa6608ff%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/CVaflFZKxD4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEz6tEojStAfWyK_qfuPqbz_mw-jTVFZNd81gjCcJ4bDc4o%3DHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.