Wrap a python program( Bottle.py app) to android

154 views
Skip to first unread message

Bijoy AK

unread,
Oct 23, 2015, 3:14:24 PM10/23/15
to Kivy users support
Hello, i need to wrap a python webapp to Android, what i want is a webview and run the webapp in it. should i write bootstrap for that ? i have no clue how to do that, and also i don't know how to add bottle.py to the app. Anybody can help me ? 

Alexander Taylor

unread,
Oct 23, 2015, 7:54:00 PM10/23/15
to Kivy users support
Yes, this needs a new bootstrap that creates a webview frontend but starts the python in the background (not sure about the details of this). Since this doesn't already exist, there's no real alternative to learning about python-for-android and the android java api, and writing the code yourself. However, there should be no major difficulties beyond this, python-for-android should support all the necessary component things.

Bijoy AK

unread,
Oct 24, 2015, 5:25:10 AM10/24/15
to kivy-...@googlegroups.com
can you point some source code that i can read and ignite myself ? i am no hard core python developer :'(

--
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/YNR9xPvI2tE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexander Taylor

unread,
Oct 24, 2015, 6:41:19 AM10/24/15
to kivy-...@googlegroups.com
You need to read the python-for-android source code and see how the
current bootstraps and java backend work. I'm afraid that there is no
easy tutorial for this stuff.

You can also keep an eye out for someone else doing it - I might try
myself at some point.

On 24/10/15 10:25, Bijoy AK wrote:
> can you point some source code that i can read and ignite myself ? i am
> no hard core python developer :'(
>
> On Sat, Oct 24, 2015 at 5:24 AM, Alexander Taylor
> <alexander...@gmail.com <mailto:alexander...@gmail.com>>
> wrote:
>
> Yes, this needs a new bootstrap that creates a webview frontend but
> starts the python in the background (not sure about the details of
> this). Since this doesn't already exist, there's no real alternative
> to learning about python-for-android and the android java api, and
> writing the code yourself. However, there should be no major
> difficulties beyond this, python-for-android should support all the
> necessary component things.
>
>
> On Friday, 23 October 2015 20:14:24 UTC+1, Bijoy AK wrote:
>
> Hello, i need to wrap a python webapp to Android, what i want is
> a webview and run the webapp in it. should i write bootstrap for
> that ? i have no clue how to do that, and also i don't know how
> to add bottle.py to the app. Anybody can help me ?
>
> --
> 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/YNR9xPvI2tE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> kivy-users+...@googlegroups.com
> <mailto:kivy-users+...@googlegroups.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/YNR9xPvI2tE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> kivy-users+...@googlegroups.com
> <mailto:kivy-users+...@googlegroups.com>.
signature.asc
Reply all
Reply to author
Forward
0 new messages