APP Mobile - WebView - Android

DANIEL BRITO Posted in Component Development 3 hours ago

Android WebView Template for OSSN

Android WebView Template is an open-source Android application designed to transform an existing OSSN (Open Source Social Network) installation into a native mobile application using Android WebView.

This project provides a quick and efficient way for OSSN administrators and developers to publish their social network on Android devices without the need to develop a mobile application from scratch.

FEATURES

  • Native Android application based on WebView
  • Direct integration with OSSN websites
  • HTTPS support
  • Pull-to-refresh functionality
  • File upload support
  • External link handling
  • Full-screen video support
  • Custom splash screen
  • Easy branding customization
  • Open-source project under MIT License

REQUIREMENTS

Server Requirements:

  • OSSN 8.0 or higher
  • HTTPS enabled
  • Responsive OSSN theme

Development Requirements:

  • Android Studio Hedgehog or newer
  • Android SDK 34+
  • Java 17
  • Gradle 8+

INSTALLATION

  1. Clone the Repository

git clone https://github.com/DanielGBrito/android-webview-open-template.git

  1. Open the Project

Open the project in Android Studio.

  1. Configure Your OSSN URL

Locate the WebView configuration and replace the default URL with your OSSN instance URL.

Example:
https://community.example.com

  1. Customize the Application

You can customize:

  • Application name
  • Application icon
  • Splash screen
  • Package name
  • Theme colors
  1. Build the Application

Generate a signed APK or App Bundle using Android Studio.

Alternatively:

./gradlew assembleRelease

USAGE

After installation, users can access the OSSN platform directly through an Android application while maintaining all OSSN functionalities.

Supported OSSN features include:

  • User registration and login
  • News feed
  • Messaging
  • Groups
  • Photos and media
  • Notifications
  • Custom OSSN components
  • Third-party OSSN extensions

ADVANTAGES

  • Fast deployment
  • Minimal configuration required
  • No mobile development experience needed
  • Easy maintenance
  • Compatible with existing OSSN installations
  • Fully customizable source code

SOURCE CODE

Repository:
https://github.com/DanielGBrito/android-webview-open-template

LICENSE

This project is distributed under the MIT License.

Contributions, bug reports, feature requests, and pull requests are welcome.

Replies