• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

imrankst1221/Android-WebView-in-Kotlin: Native Android WebView Example in Kotlin ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

imrankst1221/Android-WebView-in-Kotlin

开源软件地址(OpenSource Url):

https://github.com/imrankst1221/Android-WebView-in-Kotlin

开源编程语言(OpenSource Language):

Kotlin 94.1%

开源软件介绍(OpenSource Introduction):

Android WebView Example with Kotlin. Website to Native Android App Template.

Description

An Android WebView developed in Kotlin . This project will help to develop responsive website to Android app. This project is open source so if you want to contribute contact me.

What is Android web view? Android web view is web-based content which came from “android.webkit” library. The concept of web view is its load offline or online webpage.

Online web view: If you have a website which is responsive and runs well on the mobile browser then using web view you can develop android or ios app. Which load the URL and fill like Android app.

Offline web view: If you want to load the webpage in offline then the logic keeps the file in your asset folder and load the offline page. But in that case, you can’t use the server database and can’t update the app without publishing.

Native app vs cross-platform web view app? Web view app possible to develop in both platform. Both app main concept is the same.

Native APP: Native app is official to provide a platform. Android official platform is Android studio which uses Java or Kotlin language. Because of it’s official so the resource is available and you get some advantage of using it.

Cross-platform: Cross app is an unofficial platform. Xamarin & flutter one of them. The benefit is you get Android and iOS both app from one platform. But the resource is limited some time it’s paid. From my experience I suggest must use Native app because of it’s official and in future if you need to add anything then easy to integrate.

Is it possible to change web view UI? The web view is loading your website. So all it’s show that you have on your website. Not possible to change anything inside the web view. But if you can change the app color, add multiple pages, use AdMob, firebase, one signal notification, etc.

How to use it? Just set your website url on MainActivity.kt as URL.

internal var URL = "https://www.infixsoft.com/"

Here is the video tutorial: https://youtu.be/c5AlbZKKsUk


Get Android Development with Kotlin Book: https://amzn.to/35ZA3ab


+++++++ . . . . . +++++++ . . . . . +++++++ . . . . . +++++++

RocketWeb is the pro version of the webview, where availabe multiple color control and theme, see live example:
https://play.google.com/store/apps/details?id=infix.imrankst1221.rocket.web
InfixSoft

For better experience and customiation use RocketWeb:
https://codecanyon.net/item/rocketweb-android-web-app-solution-webtoapp/22985174
InfixSoft

Contact with me

InfixSoft Add me to Linkedin Facebook Facebook Facebook
  • Buy me a Coffee. ☕️




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap