[DLL]Only For Mono-Droid Developers

Search This thread

ScatteredHell

Senior Member
Jul 4, 2012
1,965
539
28
Colombo
Hey everyone, since we develop apps on Mono Android, I thought that if there were something that will easily help us to execute the commands. So I'm wrote a DLL which will be useful for anyone, though this will reduce a little bit of time while you developing apps.


Second Releasing:- Get Date
Get Time
Get a List of Files and Folders in a specific path
Previous Commands attached.

PS:- Fixed the Root Permissions. Now only Some Commands will require Root Permissions.

Initial Version:- Mount/Un-Mount System as RW/RO.
Set Permissions - Through this you can Set permissions to the files easily. -- SU cmd
Play Boot Animation - Show your BootAnime without rebooting your Device.
Reboot - Won't work on every rom. You must have reboot in your /system/bin/ -- SU cmd
UpTime - How much long the phone was Turned On Since The Last boot.



Example of Usings:-
Code:
    [Activity(Label = "Testings", MainLauncher = true, Icon = "@drawable/icon")]
    public class Activity1 : Activity
    {
        int count = 1;

        MultiShell.ShellCmds shellCmds = new ShellCmds();

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

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Get our button from the layout resource,
            // and attach an event to it
            Button button = FindViewById(Resource.Id.MyButton);
            button.Click += button_Click;

            TextView textView = FindViewById(Resource.Id.textView1);
            textView.Text = cmdsShell.GetListofFilesnFolders("/system/bin/");  //Get a list of folders/files in a specific path.
            
            textView.Text = cmdsShell.GetDate(); //Gets the date as a string.

            cmdsShell.SetPermissions("0644","/system/etc/hw_config.sh");
            
        }


Download MultiShellLatest.zip and Extract it then use the MultiShell.dll to program.

I Hope you will enjoy my work. Suggestions are Welcome.

HappY COding!


View attachment MultiShellLatest.zip
View attachment 2207630
 
Last edited:

ScatteredHell

Senior Member
Jul 4, 2012
1,965
539
28
Colombo
Next version will be updated soon.
There will be more few features with installing apks in background.

Sent from my SonyX8 using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hey everyone, since we develop apps on Mono Android, I thought that if there were something that will easily help us to execute the commands. So I'm wrote a DLL which will be useful for anyone, though this will reduce a little bit of time while you developing apps.


    Second Releasing:- Get Date
    Get Time
    Get a List of Files and Folders in a specific path
    Previous Commands attached.

    PS:- Fixed the Root Permissions. Now only Some Commands will require Root Permissions.

    Initial Version:- Mount/Un-Mount System as RW/RO.
    Set Permissions - Through this you can Set permissions to the files easily. -- SU cmd
    Play Boot Animation - Show your BootAnime without rebooting your Device.
    Reboot - Won't work on every rom. You must have reboot in your /system/bin/ -- SU cmd
    UpTime - How much long the phone was Turned On Since The Last boot.



    Example of Usings:-
    Code:
        [Activity(Label = "Testings", MainLauncher = true, Icon = "@drawable/icon")]
        public class Activity1 : Activity
        {
            int count = 1;
    
            MultiShell.ShellCmds shellCmds = new ShellCmds();
    
            protected override void OnCreate(Bundle bundle)
            {
                base.OnCreate(bundle);
    
                // Set our view from the "main" layout resource
                SetContentView(Resource.Layout.Main);
    
                // Get our button from the layout resource,
                // and attach an event to it
                Button button = FindViewById(Resource.Id.MyButton);
                button.Click += button_Click;
    
                TextView textView = FindViewById(Resource.Id.textView1);
                textView.Text = cmdsShell.GetListofFilesnFolders("/system/bin/");  //Get a list of folders/files in a specific path.
                
                textView.Text = cmdsShell.GetDate(); //Gets the date as a string.
    
                cmdsShell.SetPermissions("0644","/system/etc/hw_config.sh");
                
            }


    Download MultiShellLatest.zip and Extract it then use the MultiShell.dll to program.

    I Hope you will enjoy my work. Suggestions are Welcome.

    HappY COding!


    View attachment MultiShellLatest.zip
    View attachment 2207630
    1
    Hey, cool. :good:

    (This "limited to 8 thanks a day"... :laugh:)