We have no knowledge of mobile applications. We need to convert a basic web-based database management application in Laravel into a mobile application. Is there a way to do it without having mobile application developers. The application has the following views 1. Form 2. Edit form 2. All forms 3. Users 4. Edit Users There are two user type - Admin and data entry operator
-
2You can load the your website URL into the web view of android app and it will works – Suraj Bahadur Nov 08 '19 at 11:22
-
Will it work offline also. If yes, can you tell me or share a link on how to do it – Rishab Saklani Nov 08 '19 at 11:31
-
1Let me wrap it up. Its not possible. – Chintan Soni Nov 08 '19 at 11:32
-
@ChintanSoni not even through web view? Does any web view app works offline? – Rishab Saklani Nov 08 '19 at 11:37
-
1Webview is just like any web browser. You can load any url if network connection is available. But it can't work offline. – Chintan Soni Nov 08 '19 at 11:38
-
It's not like webview cannot work offline, maybe in this case it can't because access to the database is needed. [WebView load website when online, load local file when offline](https://stackoverflow.com/questions/14670638/webview-load-website-when-online-load-local-file-when-offline). – Ricardo A. Nov 08 '19 at 11:58
1 Answers
Yes, you can do it using webview. Start a project in android studio, create a class extending from Activity, a xml layout file in res/layout, and take a look on your AndroidManifest file in the manifests folder.
It will look more or less like this:
The image also shows you the basic structure of the activity, though you don't really need the onCreateOptionsMenu part. Now to make the webview put this in the xml:
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
And call it on your onCreate method like the one shown in the image:
WebView myWebView = (WebView) findViewById(R.id.webview);
myWebView.loadUrl("http://www.example.com"); //change the link to your
In your manifest add permission for the application to use internet:
<manifest ... >
<uses-permission android:name="android.permission.INTERNET" />
...
</manifest>
If you want to make your webview work offline you could use webview cache.
But since it is a database managing application, you probably will need to make a full app, and for that you will need an mobile developer. But you could use other approaches, like using xamarin, ionic or other transpilers, though that will still require learning, it is easier for programmers of other areas to adapt, then maybe you could avoid hiring a mobile programmer.

- 685
- 2
- 8
- 35