Thanks! Dave and Pbop for getting back with the answers. Sorry about posting less details
*@dave* - No, I do not intend to run web2py on mobile device. Web2py would serve my application on the web as it usually does. The idea is to write another simple iOS or Android application in some tool like say what *Pbop* mentioned.( Or Python if we can and if supported!) I want to connect to my web2py web application from the mobile or PDA app. So yes - I wanna do the following - *Do you want to access a [remote] web2py server from a native app on the portable device?* * YES sort of where I will only access postgres database of the application by passing web2py app. I was researching if python could come in handy for this..* My application already works on mobile device in responsive fashion however I would want a stripped down version with a few mobile specific features added for a great user experience. *So for —- * 2) How can we access a postgres database residing on linux server for a web2py application from such an application? *To Add *- Here The application and database reside on the same linux box. Let me know on these and a couple questions I posted below. Regards, *Rahul* On Wed, 11 Sep 2019 at 2:24 PM, Dave S <snidely....@gmail.com> wrote: > > On Friday, September 6, 2019 at 4:28:30 AM UTC-7, Rahul wrote: >> >> Hey Everyone, >> I have some interesting questions (It might have been asked before) >> I want to know - >> >> 1) Whats the best way to create an Android or iOS app for web2py project? >> > > What's the goal? Do you want web2py running as a server on the portable > device? Do you want to display on the portable device pages served by a > [remote] webserver? Do you want to access a [remote] web2py server from a > native app on the portable device? > > Note that a remote web2py server using the view tools that come with it > produces pages that are mobile-friendly (er, "responsive") in the sense of > adapting to the screen size in various ways. > > >> 2) How can we access a postgres database residing on linux server for a >> web2py application from such an application? >> > > Can't answer this one without knowing more about what #1 means. A quick > note that a remote web2py server could be running on the linux server with > the database, or on a separate server, just as for any "normal" web2py > installation. > > >> 3) Can we use python to write such apps? >> > > See above. I think I've seen mention of native python on mobile devices, > but perhaps not included in any of the development tools for the device. > > >> 4) Has anyone written any apps that do the above successfully? >> >> >> Rahul >> > > > Good luck! > > /dps > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/33bOyQHDtfM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/76f02897-1f23-4503-919e-3df81cfee1eb%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/76f02897-1f23-4503-919e-3df81cfee1eb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CA%2B6uMjejg-MR-ORJi2qURH-26WH-DeVhqmQn6jsaq0Q%2B8mAbTQ%40mail.gmail.com.