How sency-ai/smkit-ui-android-demo works
Main Components
a) Client Application Layer:
• MainActivity (Entry point)
• MainViewModel (MVVM architecture component)
• XML Layouts (UI components)
b) SMKitUI SDK Integration Layer:
• Configuration Component
• Camera Integration
• Assessment Module
• Custom Workout Module
c) External Services:
• Sency Artifactory Repository
• Authentication Service (for UI Key validation)
• [User Interface Layer]
• ↓
• [Application Layer]
• ↓
• [SMKitUI SDK Layer]
• ↓
• [External Services Layer]
Component Relationships
a) User Interface Flow:
• MainActivity ←→ MainViewModel
• ↓
• SMKitUI Configuration
• ↓
• Camera Integration
• ↓
• Assessment/Custom Workout Features
b) Dependencies Flow:
• App Build System → Sency Artifactory
• SMKitUI Config → Authentication Service
Important Elements to Highlight
• Permission Requirements:
• Camera access
• Hardware features (camera, autofocus)
• Configuration Flow:
• UI Key validation
• Success/Failure callbacks
• SDK Version Constraints:
• Minimum SDK version 26
• Portrait orientation requirement
Technical Details
• SDK Version: 0.2.4
• Minimum Android SDK: 26
• Key Dependencies
• Required Permissions
Implementation Notes
Annotations for critical implementation points:
• Configuration must be called at app launch
• Portrait orientation requirement
• Camera permission handling
• Error handling pathways