Browse Source

removed Twitter from About screen

master
jahway603 2 years ago
parent
commit
6fa95f6d9e
  1. 34
      README.md
  2. 1
      app/build.gradle
  3. 2
      app/src/main/java/org/myhush/silentdragon/SendActivity.kt
  4. 37
      app/src/main/res/layout/activity_about.xml

34
README.md

@ -1,39 +1,27 @@
# SilentDragon Android
<p align="left">
<a href="https://twitter.com/MyHushTeam">
<img src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Fmyhushteam"
alt="MyHushTeam's Twitter"></a>
<a href="https://twitter.com/intent/follow?screen_name=MyHushTeam">
<img src="https://img.shields.io/twitter/follow/MyHushTeam?style=social&logo=twitter"
alt="follow on Twitter"></a>
<a href="https://fosstodon.org/@myhushteam">
<img src="https://img.shields.io/badge/Mastodon-MyHushTeam-blue"
alt="follow on Mastodon"></a>
<a href="https://www.reddit.com/r/Myhush/">
<img src="https://img.shields.io/reddit/subreddit-subscribers/Myhush?style=social"
alt="MyHushTeam's Reddit"></a>
</p>
SilentDragon Android is an Android frontend for the desktop [SilentDragon](https://git.hush.is/hush/SilentDragon) or [SilentDragonLite](https://git.hush.is/hush/SilentDragonLite) that lets you send and receive shielded payments from your mobile phone. We are currently working on implementing Lite Wallet and HushChat functionality on Android, so follow us on our [Twitter](https://twitter.com/MyHushTeam) or [Mastodon](https://fosstodon.org/@myhushteam) to stay updated. After this functionality is implemented, we are planning on making an F-Droid release.
SilentDragon Android is an Android frontend for the desktop [SilentDragon](https://git.hush.is/hush/SilentDragon) or [SilentDragonLite](https://git.hush.is/hush/SilentDragonLite) that lets you send and receive shielded payments from your mobile phone. We are currently working on implementing Lite Wallet and HushChat functionality on Android, so follow us on our [Mastodon](https://fosstodon.org/@myhushteam) to stay updated. After this functionality is implemented, we are planning on making an official F-Droid release.
<img height=50% width=50% src="SDA.jpg">
## Installation
The minimum supported Android version is 4.4.x KitKat. There are two ways to install:
The minimum supported Android version is 4.4.x KitKat. There are three ways to install:
1. Via the [Google Play Store](https://play.google.com/store/apps/details?id=org.myhush.silentdragon).
1. Direct APK install available at the [Releases page](https://git.hush.is/hush/SilentDragonAndroid/releases). You will need to allow `Install from untrusted sources` on your Android phone in order to install from this source.
1. Via our custom 3rd-party F-Droid repository, which you can [find here](https://hush.is/fdroid).
1. Least recommended method is via the [Google Play Store](https://play.google.com/store/apps/details?id=org.myhush.silentdragon).
## Running SilentDragon
In order to let your Android phone connect to your desktop, you need to run the desktop [SilentDragon](https://git.hush.is/hush/SilentDragon), and sync fully. This is not a full node
In order to let your Android phone connect to your desktop, you need to run the either desktop
wallet [SilentDragonLite](https://git.hush.is/hush/SilentDragonLite) or
[SilentDragon](https://git.hush.is/hush/SilentDragon) fully synced. This is not a full node
on your Android (your poor battery!). It's a remote control for your full node.
Thankfully this should only take a short time with a fast internet connection!
As the Hush network grows, it will take longer. As of Sept 2019, the blockchain
is about 900MB on disk.
As the Hush network grows, it will take longer. As of December 2021, the Hush blockchain
is over 4GB on disk.
After your node is synced, go to `Apps -> Connect Mobile App` to view the
connection QR Code, which you can scan from the Android App.
@ -42,7 +30,7 @@ connection QR Code, which you can scan from the Android App.
You can file issues in the [issues tab](https://git.hush.is/hush/SilentDragonAndroid/issues).
We appreciate them! Please follow the Github issue template, when reasonable.
We appreciate them! Please follow the Gitea issue template, when reasonable.
## Compiling from source
@ -95,4 +83,4 @@ Contributions to this project are welcome and encouraged.
## Support
For support or other questions, join us on [Telegram](https://hush.is/telegram), or tweet at [@MyHushTeam](https://twitter.com/MyHushTeam), or toot at our [Mastodon](https://fosstodon.org/@myhushteam), or join [Telegram Support](https://hush.is/telegram_support) or [file an issue](https://git.hush.is/hush/SilentDragonAndroid/issues).
For support or other questions, join us on [Telegram](https://hush.is/telegram), or toot at our [Mastodon](https://fosstodon.org/@myhushteam), or join [Telegram Support](https://hush.is/telegram_support) or [file an issue](https://git.hush.is/hush/SilentDragonAndroid/issues).

1
app/build.gradle

@ -86,7 +86,6 @@ dependencies {
implementation 'com.google.android.gms:play-services-vision:17.0.2'
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
//implementation 'com.journeyapps:zxing-android-embedded:3.6.0@aar'
implementation 'com.journeyapps:zxing-android-embedded:4.3.0@aar'
implementation 'com.google.zxing:core:3.3.0'
testImplementation 'junit:junit:4.12'

2
app/src/main/java/org/myhush/silentdragon/SendActivity.kt

@ -254,7 +254,7 @@ class SendActivity : AppCompatActivity() {
if (amt == null) {
return
}
// Since there is a text-change listner on the USD field, we set the USD first, then override the
// Since there is a text-change listener on the USD field, we set the USD first, then override the
// HUSH field manually.
amountHUSH.setText((DecimalFormat("#.########").format(amt) + "${DataModel.mainResponseData?.tokenName}"))
Toast.makeText(this.applicationContext, amt.toString(), Toast.LENGTH_SHORT).show()

37
app/src/main/res/layout/activity_about.xml

@ -100,41 +100,6 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/TelegramText" />
<TextView
android:id="@+id/Twitter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="@string/twitter"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divider2" />
<TextView
android:id="@+id/TwitterText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="2dp"
android:text="@string/twitter_link"
android:textColorLink="@android:color/white"
android:autoLink="web"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/Twitter" />
<View
android:id="@+id/divider3"
android:layout_width="0dp"
android:layout_height="2dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="8dp"
android:background="?android:attr/listDivider"
android:visibility="visible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/TwitterText" />
<TextView
android:id="@+id/Mastodon"
android:layout_width="wrap_content"
@ -144,7 +109,7 @@
android:text="@string/mastodon"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divider3" />
app:layout_constraintTop_toBottomOf="@id/divider2" />
<TextView
android:id="@+id/MastodonText"

Loading…
Cancel
Save