Open War for Open Android: Antitrust for Cyanogen?

Android and openness is something we talk about all the time, but the recent … more

What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have … more

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the … more

New Cyanogen Partnerships Bring Privacy Concerns

New Privacy concerns have emerged regarding Cyanogen’s latest announcements, … more
Post Reply Subscribe to Thread Email Thread

[DLL]Only For Mono-Droid Developers

23rd August 2013, 04:31 AM |#1  
ScatteredHell's Avatar
OP Senior Member
Flag Colombo
Thanks Meter: 532
 
1,885 posts
Join Date:Joined: Jul 2012
More
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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,524
 
3,021 posts
Join Date:Joined: Feb 2013
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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: 5
 
24 posts
Join Date:Joined: Dec 2013
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: 532
 
1,885 posts
Join Date:Joined: Jul 2012
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