App to forward SMS
-
Hello
I am thinking in using UT on a FP5, notably because UT offers to run Python code, and I can code in Python, whereas I cannot implement Android apps with Kotlin by myself
However, I could not leave my e/OS Android FP5 because yet, because I need some Android AppsI was thinking in the feasability to implement an app or run code in background on UT, that would transfers SMS automatically from UT to a Android phone
I asked to Mistral and Claude if it would be possible and they pointed out that apps are sandboxed, and only the native message apps can access and send SMS
Here is my question : how to learn what is feasible or not when programming on UT ?
Best
Thomas
-
@Thomas if your app is unconfined, it can do aaaaaaaaaaaanything. But there is also a list of apparmor policies. https://docs.ubports.com/en/latest/appdev/platform/apparmor.html is it. Nothing about SMS in there. So you'd probably have to be unconfined. Which may or may not excluded it from the OpenStore.
Also, what do you mean by "forwarding?" Do you mean actually sending the SMS to another phone number?
-
Hello @projectmoon
Thank you for your answer !!
Acually, I am a data scientist, not a "real" dev. I know Python for data, but I don't know what is a unconfined app...
Yes, forwarding would be sending a copy of the SMS to another phone number
Is it so risky ? -
@Thomas doesn't really matter if it's risky or not. It matters what the permissions allow or not. Ubuntu Touch enforces permissions via AppArmor. AppArmor is an extension to the Linux kernel that can block system API calls if they violate whatever policy is defined for an application. An unconfined app on UT has no AppArmor restrictions. So it's no more or less dangerous than a typical desktop application. But because it does not adhere to the permissions model, it has to be manually reviewed by the OpenStore team.
If you are really bent on doing this, you should go download and study the source of
lomiri-messaging-app. -
@projectmoon, it does matter for me not to implement risky code on my (future) phone

Can I try to implement the app on an emulator, without getting UT first ?
lomiri-messaging-app seems to be unconfined. It is implemented in C++ not in PythonWhere can I find a tuto of Python implementation for UT, please. The official tool is Clickable ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login