Deleted files in build that got accidentally committed.

This commit is contained in:
Sadique Ali 2013-07-20 14:58:06 -07:00
parent 31082ecf08
commit 5b230f5b6a
32 changed files with 2 additions and 427 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
ShareWithTitle/build/apk/
ShareWithTitle/build/classes/
ShareWithTitle/build
.gradle/1.6/taskArtifacts
.gradle/1.6/taskArtifacts/

View File

@ -1 +0,0 @@
#Sat Jul 20 11:26:01 PDT 2013

View File

@ -1,3 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8

View File

@ -1,3 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8

View File

@ -1,3 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<merger>
<dataSet config="main" >
<source path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/assets" />
</dataSet>
<dataSet config="debug" >
<source path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/debug/assets" />
</dataSet>
</merger>

View File

@ -1,3 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8

View File

@ -1,16 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8
1374344744000 12356 75154d4f6e93c8832a74d3c27c8cf0d44672ea3e /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-xhdpi/ic_launcher.png
1374344744000 211 4e1904afba59d31e5cd6133f6a4c360fa9a5913f /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/dimens.xml
1374344744000 226 1df2a848b931c8d007834dbdaf20699eb4df13e5 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/strings.xml
1374344744000 3760 9d45e7de00dac30e9738dc369dece2835bf9677e /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-mdpi/ic_launcher.png
1374344743000 381 b129b276e01126de5b3b753572ac67cbfc19454c /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-v14/styles.xml
1374344744000 181 84de2797380184d8b39af6f829afb092fb956173 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-sw600dp/dimens.xml
1374344743000 324 aa1f5f1723de9aee2669dc44a26fbc0ce776d35f /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-v11/styles.xml
1374344743000 680 c76f4caaa7a8dfe9727fa93001b3aee3b22d6716 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/styles.xml
1374346392000 686 650027c97bb28a93265e6fd320e7fee56d23dee1 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/layout/activity_main.xml
1374344744000 254 25b6404e44acb50c82590049639d4fb5fefbac8e /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-sw720dp-land/dimens.xml
1374344744000 24780 6c2954bdacb8129ac00edfd084b98daf226518e3 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-xxhdpi/ic_launcher.png
1374344743000 244 045ff451db7cd8e61285502b8c9bbf7405f2078d /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/menu/main.xml
1374344744000 7783 03172612ec7d8d2cc6295a185410c3e6501771aa /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-hdpi/ic_launcher.png

View File

@ -1,114 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<merger>
<dataSet config="main" >
<source path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res" >
<file
name="ic_launcher"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-hdpi/ic_launcher.png"
qualifiers="hdpi"
type="drawable" />
<file
name="ic_launcher"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-mdpi/ic_launcher.png"
qualifiers="mdpi"
type="drawable" />
<file
name="ic_launcher"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-xhdpi/ic_launcher.png"
qualifiers="xhdpi"
type="drawable" />
<file
name="ic_launcher"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/drawable-xxhdpi/ic_launcher.png"
qualifiers="xxhdpi"
type="drawable" />
<file
name="activity_main"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/layout/activity_main.xml"
qualifiers=""
type="layout" />
<file
name="main"
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/menu/main.xml"
qualifiers=""
type="menu" />
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/dimens.xml"
qualifiers="" >
<dimen name="activity_horizontal_margin" >16dp
</dimen>
<dimen name="activity_vertical_margin" >16dp
</dimen>
</file>
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/strings.xml"
qualifiers="" >
<string name="action_settings" >Settings
</string>
<string name="app_name" >Share With Title
</string>
<string name="hello_world" >Hello world!
</string>
</file>
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values/styles.xml"
qualifiers="" >
<style
name="AppBaseTheme"
parent="android:Theme.Light" >
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<style
name="AppTheme"
parent="AppBaseTheme" >
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</file>
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-sw600dp/dimens.xml"
qualifiers="sw600dp" />
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-sw720dp-land/dimens.xml"
qualifiers="sw720dp-land" >
<dimen name="activity_horizontal_margin" >128dp
</dimen>
</file>
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-v11/styles.xml"
qualifiers="v11" >
<style
name="AppBaseTheme"
parent="android:Theme.Holo.Light" >
<!-- API 11 theme customizations can go here. -->
</style>
</file>
<file
path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/main/res/values-v14/styles.xml"
qualifiers="v14" >
<style
name="AppBaseTheme"
parent="android:Theme.Holo.Light.DarkActionBar" >
<!-- API 14 theme customizations can go here. -->
</style>
</file>
</source>
<source path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/rs/debug" />
</dataSet>
<dataSet config="debug" >
<source path="/Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/src/debug/res" />
</dataSet>
</merger>

View File

@ -1,13 +0,0 @@
# incremental data. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8
1374350553000 794 bca07e5e6f52443c8f5f85ba904ed6e2232ee6e4 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/values/values.xml
1374350553000 203 19aedb7cdc3386344e36087b035a0a6b2b91d4cd /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/values-v11/values.xml
1374350553000 244 045ff451db7cd8e61285502b8c9bbf7405f2078d /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/menu/main.xml
1374350553000 686 650027c97bb28a93265e6fd320e7fee56d23dee1 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/layout/activity_main.xml
1374350553000 125 fae9d1b71d520745438010c9ca7cde9c81dfefac /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/values-sw720dp-land/values.xml
1374350553000 12356 75154d4f6e93c8832a74d3c27c8cf0d44672ea3e /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/drawable-xhdpi/ic_launcher.png
1374350553000 3760 9d45e7de00dac30e9738dc369dece2835bf9677e /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/drawable-mdpi/ic_launcher.png
1374350553000 217 f02e000d05a079992d2dba18039216c1e6b8784f /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/values-v14/values.xml
1374350553000 24780 6c2954bdacb8129ac00edfd084b98daf226518e3 /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/drawable-xxhdpi/ic_launcher.png
1374350553000 7783 03172612ec7d8d2cc6295a185410c3e6501771aa /Users/sdqali/AndroidStudioProjects/ShareWithTitleProject/ShareWithTitle/build/res/all/debug/drawable-hdpi/ic_launcher.png

View File

@ -1,16 +0,0 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="in.sdqali.sharewithtitle">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="16"/>
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme">
<activity android:label="@string/app_name" android:name="in.sdqali.sharewithtitle.MainActivity">
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
</intent-filter>
</activity>
</application>
</manifest>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,29 +0,0 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity">
<TextView
android:id="@+id/greet_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
android:layout_marginTop="69dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"/>
<ProgressBar
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:id="@+id/progressBar"
android:layout_below="@+id/progressBar"
android:layout_toRightOf="@+id/progressBar"/>
</RelativeLayout>

View File

@ -1,6 +0,0 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
android:orderInCategory="100"
android:showAsAction="never" />
</menu>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="activity_horizontal_margin">128dp</dimen>
</resources>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<string name="action_settings">Settings</string>
<string name="app_name">Share With Title</string>
<string name="hello_world">Hello world!</string>
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>

View File

@ -1,7 +0,0 @@
/** Automatically generated file. DO NOT MODIFY */
package in.sdqali.sharewithtitle;
public final class BuildConfig {
public final static boolean DEBUG = true;
}

View File

@ -1,49 +0,0 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package in.sdqali.sharewithtitle;
public final class R {
public static final class attr {
}
public static final class dimen {
public static final int activity_horizontal_margin=0x7f040000;
public static final int activity_vertical_margin=0x7f040001;
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
}
public static final class id {
public static final int action_settings=0x7f080001;
public static final int greet_text=0x7f080000;
}
public static final class layout {
public static final int activity_main=0x7f030000;
}
public static final class menu {
public static final int main=0x7f070000;
}
public static final class string {
public static final int action_settings=0x7f050000;
public static final int app_name=0x7f050001;
public static final int hello_world=0x7f050002;
}
public static final class style {
/**
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
API 11 theme customizations can go here.
API 14 theme customizations can go here.
*/
public static final int AppBaseTheme=0x7f060000;
/** All customizations that are NOT specific to a particular API-level can go here.
*/
public static final int AppTheme=0x7f060001;
}
}

View File

@ -1,37 +0,0 @@
package in.sdqali.sharewithtitle;
import android.net.Uri;
import android.util.Log;
import android.webkit.URLUtil;
import android.widget.Toast;
/**
* Created by sdqali on 7/20/13.
*/
public class ShareableOutput {
private String input;
public ShareableOutput(String input) {
this.input = input;
}
public boolean isValidUrl() {
if(URLUtil.isHttpsUrl(input) || URLUtil.isHttpUrl(input)) {
return true;
} else {
return false;
}
}
public String output() {
if (isValidUrl()) {
Log.d("Share With Title", "$$$$$$$$$$$ VALID URL");
return new TitleRetriever(input).retrieve();
} else {
Log.d("Share With Title", "$$$$$$$$$$$ Invalid URL");
return input;
}
}
}

View File

@ -1,70 +0,0 @@
package in.sdqali.sharewithtitle;
import android.net.http.AndroidHttpClient;
import android.text.AndroidCharacter;
import android.util.Log;
import org.apache.http.HttpRequest;
import org.apache.http.client.HttpClient;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Created by sdqali on 7/20/13.
*/
public class TitleRetriever {
private String urlText;
public TitleRetriever(String url) {
this.urlText = url;
}
public String retrieve() {
try {
URL url = new URL(urlText);
HttpURLConnection con = (HttpURLConnection) url
.openConnection();
String content = readStream(con.getInputStream());
Log.d("Share With Title", "content: " + content);
return content;
} catch (Exception e) {
Log.d("Share With Title", e.getStackTrace().toString());
e.printStackTrace();
// } catch (IOException e) {
// e.printStackTrace();
} finally {
return urlText;
}
}
private String readStream(InputStream in) {
String output = "";
BufferedReader reader = null;
try {
reader = new BufferedReader(new InputStreamReader(in));
String line = "";
while ((line = reader.readLine()) != null) {
output += line;
}
} catch (IOException e) {
e.printStackTrace();
} finally {
if (reader != null) {
try {
reader.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
return output;
}
}