Compare commits

...

11 commits
v1.3.0 ... main

Author SHA1 Message Date
partisan
240f95eba2 Added progress bar to popup, to better indicate loading
All checks were successful
Android Release Build / build (push) Successful in 7s
2025-05-06 21:04:16 +02:00
partisan
0a6df829d4 Updated fastlane icon 2025-05-06 20:41:09 +02:00
partisan
7bde6c264f Added fastlane update info
All checks were successful
Android Release Build / build (push) Successful in 9s
2025-05-06 20:36:05 +02:00
partisan
c8d65dda5f Fixed crash related to redirect popup 2025-05-06 20:34:39 +02:00
fc1f048e2c Typo in README 2025-05-06 14:40:07 +00:00
partisan
0544d0b782 Added badge :3 2025-05-06 14:03:22 +02:00
partisan
57ef2764a7 Updated metadata and removed google proprietary crap
All checks were successful
Android Release Build / build (push) Successful in 9s
2025-05-06 10:41:07 +02:00
16377221fd Update README.md 2025-05-01 19:07:52 +00:00
1abb3a0b29 Update README.md 2025-05-01 19:03:09 +00:00
partisan
ae074076cf Added screenshots and stuff 2025-05-01 20:57:17 +02:00
partisan
ce87ffb2ee deleted github jobs 2025-05-01 20:56:00 +02:00
35 changed files with 427 additions and 123 deletions

View file

@ -1,26 +0,0 @@
name: Android CI
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

View file

@ -1,10 +0,0 @@
name: "Validate Gradle Wrapper"
# on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1

View file

@ -1,29 +0,0 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1
.gitignore vendored
View file

@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
release-key.jks

View file

@ -1,5 +1,5 @@
<p align="center">
<img src="https://weforge.xyz/partisan/Pulse/raw/branch/main/data/icon.svg" alt="Logo" width="64" height="64">
<img src="https://weforge.xyz/partisan/Pulse/raw/branch/main/data/icon.svg" alt="Pulse Icon" width="64" height="64">
</p>
<p align="center" style="font-size: 32px;">
@ -10,6 +10,31 @@
Tiny app to redirect outgoing calls to Signal/Telegram/Threema/Whatsapp.
</p>
---
<p align="center">
<a href="https://apt.izzysoft.de/fdroid/index/apk/partisan.weforge.xyz.pulse">
<img src="https://weforge.xyz/partisan/Pulse/raw/branch/main/data/IzzyOnDroidButton.svg" alt="Download on IzzyOnDroid" width="256" height="64">
</a>
</p>
---
<p align="center">
<strong>Screenshots</strong>
</p>
<p align="center">
<span>
<img src="https://weforge.xyz/partisan/Pulse/raw/branch/main/data/screenshot.png" alt="Main screen" height="500" style="border-radius: 8px;">
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span>
<img src="https://weforge.xyz/partisan/Pulse/raw/branch/main/data/screenshot-redirecting.png" alt="Redirecting popup" height="500" style="border-radius: 8px;">
</span>
</p>
You can cancel redirection by clicking on `Redirecting to..` popup.
## Permissions
@ -37,4 +62,4 @@ Licensed under the [Public Domain](https://www.svgrepo.com/page/licensing/#PD).
### Original Author
This software was originally developed by https://github.com/x13a, but it has been archived by the owner on Jun 22, 2022.
[This software](https://github.com/x13a/Red) was originally developed by [x13a](https://github.com/x13a), but it has been archived by the owner on Jun 22, 2022.

View file

@ -11,8 +11,8 @@ android {
applicationId = "partisan.weforge.xyz.pulse"
minSdk = 29
targetSdk = 34
versionCode = 9
versionName = "1.3.0"
versionCode = 12
versionName = "1.4.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@ -50,6 +50,13 @@ android {
lint {
disable += 'MissingTranslation'
}
dependenciesInfo {
// Disables dependency metadata when building APKs (for IzzyOnDroid/F-Droid)
includeInApk = false
// Disables dependency metadata when building Android App Bundles (for Google Play)
includeInBundle = false
}
}
dependencies {

View file

@ -9,21 +9,24 @@ import android.net.Uri
import android.view.Gravity
import android.view.LayoutInflater
import android.view.WindowManager
import android.view.ContextThemeWrapper
import android.widget.TextView
import android.animation.ObjectAnimator
import android.widget.ProgressBar
import androidx.annotation.RequiresPermission
import java.lang.ref.WeakReference
import java.util.*
import kotlin.concurrent.timerTask
class PopupWindow(
private val ctx: Context,
ctx: Context,
private val service: WeakReference<CallRedirectionService>?,
) {
private val prefs = Preferences(ctx)
private val windowManager = ctx.getSystemService(WindowManager::class.java)
private val audioManager = ctx.getSystemService(AudioManager::class.java)
@Suppress("InflateParams")
private val view = LayoutInflater.from(ctx).inflate(R.layout.popup, null)
private val themedCtx = ContextThemeWrapper(ctx, R.style.Theme_Pulse)
private val prefs = Preferences(themedCtx)
private val windowManager = themedCtx.getSystemService(WindowManager::class.java)
private val audioManager = themedCtx.getSystemService(AudioManager::class.java)
private val view = LayoutInflater.from(themedCtx).inflate(R.layout.popup, null)
private val layoutParams = WindowManager.LayoutParams().apply {
format = PixelFormat.TRANSLUCENT
flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
@ -45,7 +48,7 @@ class PopupWindow(
fun preview() {
remove()
layoutParams.y = prefs.popupPosition
val destinations = mutableListOf(
val destinations = listOf(
R.string.destination_signal,
R.string.destination_telegram,
R.string.destination_threema,
@ -80,6 +83,7 @@ class PopupWindow(
service.cancelCall()
}, prefs.redirectionDelay)
setDescription(destinationId)
startProgressAnimation(prefs.redirectionDelay)
if (!add()) {
timer?.cancel()
service.placeCallUnmodified()
@ -87,33 +91,46 @@ class PopupWindow(
}
private fun setDescription(id: Int) {
view.findViewById<TextView>(R.id.description).text = ctx.getString(
view.findViewById<TextView>(R.id.description).text = themedCtx.getString(
R.string.popup,
ctx.getString(id),
themedCtx.getString(id),
)
}
private fun startProgressAnimation(duration: Long) {
val bar = view.findViewById<ProgressBar>(R.id.progress)
bar.max = 100
bar.progress = 0
val animator = ObjectAnimator.ofInt(bar, "progress", 100)
animator.duration = duration
animator.start()
}
@RequiresPermission(Manifest.permission.CALL_PHONE)
private fun call(data: Uri) {
Intent(Intent.ACTION_VIEW).let {
it.data = data
it.flags = Intent.FLAG_ACTIVITY_NEW_TASK
ctx.startActivity(it)
Intent(Intent.ACTION_VIEW).apply {
this.data = data
flags = Intent.FLAG_ACTIVITY_NEW_TASK
themedCtx.startActivity(this)
}
}
private fun add(): Boolean {
try {
windowManager?.addView(view, layoutParams)
} catch (exc: WindowManager.BadTokenException) { return false }
} catch (exc: WindowManager.BadTokenException) {
return false
}
return true
}
private fun remove(): Boolean {
try {
windowManager?.removeView(view)
} catch (exc: IllegalArgumentException) {
} catch (exc: WindowManager.BadTokenException) { return false }
} catch (_: IllegalArgumentException) {
} catch (_: WindowManager.BadTokenException) {
return false
}
return true
}

View file

@ -0,0 +1,17 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape android:shape="rectangle">
<solid android:color="#22000000" />
<corners android:radius="999dp" />
</shape>
</item>
<item android:id="@android:id/progress">
<clip>
<shape android:shape="rectangle">
<solid android:color="?attr/colorPrimary" />
<corners android:radius="999dp" />
</shape>
</clip>
</item>
</layer-list>

View file

@ -1,20 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
<com.google.android.material.card.MaterialCardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
card_view:cardBackgroundColor="@android:color/transparent"
card_view:cardCornerRadius="32dp"
card_view:cardElevation="0dp"
card_view:contentPadding="0dp">
app:cardCornerRadius="24dp"
app:cardElevation="4dp"
app:cardBackgroundColor="?attr/colorSurface"
android:background="@android:color/white">
<TextView
android:id="@+id/description"
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/popup"
android:padding="16dp"
android:textColor="@color/black"
android:textSize="16sp" />
android:orientation="vertical">
</androidx.cardview.widget.CardView>
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
android:textColor="?attr/colorOnSurface"
android:textSize="16sp"
android:textAppearance="?attr/textAppearanceBodyMedium"
android:textAlignment="center"
tools:text="Popup text" />
<ProgressBar
android:id="@+id/progress"
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_marginBottom="8dp"
android:indeterminate="false"
android:max="100"
style="@android:style/Widget.ProgressBar.Horizontal"
android:progressDrawable="@drawable/progress_drawable"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>

View file

@ -7,6 +7,9 @@
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Customize your theme here. -->
<item name="colorSurface">@color/white</item>
<item name="colorOnSurface">@color/black</item>
<item name="textAppearanceBodyMedium">@style/TextAppearance.Material3.BodyMedium</item>
</style>
</resources>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 165 KiB

BIN
data/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
data/icon_appstore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

197
data/icon_appstore.svg Normal file
View file

@ -0,0 +1,197 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
fill="#000000"
version="1.1"
id="Layer_1"
width="845.71301"
height="842.34912"
viewBox="0 0 76.114171 75.811421"
enable-background="new 0 0 72 72"
sodipodi:docname="icon_appstore.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
inkscape:export-filename="icon_appstore.png"
inkscape:export-xdpi="58.351101"
inkscape:export-ydpi="58.351101"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:bx="https://boxy-svg.com">
<sodipodi:namedview
id="namedview44"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="0.49741846"
inkscape:cx="-82.42557"
inkscape:cy="414.13823"
inkscape:window-width="1920"
inkscape:window-height="1008"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" />
<defs
id="defs5">
<radialGradient
gradientUnits="userSpaceOnUse"
cx="254.89999"
cy="255.633"
r="238.439"
id="gradient-1"
gradientTransform="matrix(0.25708576,0,0,0.25708576,-27.372645,-27.645846)">
<stop
offset="0"
style="stop-color: rgb(1, 5, 11);"
id="stop2" />
<stop
offset="1"
style="stop-color: rgb(11, 22, 36);"
id="stop4" />
</radialGradient>
<bx:export>
<bx:file
format="png" />
</bx:export>
</defs>
<ellipse
style="fill:url(#gradient-1);fill-rule:nonzero;stroke:#000000;stroke-width:2.305;paint-order:fill"
cx="38.160999"
cy="38.068001"
rx="61.297596"
ry="62.212971"
id="ellipse9" />
<path
d="m 70.268677,25.717168 c -0.01907,0.04599 -0.118909,0.486854 -0.224357,0.998387 -0.111056,0.499193 -0.206408,0.91874 -0.216504,0.928836 -0.01683,0.01346 -0.44647,0.111057 -0.96249,0.222113 -0.51602,0.09984 -0.96249,0.210895 -0.983804,0.232209 -0.02131,0.02468 0.404964,0.145832 0.956881,0.256889 l 0.999509,0.208651 0.08413,0.366823 c 0.04375,0.210896 0.135735,0.630442 0.199677,0.951272 0.06843,0.321952 0.141345,0.611372 0.162659,0.632686 0.02131,0.02244 0.13237,-0.410573 0.251279,-0.943419 0.116666,-0.550796 0.208652,-0.9939 0.216504,-0.9939 0.0056,-0.01346 0.448713,-0.09984 0.983804,-0.222113 0.535091,-0.111057 0.986047,-0.210896 0.997265,-0.220992 0.03253,-0.0359 -0.08974,-0.06843 -1.048867,-0.268106 -0.500315,-0.121152 -0.916497,-0.208652 -0.926593,-0.222113 -0.01346,-0.0101 -0.116665,-0.464418 -0.241183,-1.018579 -0.115544,-0.540699 -0.2266,-0.951272 -0.247914,-0.908644 z"
style="fill:#ffffff;fill-opacity:0.79;stroke-width:3.35081"
id="path47">
<title
id="title45">Star</title>
</path>
<path
d="m 6.8446282,33.335388 c -0.010769,0.04326 -0.1108098,0.508144 -0.2216375,1.005478 -0.1108142,0.51085 -0.2108276,0.943315 -0.2216382,0.954125 -0.013443,0.01077 -0.4540879,0.11081 -0.9757484,0.221638 -0.5189574,0.110809 -0.9757484,0.221639 -0.9973715,0.23245 -0.021618,0.02162 0.4108416,0.143258 0.9757484,0.264884 l 1.0081821,0.210827 0.089195,0.378407 c 0.043254,0.197312 0.1324497,0.629776 0.2000169,0.951421 0.064873,0.332457 0.1432585,0.610857 0.1648752,0.643292 0.021617,0.02162 0.1324501,-0.410842 0.2432609,-0.964937 0.1216226,-0.540581 0.2216397,-1.008183 0.2216397,-1.008183 0.010769,0 0.4648983,-0.09729 0.9973718,-0.210827 C 8.8718044,35.903154 9.3258921,35.795028 9.336705,35.781515 9.369136,35.749075 9.247512,35.716645 8.2825732,35.516629 7.7744271,35.395007 7.3527746,35.305804 7.3419617,35.294991 7.3311926,35.284222 7.2203402,34.81928 7.0987008,34.265187 6.9770614,33.71109 6.8662505,33.289438 6.8446282,33.335388 Z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path59">
<title
id="title57">Star</title>
</path>
<path
d="m 46.305146,4.9237957 c -0.03253,0.075159 -0.2008,0.8503116 -0.387016,1.7051103 -0.189581,0.8626512 -0.345509,1.5839578 -0.364579,1.6052717 -0.0359,0.021314 -0.765056,0.1895813 -1.651265,0.3892587 -0.88733,0.17612 -1.652386,0.3645795 -1.695014,0.3971112 -0.03478,0.032532 0.697749,0.2322092 1.637803,0.4330083 l 1.727546,0.3645795 0.145832,0.6326856 c 0.06731,0.343266 0.220991,1.072425 0.343266,1.626586 0.111056,0.554161 0.232209,1.043258 0.275958,1.087008 0.03478,0.03253 0.220992,-0.69775 0.420669,-1.629951 0.200799,-0.929959 0.367945,-1.7051107 0.375797,-1.7051107 0.01346,-0.011218 0.776274,-0.1649021 1.687162,-0.3757974 C 49.740046,9.2639746 50.516319,9.0878546 50.537633,9.0642972 50.591479,9.0104516 50.383949,8.9554842 48.74278,8.609975 47.877886,8.423759 47.17004,8.2554916 47.147605,8.2341777 47.126291,8.2128638 46.947927,7.4365899 46.737032,6.4853178 46.537355,5.553116 46.337677,4.8452709 46.305146,4.9237957 Z"
style="fill:#ffffff;stroke-width:3.33357"
id="path103">
<title
id="title101">Star</title>
</path>
<path
d="m 27.927379,55.523595 c -0.02131,0.07292 -0.172754,0.745986 -0.337656,1.502068 -0.162659,0.757203 -0.306247,1.399985 -0.327561,1.411203 -0.01907,0.01907 -0.675313,0.172754 -1.451587,0.337657 -0.775153,0.162658 -1.451588,0.324195 -1.484119,0.356727 -0.04039,0.03029 0.613615,0.205286 1.443734,0.379162 l 1.513286,0.326439 0.122274,0.551917 c 0.07292,0.297273 0.205287,0.951273 0.307369,1.432518 0.10096,0.489097 0.206408,0.907522 0.243427,0.947906 0.03253,0.03253 0.19519,-0.61025 0.370188,-1.429151 0.183973,-0.818902 0.327561,-1.50319 0.338779,-1.50319 0,0 0.67307,-0.143588 1.480753,-0.326439 0.807684,-0.162658 1.480754,-0.32756 1.50319,-0.338778 0.05048,-0.05048 -0.132371,-0.102082 -1.576106,-0.407207 -0.753838,-0.164903 -1.389889,-0.308491 -1.407837,-0.327561 -0.01122,-0.01122 -0.17612,-0.705602 -0.360093,-1.532356 -0.172754,-0.830119 -0.348874,-1.443735 -0.378041,-1.380915 z"
style="fill:#ffffff;stroke-width:3.85334"
id="path103-3">
<title
id="title101-5">Star</title>
</path>
<path
d="m 29.870808,39.99153 c -0.0101,0.03477 -0.07852,0.356727 -0.15705,0.710088 -0.07516,0.354484 -0.142467,0.655122 -0.153684,0.662974 -0.01122,0.01346 -0.321952,0.07852 -0.686532,0.15705 -0.364579,0.0774 -0.675313,0.153684 -0.697749,0.167145 -0.0101,0.0079 0.287177,0.0976 0.686531,0.17612 l 0.708967,0.155928 0.05609,0.254645 c 0.03253,0.142466 0.09984,0.454322 0.143588,0.675313 0.04375,0.23221 0.09984,0.433009 0.111056,0.443105 0.02131,0.02244 0.09984,-0.28942 0.178364,-0.664096 0.08638,-0.389259 0.153684,-0.708967 0.153684,-0.708967 0.01122,0 0.321952,-0.06731 0.697749,-0.155928 0.375798,-0.07852 0.696628,-0.154806 0.707845,-0.154806 0.02468,-0.02131 -0.06506,-0.04599 -0.740376,-0.188459 -0.354484,-0.08974 -0.654,-0.143589 -0.654,-0.15705 -0.01122,-0.0079 -0.08974,-0.329804 -0.178364,-0.719063 -0.07628,-0.387015 -0.164902,-0.686531 -0.176119,-0.653999 z"
style="fill:#ffffff;fill-opacity:0.6;stroke-width:3.67879"
id="path115">
<title
id="title113">Star</title>
</path>
<path
d="m 55.038991,53.910536 c -0.02131,0.07516 -0.189582,0.818902 -0.36458,1.647899 -0.189581,0.833485 -0.343265,1.54133 -0.364579,1.551426 -0.02468,0.02468 -0.732525,0.189582 -1.59742,0.367945 -0.854798,0.17612 -1.595175,0.36458 -1.627707,0.397111 -0.04375,0.03253 0.675314,0.222113 1.583958,0.421791 l 1.662483,0.343266 0.142466,0.608006 c 0.06843,0.33317 0.222113,1.054476 0.321952,1.587323 0.111056,0.529482 0.232209,0.9939 0.275958,1.039893 0.03478,0.03253 0.218748,-0.675313 0.413938,-1.57274 0.191825,-0.897426 0.347753,-1.651265 0.358971,-1.651265 0.0079,-0.01122 0.745986,-0.168267 1.632194,-0.354483 0.887331,-0.18846 1.633317,-0.36458 1.652387,-0.378041 0.05385,-0.05385 -0.149197,-0.108813 -1.735399,-0.440861 -0.830119,-0.189581 -1.522259,-0.343265 -1.54133,-0.367945 -0.01907,-0.0101 -0.194068,-0.772908 -0.397111,-1.683796 -0.191825,-0.907523 -0.38365,-1.583958 -0.416181,-1.515529 z"
style="fill:#ffffff;fill-opacity:0.85;stroke-width:7.65905"
id="path135">
<title
id="title133">Star</title>
</path>
<path
d="m 24.092191,5.6795911 c -0.03253,0.1032041 -0.262497,1.133001 -0.502559,2.276098 -0.262497,1.1464623 -0.473392,2.1224139 -0.505924,2.1437279 -0.02917,0.02917 -1.018579,0.251279 -2.205426,0.513777 -1.183481,0.240061 -2.205425,0.494706 -2.257027,0.537334 -0.0516,0.0516 0.935567,0.314099 2.195329,0.586692 l 2.299656,0.481245 0.189581,0.843581 c 0.105448,0.462175 0.302881,1.437004 0.462175,2.180746 0.145831,0.738134 0.312977,1.378672 0.366823,1.44037 0.0516,0.0516 0.306246,-0.934445 0.57884,-2.175137 0.262497,-1.248545 0.481245,-2.276098 0.492463,-2.276098 0.0101,-0.01346 1.029796,-0.23221 2.255905,-0.494707 1.219379,-0.262497 2.257028,-0.502559 2.279464,-0.523873 0.08638,-0.08413 -0.197434,-0.160415 -2.392764,-0.611371 -1.14534,-0.262498 -2.099978,-0.473393 -2.132509,-0.502559 -0.02131,-0.02131 -0.261376,-1.0701815 -0.545187,-2.3333093 -0.262497,-1.2485446 -0.524995,-2.1919642 -0.57884,-2.0865166 z"
style="fill:#ffffff;stroke-width:4.9325"
id="path143">
<title
id="title141">Star</title>
</path>
<path
d="m 62.536413,34.870169 c -0.02917,0.07852 -0.210896,0.897426 -0.404964,1.806071 -0.200799,0.908644 -0.373554,1.672578 -0.392624,1.695014 -0.02917,0.02131 -0.805441,0.199678 -1.745495,0.399355 -0.937811,0.200799 -1.746616,0.397111 -1.787,0.433008 -0.04039,0.03253 0.738133,0.243427 1.735398,0.450957 l 1.816167,0.389259 0.153684,0.665217 c 0.07852,0.36458 0.241184,1.140854 0.362336,1.72979 0.122275,0.583327 0.25128,1.083642 0.292786,1.140853 0.04038,0.04263 0.242305,-0.743742 0.4532,-1.719693 0.214261,-0.983804 0.38365,-1.804949 0.394868,-1.804949 0.0079,-0.01122 0.816658,-0.186216 1.787,-0.400477 0.966977,-0.197434 1.785879,-0.385893 1.804949,-0.408329 0.06282,-0.05609 -0.161537,-0.121153 -1.896935,-0.489097 -0.908644,-0.197434 -1.664726,-0.36458 -1.687162,-0.385894 -0.01907,-0.02244 -0.210895,-0.851433 -0.431886,-1.848698 -0.214261,-0.98717 -0.413938,-1.741008 -0.454322,-1.652387 z"
style="fill:#ffffff;fill-opacity:0.85;stroke-width:3.78785"
id="path163">
<title
id="title161">Star</title>
</path>
<path
d="m 14.351587,22.573585 c -0.01122,0.04263 -0.111056,0.508168 -0.222113,1.007361 -0.111056,0.508168 -0.210895,0.941176 -0.220991,0.952394 -0.01122,0.0101 -0.444226,0.109935 -0.973708,0.220991 -0.521629,0.111057 -0.975951,0.222113 -0.997265,0.232209 -0.01346,0.02244 0.419547,0.145832 0.972586,0.268106 l 1.008483,0.210896 0.08974,0.364579 c 0.04263,0.208652 0.132371,0.640538 0.199678,0.96249 0.06506,0.332048 0.143588,0.61025 0.164902,0.642782 0.02468,0.02244 0.134614,-0.408329 0.256888,-0.964734 0.111057,-0.540699 0.210896,-0.997265 0.218748,-0.997265 0,-0.0079 0.456566,-0.107691 0.987169,-0.218748 0.542943,-0.1133 0.997265,-0.222113 1.007361,-0.232209 0.03253,-0.0359 -0.08862,-0.06843 -1.05111,-0.268106 -0.510412,-0.121152 -0.929959,-0.210895 -0.94342,-0.220991 -0.01122,-0.01122 -0.121153,-0.476758 -0.243427,-1.029797 -0.111056,-0.554161 -0.220991,-0.973708 -0.253523,-0.929958 z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-1">
<title
id="bx-title-1">Star</title>
</path>
<path
d="m 42.539166,23.607638 c -0.01077,0.03244 -0.07839,0.354082 -0.154067,0.708161 -0.07839,0.35408 -0.143258,0.654103 -0.156774,0.654103 -0.01077,0.01077 -0.30813,0.08919 -0.686535,0.164875 -0.364893,0.07839 -0.675728,0.156774 -0.697351,0.167583 -0.01077,0.01077 0.286509,0.100007 0.686538,0.178392 l 0.710864,0.154067 0.05406,0.254072 c 0.03243,0.143259 0.100007,0.443276 0.143258,0.675727 0.04594,0.232448 0.100007,0.421651 0.110809,0.443274 0.02432,0.02162 0.100007,-0.28921 0.178392,-0.664914 0.08919,-0.386514 0.154067,-0.708159 0.154067,-0.708159 0.01077,0 0.321645,-0.06758 0.697348,-0.154067 0.378408,-0.07839 0.700053,-0.156774 0.710864,-0.167583 0.02162,-0.02162 -0.06758,-0.04326 -0.743298,-0.189204 -0.354082,-0.07567 -0.654102,-0.143258 -0.654102,-0.154068 -0.01077,0 -0.08649,-0.321645 -0.175685,-0.718971 C 42.639162,23.861708 42.54997,23.5752 42.53916,23.607634 Z"
style="fill:#ffffff;fill-opacity:0.6;stroke-width:3.67879"
id="path-2">
<title
id="bx-title-2">Star</title>
</path>
<g
transform="matrix(0.71937225,0,0,0.71937225,11.595061,9.3401941)"
id="g32">
<path
d="m 60.999,9.506 c -5.233,0 -9.493,4.26 -9.493,9.495 0,3.646 2.07,6.815 5.095,8.404 l -4.95,14.254 C 51.114,41.564 50.564,41.506 50,41.506 c -1.456,0 -2.831,0.34 -4.065,0.928 L 34.689,30.814 c 0.515,-1.168 0.806,-2.457 0.806,-3.813 0,-5.235 -4.259,-9.495 -9.495,-9.495 -5.234,0 -9.493,4.26 -9.493,9.495 0,2.931 1.337,5.555 3.431,7.298 L 15.172,44.485 C 13.911,43.865 12.498,43.506 11,43.506 c -5.234,0 -9.493,4.26 -9.493,9.495 0,5.233 4.259,9.493 9.493,9.493 5.236,0 9.495,-4.26 9.495,-9.493 0,-2.253 -0.792,-4.321 -2.107,-5.951 L 23.49,36.146 c 0.801,0.221 1.641,0.348 2.511,0.348 2.416,0 4.616,-0.914 6.293,-2.404 l 10.452,10.801 c -1.394,1.653 -2.238,3.784 -2.238,6.11 0,5.233 4.26,9.493 9.493,9.493 5.235,0 9.495,-4.26 9.495,-9.493 0,-3.248 -1.641,-6.117 -4.136,-7.83 l 5.108,-14.704 c 0.177,0.01 0.353,0.027 0.532,0.027 5.235,0 9.495,-4.259 9.495,-9.493 -0.001,-5.235 -4.261,-9.495 -9.496,-9.495 z m -50,48.988 c -3.029,0 -5.493,-2.465 -5.493,-5.493 0,-3.03 2.464,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.028 -2.465,5.493 -5.495,5.493 z m 15,-26 c -3.029,0 -5.493,-2.464 -5.493,-5.493 0,-3.03 2.464,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.029 -2.465,5.493 -5.495,5.493 z m 24,24 c -3.028,0 -5.493,-2.465 -5.493,-5.493 0,-3.03 2.465,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.028 -2.465,5.493 -5.495,5.493 z m 11,-32 c -3.028,0 -5.493,-2.464 -5.493,-5.493 0,-3.03 2.465,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.029 -2.465,5.493 -5.495,5.493 z"
style="fill:#979797"
id="path30" />
</g>
<g
transform="matrix(0.71937225,0,0,0.71937225,10.767746,8.0147726)"
id="g36">
<path
d="m 60.999,9.506 c -5.233,0 -9.493,4.26 -9.493,9.495 0,3.646 2.07,6.815 5.095,8.404 l -4.95,14.254 C 51.114,41.564 50.564,41.506 50,41.506 c -1.456,0 -2.831,0.34 -4.065,0.928 L 34.689,30.814 c 0.515,-1.168 0.806,-2.457 0.806,-3.813 0,-5.235 -4.259,-9.495 -9.495,-9.495 -5.234,0 -9.493,4.26 -9.493,9.495 0,2.931 1.337,5.555 3.431,7.298 L 15.172,44.485 C 13.911,43.865 12.498,43.506 11,43.506 c -5.234,0 -9.493,4.26 -9.493,9.495 0,5.233 4.259,9.493 9.493,9.493 5.236,0 9.495,-4.26 9.495,-9.493 0,-2.253 -0.792,-4.321 -2.107,-5.951 L 23.49,36.146 c 0.801,0.221 1.641,0.348 2.511,0.348 2.416,0 4.616,-0.914 6.293,-2.404 l 10.452,10.801 c -1.394,1.653 -2.238,3.784 -2.238,6.11 0,5.233 4.26,9.493 9.493,9.493 5.235,0 9.495,-4.26 9.495,-9.493 0,-3.248 -1.641,-6.117 -4.136,-7.83 l 5.108,-14.704 c 0.177,0.01 0.353,0.027 0.532,0.027 5.235,0 9.495,-4.259 9.495,-9.493 -0.001,-5.235 -4.261,-9.495 -9.496,-9.495 z m -50,48.988 c -3.029,0 -5.493,-2.465 -5.493,-5.493 0,-3.03 2.464,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.028 -2.465,5.493 -5.495,5.493 z m 15,-26 c -3.029,0 -5.493,-2.464 -5.493,-5.493 0,-3.03 2.464,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.029 -2.465,5.493 -5.495,5.493 z m 24,24 c -3.028,0 -5.493,-2.465 -5.493,-5.493 0,-3.03 2.465,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.028 -2.465,5.493 -5.495,5.493 z m 11,-32 c -3.028,0 -5.493,-2.464 -5.493,-5.493 0,-3.03 2.465,-5.495 5.493,-5.495 3.03,0 5.495,2.465 5.495,5.495 0,3.029 -2.465,5.493 -5.495,5.493 z"
style="fill:#ffffff"
id="path34" />
</g>
<path
d="m 8.756373,13.330864 c -0.01122,0.04263 -0.111056,0.508168 -0.222113,1.007361 -0.111056,0.508168 -0.210895,0.941176 -0.220991,0.952394 -0.01122,0.0101 -0.444226,0.109935 -0.973708,0.220991 -0.5216288,0.111057 -0.9759509,0.222113 -0.9972648,0.232209 -0.013461,0.02244 0.4195469,0.145832 0.9725858,0.268106 l 1.008483,0.210896 0.08974,0.364579 c 0.04263,0.208652 0.13237,0.640538 0.199677,0.96249 0.06506,0.332048 0.143588,0.61025 0.164902,0.642782 0.02468,0.02244 0.134614,-0.408329 0.256889,-0.964734 0.111056,-0.540699 0.210895,-0.997265 0.218747,-0.997265 0,-0.0079 0.456566,-0.107691 0.98717,-0.218748 0.542943,-0.1133 0.997265,-0.222113 1.007361,-0.232209 0.03253,-0.0359 -0.08862,-0.06843 -1.051111,-0.268106 C 9.686329,15.390458 9.266782,15.300715 9.25332,15.290619 9.2421,15.279399 9.132168,14.813861 9.009893,14.260822 8.898837,13.706661 8.788902,13.287114 8.75637,13.330864 Z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-3">
<title
id="bx:title-1">Star</title>
</path>
<path
d="m 5.7189969,55.62054 c -0.010096,0.03702 -0.096473,0.441983 -0.1929467,0.876113 -0.097595,0.441983 -0.1839724,0.818902 -0.1929467,0.828998 -0.00897,0.0079 -0.3858934,0.09535 -0.8469462,0.191825 -0.4532004,0.09647 -0.8480681,0.192946 -0.8671384,0.201921 -0.011218,0.01907 0.3657013,0.126761 0.8458245,0.233331 l 0.8772344,0.18285 0.078525,0.317465 c 0.037019,0.181729 0.1144219,0.556404 0.1727546,0.83685 0.057211,0.288298 0.1256397,0.530603 0.1435883,0.558648 0.021314,0.02019 0.1177872,-0.354483 0.2232348,-0.839094 0.096473,-0.470027 0.1839724,-0.867138 0.1907031,-0.867138 0,-0.0067 0.3971113,-0.09311 0.8581641,-0.189581 0.4722707,-0.09872 0.8671384,-0.192947 0.8761127,-0.201921 0.028044,-0.03141 -0.077403,-0.05945 -0.9142535,-0.233331 C 6.5278026,57.412028 6.1621013,57.333503 6.1508834,57.325651 6.1407874,57.315555 6.0454358,56.910591 5.9388664,56.429346 5.8423931,55.948101 5.7470415,55.583522 5.7189969,55.62054 Z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-4">
<title
id="bx:title-2">Star</title>
</path>
<path
d="m 69.390321,11.116039 c -0.0079,0.02804 -0.07516,0.342143 -0.149198,0.678678 -0.07628,0.342144 -0.142466,0.63493 -0.150319,0.642782 -0.0067,0.0056 -0.298394,0.07404 -0.656243,0.148075 -0.351118,0.07516 -0.657365,0.150319 -0.671948,0.15705 -0.009,0.01458 0.283811,0.0976 0.655122,0.180607 l 0.680922,0.141345 0.06058,0.246792 c 0.02805,0.140223 0.08862,0.430765 0.133492,0.648391 0.04487,0.223235 0.0976,0.411694 0.111057,0.433008 0.01683,0.01571 0.09199,-0.274837 0.173876,-0.650634 0.07404,-0.36458 0.142467,-0.671948 0.146954,-0.671948 0,-0.0056 0.30849,-0.07179 0.665217,-0.146954 0.366823,-0.07628 0.671948,-0.149197 0.679801,-0.155928 0.02131,-0.02468 -0.06058,-0.04711 -0.708967,-0.181729 -0.343266,-0.08189 -0.627077,-0.142466 -0.636051,-0.148075 -0.0079,-0.0079 -0.08077,-0.321952 -0.16378,-0.694384 -0.07516,-0.373553 -0.149198,-0.656243 -0.170511,-0.627076 z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-5">
<title
id="bx:title-3">Star</title>
</path>
<path
d="m 68.04615,54.60911 c -0.01122,0.04263 -0.111057,0.508168 -0.222113,1.007361 -0.111057,0.508168 -0.210895,0.941176 -0.220992,0.952394 -0.01122,0.0101 -0.444226,0.109935 -0.973707,0.220992 -0.521629,0.111056 -0.975952,0.222113 -0.997265,0.232209 -0.01346,0.02244 0.419546,0.145831 0.972586,0.268106 l 1.008483,0.210895 0.08974,0.36458 c 0.04263,0.208651 0.132371,0.640538 0.199678,0.962489 0.06506,0.332048 0.143588,0.610251 0.164902,0.642782 0.02468,0.02244 0.134614,-0.408329 0.256888,-0.964733 0.111057,-0.5407 0.210895,-0.997265 0.218748,-0.997265 0,-0.0079 0.456565,-0.107692 0.987169,-0.218748 0.542943,-0.1133 0.997265,-0.222113 1.007361,-0.232209 0.03253,-0.0359 -0.08862,-0.06843 -1.051111,-0.268106 -0.510411,-0.121153 -0.929958,-0.210896 -0.943419,-0.220992 -0.01122,-0.01122 -0.121153,-0.476758 -0.243427,-1.029797 -0.111057,-0.554161 -0.220991,-0.973707 -0.253523,-0.929958 z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-6">
<title
id="bx:title-4">Star</title>
</path>
<path
d="m 41.510644,63.994652 c -0.0101,0.04263 -0.109934,0.508167 -0.220991,1.005117 -0.111056,0.511533 -0.210895,0.94342 -0.222113,0.954638 -0.01346,0.0101 -0.4532,0.111056 -0.975951,0.220991 -0.518264,0.111056 -0.97483,0.222113 -0.997265,0.233331 -0.02131,0.02131 0.411694,0.142466 0.975951,0.264741 l 1.008483,0.210895 0.08862,0.378041 c 0.04375,0.197434 0.133492,0.62932 0.200799,0.951272 0.06506,0.332048 0.142466,0.611372 0.164902,0.642782 0.02131,0.02244 0.132371,-0.410573 0.243427,-0.964734 0.121153,-0.540699 0.220991,-1.007361 0.220991,-1.007361 0.01122,0 0.46554,-0.09759 0.997266,-0.210895 0.544064,-0.111057 0.997265,-0.21987 1.008483,-0.233331 0.03253,-0.03141 -0.08974,-0.06394 -1.054477,-0.264741 -0.508167,-0.121153 -0.929958,-0.210895 -0.940054,-0.220991 -0.01122,-0.01122 -0.122274,-0.475636 -0.243427,-1.029797 -0.121152,-0.554161 -0.232209,-0.975952 -0.254644,-0.929958 z"
style="fill:#ffffff;fill-opacity:0.76;stroke-width:6.80456"
id="path-7">
<title
id="bx:title-5">Star</title>
</path>
<path
d="m 15.624023,64.277622 c -0.0101,0.03253 -0.07852,0.354483 -0.153684,0.707845 -0.07852,0.354484 -0.143589,0.655121 -0.15705,0.655121 -0.0101,0.0101 -0.307369,0.08862 -0.686531,0.164903 -0.36458,0.0774 -0.675314,0.155927 -0.696628,0.167145 -0.01122,0.01122 0.286055,0.09984 0.686532,0.178364 l 0.710088,0.153684 0.05497,0.254645 c 0.03141,0.143588 0.09984,0.443104 0.142466,0.675313 0.04599,0.232209 0.09984,0.421791 0.111057,0.443105 0.02468,0.02244 0.09984,-0.288299 0.178363,-0.664096 0.08974,-0.387015 0.153685,-0.708967 0.153685,-0.708967 0.01122,0 0.321951,-0.06731 0.697749,-0.153684 0.378041,-0.07852 0.699992,-0.15705 0.71121,-0.167146 0.02131,-0.02244 -0.06843,-0.04375 -0.743742,-0.189581 -0.354484,-0.07628 -0.654,-0.143589 -0.654,-0.153685 -0.01122,0 -0.08638,-0.321951 -0.17612,-0.719063 -0.07852,-0.389258 -0.167145,-0.676435 -0.178363,-0.643903 z"
style="fill:#ffffff;fill-opacity:0.6;stroke-width:3.67879"
id="path-8">
<title
id="bx:title-6">Star</title>
</path>
</svg>

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
data/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

View file

@ -0,0 +1,2 @@
Forked from Red and renamed to Pulse.
Changed Icons and graphic.

View file

@ -0,0 +1 @@
Added material you icon.

View file

@ -0,0 +1 @@
Added options to toggle and change priority to individual redirect services.

View file

@ -0,0 +1 @@
Updated metadata and removed some background Google BLOB to improve compliance with IzzyOnDroid repo.

View file

@ -0,0 +1 @@
Fixed crash related to redirect popup

View file

@ -1,13 +1,13 @@
Tiny app to redirect outgoing calls to Signal/Telegram/Threema if available.
Tiny app to redirect outgoing calls to Signal/Telegram/Threema/Whatsapp if available.
You can cancel redirection by clicking on "Redirecting to.." popup.
Permissions:
* ACCESS_NETWORK_STATE - check internet is available
* CALL_PHONE - make a call via messenger
* READ_CONTACTS - check contact has a messenger record
* SYSTEM_ALERT_WINDOW - show redirecting popup and launch an activity from background
* CALL_REDIRECTION - process outgoing call
* `ACCESS_NETWORK_STATE` - check internet is available
* `CALL_PHONE` - make a call via messenger
* `READ_CONTACTS` - check contact has a messenger record
* `SYSTEM_ALERT_WINDOW` - show redirecting popup and launch an activity from background
* `CALL_REDIRECTION` - process outgoing call
All permissions are mandatory.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -1 +1 @@
Redirect outgoing calls to Signal/Telegram/Threema
Redirect outgoing calls to Signal/Telegram/Threema/Whatsapp

View file

@ -1 +1 @@
Red
Pulse

View file

@ -1,15 +1,15 @@
Petite application redirigereant les appels sortants vers Signal/Telegram/Threema si ils sont
Petite application redirigereant les appels sortants vers Signal/Telegram/Threema/Whatsapp si ils sont
disponibles.
Vous pouvez annuler la redirection en cliquant sur la fenêtre contextuelle "Redirection vers...".
Autorisations:
* ACCESS_NETWORK_STATE - Vérifié la disponibilité d\'accès à internet
* CALL_PHONE - Passer un appel via messenger
* READ_CONTACTS - Vérifier que le contact a un enregistreur de message
* SYSTEM_ALERT_WINDOW - Afficher une fenêtre contextuelle de redirection et lancer une activité en
* `ACCESS_NETWORK_STATE` - Vérifié la disponibilité d\'accès à internet
* `CALL_PHONE` - Passer un appel via messenger
* `READ_CONTACTS` - Vérifier que le contact a un enregistreur de message
* `SYSTEM_ALERT_WINDOW` - Afficher une fenêtre contextuelle de redirection et lancer une activité en
arrière-plan
* CALL_REDIRECTION - Traiter les appels sortants
* `CALL_REDIRECTION` - Traiter les appels sortants
Toutes les autorisations sont obligatoires.

View file

@ -1 +1 @@
Rediriger les appels sortants vers Signal/Telegram/Threema
Rediriger les appels sortants vers Signal/Telegram/Threema/Whatsapp

View file

@ -1 +1 @@
Red
Pulse

View file

@ -1,14 +1,14 @@
Мини приложение для перенаправления исходящих вызовов в Signal/Telegram/Threema.
Мини приложение для перенаправления исходящих вызовов в Signal/Telegram/Threema/Whatsapp.
Вы можете отменить перенаправление, кликнув на всплывающее сообщение "Перенаправление в..".
Разрешения:
* ACCESS_NETWORK_STATE - проверить наличие интернета
* CALL_PHONE - позвонить через мессенджер
* READ_CONTACTS - проверить контакт на наличие записи из мессенджера
* SYSTEM_ALERT_WINDOW - показать всплывающее сообщение о перенаправлении и запустить активити из
* `ACCESS_NETWORK_STATE` - проверить наличие интернета
* `CALL_PHONE` - позвонить через мессенджер
* `READ_CONTACTS - проверить контакт на наличие записи из мессенджера
* `SYSTEM_ALERT_WINDOW` - показать всплывающее сообщение о перенаправлении и запустить активити из
фона
* CALL_REDIRECTION - обработать исходящий вызов
* `CALL_REDIRECTION` - обработать исходящий вызов
Все разрешения обязательны для работы приложения.

View file

@ -1 +1 @@
Перенаправление исходящих вызовов в Signal/Telegram/Threema
Перенаправление исходящих вызовов в Signal/Telegram/Threema/Whatsapp

View file

@ -1 +1 @@
Red
Pulse