yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] DHM47:
Reserved

From the app's version 4.0 onwards, the app can be used in two different and separate ways

• Accessibility - Double tapping edit fields

• Xposed - Long pressing the Paste button OR from contextual action bar which appears when you select some text

Comparison

Other advantages of Accessibility:

-Clipboard opens Faster

-Wider compatibility (Works where long click paste doesn't)

*1 - Only open-source browsers supported so far - Chrome (Beta), Firefox and apps/browsers based on built-in WebView (4.4+)

*2 - During testing, I was able to paste in Chrome. However, it only works Lollipop onwards. And double tap causes the page to zoom.

*3 - Prevent the text from appearing in the clipboard in certain sensitive apps (ex password managers).

*4 - Modifying the text selection while the clipboard is open.

*5 - Change the paste location (cursor) while the clipboard is open.

*6 - The keyboard can be accessed while the clipboard is open. Just hold and drag the top bar to move the clipboard.

*7 - The text gets pasted but disappears as soon as the clipboard is closed.

*8 - Or any other app that changes its layout when the keyboard is open.
[Xposed Framework Modules] hamzahrmalik:
Will try it now, thanks
[Xposed Framework Modules] chrisch91:
Doesn't work for me. I'm on 4.4.2 (nexus 5).
[Xposed Framework Modules] badkill:
Very good, works perfectly on my galaxy s4-i9505
[Xposed Framework Modules] DHM47:
Did you launch the app(it's called "FirstTime" ) before rebooting your device?
[Xposed Framework Modules] chrisch91:
I did. View attachment 2804170
[Xposed Framework Modules] DHM47:
1-Does the "Clip Board" button get add when you select a text ?

2-Does the UI show up when you click it ?

3-Does the UI show up empty or does not respond to clicks?

Thanks for testing.
[Xposed Framework Modules] exadeci:
None, the only thing that I get is the copied toast notification and if I select text there is a sharing option "Copy to clipboard".
[Xposed Framework Modules] joluke:
will this be available via xposed installer? for easier update?

Sent from my Note 3 (SM-N9005) using Civz ROM [v3.5] with Kernel SkyHigh TW Kernel [v2.5]
[Xposed Framework Modules] Eddiemc:
Please add this to the xposed repo, so updated can be done through xposed directly.

Very nice clipboard, seems slightly unstable (sometimes after copy in Gmail I get repeated toasts saying copy, paste fail, copy, paste fail, ++) but I'm sure it will evolve to be perfect. Great work, I deleted clipper off my system.
[Xposed Framework Modules] DHM47:
You have to launch the app " FirstTime " so the broadcast receiver can be registered

This is only needed once or after force stopping the app.

Next update will be uploaded to the Repo

Can you explain the Gmail situation so I can reproduce it.

Next update will be uploaded to the Repo

Next update will be uploaded to the Repo.

You can do that now : click on an empty space to show the handle (shown in the second pic of the thread) then click the handle to show the "paste" button. Now long click on "paste" to open the clip board

Thanks for the feedback.
[Xposed Framework Modules] KDB223:
[STTIKE]Same here.

Doesn't work on my Moto G running 4.4.2 :( [/STRIKE]

Scratch that.

Its working perfectly now, after completing 5 minutes since reboot (I have no idea how)

Excellent work bro! :)

-sent from my little moto beast
[Xposed Framework Modules] chrisch91:
1-no

2-no

3-empty.

Sry fot the bad feedback :)
[Xposed Framework Modules] Eddiemc:
Open the Gmail app, long press on any word to select, hit the copy marker/button, watch the toast say:

Copied

Pasting went wrong

Copied

Pasting went wrong

Copied

Pasting went wrong

It even did this in the xda app as I'm copying and pasting to show that the toast appears three times for both notifications.

App works fine, it copies fine, even though it says the above. Pasting works fine without any toast notification.

Running Android 4.4.3
[Xposed Framework Modules] helpmeplis:
Hwello just tested. Great app thanks. When I try on the empty web address field, it works. When I try in a text field like right here(writing this) it does not. I guess because the paste bubble does not appears, its the copy, cut, paste menu on top that appers. maybe thats why. Thanks hope this helps.

Nexus 5 4.4.3 and chrome
[Xposed Framework Modules] DHM47:
I'm not sure why but broadcast receivers don't work immediately after boot.

This same delay was present in tinted status bar so I'll see if MohammadAG found a solution

Can you check the xposed log

Look for (Loading modules from /data/app/com.dhm47.nativeclipboard-1.apk)

If it's there, tell me what is the next line?
[Xposed Framework Modules] chrisch91:
New situation: it isn't working for most apps. I tried dialer or tapatalk, it works fine. Others like chrome doesn't.

Edit: bizarrely also chrome works now (but just woth copying links, not with text):D
[Xposed Framework Modules] DHM47:
These text fields are made by the browser so they don't use android built in text view. So I'll need to take a look at the source of the browser (hopefully Chrome and the AOSP Browser do it the same way )

I was able to reproduce it thanks. I will try to fix it as soon as possible.

Edit :You got it work? (if yes Great)

The title bar works, as for in the pages see the first response
[Xposed Framework Modules] Naveenyahoo:
This is what I want from xposed ... Thnx buddy...
[Xposed Framework Modules] DHM47:
in the OP the string are attached download it translate it and send it back

As long as you are getting the message send me the log cat and I'll try to fix it.

*the fix in 2.2.2 requires a reboot

First thanks,but see the attached screenshot some characters are showing up as strange symbols

I'm literally now working on an option to pin clips. so expect it with next update.
[Xposed Framework Modules] JoxeeM:
There you have, three strings options. I don't know exactly how characters work so I took three different alternatives.
[Xposed Framework Modules] DHM47:
only the first one worked.I think it is because you changed the Encoding.

How does it look now ?
[Xposed Framework Modules] Cyboy:
Here is my logcat file

thanks

already i'd appreciate your efforts.
[Xposed Framework Modules] PunchUp:
[MENTION=4487919]DHM47[/MENTION] let me know if you need any more changes
[Xposed Framework Modules] JoxeeM:
Perfect ??
[Xposed Framework Modules] rangoj:
It works great on nexus 5!! Thanks!

It would be extremely useful if you could connect this app with PC (with some PC software) :cyclops: , so that we can use clips on PC alsoo!
[Xposed Framework Modules] Cyboy:
[IMG="ScreenShot"]http://www.mediafire.com/view/?nng3hahz43aijnb[/IMG]

Seems working well now,but still something's unpleasant.please have a look at the attachment.

And a suggestion: Back key to hide the ClipBoard.

,it would be much more reasonable.

guys please confirm.

http://www.mediafire.com/view/?nng3hahz43aijnb
[Xposed Framework Modules] KreNtal:
Italian Translations

Translated in italian, I think you should change " deleted :" to "deleted: ", it's a bit messy without a space at the end.
[Xposed Framework Modules] HellPie:
Why did you translated the "test" string with "Testa"? Shouldn't be "Prova"? " Test" should also be fine.

Sent from my Motorola Moto G
[Xposed Framework Modules] DHM47:
glad to hear.

Programing is a hobby(no education,I'm actually a Mechanical engineer) so that goes way out of my knowledge.

But if you find an app that can do that by automatically copying to android's clipboard my app will added it to the list.

As I said "The problem is to get the back button click I have to ask the system to focus on the clipboard , which will cause the keyboard to hide and remove the text selection. So I decided that losses out weigh the gains IMO."

So do you think the back button is worth it ?

And i tried to adjust the size.But whats your screen size and dimensions ?(so I can test)

Yes a space after is better.

well,what ever you decide tell me, and also translate this "Pinned Clip Color"
[Xposed Framework Modules] KreNtal:
Man I'm italian too, 'testa' is a synonymous of 'prova', you can also use 'test', they're all the same, but 'test' has english origin, 'testa' or 'prova' are pure italian.

---------- Post added at 05:40 PM ---------- Previous post was at 05:32 PM ----------

"Colore Appunti Bloccati"
[Xposed Framework Modules] HellPie:
Or, if you like to make some word jokes and make people going crazy "Colore Appunti Appuntati"... (Don't do it, please.)

[MENTION=4487919]DHM47[/MENTION] could you make the app to fit the height of the keyboard or let the user manually set it as a percentage/pixel value?

Sent from my Motorola Moto G
[Xposed Framework Modules] Cyboy:
320*480 (my Xgo) and 600*1024(my wife's tab)

on the both the prob ve been observed

and hell yes.. ,back button would be prefect for hiding the panel!
[Xposed Framework Modules] heather1209:
Any plans to make this work with HTC Sense?
[Xposed Framework Modules] DHM47:
I can't get the keyboard hight but I can add an option

Fixed the undo

The back button will need some time

Can you try the apk attached in this replay

Read what I said to iii2

http://xdaforums.com/showpost.php?p=53690926&postcount=107
[Xposed Framework Modules] Cyboy:
http://www.mediafire.com/?r8doivrov1lfacl

Persian(Fa) ;)
[Xposed Framework Modules] heather1209:
Just did. I enabled it in Xposed, rebooted, waited about 10 minutes, opened the Native Clip Board app, and tried it in the stock messages app and also in Google Keep. Nothing happens when I tap or press and hold on Paste. :(

It is recording the clipboard, though. I see the entries when I open the Native Clip Board app and hit Test.

Edit: by the way, I'm using an HTC One M8 with the ViperOne rom if that helps
[Xposed Framework Modules] DHM47:
Is their any errors in the Xposed Installer log?
[Xposed Framework Modules] genderblurr:
I am in the same boat as this person. I installed the apk linked as well. I would prefer this than an app such as clipper.

Sent from my 831C
[Xposed Framework Modules] heather1209:
Nope, only one referring to a status bar mod I have.
[Xposed Framework Modules] KOLANICH:
1 It will be good to store clips entirily in ram without writes on flash. If you need to prevent data loss due unloading app from memory, you can create a ram file using bind command line utility.

2 What about adding some way to trigger this app in apps which use custom user interface for clipboard, for example using some hw button while triggering paste?
[Xposed Framework Modules] DHM47:
As I've said I'm a mechanical engineer so I'm learning programming as I go So can explain what you mean by Ram file

2 can you explain more or give an example
[Xposed Framework Modules] KOLANICH:
Sorry, bind is not an utility, it was an argument (not suitable in this case). The utility is mount. Use mount -t ramfs ramfs /path/to/folder to create a folder in physical memory (not swap). For example you can mount in such way cache subfolder of your app. The folder must exist.

2 For example I hold some physical button on device, for example headset one (there is a project of a button on audio jack on kickstarter, of course it also can be diy) or put a finger on proximity sensor during initiation of a paste operation in some app. The hook checks wheither condition is held and if it is it triggers a gui from which I can select a clip to paste. It is needed because not all the apps are using system "paste" tooltip as gui, but use its own menus, for example 920 text editor.
[Xposed Framework Modules] DHM47:
Added,and there is a new string "Pinned Clip Color" translate it so I can add it.

And see how the Undo message looks now.

I just finished the 2.4 beta release, so I will start to make one with more logging to see where is the problem .

But I have a few questions from a brief usage of the M7 I noticed that the "copy,cut,select all,paste" menu shows up above the handle. However in chrome when selecting text in the address bar the stander menu shows up(the one that comes at the top) my Questions is does the "CB" button show up in any of them ?

I'm looking into a completely new approach which aims to address apps that implement their own paste function (like what HTC did) so that might help.

I will look into this,But did you face any problems with the current implementation ? (is it urgent ?)

2 Will you got me thinking, and I'm now a bit more experienced then when I started. Because I tried to address apps that use their own paste function but I failed.

But now I think I figured out how to do it.(I will make the UI show up if there is a text field and there was a request for the clip data)

Update 2.4 (beta)

-Changed the delete button to swipe gesture.Thanks to Roman Nurik for the Code [MENTION=1352346]fliparsenal[/MENTION]

-Added the ability to pin clips so they can't be deleted by a swipe or the "Clear All" button [MENTION=2790737]yogesh324[/MENTION]

-New App icon Thanks to [MENTION=5444464]PünchUp[/MENTION]

-Removed unused library (Decreasing the size)

-improved the dimensions of the Undo message

-Added a few Translations

----Persian(by ahmad990)

----Italian(by KreNtal)

----Spanish (United States) (by JoxeeM)

----Arabic (by Abdulah)
[Xposed Framework Modules] heather1209:
Ah, that's interesting. The copy/paste/etc menu appears at the very top (similar to what you see here: http://cdn.gottabemobile.com/wp-content/uploads/2014/01/Screen-Shot-2014-01-15-at-11.04.10-AM.png) in my Gmail, Keep, and Chrome apps, for example (seems to be the Google apps then?), but the majority of apps have the little pop up above the selection, similar to what you see here: http://www.sr20.org/htc.png. As for the CB button, the only app I've seen it in so far is Keep and ONLY if I press and hold on existing text so I get the copy/paste/etc menu at the very top. If I press and hold in a blank area, I get the little pop up above where I pressed like I do in most other apps. On the plus side, when I do see the CB button and tap it, it works! But still nothing when I press and hold or just press Paste.
[Xposed Framework Modules] KOLANICH:
1 it is not very urgent, but I think that it is one of most prioritized tasks, because the current implementation spoils flash memory. When you start to implement it, don't forget to disable built-in android feature - it also uses files.

2

This is not the best solution: sometimes the UI is not needed and we need latest clip.

3 Added a russian translation http://pastebin.com/jtty0PtQ

4 why don't you use github
[Xposed Framework Modules] Cyboy:
i downloaded and checked out the string.xml once again and found nothing new in it(not updated) ,however i translate it overhere though :

"رنگ برگه سنجاق شده"

---------- Post added at 01:21 PM ---------- Previous post was at 12:48 PM ----------

im so sorry but "pastin went wrong" once again!

may be i had not tested it then. also it pasted multiple time the same clip by touching paste button once, i can capture a video from this issue if you need.

i think i'm going to disable it till get fixed by you.

the undo button is Ok now.

good luck!?
[Xposed Framework Modules] harahara0121:
I want the ability to register a fixed phrase!!
[Xposed Framework Modules] Sam7777777:
Great work sir, thanks for pin functionality

Sir i have noticed sometimes it becomes difficult to call clipboard when using apps like dolphin browser (may be firefox too) as it has its own paste button (not the standard one)
[Xposed Framework Modules] kotey:
beta 2.4 stopped functioning

I already liked this. And even more now! :)

Smaller, easier and prettier.

Unfortunately, I have to downgrade to 2.2.2 because:

Click didn't paste anymore

Long click did nothing

Everything else worked as far as I can tell (swipe, undo, clear, copy etc)

Another suggestion (unrelated to issue)

Can you make the copied toast optional, since some apps will display a toast when copying to clipboard. For example, Firefox. So we don't get a double toast as currently.
[Xposed Framework Modules] JoxeeM:
The 2.4 beta works for me. I found a bug thou. You can't pin clips with emojis, It forces to close.
[Xposed Framework Modules] DHM47:
That's a very important point I will try to implement it as soon as possible

2 I still have not explored all the possibilities but your idea is growing on me

3 thanks. Also translate the new string "pinned clip color"

4 you mean for the translation? Well I've been planning to eventually release the code but if some one is willing to help I'll release it sooner

Get me a logcat and tell me what app where you trying to paste in. BUT first reboot and wait after the reboot.

The latest beta has the ability to pin certain phrase. Is that what you mean?

I'm now thinking of a way to work with those apps

Does the CB show up? If not reboot because some times modules failed to load.

I think it's no longer necessary.

Can you reproduce it and get a logcat? (it is working fine for me)
[Xposed Framework Modules] kotey:
Yes, CB shows up. As I said in previous post, swipe, undo, copy works but not paste or long clicks (I don't even know how clip colour looks like yet :( ) Uninstalled, reinstalled, rebooted twice. Even disabled ALL other xposed modules. No luck :(

Xposed log, only this module activated:

-----------------
Jul 17, 2014 1:02:37 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JZO54K.I9100XWLSD' with fingerprint 'samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XWLSD:user/release-keys'
Loading modules from /data/app/com.dhm47.nativeclipboard-2.apk
Loading class com.dhm47.nativeclipboard.xposed.XposedMod
-----------------
Jul 17, 2014 1:06:37 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JZO54K.I9100XWLSD' with fingerprint 'samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XWLSD:user/release-keys'
Loading modules from /data/app/com.dhm47.nativeclipboard-2.apk
Loading class com.dhm47.nativeclipboard.xposed.XposedMod

Confirmed on other two ICS MTK devices, also not working (v2.2/v2.2.2 works nevertheless).

At first I thought its because Samsung TouchWiz but apparently its not. I'll try under emulator, will report later,

Edit: Jellybean 4.1.2 AOSP on emulator. Confirmed not working, same as all real devices tested.

Can I ask, what are you guys on that have no problems? 4.2+ perhaps?

Is a logcat necessary? I have 700+ apps on one device, 400+ on the others, its kinda hard to try taking a look...
[Xposed Framework Modules] DHM47:
Sorry for the inconvenience of the restart and disabling other modules because I think I just understood what you meant .

You can open the UI but you can NOT click (or long click) the clips. Right?

I fixed it in version 1.4 but I abandoned the fix when implementing the swipe because no one reported it not working before 1.4 and it was not conflicting with the swipe gesture.

I will start looking for a new fix

Thanks for the tip about the support library in HijriDate thread, removing it is what reduced the size.
[Xposed Framework Modules] DHM47:
Can you try this ?
[Xposed Framework Modules] FoferX:
A few questions/issues.

1) I set my clipboard limit to 15. I then proceeded to fill it with 15+ words. Is it supposed to cycle over and only keep the most recent 15?

2) I saved 2 of them, and then tapped "clear all." Thinking it would clear out the remaining 13. Instead I got an error popup that native clipboard had crashed.

3) in order to troubleshoot, I then toggled native clipboard off in Xposed Installer, and rebooted. When my Nexus 7 tablet came back up, I noticed that native clipboard had ?loaded anyway -- even though I had turned it off in Xposed installer. What's up with that?

Thanks for any answers...
[Xposed Framework Modules] DHM47:
are you sure it is emojis or any clip the is out of the screen.

For example if your screen fits 4 clips and you pin the 5 it force closes ?

If that is the case then it's fixed

[MENTION=1954283]kotey[/MENTION]

did the fix work ?
[Xposed Framework Modules] DHM47:
1-when you reach the limit it will delete the oldest item.(did anything else happen ?)

2-i've changed the 'clear all' code since 2.4, can you try 2.4.1 from my last replay and see if it happens again

3-the clip board monitoring the clipboard UI are not Xposed code, so disabling it will only remove the CB button and the long click on Paste.

If you mean it showed up the in the xposed log then that strange and shouldn't happen.

But if you mean the notification,then I should check to see if the module is enabled before starting my app.
[Xposed Framework Modules] kotey:
Sorry I was gone, so didn't test this yet. Will do and report back, thanks in advance.

---------- Post added at 01:06 AM ---------- Previous post was at 12:29 AM ----------

Thank you! It works now. :)

I just tested one device so far but I expect things are good now hopefully.

Got some crashes initially maybe because of old clips, so I cleared data and it's fine now.

Oh well I can't thank you enough but thanks, really.
[Xposed Framework Modules] JoxeeM:
I don't know what exactly was the problem. Now It works...
[Xposed Framework Modules] DHM47:
I just released 2.5 with following changes

-added animation for deleting and adding clips

-added an option to change the size of the clip board UI

-fixed clicking not working on some devices

-fixed a force close when un/pinning clips at the bottom of the list

I am now leaving for 2 weeks during which I will not have access to my computer and very little access to the internet.So excuse my absence.

I've tested this and so far every thing has went well.

Please report any problems you face.
[Xposed Framework Modules] PunchUp:
Working fine. Thanks for your good work so far. Take care man
[Xposed Framework Modules] JoxeeM:
Enjoy ? Working great ?
[Xposed Framework Modules] wolf068:
work great :good:
[Xposed Framework Modules] HellPie:
Awesome. Just updated to last version. This app is so changed since the first beta.

Sent from my Motorola Moto G
[Xposed Framework Modules] m+a+r+k:
Isn't it!

I do love watching great apps develop from initial test of ideas to fully-fledged working app. This has also been a perfect example of user/developer interaction. Well done everybody! :good:
[Xposed Framework Modules] monnett:
cool apps bro :good:
[Xposed Framework Modules] kotey:
It's working great!

Just only this tiny little bug, non - critical :

If you clear the second last clip from the bottom, trying to undo it will show success but actually it fails.

That is all that I've found so far, congrats and thanks for this great idea and module.

And good luck and wish you happy on your vacation. ☺

---------- Post added at 05:11 PM ---------- Previous post was at 04:58 PM ----------

Exactly!

I was going to say just that, but you did first. How happy I am now for the developer, myself and everybody :)
[Xposed Framework Modules] maigre:
Doesn't seem to work on my Nexus 4. I installed, activated the module, rebooted. The characters "CB" now show up on the clipboard menu at the top of the screen when I select multiple characters. But tapping it doesn't do anything. Long clicking the Paste button triggers haptic feedback, but the NCB menu never appears.

I'm running XPrivacy. I wonder if that has anything to do with this. I'll try it with that shut off.
[Xposed Framework Modules] fliparsenal:
Did you open the app after the initial reboot?
[Xposed Framework Modules] maigre:
That was it. Now I seem to recall reading that I needed to do that and I don't think I did.

Thanks!
[Xposed Framework Modules] fliparsenal:
Np! The usefulness of this app is understated. xda needs to put this on their frontpage!
[Xposed Framework Modules] maigre:
I'm still feeling the app out, but I've wanted this functionality literally since the day I first got a smart phone. I use extended clipboards on my computers and wouldn't want to manage without them. They have far greater value on a mobile device. I've used clipboard utilities, and they make a difference, but they're not integrated into the active app like this one is.

On a tangential note, another such feature that I use on computers that's even more valuable on a mobile device is text expansion. A couple of keyboards have that feature. I wish more did.
[Xposed Framework Modules] rzr86:
are you planning to make it work on htc sense?