Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,243 Members 51,829 Now Online
XDA Developers Android and Mobile Development Forum

[DLL]Only For Mono-Droid Developers

Tip us?
 
ScatteredHell
Old
(Last edited by ScatteredHell; 9th December 2013 at 01:05 PM.)
#1  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
Default [DLL]Only For Mono-Droid Developers

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
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
The Following 3 Users Say Thank You to ScatteredHell For This Useful Post: [ Click to Expand ]
 
ScatteredHell
Old
(Last edited by ScatteredHell; 25th August 2013 at 02:44 PM.)
#2  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
--------------
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
 
ScatteredHell
Old
(Last edited by ScatteredHell; 25th August 2013 at 02:45 PM.)
#3  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
----------------
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
 
ScatteredHell
Old
(Last edited by ScatteredHell; 27th August 2013 at 12:45 PM.)
#5  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
Quote:
Originally Posted by nikwen View Post
Hey, cool.

(This "limited to 8 thanks a day"... )
Lol...thanks man :beer:

Sent from my SonyX8 using Tapatalk 2
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
 
ScatteredHell
Old
#6  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: 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
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
 
ScatteredHell
Old
(Last edited by ScatteredHell; 15th October 2013 at 12:16 PM.)
#7  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
.................
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer
 
WarBorg
Old
#8  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Dec 2013
thank you, very nice tool to have
 
ScatteredHell
Old
#9  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,872
Join Date: Jul 2012
Location: Colombo
Quote:
Originally Posted by WarBorg View Post
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
"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA

 
Are you a COD MW3 Player? Tired With play with Hackers on TG & 4D1?
Join with us, No Cheaters can Compete Project Tiger Killer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more

Calc+ is a Smart and Beautiful Android Calculator

As we’ve said inthe past, there are quite a few calculators available on Android. … more

Get Better Debug Data with Crash Report SDK

Developing an application is a hard and often times ungratifying task. It also requires quite a … more

Navigate to Your Favorite Places with LocationDetector

If you’re enjoying an active way of life, you probablytravel a lot, go fishing, … more