Nureddin Akpinar
Posts: 0
Joined: Sat May 24, 2014 12:04 pm

save picture

Hello

I'm changing the pictures of the components

Image

Press back when I come back the picture disappears

Image

What do you have to make sure you don't lose the image

I'm using the following code for each component:

var array = ["mevcut.png", "yok.png", "yemekci.png", "nobetci.png", "izinli.png", "hasta.png", "bos.png1399409886286"];
var fileId = parseInt(localStorage.getItem("bir")) || 0 ;
if (fileId === (array.length - 1,2,3,4,5,6,7)){
fileId = 0;
}
Apperyio("mobileimage_410_822").attr("src", Appery.getImagePath(array[fileId]));
localStorage.setItem("bir",fileId+ 1);

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

save picture

Hi Nureddin.

It's hard to say what is wrong in in your app with information you have gave us.

So please give us your app public link and describe steps to reproduce your problem.

Regards

Return to “Issues”