Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,802,856 Members 38,938 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,879
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
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,879
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
 
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,879
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
 
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,879
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
 
ScatteredHell
Old
#6  
ScatteredHell's Avatar
Senior Member - OP
Thanks Meter 530
Posts: 1,879
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
 
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,879
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
 
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,879
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Speed Up Jenkins Configuration Process with TSJ

When you are theleader of a largedevelopment project, Gerrit isn’t the only tool that … more

AutoData Regulates Your Connectivity to Save Battery Life

It’s absolutely no secret that battery life is somewhat of anundoingformany … more

Tale of the Great Recoveries

About a week ago, our fantastic writer and my esteemed colleague Tom embarked on a mission to learnthe vast and … more

How to Make Your GPS Lock Faster – XDA Developer TV

Nothing is more frustrating than opening up Google Maps and it taking way to long … more