kivy with very long text

42 views
Skip to first unread message

Degenerate Tech

unread,
Dec 18, 2020, 9:33:28 AM12/18/20
to Kivy users support
i have very long text more than 500 line.(getting via http request).in android phone text is not showing (Label showing black screen)...how to use very long text  with kivy ?

Pranav Balaji Pooruli

unread,
Dec 18, 2020, 11:14:06 AM12/18/20
to kivy-...@googlegroups.com
It’s probably because the long str is too much data for the phone.

On Dec 18, 2020, at 8:33 AM, Degenerate Tech <sksah...@gmail.com> wrote:

i have very long text more than 500 line.(getting via http request).in android phone text is not showing (Label showing black screen)...how to use very long text  with kivy ?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/512e311d-057a-40c2-b3cf-23b62b97cc07o%40googlegroups.com.

planckp...@gmail.com

unread,
Dec 18, 2020, 12:18:33 PM12/18/20
to Kivy users support
We can write as much text as we like to a label, it does not auto wrap, so screen size means it may not all be visible.
Since the OP reports no text, there is some other issue.
The issue is not about the length of the text.

Check that the text is actually read by requests by printing it to the logcat (along with some string that makes it easy to find)
And that INTERNET permission is set.

Pranav Balaji Pooruli

unread,
Dec 18, 2020, 12:25:12 PM12/18/20
to kivy-...@googlegroups.com
Oh yeah, you can try requesting the INTERNET permission from your app and adding it to your buildozer.spec.

--
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.

Degenerate Tech

unread,
Dec 18, 2020, 12:49:25 PM12/18/20
to Kivy users support
internet connection is ok..but  i have observed label text not showing with too many string line 

planckp...@gmail.com

unread,
Dec 18, 2020, 4:47:03 PM12/18/20
to Kivy users support
If the issue is the number of lines of text, then demonstrate this by modifying Hello World.
Do not use requests at all, just change the 'Hello World' string to some long string that matches the case you have.

(Btw, previously the issue was the length of text - which is not the same thing as lines of text as newlines change the text layout)

Degenerate Tech

unread,
Dec 19, 2020, 3:17:10 AM12/19/20
to Kivy users support
it should be many lines ...

--
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/255twNAevzo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/8ef43909-6218-4e7f-9af6-0c790d852601n%40googlegroups.com.

planckp...@gmail.com

unread,
Dec 19, 2020, 11:22:04 AM12/19/20
to Kivy users support
If you think there is an issue with Kivy Label, show a small example by modifying Hello World.
Reply all
Reply to author
Forward
0 new messages