Browse Source

Adde max transfer speeds picker.\nBumbed build target to API level 14.

pull/11/head
Eric Kok 11 years ago
parent
commit
1df3429f67
  1. 4
      README
  2. 2
      core/AndroidManifest.xml
  3. 2
      core/project.properties
  4. 293
      core/res/layout/dialog_transferrates.xml
  5. 7
      core/res/values-v16/styles.xml
  6. 4
      core/res/values/changelog.xml
  7. 7
      core/res/values/strings.xml
  8. 6
      core/res/values/styles.xml
  9. 49
      core/src/org/transdroid/core/gui/ServerStatusView.java
  10. 14
      core/src/org/transdroid/core/gui/TorrentsActivity.java
  11. 103
      core/src/org/transdroid/core/gui/navigation/SetTransferRatesDialog.java
  12. 2
      external/ColorPickerPreference/project.properties
  13. 2
      external/Crouton/library/project.properties
  14. 2
      external/JakeWharton-ActionBarSherlock/library/AndroidManifest.xml
  15. 2
      external/JakeWharton-ActionBarSherlock/library/project.properties
  16. 2
      full/AndroidManifest.xml
  17. 2
      full/project.properties
  18. 2
      lib/.classpath
  19. 2
      lite/AndroidManifest.xml
  20. 2
      lite/project.properties

4
README

@ -33,6 +33,10 @@ Some code/libraries are used in the project:
Idea: Cyril Mottier Idea: Cyril Mottier
Apache License, Version 2.0 Apache License, Version 2.0
https://github.com/keyboardsurfer/Crouton https://github.com/keyboardsurfer/Crouton
BetterPickers
Derek Brameyer
Apache License, Version 2.0
https://github.com/derekbrameyer/android-betterpickers
Base16Encoder Base16Encoder
Marc Prud'hommeaux Marc Prud'hommeaux
Apache OpenJPA Apache OpenJPA

2
core/AndroidManifest.xml

@ -6,6 +6,6 @@
<uses-sdk <uses-sdk
android:minSdkVersion="7" android:minSdkVersion="7"
android:targetSdkVersion="17" /> android:targetSdkVersion="18" />
</manifest> </manifest>

2
core/project.properties

@ -11,7 +11,7 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target. # Project target.
target=android-17 target=android-18
android.library.reference.1=../external/JakeWharton-ActionBarSherlock/library android.library.reference.1=../external/JakeWharton-ActionBarSherlock/library
android.library.reference.2=../external/ColorPickerPreference android.library.reference.2=../external/ColorPickerPreference
android.library=true android.library=true

293
core/res/layout/dialog_transferrates.xml

@ -0,0 +1,293 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_down"
android:textAllCaps="true" />
<TextView
android:id="@+id/maxspeeddown_text"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"
android:text="-"
tools:ignore="HardcodedText" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_unit"
android:textAllCaps="true" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#28000000" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/down1Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="1"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down2Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="2"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down3Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="3"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down4Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="4"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down5Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="5"
tools:ignore="HardcodedText" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/down6Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="6"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down7Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="7"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down8Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="8"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down9Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="9"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/down0Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="0"
tools:ignore="HardcodedText" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#28000000" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_up"
android:textAllCaps="true" />
<TextView
android:id="@+id/maxspeedup_text"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"
android:text="-"
tools:ignore="HardcodedText" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/margin_half"
android:text="@string/status_maxspeed_unit"
android:textAllCaps="true" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="#28000000" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/up1Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="1"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up2Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="2"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up3Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="3"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up4Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="4"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up5Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="5"
tools:ignore="HardcodedText" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/up6Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="6"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up7Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="7"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up8Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="8"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up9Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="9"
tools:ignore="HardcodedText" />
<Button
android:id="@+id/up0Button"
style="@style/BigNumberButton"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="0"
tools:ignore="HardcodedText" />
</LinearLayout>
</LinearLayout>

7
core/res/values-v16/styles.xml

@ -37,4 +37,11 @@
<item name="android:fontFamily">sans-serif-condensed</item> <item name="android:fontFamily">sans-serif-condensed</item>
</style> </style>
<style name="BigNumberButton" parent="android:Widget.Holo">
<item name="android:background">@drawable/selectable_background_transdroid</item>
<item name="android:padding">@dimen/margin_half</item>
<item name="android:textSize">32sp</item>
<item name="android:fontFamily">sans-serif-light</item>
</style>
</resources> </resources>

4
core/res/values/changelog.xml

@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="system_changelog"> <string name="system_changelog">
Transdroid 2.0.0-alpha3\n
- Added torrent search\n
- Setting of max. up/down speeds\n
\n
Transdroid 2.0.0-alpha2\n Transdroid 2.0.0-alpha2\n
- Fixed Transmission adapter folder setting\n - Fixed Transmission adapter folder setting\n
- Fixed RSS feed screens\n - Fixed RSS feed screens\n

7
core/res/values/strings.xml

@ -94,6 +94,11 @@
<string name="status_trackers">TRACKERS</string> <string name="status_trackers">TRACKERS</string>
<string name="status_errors">ERRORS</string> <string name="status_errors">ERRORS</string>
<string name="status_files">FILES</string> <string name="status_files">FILES</string>
<string name="status_maxspeed">Maximum transfer speeds</string>
<string name="status_maxspeed_down">MAX DOWNLOAD</string>
<string name="status_maxspeed_up">MAX UPLOAD</string>
<string name="status_maxspeed_unit">KB/S</string>
<string name="status_maxspeed_reset">Reset</string>
<string name="labels_showall">All labels</string> <string name="labels_showall">All labels</string>
<string name="labels_unlabeled">Unlabeled</string> <string name="labels_unlabeled">Unlabeled</string>
@ -115,6 +120,7 @@
<string name="result_labelset">Label set to \'%1$s\'</string> <string name="result_labelset">Label set to \'%1$s\'</string>
<string name="result_locationset">Torrent moved to \'%1$s\'</string> <string name="result_locationset">Torrent moved to \'%1$s\'</string>
<string name="result_priotitiesset">File priorities updated</string> <string name="result_priotitiesset">File priorities updated</string>
<string name="result_maxspeedsset">Maximum transfer speeds set</string>
<string name="search_torrentsearch">Torrent search</string> <string name="search_torrentsearch">Torrent search</string>
<string name="search_hint">Search for torrents</string> <string name="search_hint">Search for torrents</string>
@ -305,6 +311,7 @@
<string name="error_no_valid_settings_file">File does not seem to contain Transdroid settings</string> <string name="error_no_valid_settings_file">File does not seem to contain Transdroid settings</string>
<string name="error_file_not_found">The settings file could not be found</string> <string name="error_file_not_found">The settings file could not be found</string>
<string name="error_cant_write_settings_file">Can\'t write to the settings file</string> <string name="error_cant_write_settings_file">Can\'t write to the settings file</string>
<string name="error_notanumber">Please enter a positive number</string>
<string name="system_name" translatable="false">Transdroid</string> <string name="system_name" translatable="false">Transdroid</string>
<string name="system_developer" translatable="false">\u00A9 Eric Kok, 2312 development</string> <string name="system_developer" translatable="false">\u00A9 Eric Kok, 2312 development</string>

6
core/res/values/styles.xml

@ -82,4 +82,10 @@
<item name="android:paddingBottom">2dip</item> <item name="android:paddingBottom">2dip</item>
</style> </style>
<style name="BigNumberButton" parent="android:Widget.Holo">
<item name="android:background">@drawable/selectable_background_transdroid</item>
<item name="android:padding">@dimen/margin_half</item>
<item name="android:textSize">60sp</item>
</style>
</resources> </resources>

49
core/src/org/transdroid/core/gui/ServerStatusView.java

@ -4,25 +4,37 @@ import java.util.List;
import org.androidannotations.annotations.EViewGroup; import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById; import org.androidannotations.annotations.ViewById;
import org.transdroid.core.R;
import org.transdroid.core.gui.navigation.NavigationHelper;
import org.transdroid.core.gui.navigation.SetTransferRatesDialog;
import org.transdroid.core.gui.navigation.SetTransferRatesDialog.OnRatesPickedListener;
import org.transdroid.daemon.Torrent; import org.transdroid.daemon.Torrent;
import org.transdroid.daemon.TorrentStatus; import org.transdroid.daemon.TorrentStatus;
import org.transdroid.daemon.util.FileSizeConverter; import org.transdroid.daemon.util.FileSizeConverter;
import de.keyboardsurfer.android.widget.crouton.Crouton;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;
import android.widget.RelativeLayout; import android.widget.RelativeLayout;
import android.widget.TextView; import android.widget.TextView;
@EViewGroup(resName="actionbar_serverstatus") @EViewGroup(resName = "actionbar_serverstatus")
public class ServerStatusView extends RelativeLayout { public class ServerStatusView extends RelativeLayout implements OnRatesPickedListener {
@ViewById @ViewById
protected TextView downcountText, upcountText, downcountSign, upcountSign, downspeedText, upspeedText; protected TextView downcountText, upcountText, downcountSign, upcountSign, downspeedText, upspeedText;
private TorrentsActivity activity;
public ServerStatusView(Context context) { public ServerStatusView(Context context) {
super(context); super(context);
} }
public ServerStatusView(TorrentsActivity activity) {
super(activity);
this.activity = activity;
}
/** /**
* Updates the statistics as shown in the action bar through this server status view. * Updates the statistics as shown in the action bar through this server status view.
* @param torrents The most recently received list of torrents * @param torrents The most recently received list of torrents
@ -36,6 +48,7 @@ public class ServerStatusView extends RelativeLayout {
upspeedText.setText(null); upspeedText.setText(null);
downcountSign.setVisibility(View.INVISIBLE); downcountSign.setVisibility(View.INVISIBLE);
upcountSign.setVisibility(View.INVISIBLE); upcountSign.setVisibility(View.INVISIBLE);
setClickListener(null);
} }
int downcount = 0, upcount = 0, downspeed = 0, upspeed = 0; int downcount = 0, upcount = 0, downspeed = 0, upspeed = 0;
@ -59,7 +72,39 @@ public class ServerStatusView extends RelativeLayout {
upspeedText.setText(FileSizeConverter.getSize(upspeed)); upspeedText.setText(FileSizeConverter.getSize(upspeed));
downcountSign.setVisibility(View.VISIBLE); downcountSign.setVisibility(View.VISIBLE);
upcountSign.setVisibility(View.VISIBLE); upcountSign.setVisibility(View.VISIBLE);
setClickListener(onStartDownPickerClicked);
}
private void setClickListener(OnClickListener onClick) {
downcountText.setOnClickListener(onClick);
upcountText.setOnClickListener(onClick);
downspeedText.setOnClickListener(onClick);
upspeedText.setOnClickListener(onClick);
downcountSign.setOnClickListener(onClick);
upcountSign.setOnClickListener(onClick);
}
private OnClickListener onStartDownPickerClicked = new OnClickListener() {
public void onClick(View v) {
new SetTransferRatesDialog().setOnRatesPicked(ServerStatusView.this).show(
activity.getSupportFragmentManager(), "SetTransferRatesDialog");
}
};
@Override
public void onRatesPicked(int maxDownloadSpeed, int maxUploadSpeed) {
activity.updateMaxSpeeds(maxDownloadSpeed, maxUploadSpeed);
}
@Override
public void resetRates() {
activity.updateMaxSpeeds(null, null);
}
@Override
public void onInvalidNumber() {
Crouton.showText(activity, R.string.error_notanumber, NavigationHelper.CROUTON_ERROR_STYLE);
} }
} }

14
core/src/org/transdroid/core/gui/TorrentsActivity.java

@ -28,9 +28,7 @@ import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.cookie.BasicClientCookie; import org.apache.http.impl.cookie.BasicClientCookie;
import org.transdroid.core.R; import org.transdroid.core.R;
import org.transdroid.core.app.settings.ApplicationSettings;
import org.transdroid.core.app.settings.*; import org.transdroid.core.app.settings.*;
import org.transdroid.core.app.settings.WebsearchSetting;
import org.transdroid.core.gui.lists.LocalTorrent; import org.transdroid.core.gui.lists.LocalTorrent;
import org.transdroid.core.gui.lists.SimpleListItem; import org.transdroid.core.gui.lists.SimpleListItem;
import org.transdroid.core.gui.log.*; import org.transdroid.core.gui.log.*;
@ -69,6 +67,7 @@ import org.transdroid.daemon.task.SetDownloadLocationTask;
import org.transdroid.daemon.task.SetFilePriorityTask; import org.transdroid.daemon.task.SetFilePriorityTask;
import org.transdroid.daemon.task.SetLabelTask; import org.transdroid.daemon.task.SetLabelTask;
import org.transdroid.daemon.task.SetTrackersTask; import org.transdroid.daemon.task.SetTrackersTask;
import org.transdroid.daemon.task.SetTransferRatesTask;
import org.transdroid.daemon.task.StartTask; import org.transdroid.daemon.task.StartTask;
import org.transdroid.daemon.task.StopTask; import org.transdroid.daemon.task.StopTask;
import org.transdroid.daemon.util.DLog; import org.transdroid.daemon.util.DLog;
@ -859,6 +858,17 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi
} }
} }
@Background
public void updateMaxSpeeds(Integer maxDownloadSpeed, Integer maxUploadSpeed) {
DaemonTaskResult result = SetTransferRatesTask.create(currentConnection, maxUploadSpeed, maxDownloadSpeed)
.execute();
if (result instanceof DaemonTaskResult) {
onTaskSucceeded((DaemonTaskSuccessResult) result, getString(R.string.result_maxspeedsset));
} else {
onCommunicationError((DaemonTaskFailureResult) result, false);
}
}
@UiThread @UiThread
protected void onTaskSucceeded(DaemonTaskSuccessResult result, String successMessage) { protected void onTaskSucceeded(DaemonTaskSuccessResult result, String successMessage) {
// Refresh the screen as well // Refresh the screen as well

103
core/src/org/transdroid/core/gui/navigation/SetTransferRatesDialog.java

@ -0,0 +1,103 @@
package org.transdroid.core.gui.navigation;
import org.transdroid.core.R;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
/**
* A dialog fragment that allow picking of maximum download and upload transfer rates as well as the resetting of these
* values.
* @author Eric Kok
*/
public class SetTransferRatesDialog extends DialogFragment {
private OnRatesPickedListener onRatesPicked;
private TextView maxSpeedDown, maxSpeedUp;
public SetTransferRatesDialog() {
setRetainInstance(true);
}
/**
* Sets the callback for results in this dialog (with newly selected values or a reset).
* @param onRatesPicked The event listener to this dialog
* @return This dialog, for method chaining
*/
public SetTransferRatesDialog setOnRatesPicked(OnRatesPickedListener onRatesPicked) {
this.onRatesPicked = onRatesPicked;
return this;
}
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
final View transferRatesContent = getActivity().getLayoutInflater().inflate(R.layout.dialog_transferrates,
null, false);
maxSpeedDown = (TextView) transferRatesContent.findViewById(R.id.maxspeeddown_text);
maxSpeedUp = (TextView) transferRatesContent.findViewById(R.id.maxspeedup_text);
bindButtons(transferRatesContent, maxSpeedDown, R.id.down1Button, R.id.down2Button, R.id.down3Button,
R.id.down4Button, R.id.down5Button, R.id.down6Button, R.id.down7Button, R.id.down8Button,
R.id.down9Button, R.id.down0Button);
bindButtons(transferRatesContent, maxSpeedUp, R.id.up1Button, R.id.up2Button, R.id.up3Button, R.id.up4Button,
R.id.up5Button, R.id.up6Button, R.id.up7Button, R.id.up8Button, R.id.up9Button, R.id.up0Button);
return new AlertDialog.Builder(getActivity()).setTitle(R.string.status_maxspeed).setView(transferRatesContent)
.setPositiveButton(android.R.string.ok, new OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
int maxDown = -1, maxUp = -1;
try {
maxDown = Integer.parseInt(maxSpeedDown.getText().toString());
maxUp = Integer.parseInt(maxSpeedUp.getText().toString());
} catch (NumberFormatException e) {
}
if (maxDown <= 0 || maxUp <= 0) {
onRatesPicked.onInvalidNumber();
}
onRatesPicked.onRatesPicked(maxDown, maxUp);
}
}).setNeutralButton(R.string.status_maxspeed_reset, new OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
onRatesPicked.resetRates();
}
}).setNegativeButton(android.R.string.cancel, null).create();
}
private void bindButtons(View transferRatesContent, View numberView, int... buttonResource) {
for (int i : buttonResource) {
// Keep the relevant number as reference in the view tag and bind the click listerner
transferRatesContent.findViewById(i).setTag(numberView);
transferRatesContent.findViewById(i).setOnClickListener(onNumberClicked);
}
}
private android.view.View.OnClickListener onNumberClicked = new android.view.View.OnClickListener() {
@Override
public void onClick(View v) {
// Append the text contents of the button itself as text to the current number (as reference in the view's
// tag)
TextView numberView = (TextView) v.getTag();
if (numberView.getText().equals("-"))
numberView.setText("");
numberView.setText(numberView.getText().toString() + ((Button) v).getText().toString());
}
};
/**
* Listener interface to the user having picked or wanting to resets the current maximum transfer speeds;
*/
public interface OnRatesPickedListener {
public void onRatesPicked(int maxDownloadSpeed, int maxUploadSpeed);
public void resetRates();
public void onInvalidNumber();
}
}

2
external/ColorPickerPreference/project.properties vendored

@ -9,4 +9,4 @@
android.library=true android.library=true
# Project target. # Project target.
target=android-16 target=android-18

2
external/Crouton/library/project.properties vendored

@ -12,6 +12,6 @@
# Project target. # Project target.
target=android-17 target=android-18
android.library=true android.library=true
android.library.reference.1=../../JakeWharton-ActionBarSherlock/library android.library.reference.1=../../JakeWharton-ActionBarSherlock/library

2
external/JakeWharton-ActionBarSherlock/library/AndroidManifest.xml vendored

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="100" android:versionName="4.2.0" package="com.actionbarsherlock"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="100" android:versionName="4.2.0" package="com.actionbarsherlock">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="18"/>
</manifest> </manifest>

2
external/JakeWharton-ActionBarSherlock/library/project.properties vendored

@ -9,4 +9,4 @@
android.library=true android.library=true
# Project target. # Project target.
target=android-17 target=android-18

2
full/AndroidManifest.xml

@ -6,7 +6,7 @@
<uses-sdk <uses-sdk
android:minSdkVersion="7" android:minSdkVersion="7"
android:targetSdkVersion="17" /> android:targetSdkVersion="18" />
<supports-screens <supports-screens
android:anyDensity="true" android:anyDensity="true"

2
full/project.properties

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target. # Project target.
target=android-17 target=android-18
android.library.reference.1=../core android.library.reference.1=../core

2
lib/.classpath

@ -2,6 +2,6 @@
<classpath> <classpath>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="../../../android-sdk/platforms/android-13/android.jar"/> <classpathentry kind="lib" path="../../../android-sdk/platforms/android-18/android.jar"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

2
lite/AndroidManifest.xml

@ -6,7 +6,7 @@
<uses-sdk <uses-sdk
android:minSdkVersion="7" android:minSdkVersion="7"
android:targetSdkVersion="17" /> android:targetSdkVersion="18" />
<supports-screens <supports-screens
android:anyDensity="true" android:anyDensity="true"

2
lite/project.properties

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target. # Project target.
target=android-16 target=android-18
android.library.reference.1=../core android.library.reference.1=../core

Loading…
Cancel
Save