How make loading video view in seekbar - loading

1-How to make loading video view in seekbar (online) like this
[1]: https://i.stack.imgur.com/vnNag.jpg

Related

NativeScript: Overlay transparent PNG frame in camera view and save the picture with the frame effect

I need to take a picture with a frame effect.
Can I preview camera image with the transparent PNG and later save the image?
Thanks!
Use nativescript-camera-plus plugin to add preview within your app, style it around with your frame.
Once the picture is taken, use nativescript-bitmap-factory to create a new image that combines your frame and the actual image form camera.

Best way for progress & activity bars on Android: GIF or code?

I'm an 2D animator and am new to Android development. I have one idea about creating animated stocks for Android, but what's the best way to create a progress and activity bar, GIF or code?
Using GIF images you have no limits. A lot of animation and effects
using are code, and you have custom control of everything.
So, what's the best? Is it a good idea to use GIF images?

Image Loader Google volley

Is it possible to find whether the image is loaded into the Imageview in Google volley .
I have a ListView that has a ImageView in each list item. And need to show a progress indicator until image is loaded to view in each cell.
I was thinking also about some kind of progress indicator, but when I tested it volley is so quickly that for small images that has no sense to have any loader - I have more then 1000 items in listview without any problem. I guess that to have progress indicator in each imageView would make more troubbles when scrolling

how to set the IKImageBrowserView with variable cell sizes?

I am developing a tool which will allows the user to import the video clips and make the movie from those video clips.
To represent the imported video clips i have created the IKImageBrowserView and add the frameimage of the videoclip as a Thumbnail image. up to here everything is working.
But now i wanted to display the thumbnail image size based on the video clip duration. i.e each and every thumbnail image have the different size based on the duration. (i wanted to show the thumbnail image width going to be changed based on the duration of the video clip.
If i use [imageBrowser setCellSize:];then it will affect all the thumbnail sizes. but i wanted to apply different size for each and every thumbnail.
Can anybody help me to solve this problem?
if IKImageBrowserView is not the best suitable for my problem then please suggest me the best control to solve my problem.
The best solution will be implementing your own IKImageBrowserCell subclass for your custom IKImageBrowserView
First of all, you need to subclass the IKImageBrowserView and override newCellForRepresentedItem:
In this method, return an instance of your own subclass of IKImageBrowserCell.
In your subclass of IKImageBrowserCell, override the following methods to modify the layout dynamically based on the represented video clip:
(To retrive the video clip data model which should conform to the informal protocol, IKImageBrowserItem, use -[IKImageBrowserCell representedItem])
- (NSRect) imageContainerFrame;
- (NSRect) imageFrame;
- (NSRect) selectionFrame;
- (NSRect) titleFrame;
- (NSRect) subtitleFrame;
- (NSImageAlignment) imageAlignment;
There is also a demo project on ADC which can be found at
http://developer.apple.com/library/mac/#/legacy/library/samplecode/ImageKitDemo/Introduction/Intro.html

Resizing image view and movie player controller in xcode when orientation changes

In my app i have an image view in one view controller and a movie player in other view controller.Now i want to display the image or movie in both mode i.e in portrait mode and in landscape mode .How can i define frame for each and how do i notify it when the view changes its position from one to other.
Thanks,
Christy
MPMoviePlayerController.view.frame = CGRectMake(20,20,280,440);
imageView.frame = CGRectMake(0,0,320,480);
and image in UIImageView in center have transparent background
this is for iPhone
Checkout the documentation for UIViewController and look at the Responding to View Rotation Events Methods like: - willRotateToInterfaceOrientation:duration: You can put your code for setting the new frame sizes in those functions along with any notification functions you want. player.view.frame = CGRectMake(x,y,w,h);

Resources