Page 1 of 2

Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 5:30 am
by Snehal Dhruve

On one screen I have button for Camera & View Picture. User clicks on the "Camera" button it invokes the Cameraservice, clicks a picture n then I use post service to store in the Database.
When I click on View Picture it does not show up, even though i see in the backend the image is present. On page load I am running a query service to pull pictures from the DB.
But when I click one more picture using the camera service the previous image now shows up when i click on View picture but not the latest picture I would have clicked. Dont know if I should clear photo buffer or doing something wrong there. Kindly advice. Thanks


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 11:24 am
by Kateryna Grynko

Hi Snehal,

How does View Picture button works? If there is a JavaScript code added attach it here please.


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 2:18 pm
by Snehal Dhruve

I do not have a Javascript no Click of View Picture button. I just have a simple Navigate to Page option on Click event. When the page load I run a javascript
Appery('panel_31').val(''); and another event on page load is running the Query Service.


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 2:20 pm
by Snehal Dhruve

I do not have a Javascript no Click of View Picture button. I just have a simple Navigate to Page option on Click event. When the page load I run a javascript
Appery('panel_31').val(''); and another event on page load is running the Query Service.


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 2:42 pm
by Snehal Dhruve

If you want I can share my app so you can test run it and see what is the problem?


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 6:00 pm
by Maryna Brodina

Hi, yes please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 7:12 pm
by Snehal Dhruve

Shared. Let me know if you have any further questions.


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 7:20 pm
by Maryna Brodina

Thank you! Could you tell us your app name?


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 7:22 pm
by Snehal Dhruve

SnapApp


Image not adding to grid immediately once pic is clicked

Posted: Mon Jul 08, 2013 7:24 pm
by Snehal Dhruve

The Screen to look at our Welcome_Screen(Buttons present on this screen), View_Album (pictures queried and displayed here)