Respected
i am new to yii. Want to know that can we open yii application in webview(android mobile device), I Have an Yii Application and want to open it in mobile webview.
thanks in advance
The WebView in Android simply displays webpages. It has nothing to do with the server side script, as it will only receive the output from the webserver. Yii is a MVC based PHP framework.
Related
I designed and programmed web application like the website but has more processing in the admin page...
after that the customers ask me to convert it to the application , So, can I convert it traditional by any online website to application converter which takes the link of the website and converts it to .apk
are this method is correct?? or it has a bad effect in futures when the number of users is increased???
Note:- the web program or site that I build it is programmed in PHP in backend and HTML, CSS, javascript and bootstrap in front end
can anyone help and advise me pLz???
There is no such thing as website to apk converter unfortunately.
You have to build the android application separately.
You can use your PHP models with CURL to call as API from Android.
This article can help:
click
or
You can build Android app only containing webviews and you can call each webpage in different webviews.
Click here for help for working with webviews in android.
I've got a book I bought online - O'Reilly's Building Android Apps with HTML, CSS and JavaScript. The idea is that you can use these 3 to create a website that can be converted to an Android app by using a Java conversion tool.
Hopefully someone will be familiar with this, and hopefully this is possible - if I have a website that is already created that also includes PHP, could this be used for the app?
I've created PHP sites before, and the one I'm specifically looking at is referencing a MySQL database, hence my need to use PHP for the app. The website is heavily based on PHP.
No you can't (Unless you created your own framework which runs a local php server inside of the device which can be accessed by a webview). Php is a server side language. Html and JavaScript are client side. These html app creation frameworks use the webview to run apps. Be careful as there are performance issues when running through webview as it is not a native app (projects like crosswalk help but still many issues). Popular frameworks include ionic (Angularjs), titanium (is mostly native but from my experience limiting), and appgyver (Angularjs).
Yes you can! If by "converting" the website to app you mean displaying the website in a chromeless view mode (without address bar).
If you wan't to use phonegap / cordova you can still use the existing PHP code as backend for the database (Maybe rewrite it into a Restful API).
If you want your app to run natively and without internet connection, then you are out of luck though.
I am using an Phonegap Application which will open webapp link inside the browser.
I need to detect whether the webapp is accessed from Mobile app or from inappbrowser in PhoneGap Application.
Much Appreciated,
I'm planned to develop a mobile application using android as front end and JOOMLA as a back-end. Don't know how to connect with android. Could any one help me with this?? I had searched in many sites but couldn't get solution. http://www.helloandroid.com/tutorials/connecting-mysql-database.
http://forum.joomla.org/viewtopic.php?t=428656.
Please reply asap..
You will have to write a service layer in your CMS. Then data which are required for the android app will be exposed as a data service from your Joomla CMS. Please check the link for more info.
How to write a REST API?
Hi I have recently began to build mobile open cart sites for mobile browsers. I would like to take it a step further and build native apps using phonegap. My question is , does phonegap support a structure like opencart? Are php files supported?
Would it be possible for me to build a fully functioning opencart site and integrate it successfully with phonegap?
There is very little information online regarding this question.
A Phonegap app cannot contain any server side scripting like PHP. It can only contains HTML, css and Javascript.
But you can always do request to a remote server that runs PHP.
Opencart has quite a few ajax interfaces in various parts of the app. These call controllers that deliver sections of a page usually. I have not looked into the full remote API to know if you can build a full shop app that uses the opencart backend.
If you look down that ajax calls path you may find enough functionality to produce the phonegap app.