Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

App for accessing Camera

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am developing a app in which I have used Pagerview with three fragments in it.And it one of the fragments will show the camera from the phone.I was trying to implement this using CameraX lib.The data which I am getting there in the documentation of android studio are in Kotlin languages .I am developing my app in Java language.So I am not able to understand thing in Kotlin.If anyone of the member of coderanch community have anything related to my app requirement in java language then please do share here. Thanks in advance.
 
Saloon Keeper
Posts: 5573
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you be more specific about you're stuck with? What you described could lead to multiple directions. TellTheDetails
 
priyanshi bhardwaj
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just need some link(of anybodies blog ) or any sample application so that I can understand how to use CameraX  lib with my application?
Meanwhile please do tell me,
In documentation it is mentioned we will bind viewfinder,preview and image analysis with lifecycle. In my application I am just want to open camera take a pic and store it in my gallery as well as in my db(path of that pic).So what all I need to bind with lifecycle.
 
priyanshi bhardwaj
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:Can you be more specific about you're stuck with? What you described could lead to multiple directions. TellTheDetails


or maybe you can convert this piece of kotlin code to java

Or tell me what is this actually doing.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!