On 19/01/2012 16:04, Roger Kelly wrote:
> Android 2.2, Android 3.0
>
> On Thu, Jan 19, 2012 at 5:14 AM, Mathieu Virbel <m...@kivy.org
> <mailto:m...@kivy.org>> wrote:
>
> Which platform ?
>
>
> On 19/01/2012 04:10, loraxman wrote:
>
> I am using this in the showcase app to test out basic urllib. Why
> does it fail with this error?
>
>
> def show_standard_buttons(self):
> col = BoxLayout(spacing=10)
> col.add_widget(Button(text='__Hello world'))
> col.add_widget(Button(text='__Hello world', state='down'))
> urllib2.urlopen("http://www.__yahoo.com
I would recommend you do this.....
def show_standard_button(self):
col=BoxLayout(cols=1,spacing=10)
col.add_widget(Button(text='hello world'))
col.add_widget(Button(text='Hello world', state='down', on_press=self.opening))
return col
def opening (self):
urllib2.urlopen("http://www.yahoo.com")
--
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+unsubscribe@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/fc59552c-b25e-4e9e-9e42-cade5c7e1257%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kivy.network.urlrequest.
UrlRequest
" to do the http-opreations instead of "urllib" or "requests" library in kivy. 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/fc59552c-b25e-4e9e-9e42-cade5c7e1257%40googlegroups.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-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/CANPXmks9gp2wYEDrbPC4KqMvmsbFT7e%2BrAoNfagcBNOViUEhjA%40mail.gmail.com.