├── .gitignore ├── COPYING.txt ├── README.md ├── RetroShareAndroidIntegration ├── .gitignore ├── AndroidManifest.xml ├── ic_launcher-web.png ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── drawable │ │ ├── bubble_colorizable.9.png │ │ ├── chat_bubble.png │ │ ├── files.png │ │ ├── groupevent.png │ │ ├── ic_contact_color.png │ │ ├── ic_contact_picture.png │ │ ├── irc_protocol.png │ │ ├── retrosharelogo2.png │ │ ├── retrosharelogo2_gray.png │ │ ├── rstray0.png │ │ ├── rstray0_err2.png │ │ ├── rstray3.png │ │ └── search.png │ ├── layout │ │ ├── activity_account.xml │ │ ├── activity_add_download.xml │ │ ├── activity_add_server.xml │ │ ├── activity_addfriend.xml │ │ ├── activity_chalobby_lobby_item.xml │ │ ├── activity_chatlobbychat.xml │ │ ├── activity_files_file_item.xml │ │ ├── activity_listsearches.xml │ │ ├── activity_login_dialog.xml │ │ ├── activity_main.xml │ │ ├── activity_peerdetails.xml │ │ ├── activity_peers.xml │ │ ├── activity_peers_person_item.xml │ │ ├── activity_server_chooser.xml │ │ ├── activity_show_qrcode.xml │ │ ├── activity_tester.xml │ │ ├── chat_message_item.xml │ │ ├── conversation_fragment.xml │ │ ├── conversation_info_fragment_layout.xml │ │ ├── factivity_conversation.xml │ │ ├── factivity_lobbieslist.xml │ │ ├── lobbies_list_fragment.xml │ │ ├── lobby_list_item.xml │ │ └── participants_list_item.xml │ ├── menu │ │ ├── activity_main.xml │ │ └── lobbies_list_context_menu.xml │ ├── raw │ │ └── bdboot.txt │ ├── values-de │ │ └── strings.xml │ ├── values │ │ └── strings.xml │ └── xml │ │ ├── account_preferences.xml │ │ ├── authenticator.xml │ │ └── sync_contacts.xml ├── src │ └── org │ │ └── retroshare │ │ └── android │ │ ├── AddDownloadActivity.java │ │ ├── AddFriendMethodChooserActivity.java │ │ ├── AddServerActivity.java │ │ ├── ConnectingToServiceFragmentDialog.java │ │ ├── ContactMethodChooserActivity.java │ │ ├── ConversationFragment.java │ │ ├── ConversationFragmentActivity.java │ │ ├── ConversationInfoDialogFragment.java │ │ ├── FilesActivity.java │ │ ├── HandlerThreadInterface.java │ │ ├── ListSearchesActivity.java │ │ ├── LobbiesListFragment.java │ │ ├── LobbiesListFragmentActivity.java │ │ ├── MainActivity.java │ │ ├── PeerDetailsActivity.java │ │ ├── PeersActivity.java │ │ ├── ProxiedActivityBase.java │ │ ├── ProxiedFragmentActivityBase.java │ │ ├── ProxiedFragmentBase.java │ │ ├── ProxiedInterface.java │ │ ├── ProxiedServiceBase.java │ │ ├── RSA-CircleN-icon.svg │ │ ├── RetroShareAndroidProxy.java │ │ ├── RsClientInterface.java │ │ ├── RsConversationService.java │ │ ├── RsCtrlService.java │ │ ├── RsFilesService.java │ │ ├── RsMessageHandler.java │ │ ├── RsPeersService.java │ │ ├── RsSearchService.java │ │ ├── RsServerData.java │ │ ├── RsServiceClientFragmentBase.java │ │ ├── RsServiceInterface.java │ │ ├── ServerChooserActivity.java │ │ ├── ShowQrCodeActivity.java │ │ ├── ShowSearchResultsActivity.java │ │ ├── authenticator │ │ ├── AccountActivity.java │ │ ├── AccountAuthenticator.java │ │ ├── AccountPreferenceActivity.java │ │ └── AuthenticationService.java │ │ ├── sync │ │ └── ContactsSyncAdapterService.java │ │ ├── tests │ │ ├── HtmlBase64ImageGetterTestActivity.java │ │ └── TestActivity.java │ │ └── utils │ │ ├── ColorHash.java │ │ ├── HtmlBase64ImageGetter.java │ │ ├── Util.java │ │ └── WeakHashSet.java └── todo.txt ├── doc ├── architecture.dia ├── architecture.dia~ └── architecture.png ├── lib └── rsctrl │ ├── readme.txt │ └── rsctrl │ ├── chat │ └── Chat.java │ ├── core │ └── Core.java │ ├── files │ └── Files.java │ ├── gxs │ └── Gxs.java │ ├── msgs │ └── Msgs.java │ ├── peers │ └── Peers.java │ ├── search │ └── Search.java │ ├── stream │ └── Stream.java │ └── system │ └── System.java └── readme-update.txt /.gitignore: -------------------------------------------------------------------------------- 1 | #tmp 2 | *.tmp 3 | *.bak 4 | *.swp 5 | *~.nib 6 | 7 | # built application files 8 | *.apk 9 | *.ap_ 10 | 11 | # files for the dex VM 12 | *.dex 13 | 14 | # Java class files 15 | *.class 16 | 17 | # Intellij project files 18 | *.iml 19 | *.ipr 20 | *.iws 21 | .idea 22 | 23 | # Locally stored "Eclipse launch configurations" 24 | *.launch 25 | 26 | RetroShareAndroidIntegration/.classpath 27 | RetroShareAndroidIntegration/.settings 28 | RetroShareAndroidIntegration/gen 29 | RetroShareAndroidIntegration/libs 30 | out 31 | lib 32 | RetroShareAndroidIntegration/.externalToolBuilders 33 | RetroShareAndroidIntegration/.settings 34 | RetroShareAndroidIntegration/.project 35 | RetroShareAndroidIntegration/.cproject 36 | RetroShareAndroidIntegration/.buildpath 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Very Old RetroShare Client for Android # 2 | 3 | This project is deprecated, kept only as an hystorical archive, it uses very old 4 | RetroShare API which had hand written wrappers based on protobuf and was 5 | accessible via an SSH connection directly into retroshare-nogui process. 6 | 7 | That API was cumbersome to write, maintain and use and therefore was deprecated 8 | and then removed from RetroShare a long time ago. 9 | 10 | As of today RetroShare-service runs directly on Android and exposes a programmer 11 | friendly API, and many different Android apps use that API. Please refer to that 12 | API and to Android documentation shipped toghether within RetroShare main source 13 | code repository. 14 | 15 | 16 | ## How to run from source ## 17 | you need: 18 | 19 | - Android Studio (http://developer.android.com/sdk/installing/studio.html) 20 | - git (http://git-scm.com/) 21 | - ant (http://ant.apache.org/) 22 | - The other tools ( JVM, unzip, wget ) are usually already installed on almost all android developer computers. 23 | 24 | Clone RetroShare Android Client source running: 25 | 26 | # git clone https://github.com/G10h4ck/RetroShare-Android-Client.git 27 | 28 | Prepare library dependency: 29 | 30 | ## If you miss some command install it ;) 31 | # cd RetroShare-Android-Client/lib 32 | # wget http://lag.net/jaramiko/download/jaramiko-151.zip 33 | # unzip jaramiko-151.zip 34 | # cd jaramiko-151 35 | # ant jar 36 | 37 | Create Android Studio Project: 38 | 39 | From Android Studio main window: 40 | File -> Import Project -> select RetroShare-Android-Client/RetroShareAndroidIntegration 41 | File -> Import Module -> select RetroShare-Android-Client/lib/rsctrl/rsctrl 42 | File -> Project Structure -> Libraries -> + -> Java -> select RetroShare-Android-Client/lib/jaramiko-151/jaramiko.jar ( Doing this you will probably asked what modules of your project depends on that library, select the one created importing RetroShare-Android-Client/RetroShareAndroidIntegration ) 43 | File -> Project Structure -> Libraries -> + -> From Maven... -> put com.google.protobuf in the search box -> press search -> select version 2.4.1 -> set Download to RetroShare-Android-Client/lib -> press OK 44 | File -> Project Structure -> Libraries -> + -> From Maven... -> put com.google.zxing in the search box -> press search -> select version core:2.0 -> set Download to RetroShare-Android-Client/lib -> press OK 45 | File -> Project Structure -> Libraries -> + -> From Maven... -> put org.apache.commons.lang in the search box -> press search -> select a version >= 2.6.0 -> set Download to RetroShare-Android-Client/lib -> press OK 46 | Now you should be ready to contribute to the project editing the source and tunning it for testing on your emulator 47 | 48 | ## What is RetroShare? ## 49 | 50 | [RetroShare](https://retroshare.cc/) is a secure friend-2-friend social network. 51 | 52 | -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | .metadata 3 | obj -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 50 | 51 | 54 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 92 | 93 | 97 | 98 | 99 | 100 | 103 | 104 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/ic_launcher-web.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-17 15 | -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/bubble_colorizable.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/bubble_colorizable.9.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/chat_bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/chat_bubble.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/files.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/files.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/groupevent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/groupevent.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/ic_contact_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/ic_contact_color.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/ic_contact_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/ic_contact_picture.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/irc_protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/irc_protocol.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/retrosharelogo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/retrosharelogo2.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/retrosharelogo2_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/retrosharelogo2_gray.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/rstray0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/rstray0.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/rstray0_err2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/rstray0_err2.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/rstray3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/rstray3.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/drawable/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/G10h4ck/RetroShare-Android-Client/e4ccb9bd823ad86148eae5e27b899aafe3a3d397/RetroShareAndroidIntegration/res/drawable/search.png -------------------------------------------------------------------------------- /RetroShareAndroidIntegration/res/layout/activity_account.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 17 | 18 |