Reputation: 280
I am making an application in which when the user will start the application a random image will be displayed(all this images will be along with this app). please help me how to get through it?
Upvotes: 1
Views: 1129
Reputation: 125650
You should include that images into the solution (make sure that they are marker as 'Copy if newer' or 'Copy always'). That make the images are copied into xap file and moved to the user device when he install the application.
The randomization process is quite simple: use Random class to generate random integer and depending on that integer choose one of the photos.
Upvotes: 0
Reputation: 89169
pseudocode
Upvotes: 1