[web2py] Re: Python for Android (any takers to run web2py)

2012-09-16 Thread Web2py Mostly Newbie
I think they're running web2py on an android device in this video 
(apparently one of Massimo's colleagues):

http://pyvideo.org/video/1246/some-experiences-with-python-for-android-py4a

-- 





[web2py] Re: Python for Android (any takers to run web2py)

2012-09-13 Thread luckysmack
Has anyone made any progress with this? I had a conversation with someone 
on irc.freenode #kivy . it seems like it could be possible to do. but maybe 
out of the scope of web2py? :


*luckysmack *   would kivy work with something like web2py, which 
has dynamic module loading?
*luckysmack *   or would that break it? or does it even matter?
+*tito* luckysmack: you can run web2py in a thread, and 
then, it's seperated
*luckysmack*tito: can you elaborate on doing that some?
+*tito* luckysmack: check the webdebugger module, i'm 
doing it :)
+*tito* it's just, web2py have its own event loop, kivy 
too.
+*tito* if you run in the same thread, who is the 
'master' and controling the other ? etc.
+*tito* with thread seperation, web2py can access to kivy 
with the kivy.clock (never touch to widget from another thread)
+*tito* 
https://github.com/kivy/kivy/blob/master/kivy/modules/webdebugger.py
*luckysmack*ok, so they would run separate, and just talk to 
eachother? so web2py would just talk to kivy's thread over kivy.clock to 
build the gui? sorry but im new to kivy as well. so i dont know it well yet.
+*tito* that's right, you got it :)
*luckysmack*ok looking
*luckysmack*so would all the views, be pulled from kivy? or 
would you use kivy to render the view from web2py?
+*tito* uh, i don't know what you really want with 
web2py, and i don't know the framework
+*tito* so dunno about the view
*luckysmack*the views are just the html templates that get 
shown to a user on the web.
+*tito* and so, what's the matter with kivy?
*luckysmack*im just curious where the separation would be, 
with the standard html templates, and using kivy. would i just have 
something like a web view, and say a mobile view? where the movie ones 
would use kivy?
+*tito* ooh ok. we don't have crossplatform webview.
+*tito* so you can't do that with kivy.
+*tito* webkit port into kivy is not easy, and we did it 
only for linux right now, with kivy-berkelium
+*tito* but that's all.
*luckysmack*yes. i would assume those to be separate. if on 
the web, i would simply use the html templates and not touch kivy. but when 
bundled on the phone for example, i wouldnt bundle the html views, but the 
kivy stuff. im just not sure how i would attack that.
+*tito* you're the first one to attack the problem on 
this manner :)
+*tito* i guess you could have the same 'controller / 
model' base, and have different app with different view?
+*tito* or, you could give me money to continue 
kivy-html5 :)
+*tito* as i wrote few weeks ago on twitter: 
https://twitter.com/mathieuvirbel/status/227809079823847424





On Sunday, January 8, 2012 6:08:09 PM UTC-8, rochacbruno wrote:

 Look this project

 https://github.com/kivy/python-for-android

 May be someone has time to spend trying to run web2py with this.


 -- 

 Bruno Rocha
 [http://rochacbruno.com.br]



-- 





[web2py] Re: Python for Android (any takers to run web2py)

2012-01-21 Thread JoeCodeswell
Dear Plumo,

Here's my use case(s). Easily developing single user GUI apps with
HTML as the GUI framework and the easily programmable Python back end
of web2py being able to access Android System Resources outside the
sandbox.

I would REALLY like it if there could be an Binary Executable
Packaging of web2py for Android similar to that which exists for
Windows (.exe) and Mac (.app).

I am VERY excited to watch the progress of this thread.

On Jan 9, 6:34 pm, Plumo richar...@gmail.com wrote:
 what is the use case for running a web framework on your Android phone?


[web2py] Re: Python for Android (any takers to run web2py)

2012-01-21 Thread Massimo Di Pierro
+1

On Jan 21, 11:57 am, JoeCodeswell joecodesw...@gmail.com wrote:
 Dear Plumo,

 Here's my use case(s). Easily developing single user GUI apps with
 HTML as the GUI framework and the easily programmable Python back end
 of web2py being able to access Android System Resources outside the
 sandbox.

 I would REALLY like it if there could be an Binary Executable
 Packaging of web2py for Android similar to that which exists for
 Windows (.exe) and Mac (.app).

 I am VERY excited to watch the progress of this thread.

 On Jan 9, 6:34 pm, Plumo richar...@gmail.com wrote:







  what is the use case for running a web framework on your Android phone?


[web2py] Re: Python for Android (any takers to run web2py)

2012-01-21 Thread Changju
AirDroid is a good example.
https://market.android.com/details?id=com.sand.airdroidfeature=search_resulthl=en


On Jan 10, 11:34 am, Plumo richar...@gmail.com wrote:
 what is the use case for running a web framework on your Android phone?


[web2py] Re: Python for Android (any takers to run web2py)

2012-01-09 Thread Massimo Di Pierro
would python-for-android make it possible to create and apk?

On Jan 9, 2:23 am, Angelo Compagnucci angelo.compagnu...@gmail.com
wrote:
 I'll try as soon as possible!

 I've previously used sl4a + python and web2py works flawlessy, but it a bit
 difficult to setup, it cannot be done by a newbie like installing an apk!

 2012/1/9 Marco Mansilla thebigsho...@gmail.com

  El Mon, 9 Jan 2012 00:08:09 -0200
  Bruno Rocha rochacbr...@gmail.com escribió:

   Look this project

  https://github.com/kivy/python-for-android

   May be someone has time to spend trying to run web2py with this.

  here's a little more info, looks nice

 http://txzone.net/2012/01/introducing-python-for-android/

 --
 Profile:http://it.linkedin.com/in/compagnucciangelo


Re: [web2py] Re: Python for Android (any takers to run web2py)

2012-01-09 Thread Angelo Compagnucci
From my understanding, it could be possible to make an apk complete with
python, libraries and web2py.

I'm setting up a dev env!

2012/1/9 Massimo Di Pierro massimo.dipie...@gmail.com

 would python-for-android make it possible to create and apk?

 On Jan 9, 2:23 am, Angelo Compagnucci angelo.compagnu...@gmail.com
 wrote:
  I'll try as soon as possible!
 
  I've previously used sl4a + python and web2py works flawlessy, but it a
 bit
  difficult to setup, it cannot be done by a newbie like installing an apk!
 
  2012/1/9 Marco Mansilla thebigsho...@gmail.com
 
   El Mon, 9 Jan 2012 00:08:09 -0200
   Bruno Rocha rochacbr...@gmail.com escribió:
 
Look this project
 
   https://github.com/kivy/python-for-android
 
May be someone has time to spend trying to run web2py with this.
 
   here's a little more info, looks nice
 
  http://txzone.net/2012/01/introducing-python-for-android/
 
  --
  Profile:http://it.linkedin.com/in/compagnucciangelo




-- 
Profile: http://it.linkedin.com/in/compagnucciangelo


[web2py] Re: Python for Android (any takers to run web2py)

2012-01-09 Thread Plumo
what is the use case for running a web framework on your Android phone?