FORUMS

OnePlus 2 Announced: Specs, Price and Details

The OnePlus 2 has just had its Virtual Reality Launch event, and at the XDA Office we all … more

A Helpful Guide to Music Streaming Services

With the launch of Apple Music, music streaming services have recently gained a lot of … more

An Inside Look at the Redesign of Business Calendar

The much-acclaimed calendar app, Business Calendar, underwent a major design … more

New Android One Device Dead On Arrival

Today, Google announced the second generation of Android One devices, with the new Lava Pixel … more

[DLL]Only For Mono-Droid Developers

1,885 posts
Thanks Meter: 535
 
By ScatteredHell, Senior Member on 23rd August 2013, 04:31 AM
Post Reply Subscribe to Thread Email Thread
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!


MultiShellLatest.zip
Permission Manager.zip
Last edited by ScatteredHell; 9th December 2013 at 01:05 PM.
The Following 3 Users Say Thank You to ScatteredHell For This Useful Post: [ View ]
 
 
23rd August 2013, 08:01 AM |#2  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
--------------
Last edited by ScatteredHell; 25th August 2013 at 02:44 PM.
23rd August 2013, 04:00 PM |#3  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
----------------
Last edited by ScatteredHell; 25th August 2013 at 02:45 PM.
27th August 2013, 05:40 AM |#4  
nikwen's Avatar
Recognized Contributor
Thanks Meter: 1,569
 
More
Hey, cool.

(This "limited to 8 thanks a day"... )
The Following User Says Thank You to nikwen For This Useful Post: [ View ]
27th August 2013, 06:01 AM |#5  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
Quote:
Originally Posted by nikwen

Hey, cool.

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

Lol...thanks man :beer:

Sent from my SonyX8 using Tapatalk 2
Last edited by ScatteredHell; 27th August 2013 at 12:45 PM.
31st August 2013, 10:24 AM |#6  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
Next version will be updated soon.
There will be more few features with installing apks in background.

Sent from my SonyX8 using Tapatalk 2
26th September 2013, 05:06 PM |#7  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
.................
Last edited by ScatteredHell; 15th October 2013 at 12:16 PM.
7th December 2013, 03:39 AM |#8  
Junior Member
Flag Brasov
Thanks Meter: 6
 
More
thank you, very nice tool to have
9th December 2013, 08:05 AM |#9  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 535
 
More
Quote:
Originally Posted by WarBorg

thank you, very nice tool to have

Hi, thanks for trying it. I will release a new version soon with some new features.

Sent from my E15 using xda app-developers app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes