Skip to content

Commit

Permalink
Rename package and artifact id
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Rummler committed May 6, 2017
1 parent 7d32ceb commit 8160ba1
Show file tree
Hide file tree
Showing 27 changed files with 341 additions and 290 deletions.
16 changes: 8 additions & 8 deletions README.md
@@ -1,20 +1,20 @@
# Android Shell

<img src="https://github.com/jrummyapps/android-shell/blob/master/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" align="left" hspace="10" vspace="10"></a>
<img src="https://github.com/jaredrummler/android-shell/blob/master/demo/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" align="left" hspace="10" vspace="10"></a>

Execute shell commands on Android.

<a target="_blank" href="https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#GINGERBREAD"><img src="https://img.shields.io/badge/API-9%2B-blue.svg?style=flat" alt="API" /></a>
<a target="_blank" href="LICENSE"><img src="http://img.shields.io/:license-apache-blue.svg" alt="License" /></a>
<a target="_blank" href="https://maven-badges.herokuapp.com/maven-central/com.jrummyapps/android-shell"><img src="https://maven-badges.herokuapp.com/maven-central/com.jrummyapps/android-shell/badge.svg" alt="Maven Central" /></a>
<a target="_blank" href="http://www.methodscount.com/?lib=com.jrummyapps%3Aandroid-shell%3A1.0.1"><img src="https://img.shields.io/badge/methods-231-e91e63.svg" /></a>
<a target="_blank" href="http://www.methodscount.com/?lib=com.jrummyapps%3Aandroid-shell%3A1.0.1"><img src="https://img.shields.io/badge/Size-32 KB-e91e63.svg"/></a>
<a target="_blank" href="https://twitter.com/jrummyapps"><img src="https://img.shields.io/twitter/follow/jrummyapps.svg?style=social" /></a>
<a target="_blank" href="https://maven-badges.herokuapp.com/maven-central/com.jaredrummler/android-shell"><img src="https://maven-badges.herokuapp.com/maven-central/com.jaredrummler/android-shell/badge.svg" alt="Maven Central" /></a>
<a target="_blank" href="http://www.methodscount.com/?lib=com.jaredrummler%3Aandroid-shell%3A1.0.0"><img src="https://img.shields.io/badge/methods-231-e91e63.svg" /></a>
<a target="_blank" href="http://www.methodscount.com/?lib=com.jaredrummler%3Aandroid-shell%3A1.0.0"><img src="https://img.shields.io/badge/Size-32 KB-e91e63.svg"/></a>
<a target="_blank" href="https://twitter.com/jaredrummler"><img src="https://img.shields.io/twitter/follow/jaredrummler.svg?style=social" /></a>

Download [the latest AAR](https://repo1.maven.org/maven2/com/jrummyapps/android-shell/1.0.1/android-processes-1.0.1.aar) or grab via Gradle:
Download [the latest AAR](https://repo1.maven.org/maven2/com/jaredrummler/android-shell/1.0.0/android-processes-1.0.0.aar) or grab via Gradle:

```groovy
compile 'com.jrummyapps:android-shell:1.0.1'
compile 'com.jaredrummler:android-shell:1.0.0'
```
<br>

Expand Down Expand Up @@ -55,7 +55,7 @@ Acknowledgements
License
-------

Copyright (C) 2016 JRummy Apps Inc.
Copyright (C) 2016 Jared Rummler
Copyright (C) 2012-2015 Jorrit "Chainfire" Jongma

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
16 changes: 16 additions & 0 deletions build.gradle
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2017 Jared Rummler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

buildscript {
repositories {
jcenter()
Expand Down
20 changes: 18 additions & 2 deletions demo/build.gradle
@@ -1,10 +1,26 @@
/*
* Copyright (C) 2017 Jared Rummler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.jrummyapps.android.shell.demo"
applicationId "com.jaredrummler.android.shell.demo"
minSdkVersion 14
targetSdkVersion 25
versionCode 1
Expand All @@ -24,7 +40,7 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:appcompat-v7:25.3.1'
compile project(':library')
testCompile 'junit:junit:4.12'
}

This file was deleted.

22 changes: 11 additions & 11 deletions demo/src/main/AndroidManifest.xml
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<manifest package="com.jrummyapps.android.shell.demo"
<manifest package="com.jaredrummler.android.shell.demo"
xmlns:android="http://schemas.android.com/apk/res/android">

<application
Expand All @@ -25,7 +25,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name="com.jaredrummler.android.shell.demo.MainActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden">
<intent-filter>
Expand Down
@@ -1,20 +1,20 @@
/*
* Copyright (C) 2016 JRummy Apps Inc.
* Copyright (C) 2017 Jared Rummler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.jrummyapps.android.shell.demo;
package com.jaredrummler.android.shell.demo;

import android.app.ProgressDialog;
import android.content.ActivityNotFoundException;
Expand All @@ -37,9 +37,8 @@
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;

import com.jrummyapps.android.shell.CommandResult;
import com.jrummyapps.android.shell.Shell;
import com.jaredrummler.android.shell.CommandResult;
import com.jaredrummler.android.shell.Shell;

public class MainActivity extends AppCompatActivity {

Expand Down
16 changes: 16 additions & 0 deletions demo/src/main/res/drawable/ic_github.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
Expand Down
20 changes: 10 additions & 10 deletions demo/src/main/res/layout/activity_main.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<LinearLayout
Expand All @@ -26,7 +26,7 @@
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.jrummyapps.android.shell.demo.MainActivity">
tools:context="com.jrummyapps.android.shell.demo.com.jaredrummler.android.shell.demo.MainActivity">

<EditText
android:id="@+id/commandsEditText"
Expand Down
18 changes: 9 additions & 9 deletions demo/src/main/res/values-w820dp/dimens.xml
@@ -1,17 +1,17 @@
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>
Expand Down
18 changes: 9 additions & 9 deletions demo/src/main/res/values/colors.xml
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>
Expand Down
18 changes: 9 additions & 9 deletions demo/src/main/res/values/dimens.xml
@@ -1,17 +1,17 @@
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>
Expand Down
18 changes: 9 additions & 9 deletions demo/src/main/res/values/strings.xml
@@ -1,17 +1,17 @@
<!--
~ Copyright (C) 2016 JRummy Apps Inc.
~ Copyright (C) 2017 Jared Rummler
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>
Expand Down

0 comments on commit 8160ba1

Please sign in to comment.