User Tools

Site Tools


android:code_modernization

This is an old revision of the document!


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 NDK modernization
5.1 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 64 bit implementation of SO files. requires r14
5.4 bc 0.5 NDK r14 try replacing current NDk with r14
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
Total
android/code_modernization.1495818243.txt.gz · Last modified: 2017/05/26 17:04 by bill_coggins