How we can get image from camera with fragment in kotlin? - kotlin

I search documentation and tutorial for this, but all the tutorial using activity than fragment. And when i try it, it doesn't work in fragment. Do you have any documentation, artikel, or tutorial about this? I'm trully new in kotlin. Thank you.

Related

How can I move from one fragment to another fragment on button click? (kotlin)

I’m trying to move from one fragment to another fragment on button click and I have watched tutorials on YouTube using ViewBinding to perform this action. But each time I try, it just doesn’t seem to work. I have added the “build features{
ViewBinding true “ in my Gradle (module:app) file and each time I run my app, my app crashes with the error “unknown host: ‘dl.google.com’”
PS: findViewById doesn’t work in fragments
I have spent weeks trying to figure this out. Can someone pls help me out?
Thanks in Advance
Moving from one fragment to another can be easily achieved using Navigation component.
I would suggest taking a look at this link as a starting point:
https://developer.android.com/guide/navigation/navigation-getting-started

How's is it called the fIlters with specific keywords like in Youtube app. android studio kotlin

I have a question, Using Kotlin in Android Studio. I want to make an app where you can filter through a recyclerView such as in the YouTube app.
how is this called? are there any tutorials that you know can help me? I would strongly appreciate all your help
What you are looking for is called a Chip, check this article.
Look for the Filter Chips section.

Cocos2d js dynamic light

Is there any way to use dynamic light in cocos2d js like this. I don't find any information about this, all links go only to cocos2d-x
Link
There is a tool by Codeandweb for creating cocos2d-js illuminations. I'm sure they describe how to use there output files. Though I didn't try yet.
https://www.codeandweb.com/spriteilluminator

Generating tooltips with cytoscape.js?

I'm trying to replicate the helpful tooltip feature of the old cytoscape web. Is there a way to attach a tooltip to nodes and edges in the new cytoscape.js? I've tried looking for this function, but couldn't find anything.
Thanks!
Use the Cytoscape.js qTip extension : https://github.com/cytoscape/cytoscape.js-qtip
--
Original answer:
I will be porting over some of my own code to a separate qtip interface plugin soon. In the meanwhile, you may find this code useful:
https://github.com/PathwayCommons/factoid/blob/master/lib/app/client/qtip.js

Coverflow in blackberry10

I am developing an application in blackbery10 with native SDK. And I want to show cover-flow in my application.But I didn't found component for doing cover-flow. How can I do Cover-flow in Blackberry10 through QML.
Please help me
You should use PathView element to implement cover flow like effects. Documentation here and some examples here and here
not really apple-like cover flow, but you can create image carousel like this sample: https://github.com/blackberry/Cascades-Community-Samples/tree/master/stumpers/bbjamcarousel