battle programmers alliance

battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» java eclipse oxygen grimoire
Yesterday at 9:38 pm by Admin

» java concept input output class
Yesterday at 7:21 pm by Admin

» JAVA design patterns
Mon Feb 19, 2018 1:09 pm by Admin

» vb.net morse class coder + decoder
Sat Feb 17, 2018 11:20 am by Admin

» auto programming dev
Mon Feb 12, 2018 7:54 am by Moti Barski

» java brute force counter
Mon Feb 12, 2018 5:02 am by Moti Barski

» java class with learnability exampled with simple car class
Sat Feb 10, 2018 12:55 am by Moti Barski

» polymorphism in JAVA eclipse
Wed Jan 31, 2018 9:20 pm by Admin

» vb.net megazord string outputter
Tue Jan 09, 2018 7:11 pm by Admin

February 2018
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728   
CalendarCalendar
Social bookmarking
Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of battle programmers alliance on your social bookmarking website
Share | 
 

 xamarin visual studio C# MGTOW app APK

Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 92
Join date : 2011-08-01

PostSubject: xamarin visual studio C# MGTOW app APK   Mon Oct 23, 2017 6:49 pm

Code:
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Media;
using Android.Graphics;

namespace MGTOW
{
    [Activity(Label = "MGTOW", MainLauncher = true, Icon = "@drawable/MGTOW")]
    public class MainActivity : Activity
    {
        bool x = true;

        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);
           
            MediaPlayer _myPlayer = MediaPlayer.Create(this, Resource.Raw.zimbabue);
            _myPlayer.Looping = true;
         

            _myPlayer.Start(); // to start song
            Button button = FindViewById<Button>(Resource.Id.MyButton);
           
            button.Click += delegate {
                if (x)
                {
                    http://_myPlayer.Pause();
                    _myPlayer.Stop();
                    _myPlayer.Prepare();
                    x = false;
                    button.Text = "play";
                }
                else
                {
                    _myPlayer.Start();
                    x = true;
                    button.Text = "pause";
                }
                };
        }
    }
}

see book :
https://yotamarker.justforum.net/t122-xamarin-c-2017-grimoir-the-book
for beginner information.

_________________
kurayami no kagi  _____    
Back to top Go down
View user profile https://yotamarker.justforum.net
Admin
Admin
avatar

Posts : 92
Join date : 2011-08-01

PostSubject: Re: xamarin visual studio C# MGTOW app APK   Mon Oct 23, 2017 7:01 pm



bwahaha!

_________________
kurayami no kagi  _____    
Back to top Go down
View user profile https://yotamarker.justforum.net
Admin
Admin
avatar

Posts : 92
Join date : 2011-08-01

PostSubject: Re: xamarin visual studio C# MGTOW app APK   Mon Oct 23, 2017 7:04 pm


_________________
kurayami no kagi  _____    
Back to top Go down
View user profile https://yotamarker.justforum.net
 
xamarin visual studio C# MGTOW app APK
Back to top 
Page 1 of 1
 Similar topics
-
» Setting Up Webdriver in Visual Studio
» making a selenium framework in eclipse(java environment). previously used visual studio.
» c# webdriver - Data Driven : DataSource attribute error - Connecting Automation with MTM
» Visual aura seems to be repeating over and over...this is new!
» Yet another new visual aura

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: