diff --git a/core/AndroidManifest.xml b/core/AndroidManifest.xml index 6b16a6ad..e30ef514 100644 --- a/core/AndroidManifest.xml +++ b/core/AndroidManifest.xml @@ -8,95 +8,4 @@ android:minSdkVersion="7" android:targetSdkVersion="17" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/core/project.properties b/core/project.properties index b8863ad3..90b3d809 100644 --- a/core/project.properties +++ b/core/project.properties @@ -14,3 +14,4 @@ target=android-16 android.library.reference.1=../external/JakeWharton-ActionBarSherlock/library android.library.reference.2=../external/ColorPickerPreference +android.library=true diff --git a/core/res/menu/activity_torrents.xml b/core/res/menu/activity_torrents.xml index 0d086f85..1f081fe1 100644 --- a/core/res/menu/activity_torrents.xml +++ b/core/res/menu/activity_torrents.xml @@ -54,7 +54,7 @@ android:title="@string/action_filter"/> torrentFiles = null; // Views - @ViewById(R.id.details_list) + @ViewById(resName="details_list") protected SherlockListView detailsList; @ViewById protected TextView emptyText; @@ -142,47 +142,47 @@ public class DetailsFragment extends SherlockFragment { } - @OptionsItem(R.id.action_resume) + @OptionsItem(resName="action_resume") protected void resumeTorrent() { getTasksExecutor().resumeTorrent(torrent); } - @OptionsItem(R.id.action_pause) + @OptionsItem(resName="action_pause") protected void pauseTorrent() { getTasksExecutor().pauseTorrent(torrent); } - @OptionsItem(R.id.action_start_default) + @OptionsItem(resName="action_start_default") protected void startTorrentDefault() { getTasksExecutor().startTorrent(torrent, false); } - @OptionsItem(R.id.action_start_forced) + @OptionsItem(resName="action_start_forced") protected void startTorrentForced() { getTasksExecutor().startTorrent(torrent, true); } - @OptionsItem(R.id.action_stop) + @OptionsItem(resName="action_stop") protected void stopTorrent() { getTasksExecutor().stopTorrent(torrent); } - @OptionsItem(R.id.action_remove_default) + @OptionsItem(resName="action_remove_default") protected void removeTorrentDefault() { getTasksExecutor().removeTorrent(torrent, false); } - @OptionsItem(R.id.action_remove_withdata) + @OptionsItem(resName="action_remove_withdata") protected void removeTorrentWithData() { getTasksExecutor().removeTorrent(torrent, true); } - @OptionsItem(R.id.action_setlabel) + @OptionsItem(resName="action_setlabel") protected void setLabel() { // TODO: Show label selection dialog } - @OptionsItem(R.id.action_updatetrackers) + @OptionsItem(resName="action_updatetrackers") protected void updateTrackers() { // TODO: Show trackers edit dialog } diff --git a/core/src/org/transdroid/core/gui/SearchHistoryProvider.java b/core/src/org/transdroid/core/gui/SearchHistoryProvider.java index da59bbf1..a0391f96 100644 --- a/core/src/org/transdroid/core/gui/SearchHistoryProvider.java +++ b/core/src/org/transdroid/core/gui/SearchHistoryProvider.java @@ -4,6 +4,10 @@ import android.content.Context; import android.content.SearchRecentSuggestionsProvider; import android.provider.SearchRecentSuggestions; +/** + * Provides search suggestions by simply returning previous user entries + * @author Eric Kok + */ public class SearchHistoryProvider extends SearchRecentSuggestionsProvider { public final static String AUTHORITY = "org.transdroid.core.gui.SearchHistoryProvider"; diff --git a/core/src/org/transdroid/core/gui/TorrentsActivity.java b/core/src/org/transdroid/core/gui/TorrentsActivity.java index bb532c41..3c6a5878 100644 --- a/core/src/org/transdroid/core/gui/TorrentsActivity.java +++ b/core/src/org/transdroid/core/gui/TorrentsActivity.java @@ -44,6 +44,8 @@ import org.transdroid.daemon.task.StopTask; import android.annotation.TargetApi; import android.app.SearchManager; +import android.content.Intent; +import android.net.Uri; import android.os.Build; import android.view.View; import android.widget.AdapterView; @@ -58,8 +60,8 @@ import com.actionbarsherlock.view.MenuItem; import com.actionbarsherlock.view.SherlockListView; import com.actionbarsherlock.widget.SearchView; -@EActivity(R.layout.activity_torrents) -@OptionsMenu(R.menu.activity_torrents) +@EActivity(resName="activity_torrents") +@OptionsMenu(resName="activity_torrents") public class TorrentsActivity extends SherlockFragmentActivity implements OnNavigationListener, TorrentTasksExecutor, NavigationFilterManager { // Navigation components @@ -84,11 +86,11 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi protected boolean turleModeEnabled = false; // Torrents list components - @FragmentById(R.id.torrent_list) + @FragmentById(resName="torrent_list") protected TorrentsFragment fragmentTorrents; // Details view components - @FragmentById(R.id.torrent_details) + @FragmentById(resName="torrent_details") protected DetailsFragment fragmentDetails; @AfterViews @@ -149,13 +151,15 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); - // For Android 2.1+, add an expandable SearchView to the action bar - MenuItem item = menu.findItem(R.id.action_search); - if (android.os.Build.VERSION.SDK_INT >= 8) { - final SearchView searchView = new SearchView(this); - searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); - searchView.setQueryRefinementEnabled(true); - item.setActionView(searchView); + if (navigationHelper.enableSearchUi()) { + // For Android 2.1+, add an expandable SearchView to the action bar + MenuItem item = menu.findItem(R.id.action_search); + if (android.os.Build.VERSION.SDK_INT >= 8) { + final SearchView searchView = new SearchView(this); + searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); + searchView.setQueryRefinementEnabled(true); + item.setActionView(searchView); + } } return true; } @@ -183,8 +187,8 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi // There is a connection (read: settings to some server known) menu.findItem(R.id.action_add).setVisible(true); - menu.findItem(R.id.action_search).setVisible(true); - menu.findItem(R.id.action_rss).setVisible(true); + menu.findItem(R.id.action_search).setVisible(navigationHelper.enableSearchUi()); + menu.findItem(R.id.action_rss).setVisible(navigationHelper.enableRssUi()); boolean hasAltMode = Daemon.supportsSetAlternativeMode(currentConnection.getType()); menu.findItem(R.id.action_enableturtle).setVisible(hasAltMode && !turleModeEnabled); menu.findItem(R.id.action_disableturtle).setVisible(hasAltMode && turleModeEnabled); @@ -283,26 +287,31 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi // TODO: Handle start intent } - @OptionsItem(R.id.action_refresh) + @OptionsItem(resName="action_refresh") protected void refreshScreen() { refreshTorrents(); getAdditionalStats(); } - @OptionsItem(R.id.action_enableturtle) + @OptionsItem(resName="action_enableturtle") protected void enableTurtleMode() { updateTurtleMode(true); } - @OptionsItem(R.id.action_disableturtle) + @OptionsItem(resName="action_disableturtle") protected void disableTurtleMode() { updateTurtleMode(false); } - - @OptionsItem(R.id.action_settings) + + @OptionsItem(resName="action_settings") protected void openSettings() { MainSettingsActivity_.intent(this).start(); } + + @OptionsItem(resName="action_help") + protected void openHelp() { + startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.transdroid.org/download/"))); + } private void clearScreens() { // Clear the currently shown list of torrent and perhaps the details diff --git a/core/src/org/transdroid/core/gui/TorrentsFragment.java b/core/src/org/transdroid/core/gui/TorrentsFragment.java index b42e974a..4101c736 100644 --- a/core/src/org/transdroid/core/gui/TorrentsFragment.java +++ b/core/src/org/transdroid/core/gui/TorrentsFragment.java @@ -24,7 +24,7 @@ import com.actionbarsherlock.view.MenuItem; import com.actionbarsherlock.view.SherlockListView; import com.actionbarsherlock.view.SherlockListView.MultiChoiceModeListenerCompat; -@EFragment(R.layout.fragment_torrents) +@EFragment(resName="fragment_torrents") public class TorrentsFragment extends SherlockFragment { // Local data @@ -38,7 +38,7 @@ public class TorrentsFragment extends SherlockFragment { protected boolean isLoading = false; // Views - @ViewById(R.id.torrent_list) + @ViewById(resName="torrent_list") protected SherlockListView torrentsList; @ViewById protected TextView emptyText; @@ -108,37 +108,36 @@ public class TorrentsFragment extends SherlockFragment { checked.add((Torrent) torrentsList.getAdapter().getItem(i)); } - // Execute the requested action - switch (item.getItemId()) { - case R.id.action_resume: + int itemId = item.getItemId(); + if (itemId == R.id.action_resume) { for (Torrent torrent : checked) { getTasksExecutor().resumeTorrent(torrent); } mode.finish(); return true; - case R.id.action_pause: + } else if (itemId == R.id.action_pause) { for (Torrent torrent : checked) { getTasksExecutor().pauseTorrent(torrent); } mode.finish(); return true; - case R.id.action_remove_default: + } else if (itemId == R.id.action_remove_default) { for (Torrent torrent : checked) { getTasksExecutor().removeTorrent(torrent, false); } mode.finish(); return true; - case R.id.action_remove_withdata: + } else if (itemId == R.id.action_remove_withdata) { for (Torrent torrent : checked) { getTasksExecutor().removeTorrent(torrent, true); } mode.finish(); return true; - case R.id.action_setlabel: + } else if (itemId == R.id.action_setlabel) { // TODO: Open label selection dialogue mode.finish(); return true; - default: + } else { return false; } } @@ -159,7 +158,7 @@ public class TorrentsFragment extends SherlockFragment { }; - @ItemClick(R.id.torrent_list) + @ItemClick(resName="torrent_list") protected void torrentsListClicked(Torrent torrent) { DetailsActivity_.intent(getActivity()).torrent(torrent).start(); } diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItem.java b/core/src/org/transdroid/core/gui/lists/SimpleListItem.java index 0128a20d..cd4627c6 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItem.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItem.java @@ -3,7 +3,6 @@ package org.transdroid.core.gui.lists; /** * Represents a filter item as shown in the navigation list or spinner. - * * @author Eric Kok */ public interface SimpleListItem { diff --git a/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java b/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java index d428939f..4c8c0e42 100644 --- a/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java +++ b/core/src/org/transdroid/core/gui/lists/SimpleListItemView.java @@ -2,7 +2,6 @@ package org.transdroid.core.gui.lists; import org.androidannotations.annotations.EViewGroup; import org.androidannotations.annotations.ViewById; -import org.transdroid.core.R; import android.content.Context; import android.widget.LinearLayout; @@ -12,7 +11,7 @@ import android.widget.TextView; * View that represents some {@link SimpleListItem} object and simple prints out the text (in proper style) * @author Eric Kok */ -@EViewGroup(R.layout.list_item_filter) +@EViewGroup(resName="list_item_filter") public class SimpleListItemView extends LinearLayout { @ViewById diff --git a/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java b/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java index db714017..94b04601 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentDetailsView.java @@ -18,7 +18,7 @@ import android.widget.TextView; * Represents a group of views that show torrent status, sizes, speeds and other details. * @author Eric Kok */ -@EViewGroup(R.layout.fragment_details_header) +@EViewGroup(resName="fragment_details_header") public class TorrentDetailsView extends RelativeLayout { @ViewById diff --git a/core/src/org/transdroid/core/gui/lists/TorrentFileView.java b/core/src/org/transdroid/core/gui/lists/TorrentFileView.java index 0c9b3684..bf00cb0e 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentFileView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentFileView.java @@ -14,7 +14,7 @@ import fr.marvinlabs.widget.CheckableRelativeLayout; * View that represents some {@link TorrentFile} object and show the file's name, status and priority * @author Eric Kok */ -@EViewGroup(R.layout.list_item_torrentfile) +@EViewGroup(resName="list_item_torrentfile") public class TorrentFileView extends CheckableRelativeLayout { @ViewById diff --git a/core/src/org/transdroid/core/gui/lists/TorrentView.java b/core/src/org/transdroid/core/gui/lists/TorrentView.java index 897a6b0e..6c87f478 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentView.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentView.java @@ -2,7 +2,6 @@ package org.transdroid.core.gui.lists; import org.androidannotations.annotations.EViewGroup; import org.androidannotations.annotations.ViewById; -import org.transdroid.core.R; import org.transdroid.daemon.Torrent; import org.transdroid.daemon.TorrentStatus; @@ -16,7 +15,7 @@ import fr.marvinlabs.widget.CheckableRelativeLayout; * View that represents some {@link Torrent} object and displays progress, status, speeds, etc. * @author Eric Kok */ -@EViewGroup(R.layout.list_item_torrent) +@EViewGroup(resName="list_item_torrent") public class TorrentView extends CheckableRelativeLayout { @ViewById diff --git a/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java b/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java index eeb17774..5c634f1c 100644 --- a/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java +++ b/core/src/org/transdroid/core/gui/lists/TorrentsAdapter.java @@ -4,7 +4,6 @@ import java.util.ArrayList; import org.androidannotations.annotations.EBean; import org.androidannotations.annotations.RootContext; -import org.transdroid.core.gui.lists.TorrentView_; import org.transdroid.daemon.Torrent; import android.content.Context; diff --git a/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java b/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java index a26516dc..3efde9a4 100644 --- a/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java +++ b/core/src/org/transdroid/core/gui/navigation/FilterSeparatorView.java @@ -2,7 +2,6 @@ package org.transdroid.core.gui.navigation; import org.androidannotations.annotations.EViewGroup; import org.androidannotations.annotations.ViewById; -import org.transdroid.core.R; import android.content.Context; import android.widget.LinearLayout; @@ -13,7 +12,7 @@ import android.widget.TextView; * * @author Eric Kok */ -@EViewGroup(R.layout.list_item_separator) +@EViewGroup(resName="list_item_separator") public class FilterSeparatorView extends LinearLayout { protected String text; diff --git a/core/src/org/transdroid/core/gui/navigation/NavigationHelper.java b/core/src/org/transdroid/core/gui/navigation/NavigationHelper.java index c5d0d364..0d71a040 100644 --- a/core/src/org/transdroid/core/gui/navigation/NavigationHelper.java +++ b/core/src/org/transdroid/core/gui/navigation/NavigationHelper.java @@ -12,6 +12,24 @@ public class NavigationHelper { @RootContext protected Context context; + + /** + * Whether any search-related UI components should be shown in the interface. At the moment returns false only if we + * run as Transdroid Lite version. + * @return True if search is enabled, false otherwise + */ + public boolean enableSearchUi() { + return !context.getPackageName().equals("org.transdroid.lite"); + } + + /** + * Whether any RSS-related UI components should be shown in the interface. At the moment returns false only if we + * run as Transdroid Lite version. + * @return True if search is enabled, false otherwise + */ + public boolean enableRssUi() { + return !context.getPackageName().equals("org.transdroid.lite"); + } /** * Whether the navigation of server types and labels as filter are shown in a separate fragment. diff --git a/core/src/org/transdroid/core/gui/navigation/NavigationSelectionView.java b/core/src/org/transdroid/core/gui/navigation/NavigationSelectionView.java index c52754d1..4e5ae926 100644 --- a/core/src/org/transdroid/core/gui/navigation/NavigationSelectionView.java +++ b/core/src/org/transdroid/core/gui/navigation/NavigationSelectionView.java @@ -2,7 +2,6 @@ package org.transdroid.core.gui.navigation; import org.androidannotations.annotations.EViewGroup; import org.androidannotations.annotations.ViewById; -import org.transdroid.core.R; import android.content.Context; import android.widget.LinearLayout; @@ -12,7 +11,7 @@ import android.widget.TextView; * View that displays the user-selected server and display filter inside the action bar list navigation spinner * @author Eric Kok */ -@EViewGroup(R.layout.list_item_navigation) +@EViewGroup(resName="list_item_navigation") public class NavigationSelectionView extends LinearLayout { @ViewById diff --git a/core/src/org/transdroid/core/gui/settings/RssfeedSettingsActivity.java b/core/src/org/transdroid/core/gui/settings/RssfeedSettingsActivity.java index b32b9e91..3d5d8f3a 100644 --- a/core/src/org/transdroid/core/gui/settings/RssfeedSettingsActivity.java +++ b/core/src/org/transdroid/core/gui/settings/RssfeedSettingsActivity.java @@ -17,7 +17,7 @@ import com.actionbarsherlock.app.SherlockPreferenceActivity; * @author Eric Kok */ @EActivity -@OptionsMenu(R.menu.activity_deleteableprefs) +@OptionsMenu(resName="activity_deleteableprefs") public class RssfeedSettingsActivity extends SherlockPreferenceActivity { @Extra diff --git a/core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java b/core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java index 98551451..9e8cceb1 100644 --- a/core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java +++ b/core/src/org/transdroid/core/gui/settings/ServerSettingsActivity.java @@ -22,7 +22,7 @@ import com.actionbarsherlock.app.SherlockPreferenceActivity; * @author Eric Kok */ @EActivity -@OptionsMenu(R.menu.activity_deleteableprefs) +@OptionsMenu(resName="activity_deleteableprefs") public class ServerSettingsActivity extends SherlockPreferenceActivity { @Extra diff --git a/core/src/org/transdroid/core/gui/settings/WebsearchSettingsActivity.java b/core/src/org/transdroid/core/gui/settings/WebsearchSettingsActivity.java index ae2e6fe9..6d1b02cb 100644 --- a/core/src/org/transdroid/core/gui/settings/WebsearchSettingsActivity.java +++ b/core/src/org/transdroid/core/gui/settings/WebsearchSettingsActivity.java @@ -17,7 +17,7 @@ import com.actionbarsherlock.app.SherlockPreferenceActivity; * @author Eric Kok */ @EActivity -@OptionsMenu(R.menu.activity_deleteableprefs) +@OptionsMenu(resName="activity_deleteableprefs") public class WebsearchSettingsActivity extends SherlockPreferenceActivity { @Extra diff --git a/full/.classpath b/full/.classpath new file mode 100644 index 00000000..a4763d1e --- /dev/null +++ b/full/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/full/.project b/full/.project new file mode 100644 index 00000000..a91e6ae4 --- /dev/null +++ b/full/.project @@ -0,0 +1,33 @@ + + + Transdroid Full + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/full/AndroidManifest.xml b/full/AndroidManifest.xml new file mode 100644 index 00000000..33c4ef62 --- /dev/null +++ b/full/AndroidManifest.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/full/proguard-project.txt b/full/proguard-project.txt new file mode 100644 index 00000000..f2fe1559 --- /dev/null +++ b/full/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/full/project.properties b/full/project.properties new file mode 100644 index 00000000..deae3e8d --- /dev/null +++ b/full/project.properties @@ -0,0 +1,15 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-16 +android.library.reference.1=../core diff --git a/full/res/values/strings.xml b/full/res/values/strings.xml new file mode 100644 index 00000000..a0681c47 --- /dev/null +++ b/full/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Transdroid + + \ No newline at end of file diff --git a/lite/.classpath b/lite/.classpath new file mode 100644 index 00000000..a4763d1e --- /dev/null +++ b/lite/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/lite/.project b/lite/.project new file mode 100644 index 00000000..e65b9dd2 --- /dev/null +++ b/lite/.project @@ -0,0 +1,33 @@ + + + Transdroid Lite + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/lite/AndroidManifest.xml b/lite/AndroidManifest.xml new file mode 100644 index 00000000..9c7bf1af --- /dev/null +++ b/lite/AndroidManifest.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lite/proguard-project.txt b/lite/proguard-project.txt new file mode 100644 index 00000000..f2fe1559 --- /dev/null +++ b/lite/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/lite/project.properties b/lite/project.properties new file mode 100644 index 00000000..deae3e8d --- /dev/null +++ b/lite/project.properties @@ -0,0 +1,15 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-16 +android.library.reference.1=../core diff --git a/lite/res/values/strings.xml b/lite/res/values/strings.xml new file mode 100644 index 00000000..e9e12ebd --- /dev/null +++ b/lite/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Transdroid Lite + + \ No newline at end of file