Comments (13)
Hey mate, I've just downloaded that app and checked the AndroidManifest.xml (see AndroidManifest.txt, if you're interested).
I believe (again, I'm no dev), the issue you're having is, that the IDOS only expects sending data to apps that offer the following schemes.
<data android:scheme="smsto"/>
<data android:scheme="mailto"/>
from simple-notes.
It works on my Android 13 - I see Simple Notes among other apps. Can you provide more details about your phone?
from simple-notes.
I also have Android 13, my phone is Motorola E30. App version is 6.17.0 Pro (from F-droid).
Not sure what other details would be useful, but feel free to ask.
from simple-notes.
Maybe it is among other apps and you just haven't noticed it? I don't know what language you use, but for most languages the app name is translated (e.g. in Polish instead of "Simple Notes" I have "Notatki"). Please check by icon and the name in your language.
from simple-notes.
Nope, just double-checked, not there.
If that helps, I was trying to degoogle my phone and uninstall many google-related packages with ADB, but I don't think that is something that could intervine with this, right?
from simple-notes.
This also works for me already. I believe it also depends what the source app defines as a valid destination for their shared content.
For example, Simple-Notes shows up as a possible destination if I share the URL from Firefox. Can you verify if that works for you?
from simple-notes.
Hello. Yes, I can confirm that Firefox offers this app as a possible target for sharing. The popup that opens in Firefox looks different than what it looks like in the app where it doesn't work though.
How can the developer of the app decide which apps will be available in the share menu? Since I can see some really obscure apps in the app, I believe that the devepopers do not need to specify a list of exact package names that are supported 🤔
from simple-notes.
I am by no means a developer, but I believe this is achieved by the source app, defining an intent
and a source MIME Type (e.g. text/plain). The Android base system then offers all target apps, that match these values in their intent-filter
. See also https://developer.android.com/guide/components/intents-filters.
So I believe the source app you're attempting to share data from, attempts to send a MIME type that is not registered by Simple-Notes. If you wanted to, that could be easily reverse engineered, by checking the AndroidMainfest.xml of both apps.
But again - I am no developer.
edit: I just checked. I think Simple-Notes has an intent-filter for <data android:mimeType="text/*" />
, so any MIME type starting with text/
from simple-notes.
That sounds like how it might actually work. And if it's so, it might be a key to solving this issue.
I don't know what MIME type does the app in question use when I want to share content out of it, but one of the apps I can select as a target is the Simple SMS App. So if we compare the lists of content types that Simple Notes and Simple SMS listens to, we will see which content type should be implemented in Simple Notes.
from simple-notes.
Kinda. I see Simple SMS Messenger uses <data android:mimeType="*/*" />
, so basically anything ;)
text/*
for simple notes makes sense, as it only processes text. What app, or rather what type, are you trying to export data from?
from simple-notes.
from simple-notes.
Thank you for putting so much time into a niche issue like this. So from what I undestand, the only thing that is needed is to make Simple Notes listen to smsto
schemes, right?
Any idea what file would I need to edit in a fork of this repository? I know pretty much nothing about Kotlin and programming for Android.
from simple-notes.
You're welcome. I believe that would resolve your issue. Either patch the IDOS app to export to text/*
or make SimpleNote accept smsto
or mailto
.
I have no idea, what kind of work forking and building this project yourself entails. Personally I'd try to get the .apk of SimpleNotes, take it apart with apktool, change the AndroidManifest.xml to also accept smsto
and then repack the apk with apktool again.
I also just noticed that I've mixed scheme
and mimetype
in my previous comments.
from simple-notes.
Related Issues (20)
- Launching via shortcut shouldn't open note picker
- Themes other than Black & White should have access to Accent color HOT 3
- Option to disable previews in the note picker menu HOT 1
- [Feature Request] button to delete all the text in the note HOT 1
- Open Note dialog (6.16.0+) missed the "has backup file" indicator
- Widget color transparency incorrect
- Checklist sharing not working properly HOT 2
- [Feature Request] Notebooks and password locking HOT 2
- Why arent on Note picker window cancel and add note buttons on left and right side? HOT 4
- "Show word count" is not quite useful for Chinese and Japanese HOT 2
- Checklist wrong long-press selection after sorting
- Open search bar prevents undo button showing up
- [Feature Request] Automatically "Sort by: Move done checklist items to the bottom" when marking an item as done HOT 1
- [Feature Request] Reminder for notes HOT 1
- Lists’ “remove done items” should be a button in the toolbar. HOT 1
- [Bug] Wrong note is opened by clicking a widget HOT 1
- [Feature Request] Add alpha channel setting to widget's text
- Bug: Automatic backups don't appear to work. HOT 2
- Tabs bug with RTL languages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-notes.