• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Photo Buying Application Need help in concept design.

pinga1234

Lurker
Hi geeks,
This is my first post in this forum hopefully i don't break any rules here.

Here's what i m planning to develop.
An android app to buy photographs.
Users will be given points based on the their purchase plans. Once they start the app they shall see all images with watermark (much like instagram posts ) . After they click on image they will see bigger version of it with watermark again. Every image will be given certain points which will get deducted from users account whenever they download the images . when the user click on download points will be deducted from his account and image will be stored in his gallery (this will be without watermark).

Image loader that i will be using is glide .

However i m not sure about where/how to store the images .

This is something i m planning but not sure if its the best practice for such kind of app .
I will be creating a directory structure like below
-- Thumbnail image with watermark (less size)
-- Original image with watermark ( actual size)
-- Original image without watermark.(this will get downloaded when user click download button and points will be reduced from his account)
--Link of all these images are stored in sql database which will be loaded in image loader.

my questions :
1) Do i need to create thumbnail image for every image on server or let the glide manage it .(what are the pros and cons )
2) Is it okie to store the original image without watermark on my server . What if people hack the server and download all the images bypassing the app. (how do i protect it ?)
3) how about i store original images in mysql database . (will it be feasible considering the database size) never done this before so not sure if it crashes the db or make the app slow.

Looking forward to your expert guidance ..
Thanks
Android beginner .
 
You're asking quite specialised questions about the Glide library, which not so many people here would have experience with, so people reading this are unable to offer expert first hand advice.
If nobody replies here, then you may like to ask your question on StackOverflow. You may get a better response there.

http://stackoverflow.com/search?q=glide
 
Back
Top Bottom