• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

How to get preview of the image during browsing

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I'm working on an Android app using OpenCV library. In this I want to see the image on browsing with the confirmation dialogue box. I'm attaching the image.
In this image, with the dialogue box I want to see the selected image also. How can I do this?
I read some posts regarding this but I didn't get exactly how to do this, so I'm posting it again.
Please help!
Screenshot_2015-12-11-01-03-04.png
[Thumbnail for Screenshot_2015-12-11-01-03-04.png]
 
Bartender
Posts: 1210
25
Android Python PHP C++ Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you asking how to show an image in that confirmation dialog?
If so, you need a custom layout for the dialog as explained in the dialog guide.
 
Pallavi Vaish
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Karthik Shiraly wrote:Are you asking how to show an image in that confirmation dialog?
If so, you need a custom layout for the dialog as explained in the dialog guide.



I want to show the same image that is selected (eg. n1.jpg in snapshot attached) on browsing, with the dialogue box shown, so as to make sure that one has selected the correct image(as required in app).
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it mandatory to use the third party open cv lib?
 
Pallavi Vaish
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Swastik Dey wrote:Is it mandatory to use the third party open cv lib?



Actually the algorithm that I have implemented that requires OpenCV library.
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic