Flutter imager_picker and camera package issue - flutter

Excuse me
"startVideoRecording();" in "camera"
Is there a similar code for "image_picker"?
I want to design an app that can automatically start recording after receiving a message.
But "image_picker" doesn't seem to have a similar code.
Or is there another easier way to do it?
Thanks
I try to use "Camera" to make a similar App,
But I finally think "image_picker" is better to use.

Related

Having an issue where the on-screen stick component on unity doesnt get dragged anymore

I was working on a game of mine, and the stick was working initially, but on the latest compile, the stick doesn't move anymore, I cant say it it isn't getting clicked or there is an issue with the component, I'm fairly new to unity, please help!
Found the solution myself, I had accidentally Changed the action asset in the event system to a non default one that didn't have the button interactions.

Flutter: Turn off screen when phone close to face

I'm doing calling feature in Flutter and I need to know whether user wants to listen with earpeace and turn off the screen, set audio output to earpeace. Is there a sensor to know if phone is close to face/ear to turn off the screen ?
I was able to know with this plugin proximity_sensor
The only package that worked and actually turned off the screen on proximity is the flutter_incall package like this:
IncallManager().turnScreenOff();
IncallManager().turnScreenOn();
The problem is that this package is so old and missing so many modern flutter updates like null-safety and Android embedding 2.0.
I tried using wakelock as many suggested, but the functionality is different from what I am looking for.

How to implement bi-directional scroll in a Flutter app?

Is there any way I can make a screen scroll in multiple directions smoothly? It would be really helpful if someone who has already done it would share how. I've tried using the plugin - https://pub.dev/packages/bidirectional_scroll_view#-analysis-tab-
but it doesn't work smoothly, and is quite slow.
Read the issue at https://github.com/toufikzitouni/flutter-bidirectional_scrollview_plugin/issues/4
It recommends to add Silvers as the plugin is not implementing recycler.

ios zxing with front or rear camera

Im using ZXing, is working fine on my new app, but i would like to integrate the option of front or rear camera,
so far the only reference to this i've found is on the google group
But is not very clear what they mean with that,
so any pointers on what i have to do to accomplish this?
thanks !
ZXWidgetController doesn't provide that functionality and it's not really set up to make it easy to change.
The code that needs to change is in - (void)initCapture. It calls [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]. This returns the default camera and you don't want the defalt.
You need code similar to that in - (ZXCaptureDevice*)device in ZXCapture.mm. That code won't work out of the box (it's designed to work with both AVFF and QTKit) but it's the same idea. Instead of using the default video input device, go through the devices and look at device position to find the device you want.
Be nice to port that code to the widget but that hasn't happened at this point.

iPad flip-clock with Core Animation

I'm trying to make the flip-clock animation, I find this tutorial very interesting
http://www.voyce.com/index.php/2010/04/10/creating-an-ipad-flip-clock-with-core-animation/
but I still can't make it work.
If someone did it and could share is experience or even the code source that will be really nice.
Thanks,
P.S: if you have other tutorial link please share them.
What, exactly, do you need help on?
At the moment, there is some sample code available at Google Code:
http://code.google.com/p/idharmaclock/source/browse/trunk/LostoClock/Classes/LostoClockViewController.m?spec=svn2&r=2
Referenced from:
http://www.iphonedevsdk.com/forum/tutorial-requests/52329-flip-clock-animation-tutorial.html
check this out:
Flip Transform
I actually made a small framework out of the tutorial. Check:
https://github.com/jaydee3/JDFlipNumberView
It contains two main classes:
JDFlipNumberView (animated digits)
JDDateCountdownFlipView (a date countdown, just init with a date, set a frame and there you go.)
In any case, you just need to do three steps:
Init the class
Set a target value (or a date)
Start the animation
I don't know if you can use this but who knows. There's a HTC hero theme for the iPhone, installable on jailbroken iPhones. This is not at all interesting, except for one feature of the theme. It has the flipclock. This theme shows the time on the homescreen exactly like you want. You can download the sourcecode of the theme here. You might have to dig into the code but the flipclock is there somewhere!
Good luck and I hope you'll be able to make your application work like a charm!