├── MobileOrg
├── .gitignore
├── libs
│ ├── httpmime-4.0.3.jar
│ ├── CWAC-MergeAdapter.jar
│ ├── apache-mime4j-0.6.jar
│ ├── json_simple-1.1.jar
│ ├── signpost-core-1.2.1.1.jar
│ ├── CWAC-SackOfViewsAdapter.jar
│ ├── dropbox-android-sdk-1.5.3.jar
│ └── signpost-commonshttp4-1.2.1.1.jar
├── src
│ └── main
│ │ ├── res
│ │ ├── drawable
│ │ │ ├── icon.png
│ │ │ ├── logo.png
│ │ │ ├── go_next.png
│ │ │ ├── widgetb.png
│ │ │ ├── go_next_gray.png
│ │ │ ├── go_previous.png
│ │ │ ├── widgetnew9.9.png
│ │ │ ├── go_next_pressed.png
│ │ │ ├── timeclock_icon.png
│ │ │ ├── go_next_selected.png
│ │ │ ├── go_previous_gray.png
│ │ │ ├── go_previous_pressed.png
│ │ │ ├── go_previous_selected.png
│ │ │ ├── border.xml
│ │ │ ├── background_selector.xml
│ │ │ ├── outline_item_selected.xml
│ │ │ ├── wizard_next_button.xml
│ │ │ ├── wizard_previous_button.xml
│ │ │ ├── capture_widget_text_bg.xml
│ │ │ └── actionbar_background.xml
│ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-hdpi
│ │ │ ├── ic_menu_add.png
│ │ │ ├── ic_menu_add2.png
│ │ │ ├── ic_menu_edit.png
│ │ │ ├── ic_menu_help.png
│ │ │ ├── ic_menu_home.png
│ │ │ ├── ic_menu_save.png
│ │ │ ├── ic_menu_star.png
│ │ │ ├── ic_menu_tag.png
│ │ │ ├── ic_menu_view.png
│ │ │ ├── ic_dialog_time.png
│ │ │ ├── ic_menu_agenda.png
│ │ │ ├── ic_menu_archive.png
│ │ │ ├── ic_menu_delete.png
│ │ │ ├── ic_menu_month.png
│ │ │ ├── ic_menu_refresh.png
│ │ │ ├── ic_menu_search.png
│ │ │ ├── ic_menu_today.png
│ │ │ ├── widget_capture.png
│ │ │ ├── ic_menu_directions.png
│ │ │ ├── ic_menu_moreoverflow.png
│ │ │ ├── ic_menu_preferences.png
│ │ │ ├── ic_menu_recent_history.png
│ │ │ └── ic_menu_close_clear_cancel.png
│ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── values
│ │ │ ├── dropbox.xml
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── styles.xml
│ │ │ └── arrays.xml
│ │ ├── xml
│ │ │ ├── searchable.xml
│ │ │ ├── widget_mobileorg.xml
│ │ │ ├── sdsync_preferences.xml
│ │ │ ├── dropbox_preferences.xml
│ │ │ ├── ubuntuone_preferences.xml
│ │ │ ├── webdav_preferences.xml
│ │ │ └── scp_preferences.xml
│ │ ├── menu
│ │ │ ├── edit_tags.xml
│ │ │ ├── edit_body.xml
│ │ │ ├── outline_node_uneditable.xml
│ │ │ ├── detail_menu.xml
│ │ │ ├── menu_scrolling.xml
│ │ │ ├── agenda_entry.xml
│ │ │ ├── edit.xml
│ │ │ ├── edit_node_menu.xml
│ │ │ ├── main_context_action_bar.xml
│ │ │ ├── edit_dates.xml
│ │ │ ├── outline_file_uneditable.xml
│ │ │ ├── outline_menu.xml
│ │ │ ├── outline_file.xml
│ │ │ └── outline_node.xml
│ │ ├── layout
│ │ │ ├── agenda.xml
│ │ │ ├── agendas.xml
│ │ │ ├── edit_spinner_layout.xml
│ │ │ ├── agenda_header.xml
│ │ │ ├── wizard_navbar_first.xml
│ │ │ ├── wizard_next_button.xml
│ │ │ ├── wizard_previous_button.xml
│ │ │ ├── wizard_previous_button_navbar.xml
│ │ │ ├── search.xml
│ │ │ ├── view.xml
│ │ │ ├── wizard_navbar.xml
│ │ │ ├── wizard_null.xml
│ │ │ ├── orgnode_list.xml
│ │ │ ├── widget.xml
│ │ │ ├── folder_adapter_row.xml
│ │ │ ├── days_view_holder.xml
│ │ │ ├── wizard_navbar_last.xml
│ │ │ ├── pluginsyncedit.xml
│ │ │ ├── androidauth.xml
│ │ │ ├── wizard_folder_pick_list.xml
│ │ │ ├── wizard_dropbox.xml
│ │ │ ├── node_summary_recycler_fragment.xml
│ │ │ ├── activity_orgnode_detail.xml
│ │ │ ├── detail_recycler_item.xml
│ │ │ ├── timeclock_notification.xml
│ │ │ ├── activity_conflict_resolver.xml
│ │ │ ├── timeclock_dialog.xml
│ │ │ ├── activity_orgnode_list.xml
│ │ │ ├── sync_notification.xml
│ │ │ ├── search_item_layout.xml
│ │ │ ├── outline_item.xml
│ │ │ ├── agenda_recycler_item.xml
│ │ │ ├── certconflict.xml
│ │ │ ├── wizard_ubuntuone.xml
│ │ │ ├── wizard_choose_synchronizer.xml
│ │ │ └── wizard_webdav.xml
│ │ ├── values-w820dp
│ │ │ └── dimens.xml
│ │ ├── values-v21
│ │ │ └── styles.xml
│ │ ├── layout-w900dp
│ │ │ └── orgnode_list.xml
│ │ └── raw
│ │ │ └── upgrade.txt
│ │ └── java
│ │ └── com
│ │ └── matburt
│ │ └── mobileorg
│ │ ├── SwipeInterface.java
│ │ ├── ItemViewHolder.java
│ │ ├── orgdata
│ │ ├── CalendarEntry.java
│ │ ├── MobileOrgApplication.java
│ │ ├── OrgNodeParser.java
│ │ └── OrgNodeDate.java
│ │ ├── util
│ │ ├── OrgFileNotFoundException.java
│ │ ├── OrgNodeNotFoundException.java
│ │ ├── MultiMap.java
│ │ └── TodoDialog.java
│ │ ├── plugin
│ │ ├── Synchronize.java
│ │ ├── BundleScrubber.java
│ │ └── PluginBundleManager.java
│ │ ├── synchronizers
│ │ ├── SyncResult.java
│ │ ├── NullSynchronizer.java
│ │ ├── ProgressDialogAsyncTask.java
│ │ ├── MergeDialogFragment.java
│ │ ├── SDCardSynchronizer.java
│ │ ├── AuthData.java
│ │ ├── SshSessionFactory.java
│ │ ├── SSHSynchronizer.java
│ │ └── CredentialsProviderAllowHost.java
│ │ ├── gui
│ │ ├── ErrorReporter.java
│ │ ├── theme
│ │ │ ├── MonoTheme.java
│ │ │ ├── WhiteTheme.java
│ │ │ └── DefaultTheme.java
│ │ ├── wizard
│ │ │ ├── WideLinearLayout.java
│ │ │ ├── LocalDirectoryBrowser.java
│ │ │ ├── DirectoryBrowser.java
│ │ │ ├── wizards
│ │ │ │ ├── SDCardWizard.java
│ │ │ │ ├── UbuntuOneDirectoryBrowser.java
│ │ │ │ ├── DropboxDirectoryBrowser.java
│ │ │ │ ├── WebDAVWizard.java
│ │ │ │ └── UbuntuOneWizard.java
│ │ │ ├── WizardActivity.java
│ │ │ └── FolderAdapter.java
│ │ ├── CertificateConflictActivity.java
│ │ ├── FileDecryptionActivity.java
│ │ ├── SynchronizerNotification.java
│ │ ├── outline
│ │ │ └── ConflictResolverActivity.java
│ │ └── SynchronizerNotificationCompat.java
│ │ ├── MultipleItemsViewHolder.java
│ │ ├── Style.java
│ │ ├── ActivitySwipeDetector.java
│ │ ├── settings
│ │ └── synchronizers
│ │ │ ├── SDCardSettingsActivity.java
│ │ │ ├── UbuntuOneSettingsActivity.java
│ │ │ ├── WebDAVSettingsActivity.java
│ │ │ └── ScpSettingsActivity.java
│ │ └── EditNodeActivity.java
└── build.gradle
├── settings.gradle
├── src-img
├── icon.psd
├── qrcode.png
├── org-mode-logo.psd
├── screenshot-main.png
├── screenshot-settings.png
├── screenshot-secondary.png
├── inkscape_pasted_image_20110901_112511.png
├── credits.txt
└── wizard_next_button.svg
├── picturesReadme
├── Main.png
├── Todos.png
├── ChildView.png
├── Expended.png
├── FoldedView.png
├── MainResized.png
├── TodosResized.png
├── ChildViewResized.png
├── ExpendedResized.png
└── FoldedViewResized.png
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── README.md
├── project.properties
├── .gitignore
├── gradle.properties
├── HACKING.md
└── gradlew.bat
/MobileOrg/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':MobileOrg'
--------------------------------------------------------------------------------
/src-img/icon.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/icon.psd
--------------------------------------------------------------------------------
/src-img/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/qrcode.png
--------------------------------------------------------------------------------
/picturesReadme/Main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/Main.png
--------------------------------------------------------------------------------
/picturesReadme/Todos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/Todos.png
--------------------------------------------------------------------------------
/src-img/org-mode-logo.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/org-mode-logo.psd
--------------------------------------------------------------------------------
/picturesReadme/ChildView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/ChildView.png
--------------------------------------------------------------------------------
/picturesReadme/Expended.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/Expended.png
--------------------------------------------------------------------------------
/src-img/screenshot-main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/screenshot-main.png
--------------------------------------------------------------------------------
/picturesReadme/FoldedView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/FoldedView.png
--------------------------------------------------------------------------------
/picturesReadme/MainResized.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/MainResized.png
--------------------------------------------------------------------------------
/picturesReadme/TodosResized.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/TodosResized.png
--------------------------------------------------------------------------------
/src-img/screenshot-settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/screenshot-settings.png
--------------------------------------------------------------------------------
/MobileOrg/libs/httpmime-4.0.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/httpmime-4.0.3.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/src-img/screenshot-secondary.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/screenshot-secondary.png
--------------------------------------------------------------------------------
/MobileOrg/libs/CWAC-MergeAdapter.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/CWAC-MergeAdapter.jar
--------------------------------------------------------------------------------
/MobileOrg/libs/apache-mime4j-0.6.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/apache-mime4j-0.6.jar
--------------------------------------------------------------------------------
/MobileOrg/libs/json_simple-1.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/json_simple-1.1.jar
--------------------------------------------------------------------------------
/picturesReadme/ChildViewResized.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/ChildViewResized.png
--------------------------------------------------------------------------------
/picturesReadme/ExpendedResized.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/ExpendedResized.png
--------------------------------------------------------------------------------
/picturesReadme/FoldedViewResized.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/picturesReadme/FoldedViewResized.png
--------------------------------------------------------------------------------
/MobileOrg/libs/signpost-core-1.2.1.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/signpost-core-1.2.1.1.jar
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/icon.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/logo.png
--------------------------------------------------------------------------------
/MobileOrg/libs/CWAC-SackOfViewsAdapter.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/CWAC-SackOfViewsAdapter.jar
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_next.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/widgetb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/widgetb.png
--------------------------------------------------------------------------------
/MobileOrg/libs/dropbox-android-sdk-1.5.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/dropbox-android-sdk-1.5.3.jar
--------------------------------------------------------------------------------
/MobileOrg/libs/signpost-commonshttp4-1.2.1.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/libs/signpost-commonshttp4-1.2.1.1.jar
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_next_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_next_gray.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_previous.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_previous.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/widgetnew9.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/widgetnew9.9.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_next_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_next_pressed.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/timeclock_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/timeclock_icon.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src-img/inkscape_pasted_image_20110901_112511.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/src-img/inkscape_pasted_image_20110901_112511.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_add.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_add2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_add2.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_edit.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_help.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_home.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_save.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_star.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_tag.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_view.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_next_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_next_selected.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_previous_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_previous_gray.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src-img/credits.txt:
--------------------------------------------------------------------------------
1 | * arrows
2 | - [ ] [[http://kde-look.org/content/show.php/Faenza%2Bv0.9%2B%2B%2BVariants%2B-%2Bby%2Bjetpack?content%3D140256][Faenza]]
3 |
4 |
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_dialog_time.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_dialog_time.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_agenda.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_agenda.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_archive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_archive.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_delete.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_month.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_month.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_refresh.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_search.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_today.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_today.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/widget_capture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/widget_capture.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_previous_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_previous_pressed.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable/go_previous_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable/go_previous_selected.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_directions.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_directions.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_moreoverflow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_moreoverflow.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_preferences.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_preferences.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_recent_history.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_recent_history.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/drawable-hdpi/ic_menu_close_clear_cancel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matburt/mobileorg-android/HEAD/MobileOrg/src/main/res/drawable-hdpi/ic_menu_close_clear_cancel.png
--------------------------------------------------------------------------------
/MobileOrg/src/main/res/values/dropbox.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 | * String message to display in a Toast message. 26 | */ 27 | public static final String BUNDLE_EXTRA_STRING_MESSAGE = "com.yourcompany.yourapp.extra.STRING_MESSAGE"; //$NON-NLS-1$ 28 | /** 29 | * Type: {@code int} 30 | *
31 | * versionCode of the plug-in that saved the Bundle. 32 | */ 33 | /* 34 | * This extra is not strictly required, however it makes backward and forward compatibility significantly easier. For example, 35 | * suppose a bug is found in how some version of the plug-in stored its Bundle. By having the version, the plug-in can better 36 | * detect when such bugs occur. 37 | */ 38 | public static final String BUNDLE_EXTRA_INT_VERSION_CODE = "com.yourcompany.yourcondition.extra.INT_VERSION_CODE"; //$NON-NLS-1$ 39 | 40 | /** 41 | * Private constructor prevents instantiation 42 | * 43 | * @throws UnsupportedOperationException because this class cannot be instantiated. 44 | */ 45 | private PluginBundleManager() { 46 | throw new UnsupportedOperationException("This class is non-instantiable"); //$NON-NLS-1$ 47 | } 48 | 49 | /** 50 | * Method to verify the content of the bundle are correct. 51 | *
52 | * This method will not mutate {@code bundle}. 53 | * 54 | * @param bundle bundle to verify. May be null, which will always return false. 55 | * @return true if the Bundle is valid, false if the bundle is invalid. 56 | */ 57 | public static boolean isBundleValid(final Bundle bundle) 58 | { 59 | if (null == bundle) 60 | { 61 | return false; 62 | } 63 | 64 | /* 65 | * Make sure the expected extras exist 66 | */ 67 | if (!bundle.containsKey(BUNDLE_EXTRA_STRING_MESSAGE)) 68 | { 69 | return false; 70 | } 71 | if (!bundle.containsKey(BUNDLE_EXTRA_INT_VERSION_CODE)) 72 | { 73 | return false; 74 | } 75 | 76 | /* 77 | * Make sure the correct number of extras exist. Run this test after checking for specific Bundle extras above so that the 78 | * error message is more useful. (E.g. the caller will see what extras are missing, rather than just a message that there 79 | * is the wrong number). 80 | */ 81 | if (2 != bundle.keySet().size()) 82 | { 83 | return false; 84 | } 85 | 86 | /* 87 | * Make sure the extra isn't null or empty 88 | */ 89 | if (TextUtils.isEmpty(bundle.getString(BUNDLE_EXTRA_STRING_MESSAGE))) 90 | { 91 | return false; 92 | } 93 | 94 | /* 95 | * Make sure the extra is the correct type 96 | */ 97 | if (bundle.getInt(BUNDLE_EXTRA_INT_VERSION_CODE, 0) != bundle.getInt(BUNDLE_EXTRA_INT_VERSION_CODE, 1)) 98 | { 99 | return false; 100 | } 101 | 102 | return true; 103 | } 104 | } -------------------------------------------------------------------------------- /MobileOrg/src/main/java/com/matburt/mobileorg/gui/outline/ConflictResolverActivity.java: -------------------------------------------------------------------------------- 1 | package com.matburt.mobileorg.gui.outline; 2 | 3 | import android.content.ContentValues; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.support.v4.app.NavUtils; 7 | import android.support.v7.app.ActionBar; 8 | import android.support.v7.app.AppCompatActivity; 9 | import android.support.v7.widget.Toolbar; 10 | import android.view.Menu; 11 | import android.view.MenuInflater; 12 | import android.view.MenuItem; 13 | import android.widget.EditText; 14 | 15 | import com.matburt.mobileorg.orgdata.OrgContract; 16 | import com.matburt.mobileorg.orgdata.OrgFile; 17 | import com.matburt.mobileorg.OrgNodeListActivity; 18 | import com.matburt.mobileorg.R; 19 | import com.matburt.mobileorg.synchronizers.JGitWrapper; 20 | import com.matburt.mobileorg.synchronizers.Synchronizer; 21 | import com.matburt.mobileorg.util.OrgFileNotFoundException; 22 | import com.matburt.mobileorg.util.OrgUtils; 23 | 24 | public class ConflictResolverActivity extends AppCompatActivity { 25 | 26 | EditText editText; 27 | String filename; 28 | Long nodeId; 29 | 30 | @Override 31 | protected void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | setContentView(R.layout.activity_conflict_resolver); 34 | Toolbar toolbar = (Toolbar) findViewById(R.id.detail_toolbar); 35 | setSupportActionBar(toolbar); 36 | 37 | // Show the Up button in the action bar. 38 | ActionBar actionBar = getSupportActionBar(); 39 | 40 | 41 | 42 | if (savedInstanceState == null) { 43 | // Create the detail fragment and add it to the activity 44 | // using a fragment transaction. 45 | Bundle arguments = new Bundle(); 46 | nodeId = getIntent().getLongExtra(OrgContract.NODE_ID, -1); 47 | 48 | editText = (EditText)findViewById(R.id.conflict_resolver_text); 49 | try { 50 | OrgFile file = new OrgFile(nodeId, getContentResolver()); 51 | if (actionBar != null) { 52 | actionBar.setTitle(file.name); 53 | } 54 | 55 | String dir = Synchronizer.getInstance().getAbsoluteFilesDir(this); 56 | this.filename = dir+"/"+file.filename; 57 | editText.setText(OrgUtils.readAll(this.filename)); 58 | 59 | } catch (OrgFileNotFoundException e) { 60 | e.printStackTrace(); 61 | } 62 | } 63 | } 64 | 65 | @Override 66 | public boolean onCreateOptionsMenu(Menu menu) { 67 | MenuInflater inflater = getMenuInflater(); 68 | inflater.inflate(R.menu.edit_node_menu, menu); 69 | 70 | return true; 71 | } 72 | 73 | @Override 74 | public boolean onOptionsItemSelected(MenuItem item) { 75 | switch (item.getItemId()) { 76 | case R.id.edit_menu_cancel: 77 | NavUtils.navigateUpTo(this, new Intent(this, OrgNodeListActivity.class)); 78 | return true; 79 | case R.id.edit_menu_ok: 80 | if(this.filename!=null && !this.filename.equals("")){ 81 | OrgUtils.writeToFile(this.filename, editText.getText().toString()); 82 | new JGitWrapper.MergeTask(this, this.filename).execute(); 83 | OrgFile f = null; 84 | try { 85 | f = new OrgFile(nodeId, this.getContentResolver()); 86 | ContentValues values = new ContentValues(); 87 | values.put("comment", ""); 88 | f.updateFileInDB(this.getContentResolver(), values); 89 | } catch (OrgFileNotFoundException e) { 90 | e.printStackTrace(); 91 | } 92 | 93 | } 94 | NavUtils.navigateUpTo(this, new Intent(this, OrgNodeListActivity.class)); 95 | return true; 96 | } 97 | return false; 98 | } 99 | 100 | 101 | } 102 | -------------------------------------------------------------------------------- /MobileOrg/src/main/java/com/matburt/mobileorg/gui/SynchronizerNotificationCompat.java: -------------------------------------------------------------------------------- 1 | package com.matburt.mobileorg.gui; 2 | 3 | import android.app.Notification; 4 | import android.app.NotificationManager; 5 | import android.app.PendingIntent; 6 | import android.content.Context; 7 | import android.content.Intent; 8 | import android.support.v4.app.NotificationCompat; 9 | import android.support.v4.app.NotificationCompat.Builder; 10 | import android.widget.RemoteViews; 11 | 12 | import com.matburt.mobileorg.OrgNodeListActivity; 13 | import com.matburt.mobileorg.R; 14 | 15 | public class SynchronizerNotificationCompat { 16 | private NotificationManager notificationManager; 17 | private Notification notification; 18 | private int notifyRef = 1; 19 | private Context context; 20 | 21 | public SynchronizerNotificationCompat(Context context) { 22 | this.context = context; 23 | } 24 | 25 | public void errorNotification(String errorMsg) { 26 | this.notificationManager = (NotificationManager) context 27 | .getSystemService(Context.NOTIFICATION_SERVICE); 28 | Intent notifyIntent = new Intent(context, OrgNodeListActivity.class); 29 | notifyIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP 30 | | Intent.FLAG_ACTIVITY_SINGLE_TOP); 31 | 32 | PendingIntent contentIntent = PendingIntent.getActivity(context, 0, 33 | notifyIntent, 0); 34 | 35 | Builder builder = new NotificationCompat.Builder(context); 36 | builder.setContentIntent(contentIntent); 37 | builder.setSmallIcon(R.drawable.icon); 38 | builder.setContentTitle("Synchronization failed"); 39 | 40 | notification = builder.getNotification(); 41 | notification.contentView = notification.contentView = new RemoteViews( 42 | context.getPackageName(), R.layout.sync_notification); 43 | 44 | notification.contentView.setImageViewResource(R.id.status_icon, 45 | R.drawable.icon); 46 | notification.contentView.setTextViewText(R.id.status_text, errorMsg); 47 | notification.contentView.setProgressBar(R.id.status_progress, 100, 100, 48 | false); 49 | notificationManager.notify(notifyRef, notification); 50 | } 51 | 52 | public void setupNotification() { 53 | this.notificationManager = (NotificationManager) context 54 | .getSystemService(Context.NOTIFICATION_SERVICE); 55 | Intent notifyIntent = new Intent(context, OrgNodeListActivity.class); 56 | notifyIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP 57 | | Intent.FLAG_ACTIVITY_SINGLE_TOP); 58 | 59 | PendingIntent contentIntent = PendingIntent.getActivity(context, 0, 60 | notifyIntent, 0); 61 | 62 | Builder builder = new NotificationCompat.Builder(context); 63 | builder.setContentIntent(contentIntent); 64 | builder.setSmallIcon(R.drawable.icon); 65 | builder.setOngoing(true); 66 | builder.setContentTitle("Started synchronization"); 67 | builder.setContentText("Started synchronization"); 68 | notification = builder.getNotification(); 69 | 70 | notification.contentView = new RemoteViews(context.getPackageName(), 71 | R.layout.sync_notification); 72 | 73 | notification.contentView.setImageViewResource(R.id.status_icon, 74 | R.drawable.icon); 75 | notification.contentView.setTextViewText(R.id.status_text, 76 | context.getString(R.string.sync_synchronizing_changes)); 77 | notification.contentView.setProgressBar(R.id.status_progress, 100, 0, 78 | true); 79 | 80 | notificationManager.notify(notifyRef, notification); 81 | } 82 | 83 | public void updateNotification(String message) { 84 | if(notification == null) 85 | return; 86 | 87 | if(message != null) { 88 | notification.contentView.setTextViewText(R.id.status_text, message); 89 | notificationManager.notify(notifyRef, notification); 90 | } 91 | } 92 | 93 | public void updateNotification(int progress) { 94 | updateNotification(progress, null); 95 | } 96 | 97 | public void updateNotification(int progress, String message) { 98 | if(notification == null) 99 | return; 100 | 101 | if(message != null) 102 | notification.contentView.setTextViewText(R.id.status_text, message); 103 | 104 | notification.contentView.setProgressBar(R.id.status_progress, 100, 105 | progress, false); 106 | notificationManager.notify(notifyRef, notification); 107 | } 108 | 109 | public void finalizeNotification() { 110 | notificationManager.cancel(notifyRef); 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /src-img/wizard_next_button.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 117 | --------------------------------------------------------------------------------