How to indicate images in android gallery -
using application uploaded images server, next time while open application , trying select images using same application, how can indicate uploaded images?
the easiest way creating local database , adding flags uploaded contents.
the database schema this,
now each time upload content, make following queries,
if content name exists in database file_name & is_uploaded status = true, file uploaded.
else, create new record file in database , upload.
if have list of images show if uploaded, run , loop , change uploaded indicator based on database is_uploaded flag.
Comments
Post a Comment