Android technology to design a network app application management software, local use of SQLite storage application list information storage, can be online or offline can achieve the historical APP application information. You can manage the rights of local apps, delete and update them. Please write down the design ideas and techniques used.

The design process

  • The prototype design
    1. Functional structure layout
    2. Each page design
    3. Design of business logic between pages
  • UI design
    1. APP UI
    2. The background of the UI
  • The development of
    1. Server side: write interface protocol documents, set up server environment (Ali cloud service, etc.), design database and write API interface
    2. APP side: start the interface development according to the UI design drawing. After the UI development is completed, connect to the server interface, obtain data through the server defined interface, and write the functional logic code.
    3. Web side: According to the front-end business logic, the background has corresponding function matching, writing the corresponding logical code.
  • Testing and debugging
    1. During the software development and writing of APP Network application management system and after the completion, the whole black and white box test was carried out, the BUG progress status was tracked, the priority was defined, and the problem was dealt with efficiently and orderly.
  • release
    1. At least two rounds of internal and small range public testing before the application market
  • Operating iteration
    1. After the official launch, the APP will be revised or adjusted according to the market and user feedback. If the function needs to be updated, a new version will be planned
  • Daily maintenance
    1. In the normal operation of network application management software, even if it achieves steady state, it may stimulate hidden bugs, which need to be timely investigated and repaired by relevant personnel, and the daily need to keep on duty

The “Androidmanifest.xml” file in the root directory is used to declare to the Android system the required Android permissions and other conditions required to run the application.

SQLite. Is a lightweight database

  • Create a new class named MySQLiteOpenHelper and inherit it from SQLiteOpenHelper:
  • Adding constructors
  • Add data by writing a SQL statement, run execSQL(); Method, or through the Android API, encapsulates data in contentValues
  • Delete the changed data by writing a SQL statement, run execSQL(); Method or via the Android API
  • Query the data either through the rawQuery() method or through the Android API
  • Ensure that multiple statements run successfully at the same time. Otherwise. The rollback

Example Delete application rights management

  • With the Shared User ID, multiple APKs with the same User ID can be configured to run in the same process
  • To use a shared UID for an APK, you must do three steps:
    1. Add the Android :sharedUserId attribute to the Manifest node.
    2. Added the definition of LOCAL_CERTIFICATE to android.mk.
    3. Put the APK source code in packages/apps/ directory and compile it in MM
  • The application’s android. mk has a LOCAL_CERTIFICATE field that specifies which key to sign with, and defaults to testkey if not specified