dhm47 / native-clip-board Goto Github PK
View Code? Open in Web Editor NEWAdd native clip board functionality to android using Xposed Framework
License: GNU General Public License v2.0
Add native clip board functionality to android using Xposed Framework
License: GNU General Public License v2.0
This only recently started happening and I can't figure out why, whenever I open a slide-out app drawer called swapps, native clipboard crashes and then my hardware buttons stop working until I reboot or toggle accessibility permission.
Well, it(3.0.1) simply force closes upon opening the app (calling MAIN
activity)... the board itself (called in apps) works ok
I think that all clipboard must be stored entirely in RAM to reduce flash memory wear.
You can do it with very little effort with help of mount -t ramfs -o size=1m ramfs /data/data/com.dhm47.nativeclipboard/files
Hello,
I am trying to build 3.0.0 for F-Droid (#81) but it fails with the following errors:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:20: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:21: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:29: error: Error: No resource found that matches the given name: attr 'colorAccent'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:27: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:28: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values-v21/styles.xml:2: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values-v21/styles.xml:7: error: Error: No resource found that matches the given name: attr 'colorAccent'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values-v21/styles.xml:8: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values-v21/styles.xml:9: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
[aapt]
[aapt] /home/vagrant/build/com.dhm47.nativeclipboard/res/values/styles.xml:43: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[aapt]
(I also tried with 0969996 and got a similar result.)
Do you know what could cause this?
I would like to propose a feature which allows to batch paste multiple entries. E.g. we could add a menu entry "paste all newer" to the menu which is displayed when a clip was opened by longpress. This pastes the selected entry plus all newer ones seperated by newlines.
A scenario for this feature is e.g. pasting everything to Evernote after you have researched about some topic and have copied everything interesting to the clipboard.
With the beta release of fix issue #49, it works with a additional "Clip board" button, but it still doesn't work with long press "Paste" button
Also, the "Clip board" button disappear when I want to open clip board on the text field in web pages on Chrome
Add an option that allows a double tap while the dialogue is open to close the dialogue again, personally I think this would feel a bit more natural
Dear developers,
There is many clipboard apps but your app is the best i have tried many now iam using your app for more than 3 yrs. As you already know your app is not working with android 10.now i face big problem without clipboard.
for your app inorder to work there is easy solution if you encode your app to work with the following Adb commands it will work fine on android 10
https://www.webplover.com/blog/android-10-clipboard-solution/
Now iam using Clip stalk and Clipto they both implemented the above adb codes and they are working fine on my android 10 but they are very bad in user IU and i dont love them.
When i want to run these three adb commands in second Grant pemission it says the apo doesn't request grant permission.
I think its easy for you to make your app behave like the above two one.
Please please work on it
Thanks
Nice try of Material Design! But the elements seem to have been assigned with too much more height in z axis. The shadow is kind of distracting when many items stack together. Maybe 6dp- for action bar App bar and 2dp- for items is better.
Your user wants a unified direction of clipboard calling, so the clipboard will always take the place where IME has been. Add a switch to toggle between smart calling and custom position.
Such as Google Search bar on the launcher and in Google Translate app
Also, on the text field in the web pages with Firefox, the cursor is in the text field but when I tap the text in clip board it doesn't paste the text in the text field
Please add support for icon shape
https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html
https://material.io/guidelines/style/icons.html
you should fix it to upload new version to google play
https://www.xda-developers.com/google-play-app-updates-must-target-android-8-0/
It would be awesome if you can add a share clipboard feature (without require Xposed).
When native clipboard is force closed/crashed (usually due to low memory in my case), my capacitive hardware keys respond with tactile feedback, but do not actually do anything.
For me to get them to work again, I must manually restart the app/service in accessibility in settings
Can you guys add support to the marshmallow "paste" button as you had on lollipop? The long click support is what i mean.
1. Can you add folders to the clips as in launchers just drag n drop.
2. Can you support for re-positioning the clips by drag and drop.
I'am asking for this features because i like the UI of the app.
When a paste is completed on chrome, NCB leaves a window in recent task. Android M, Xposed mode.
It seems like lots of parts of the app is actually missing. Where can I get the entire source code?
Thanks.
Hi,
Some parts of code including few resources are missing in the codes in this repository.
Could you plz upload the entire recent project again?
Thanks alot!
Sorry for my bad english!
Regards
Please help make it available on f-droid
related issue https://gitlab.com/fdroid/rfp/issues/845
Could you clarify the fact that "you are not against and support the inclusion".
Till today I realize there are differences between Xposed and accessibility mode. Well, only English version is provided on XDA so maybe we can translate it too (or mark check XDA (In English))
Doesn't work in MIUI6.Clipboard list is empty.
For now, I've found out that it's possible to get the clipboard data in the background, but only if the app is in the foreground with an on-top view .
Example here . Un-comment the part in the onStartCommand
function, and you will see it will write to the log each time something gets copied, even if you leave the app.
But, what I miss on your app is to paste the clipboard data, which doesn't work and I don't know how it is working in code.
I know that clipboard apps got to be much worse on Android Q (here), but maybe there is still a way around it?
The floatting line no longer appears since version 4.4.2 on my two devices (Galaxy S2 & OnePlus X).
version# 4.7.2
I have tried three methods of tapping as given in settings. tapping does not work on wps office 9.9.1 [ text, word & excel files]. however keyboard integration is working.
tapping does work on the following:
fennec 50 beta
dolphin browser 11.5.11
messaging
notes
opera mini browser beta
my device [ ls-4001 / lyf flame 3 ] uses android asop.
please let me know, if you need further information
I am facing issues running this on Android Studio, as it seems this app was made using some other platform. Can you please add Gradle file and make this project supported for Android studio?
I think 50 history is too small.So I hope it can be larger even limitless :)
Add an option that allows pinned items to be manually sorted or sorted by recency of pinning
No matter what I try I just can't make the clipboard show up on my phone.
Issue spotted on 2.7.9. Long press won't bring out the clip board. Short press works ok.
I will update you here. As of now, I don't think it's related to the material dialogs, so there's no need to add items. If you want, you could try defining the textcolor somewhere to help pinpoint where it is, but I believe it's appcompat related and I'll be looking into it.
You may view my progress here:
https://github.com/asdfasdfvful/Material-Glass/commits/master
11-12 09:54:20.648 8314 8314 E Xposed : de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: org.chromium.content.browser.WebActionModeCallback
11-12 09:54:20.648 8314 8314 E Xposed : at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:71)
11-12 09:54:20.648 8314 8314 E Xposed : at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:260)
11-12 09:54:20.648 8314 8314 E Xposed : at com.dhm47.nativeclipboard.xposed.XposedMod.hookChromeNewActionMode(XposedMod.java:489)
11-12 09:54:20.648 8314 8314 E Xposed : at com.dhm47.nativeclipboard.xposed.XposedMod.handleLoadPackage(XposedMod.java:290)
[omitted]
Please update hooking in accordance to nougat and new xposed. Current build may crash webviews.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.