Convert a small iOS code to Android £20-250 GBP Veröffentlicht vor mehr als 11 Jahren
£20-250 GBP Bezahlt bei Lieferung
Hi I'm creating an android app and I was looking to convert the code below in to android.
- (void)playVideo{
//Hide Tab Bar
[self hideTabBar:[login to view URL]];
//If You Want to Hide/Show Navigation Bar Also
[[login to view URL] setNavigationBarHidden: YES animated:NO];
CGRect screenRect = [[UIScreen mainScreen] bounds];
CGFloat screenWidth = [login to view URL];
CGFloat screenHeight = [login to view URL];
NSString* moviePath = [[NSBundle mainBundle] pathForResource:@"vid" ofType:@"mp4"];
NSURL* movieURL = [NSURL fileURLWithPath:moviePath];
//
backView = [[UIView alloc] initWithFrame: CGRectMake ( 0, 0, screenWidth, screenHeight)];
[login to view URL] = [UIColor blackColor];
[[login to view URL] addSubview:backView];
//
playerCtrl = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
[login to view URL] = MPMovieScalingModeAspectFill;
[login to view URL] = MPMovieControlStyleNone;
[login to view URL] = CGRectMake(0, 0, screenHeight/2, screenWidth/2);
[login to view URL] = [UIColor blackColor];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(moviePlayBackDidFinish:)
name:MPMoviePlayerPlaybackDidFinishNotification object:nil];
[[login to view URL] setCenter:CGPointMake(screenWidth / 2, screenHeight / 2)];
// [[login to view URL] setFrame:CGRectMake(0, 0, screenWidth , screenHeight )];
//[[login to view URL] setTransform:CGAffineTransformMakeRotation(-M_PI/2)];
[[login to view URL] addSubview:[login to view URL]];
[playerCtrl play];
// [[login to view URL] addSubview:[login to view URL]];
NSLog(@"called stared video");
}
-(void) moviePlayBackDidFinish:(id)sender{
//sleep(1);
NSLog(@"called finished video");
[backView removeFromSuperview];
[[login to view URL] removeFromSuperview];
//Show Tab Bar
[self showTabBar:[login to view URL]];
//If You Want to Hide/Show Navigation Bar Also
[[login to view URL] setNavigationBarHidden: NO animated:YES];
}
Projekt-ID: 4136753
Über das Projekt 15 Vorschläge
Remote Projekt
Aktiv vor 11 Jahren
Möchten Sie etwas Geld verdienen? E-Mail-Adresse Für ähnliche Stellen bewerben Vorteile einer Ausschreibung auf Freelancer Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
15 Freelancer bieten im Durchschnitt £179 GBP für diesen Auftrag
Dear sir ! Please check your pm !
£100 GBP in 1 Tag
5,0 (106 Bewertungen) £250 GBP in 5 Tagen
4,9 (65 Bewertungen) Hello Respected Client,
I have Read your requirements and we are very experience in this concept.
Please check Message Board for more details.
Thank you !
£300 GBP in 7 Tagen
4,7 (23 Bewertungen) Hello,
Thank you for the opportunity to bid on your project. I sent my proposal in a private message.
-Rick
£150 GBP in 5 Tagen
5,0 (17 Bewertungen) £20 GBP in 1 Tag
5,0 (7 Bewertungen) Hi,
Please check PM.
Thanks
£200 GBP in 1 Tag
5,0 (6 Bewertungen) Hello Respected Client,
I have Read your requirements and we are very experience in this concept.
please check Message Board for more details.
Thanks
£150 GBP in 3 Tagen
4,6 (14 Bewertungen) Expertise in Mobile Application Development. I can start the Project immediately. Please check PM. Waiting for your reply..
£200 GBP in 3 Tagen
5,0 (6 Bewertungen) Hi,Lets complete it asap.
£160 GBP in 3 Tagen
4,8 (7 Bewertungen) Hey , Thanks for posting. gone through with the requirement and we understood. check your private message board for detail proposal. Thanks.
£200 GBP in 5 Tagen
5,0 (9 Bewertungen) Hi
please check your inbox
Thanks
£250 GBP in 25 Tagen
5,0 (6 Bewertungen) ********************
Hi.
Dear, No Problem.
Please check your PMB.
Thanks.
**********************
£250 GBP in 2 Tagen
0,0 (0 Bewertungen) Hello..i have 3+yrs exp on android and iPhone..so let me know when we ll start this project..?
£80 GBP in 1 Tag
0,0 (1 Bewertung)