Introduction
Appsudo framework is a lightweight, cross-platform application development framework that allows developers to create beautiful, responsive mini apps with minimal effort. Using Python for logic and XML for layouts, Appsudo provides a simple yet powerful way to build applications.
Write Once, Run Anywhere
Build applications that run consistently across multiple platforms.
Intuitive Styling
Style components using an XML-like syntax that's easy to learn and use.
Powerful Components
Access a rich library of UI components to build sophisticated interfaces.
Development Environment Setup
Follow these steps to set up your development environment for Appsudo mini app development.
Step 1: Install Visual Studio Code
Download and install Visual Studio Code, the recommended IDE for Appsudo development.
Download VS CodeStep 2: Setup Android Development Environment
Windows Setup
- Download and install Android Studio.
- Ensure Android SDK and Android Emulator are included during installation.
- Set environment variables:
Right-click 'This PC' > Properties > Advanced system settings > Environment Variables.ANDROID_SDK_ROOT=C:\Users\YourUsername\AppData\Local\Android\Sdk PATH=%PATH%;%ANDROID_SDK_ROOT%\platform-tools;%ANDROID_SDK_ROOT%\emulator - Verify:
adb --version emulator -help
Step 3: Install Appsudo Extension
- Open VS Code.
- Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X).
- Search for "Appsudo App Runner" and click Install.
Step 4: Running Your First App
- Open your Appsudo project in VS Code.
- Press Ctrl+Shift+P (or Cmd+Shift+P) for Command Palette.
- Type "Appsudo" and select "Appsudo App Runner".
- Select your target device.
Appsudo App Structure
Appsudo mini apps follow a specific directory structure. Understanding this is key for development.
PROJECT EXPLORER
Key Components
- app.py: Main application entry point.
- data/: JSON files for data loading.
- view/: ASXML files for UI layouts.
- style/: ASCSS files for styling.
- res/: Resource files (images, etc.).
- metadata.json: App metadata.
- secrets.json: App secret.
Components
Appsudo provides a rich library of UI components.
Examples
Learn Appsudo through practical examples.
Appsudo CSS Framework
Style components easily with an XML-like syntax or separate ASCSS files.
Supported Attributes
background
Sets the background of an element (e.g., color string like "#FF0000" or a resource path like "res/images/bg.png").
background-color
Sets the background color of an element (e.g., "#RRGGBB", "#AARRGGBB").
border-radius
Defines the radius of element corners (e.g., "5dp").
border-color
Sets the color of element borders (e.g., "#0000FF").
border-width
Defines the width of element borders (e.g., "1dp").
border-style
Sets the style of element borders (e.g., "solid", "dash", "line").
font-color
Defines the color of text within an element (e.g., "#333333").
font-size
Sets the size of text within an element (e.g., "16sp", "14dp").
alignment
Positions content within an element (e.g., "center", "left", "right", "top", "bottom", "center_vertical", "center_horizontal").
width
Sets the width of an element (e.g., "fill", "wrap", "100dp", "50%").
height
Sets the height of an element (e.g., "fill", "wrap", "200dp", "25%").
margin
Sets the outer spacing on all sides (e.g., "10dp").
margin-left / -right / -top / -bottom
Sets specific margin for one side (e.g., "5dp").
padding
Sets the inner spacing on all sides (e.g., "15dp").
padding-left / -right / -top / -bottom
Sets specific padding for one side (e.g., "8dp").
enabled
Determines if an element is interactive ("true" or "false").
Core Features
Appsudo provides powerful core features for robust applications.
App & Component Marketplace
Discover and share reusable Appsudo apps and components built by the community.
More to Come!
Our marketplace is growing. We're working on bringing you even more exciting apps and components.
Interested in contributing? Learn more about submission guidelines (coming soon).