User Tools

Site Tools


android:code_modernization

Code Modernization and NDK refresh

Tasks

Open Issues

Task Number Owner Estimate Actual Status Description Notes
1 Convert legacy dialogs to dialog fragments
1.1 SS.Dialog Fragment (DF) for OutOfMemory
1.2 SS.DF for ImageList (plan sheet tiling interface
1.3 AgtekApp.DF for DIALOG_ACTIVE_UPLOADS
1.4 AA.DF for RELEASE_KEY_DIALOG
1.5 SS.DF for DIALOG_SAME_SURFACES (move to SD/SG??)
1.6 Remove onCreateDialog etal from SS/AA
2 Permission model
2.1 bc 1.0 5.0 Open Permission Check
2.2 mja Open READ_LOG and GPS devices Access to READ_LOG no longer exists
2.3 bc Open Update target API to 25 (Nougat 7.1.1)
2.4 bc 1.0 Open Add custom Permission Activity to each app
3 Activity refactor Saved state instance
3.1 Use SD or SP, identify app state to be preserved
3.2 Write preservation, activity load - abstract model from AA/SS? Async Thread notification.
4 Activity → Fragment and/or FragmentActivity
4.1 SG activity survey to find fragment refactor candidates
5 deferred NDK modernization
5.1 deferred Recode build.gradle (AGTEK_Lib) for supported NDK build needs to be done “properly”. Current is import from Eclipse - sorta
5.2 deferred Include only required SO files for specific application Issues getting CMake to build. Linkerror when running app. (memcpy8)
5.3 bc 0.5 deferred 64 bit implementation of SO files. requires r14
5.4 bc 0.5 deferred NDK r14 try replacing current NDk with r14. fails with link error memcpy8
6 Warnings
6.1 Replace Handler with runnables
6.2 Processing class warning
6.3 Reformatting of source. ?
6.4 Diamond operator
6.5 Todo enumerate and discuss
6.6 Generic warning removal (on going)
Total
android/code_modernization.txt · Last modified: 2017/06/12 18:19 by mjallison