A method for updating pictures in an Android native application by using a caching framework and a timestamp
A native application, timestamp technology, applied in the field of mobile applications, can solve problems such as insufficient experience and untimely updates
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The content of the present invention is described in more detail below:
[0017] Its specific implementation is exemplified as follows:
[0018] 1. Introduce ImageLoader into the project.
[0019] compile
[0020] 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
[0021] 2. Initialize the configuration of ImageLoader in MyApplication
[0022]
[0023] 3. Encapsulate ImageLoader management class
[0024] 4. Get updates with lastQueryTime.
[0025] apiService.getContactUserList(contactUserLastQuetyTime);
[0026] 5. The server side checks whether there is any update content between the last update and this update, and returns the update record if there is.
[0027] 6. Update lastQueryTime after receiving the update and store it in the database
[0028] 7. Assemble the address for accessing the picture, splice the picture address and lastQueryTime, put lastQueryTime behind the picture address, and get a combined address of the picture address and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

