Articles

Final UI in progress

Image
In the final version of Sugarizer Developement Tool, there will be only 2 views : - Devices - Gestion Instruction In device you can : - Drag and Drop APK / SPK - Flash a SPK to the device connected - See devices connected - Install the droped APK to the device connected In Gestion Instruction you can : - Create Instruction - Modify Instruction I'am currently working on the Device view, it's almost finish : On the left it's the list of SPK, they are stock in a spks/ directory. On the right it's the list of device connected.

New UI

Image
We came slowly to the final UI, we started by the view Devices (listing of devices). But we have removed other view like install apk, pushing file, etc... Those view will now be on the DeviceView with a menu on the left or with the right click : Then we have put an "Drop Zone", this is for the zip file that we have created on the view Create Instruction. So we can easily load an archive and execute it form the main view. So the bottom menu is : - Device - Create Instruction - Load Instruction (Gona be removed, now on Device) - Settings (Don't know if it's gona be useful) And maybe add : - Synchronisation This view will be for synchronize musics, videos or documents from multiple directories on your computer into the devices. So if you have new file to put, just put it on the right respository, plug the device and it will be synchronize. I don't know if it will be very useful for the teacher, any idea ?
Image
So, since last week, some changed have been made : - The is link with some informations (Progress, Number device connected, etc...) - New instruction have been added - Device details window added The follwing video will show those update, there is some work to do to improve some feature, but that's in a good way. I have added an activity too the android app, too see X and Y, for the input instruction. Automatically open when an input is added to the instruction.

Loading Instruction + Design

Image
Last week, I worked on : - Changing design - Loading Instruction The menu is not finish, the loading and the number are not updated.

Create Instruction

Image
Last week, I have been working on the Creation of Instruction. This party is to create a bunch of action in an order (like Installation of APK, Pushing file, ...). That will create an archive with all the apk, file and a json file instruction. So like that the archive can be shared. Description:

Application Manager and MVP

Image
So, in this week I will improve the Application Manager. It's currently install all apk from a directory on all device. Making some option like : - Choose on which device we want to install it - Choose which apk from a directory we want to install - Maybe more with the time, like a list of application to uninstall ? The screen look like : It's really lite right now. And I changed the architecture of the project with a MVP, so the repository look like : NameContract : it's where we define all the method in the Presenter and the View NameView : the view NamePresenter : the logic of the view related And that about it.

Device View + Android Application

Image
So in this acticle, we will talk about the "Device View", the primary view of the Sugarizer Deployment Tool. The device are detected in real time when there are connected to the computer and follow the steps below : Step 1 - New device detected Step 2 - Check if device has the Sugarizer Deployment Tool App Step 2.1 - If not install the app Step 3 - Start the application Step 4 - Ping device to which one is it Video detail : Actually in the video we can see that when we press "PING", the UI freeze. It's because the task is not done in the background. That the primary thing to fix for the next time. Next, with a task Gradle we can build an archive with the app and the differents dependencies needed for the app to work. Actually not tested : launch it on every OS (Windows & MACOS works).