A comprehensive Android development framework that provides advanced neural engine capabilities with multi-project development environment support, built with modern Android technologies including Jetpack Compose.
- Neural Engine Integration: Advanced AI/ML capabilities for Android applications
- Multi-Project Environment: Manage and navigate between multiple development projects
- Session Management: Remember and restore your last working state
- Modern UI: Built with Jetpack Compose for reactive and declarative UI
- Comprehensive Dependencies: Includes media processing, PDF generation, payment integration, and more
- Secure Data: SQLCipher integration for encrypted database operations
- Android Studio: Arctic Fox (2020.3.1) or later
- Kotlin: 1.9.10 or later
- Android API Level: 26 (Android 8.0) or higher
- Gradle: 7.0 or later
- Java: 11 or later
Run this command in your Android project root directory:
mkdir -p app/libs && curl -L -o app/libs/NeuralEngine.aar https://github.com/skynetbee/AndroidNeuralEngine/releases/download/v1.0.1/NeuralEngine.aar- Download the latest AAR file from the releases page
- Create a
libsfolder in yourappdirectory if it doesn't exist - Copy the
NeuralEngine.aarfile toapp/libs/
Add the following to your settings.gradle (Project level):
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
flatDir {
dirs("app/libs")
}
}
}Add to your build.gradle.kts (Module level):
// Apply the AndroidNeuralEngine configuration
apply(from = uri("https://raw.githubusercontent.com/skynetbee/AndroidNeuralEngine/main/build.gradle"))Ensure your build.gradle.kts (Module level) includes:
android {
compileSdk 34
defaultConfig {
minSdk 26 // Required for AndroidNeuralEngine
targetSdk 34
// ... other configurations
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.8"
}
}In your MainActivity.kt, set up the development environment:
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.ui.Modifier
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
YourAppTheme {
Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colors.background
) {
DevEnv(
project1 = Pair("Dashboard") { DashboardScreen() },
project2 = Pair("Analytics") { AnalyticsScreen() },
project3 = Pair("Settings") { SettingsScreen() },
project4 = Pair("Profile") { ProfileScreen() },
project5 = Pair("Notifications") { NotificationsScreen() },
project6 = Pair("Reports") { ReportsScreen() },
project7 = Pair("Tools") { ToolsScreen() },
project8 = Pair("Help") { HelpScreen() },
project9 = Pair("Debug") { DebugScreen() },
project10 = Pair("Testing") { TestingScreen() },
workAround = Pair("Workaround") { WorkAroundScreen() },
yourPakage = "com.yourcompany.yourapp" // Replace with your package
)
}
}
}
}
}To enable session restoration, add this to your screens:
@Composable
fun DashboardScreen() {
LastWorkedOn("Dashboard") // Remembers this screen as last visited
// Your screen content here
Column {
Text(
text = "Dashboard",
style = MaterialTheme.typography.h4
)
// ... rest of your UI
}
}The AndroidNeuralEngine includes a comprehensive set of modern Android libraries:
- Jetpack Compose: Modern declarative UI toolkit
- Navigation Compose: Type-safe navigation
- Material Design: Google's design system
- Media3: Advanced media playback capabilities
- SQLCipher: Encrypted database operations
- Coil: Efficient image loading
- Lottie: Beautiful animations
- OkHttp: Robust networking
- Apache POI: Excel file generation
- iText PDF: PDF document creation
- RazorPay: Payment processing
- RxJava: Reactive programming
To update to the latest version:
curl -L -o app/libs/NeuralEngine.aar https://github.com/skynetbee/AndroidNeuralEngine/releases/download/v1.0.1/NeuralEngine.aar- Build Errors: Ensure minimum SDK is set to 26
- Dependency Conflicts: Check for duplicate dependencies in your build.gradle
- Compose Issues: Verify Compose BOM version compatibility
- Permission Errors: Add required permissions to AndroidManifest.xml
If using code obfuscation, add these rules to your proguard-rules.pro:
# Keep AndroidNeuralEngine classes
-keep class com.skynetbee.neuralengine.** { *; }
# Keep Compose classes
-keep class androidx.compose.** { *; }
# Keep other dependencies as needed
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
- Built with modern Android development best practices
- Powered by Jetpack Compose
- Community feedback and contributions
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: [email protected]
Made with β€οΈ by SkynetBee