yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] PunchUp:
Nothing ignore that.

And sorry false alarm! :p

I just tried again and it does maintain the sequence. Only the order is reversed (for clips that are not pinned)

Here's what happens.

- The pinned clips always stay in order

- And the ones that are not pinned, reverse order when “pinned first” and “pinned last” are selected.

So you only have to fix the order reversal of non-pinned clips

- Other than that, I'm not sure if your data folder trick worked. I edited the xml file and deleted the file you mentioned. After that all clips were in the same order. But as soon as I used sorting, all clips got jumbled and duplicated. So maybe someone else can confirm if the data folder trick works or not?

The sorting is fine though :good:
[Xposed Framework Modules] DHM47:
Good it is just the unpinned

You can check if it worked by looking a the time stamp if it's "01/01 03:00" it didn't, if it's today's date it worked
[Xposed Framework Modules] PunchUp:
Some clips have today's date and others have 01/01.. Weird :D

Maybe that's why it got jumbled and led me to think that the sorting wasn't working.
[Xposed Framework Modules] PunchUp:
I tried to unpin a clip and then delete (using the menu itself).

It crashed with the following error

(Swipe to delete works fine though)

12-08 13:14:40.386 E/AndroidRuntime(30546): FATAL EXCEPTION: main
12-08 13:14:40.386 E/AndroidRuntime(30546): Process: com.dhm47.nativeclipboard:clipboard, PID: 30546
12-08 13:14:40.386 E/AndroidRuntime(30546): java.lang.NullPointerException
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.dhm47.nativeclipboard.ClipBoard$4$3$1.onMenuItemClick(ClipBoard.java:402)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.widget.PopupMenu.onMenuItemSelected(PopupMenu.java:201)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:741)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:884)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.view.menu.MenuPopupHelper.onItemClick(MenuPopupHelper.java:177)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.widget.AdapterView.performItemClick(AdapterView.java:298)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.widget.AbsListView.performItemClick(AbsListView.java:1115)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2913)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.widget.AbsListView$3.run(AbsListView.java:3647)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.os.Handler.handleCallback(Handler.java:733)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.os.Handler.dispatchMessage(Handler.java:95)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.os.Looper.loop(Looper.java:136)
12-08 13:14:40.386 E/AndroidRuntime(30546): at android.app.ActivityThread.main(ActivityThread.java:5153)
12-08 13:14:40.386 E/AndroidRuntime(30546): at java.lang.reflect.Method.invokeNative(Native Method)
12-08 13:14:40.386 E/AndroidRuntime(30546): at java.lang.reflect.Method.invoke(Method.java:515)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
12-08 13:14:40.386 E/AndroidRuntime(30546): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
12-08 13:14:40.386 E/AndroidRuntime(30546): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
12-08 13:14:40.386 E/AndroidRuntime(30546): at dalvik.system.NativeStart.main(Native Method)
[Xposed Framework Modules] DHM47:
Thanks and it is not related to pinned clip it happens if the clip is at the bottom and needed to be scrolled to. Any way fixed.

Can you delete the "Clips2.9" file and try the attached apk (no need to do any thing in shared_prefs)

I'm trying a new condition to migrate the old data (which is if Clips2.9 is not found load the old data)

And I fixed the sorting ,please confirm on your side.(still no auto sorting) the list will re-sort immediately after the clip shrinks back to the grid

and fixed the above bug.

Is there any thing left ?
[Xposed Framework Modules] PunchUp:
- After deleting Clips2.9 some of the clips I deleted last night came back.. What's going on? :D

And all of them have today's date and time. So I guess the 01/01 issue is sorted

- Sorting fixed :good:

- Doesn't get sorted automatically. I pinned a clip and it stayed there.. Even after opening the clipboard again
[Xposed Framework Modules] DHM47:
-it should, when you deleted Clips2.9 the app went to the old clips (the one you had before installing the first 2.9 beta)

-try again with this one
[Xposed Framework Modules] PunchUp:
- Yep works now!! :p

- Can you please implement auto save when the back button is pressed while editing?

- The colour of “Set a Title for Clip” would look odd with some background colours. Like with green, which I'm using. Just a cosmetic issue but if you could do something like you did to the arrow, that would be great

- Increase the separation line just a little bit? I really liked yesterday's thick look. So perhaps we can settle in the middle :D
[Xposed Framework Modules] miten_sheth:
Okay.. The clipboard comes now with the button saying clipboard! :good:

The logs here..

https://www.dropbox.com/s/zh0suie2iqypvl4/error.log?dl=0
[Xposed Framework Modules] miten_sheth:
These are the options that come up..
[Xposed Framework Modules] StanWiz:
Using 2.9beta-htc-3apk .

c/p function is not workable with beta-3 installed on my device.
[Xposed Framework Modules] DHM47:
-What do you think of a confirmation window so you can cancel the edit ?

-the color now matches the text color set in the setting

-increased to 1.5(it was 2 then 1) .

*you can use the HTC version

Can you try this, it should be fully working. (it should paste what you choose from the clipboard)

Also when you select you get all option(copy paste select) but if you click you get paste right ? Does the clipboard button show with both ?

unless some thing goes wrong I won't need a log.

And can you take a screenshot where the clipboard button is shown with the other buttons.

A very strange error is shown in the log.

The first image looks like a browser.right ? if so what is it ?

the second can you write some thing and select it and see if the button is shown.

And what rom are you running (link ?)?
[Xposed Framework Modules] miten_sheth:
I tried pasting other things which were copied in the clipboard.. Its not pasting them..

https://www.dropbox.com/s/zh0suie2iqypvl4/error.log?dl=0
[Xposed Framework Modules] StanWiz:
It is a browser - latest version of chrome beta

The copy/paste button does show up when I write something and select it

I'm using the stock rom . Phone is an htc Amaze with videotron . 4.0.3

edit : log after installing htc-4 file

- htc-4 working much better . Now when I long press a window pops up with : select all/paste/clipboard ( first time ever :D) . Nothing happens when I select clipboard ( paste works ).

- there is nothing in test
[Xposed Framework Modules] PunchUp:
- Yea confirmation sounds good

- Everything else is perfect now

- HTC version is not working on my device, so please give me another one :p
[Xposed Framework Modules] StanWiz:
Ok - strange things happening . Chrome beta browser is not consistent . Copy never pops up but I do have a chrome icon to copy ( at least that's what I think it is - it copies sometimes ( have to play with it some more )

When I copied in gosms it shows up in test . When I try to paste in gosms paste and clipboard icons popup. Clipboard one has Hooked 'addButton' in a black box written over it . Pressing on clipboad does nothing . Pressing on paste pastes 1st entry ( as seen in test).
[Xposed Framework Modules] DHM47:
I'll try some thing else. And get back to you.

And does it always show two buttons? Do they both work ?

And the other window ( the one that only has paste ),does it have the clipboard button?

Good, is the button getting duplicated?

You don't see what you copy in test ?

If so, can you go to Advanced and enable compatabilty mode.

What do you mean by copy never pops up? (which copy)

So you're now seeing the clipboard button? Does it open the clipboard?

Do mean pressing on the clipboard button? Or pressing a text in the clipboard?

The message in the black box is what's called a Toast message.

You should still be able to open the clipboard from the settings. So look at the bar size and and the hint color.

Can you get me the xposed log.Because going forward one apk has to work for all.
[Xposed Framework Modules] PunchUp:
Yea already did that yesterday :p
[Xposed Framework Modules] miten_sheth:
Yes the two buttons always show..

Yes they both work..

The window with paste also has those two buttons..
[Xposed Framework Modules] SgtWendigo:
You didn't update on GitHub either, can't update strings for the latest one, man)
[Xposed Framework Modules] DHM47:
And how is the separation line ?

This one should work.

That's good but for now the clip board needs to work then I'll look into the duplication.

Test this one and see.(no need for a log, unless the button disappears )

I synced GitHub, Thanks for your enthusiasm.

[MENTION=6115603]StanWiz[/MENTION] I just released that my app didn't support Ice cream sandwich,even though it is possible it didn't effect you because you are using HTC sense.

Any support has bean added.(Only naming change)
[Xposed Framework Modules] SgtWendigo:
Any time )
[Xposed Framework Modules] PunchUp:
It's perfect :D
[Xposed Framework Modules] StanWiz:
@DH|M47

With beta -4 clipboard and toast button showed up . The clipboard would not come up.

With -5 things are back to normal - nothing works

Whatever you did in -4 came close . I read the entire thread and didn't realize that 4.0.3 wasn't supported , maybe there is hope in Sense.
[Xposed Framework Modules] PunchUp:
[MENTION=4487919]DHM47[/MENTION] my phone has capacitive buttons. Would you please make the overflow menu work with the menu button?
[Xposed Framework Modules] :
Thanks, latest beta works fine but it spam my log tab in Xposed Installer app (screenshot attached).
[Xposed Framework Modules] PunchUp:
Same. I get Sony :D
[Xposed Framework Modules] DHM47:
Can you get me the xposed log.

-I didn't realize that 4.0.3 wasn't supported :silly:

Done.

Sorry I was so focused on debugging I forgot to limit the logging.

HTC users don't update to 6 yet.
[Xposed Framework Modules] StanWiz:
[MENTION=4487919]DHM47[/MENTION]

As requested . This is running htc-5 . Test area is populated , no clipboard buttons or toast displayed anywhere on the phone . Log seems skimpy - hope I didn't mess up.

edit: not sure if this is relevant but the way to get clipboard to fun on my htc is bty going to advanced/compatability mode
[Xposed Framework Modules] DHM47:
This should work, I put the condition with the brand name not manufacturer which in your case returns "videotron_ca"

I'll look into why you need the compatibility mode if it's because of ICS I can fix it if it's an HTC issue it's now worth a fix.

This also contains the updated Chinese and French translations
[Xposed Framework Modules] StanWiz:
Looking better but clipboard still doesn't come up. ( test has data)
[Xposed Framework Modules] DHM47:
Sorry there was some thing missing in the code.try this.
[MENTION=4711107]xxDeathSlicer7xx[/MENTION] Can you also try this
[Xposed Framework Modules] StanWiz:
Working :good:

Thanks for your time and above all patience.

....... now to put it thru its paces and join the ranks of all the other bellyachers .lol
[Xposed Framework Modules] miten_sheth:
The latest update is working perfectly for me.. I can also paste stuff which has been previously copied.. :good:
[Xposed Framework Modules] :
[MENTION=4487919]DHM47[/MENTION],

what do you think about remove test tab for put test button in action bar instead? :)
[Xposed Framework Modules] DHM47:
Can you all try the attached version and report back.(So far two people have tested and said it works on HTC)
[Xposed Framework Modules] dwjp90:
I have since switched to a GPE rom, so i no longer have sense.

Sorry.
[Xposed Framework Modules] DHM47:
what do you think of it ? (Did you see it for example in an other app and thought it looked good)

I personally have not seen done so I don't know.
[Xposed Framework Modules] :
Take a look at this example but I think it will be more nice with an icon instead text
[Xposed Framework Modules] DHM47:
What I thought of when I first read your suggestion was to move it and the xda link to the action bar but the problem lies in the need for an icon
[Xposed Framework Modules] PunchUp:
No worries. I'll make those two :D

Also, what do you think about switching to slide out menu with “Blacklist” as the default screen?

And maybe a material colour for the action bar?
[Xposed Framework Modules] :
Huh!...sorry my english is not perfect!

Thanks for the icons so! ;)

For the material colour for the action bar why not purple color as the launcher icon? :D
[Xposed Framework Modules] PunchUp:
Yea I've seen purple in some other apps. Looks good :p

But got to chose the right shade otherwise icon won't be visible properly
[Xposed Framework Modules] PunchUp:
What do you guys think? :p (The bubbles are just for fun. Will remove them if needed :D)

And [MENTION=4487919]DHM47[/MENTION] unlike the launcher icon, I can't use these icons on my phone, so just throwing them at you without any testing. Let me know your thoughts. (And that dark background will be tranparent obviously)
[Xposed Framework Modules] DHM47:
So it should work (unless you are running lollipop)

And no problem,and sorry to bother you.

I don't think so,I never liked the use of the nav drawer in settings (maybe if there is as much sections as Xposed GEL) what I thought of is maybe a two column view like the system setting.

As for the material theme I feel the appropriate time to add it is when lollipop supports Xposed.

No you were perfectly clear. What I meant was when you said move the test button I thought why not move the link too.

[MENTION=5444464]PünchUp[/MENTION] can you look at these icons here maybe there is an appropriate one or it can inspire you to a design because these are the stock android (lollipop) icons

Also check out this link is has the official material design colors

Edit: I just saw the two icons I'll sleep on it and get back to you tommorow, but can you still check out the link for the icons
[Xposed Framework Modules] PunchUp:
It's past 2 am here so I'm gonna sleep as well. Let me know what you think tomorrow and I shall proceed accordingly :p
[Xposed Framework Modules] :
Oh ok it's clear for me too (better late than never...), good idea indeed! :good:

Yeah Lollipop style for icons would be a nice idea too. :D
[Xposed Framework Modules] PunchUp:
Alternate versions
[Xposed Framework Modules] icanttinkofaname:
This works! But sometimes I need to long press the text field twice for the hook to work. Other times I get two clipboard icons in the cut/copy/paste menu. It does work though. Any way to remove the toast notification? It runs over the keyboard and is distracting. Or is that a limitation to make it work?
[Xposed Framework Modules] :
[MENTION=4487919]DHM47[/MENTION],

can you push strings related with 3 dots menu in your Github please?

Take your time it's not hurry anyway.
[Xposed Framework Modules] Kirrrr:
That's what I'm looking for!

Great tool! Much better than non-exposed alternatives! Thank you very much!

Little suggestion on easy to implement but very handy (well, as for me) feature.

What about to add "Share to..." function for selected (not copied!) text?

And, moving further, to add templatable links to be opened with browser which throw selected text into some web search engines, just like it done in browsers for custom search engines? I.e. "http://www.google.com/search?hl=en&q=%s", "http://en.wikipedia.org/wiki/%s", etc.

Thanks!
[Xposed Framework Modules] PunchUp:
Your first suggestion is out of this module's scope I think.
[Xposed Framework Modules] Kirrrr:
Why?

There are many utilities which can "share" copied text (but not just selected) into other apps. Futher more, selection menu in Google Chrome has "Share to..." option itself: screenshot (Russian language in interface). But this option are available only in Chrome, not systemwide.

Am I wrong?
[Xposed Framework Modules] DHM47:
Send them so we can see how they look in the action bar.

Did you chose the color degree for the action bar?

The toast can be removed is just there for testing.

So a few questions

-does the paste ever appear without the clipboard button appearing? (if it happened did the toast message appear?)

-is the clipboard button always duplicated? (if it is not, can figure out in what condition it only appears once)

As soon as testing is done the toast will be removed.

I knew I forgot some hard coded strings :silly:

Those might be possible but they are out of the scope of this module

And most importantly there is a problem with the select bar, unlike other action bars where you add more options in a three dot menu (over flow menu), in the selection bar when you click the three dot button it closes.

If you know a developer who's interested tell him to check out my code
[Xposed Framework Modules] PunchUp:
No you're not :p Actually I'm confused now haha. It does sound like a useful feature though
[Xposed Framework Modules] rzr86:
yes indeed it works to my htc device too:good::cool:
[Xposed Framework Modules] DHM47:
I don't deny that they are useful (I would use them if I had them) but this module is a clipboard not an enhancement for the selection menu. See this mockup of what it would look like here

If you want to discuss it more PM me
[Xposed Framework Modules] PunchUp:
Uploading in a bit.

And no. You have anything in mind? :p
[Xposed Framework Modules] DHM47:
Did you see the colors in this link (http://www.google.com/design/spec/style/color.html),

What do you think of Deep Purple 500 (#673AB7) ?
[Xposed Framework Modules] PunchUp:
Btw what resolution?
[Xposed Framework Modules] DHM47:
48 for now

I'll check the standers and tell you

Edit check out the guide lines (http://developer.android.com/design/style/iconography.html)
[Xposed Framework Modules] miten_sheth:
1. The paste button is always there with the clipboard.. In what I have seen so far atleast..

2. Yes there are 2 clipboard buttons always..

Also.. I too noticed that sometimes we have to click like twice or something for the text to be selected..

Also something which i saw while typing this is that.. When there is some thing which is previously copied.. And you want to paste it after a while.. It doesn't show the paste option.. You have to copy something and then paste it from the clipboard..

Can anybody try and replicate it?

These are my findings till now..
[Xposed Framework Modules] PunchUp:
Deep Purple 500 looks cool. :good: But it's difficult to tell without actually seeing the whole screen :p

Try these icons and upload the screenshots. If it needs more adjustments, perhaps update your source on github? and I'll modify directly with Android Studio

EDIT Note : (In case, anyone else would be using these icons in their app, please send me a PM first)
[Xposed Framework Modules] DHM47:
This is using Deep Purple 600

https://s3.amazonaws.com/pushbullet-uploads/udnqu-P2JqEdcmnn09pFEEEMrEvaqlhn0aN1OQ/Screenshot_2014-12-11-21-28-34.png

https://s3.amazonaws.com/pushbullet-uploads/udnqu-3zWIPKF3H2iy9qrEAqa0AYnuX08dVRTQ/Screenshot_2014-12-11-21-28-07.png

https://s3.amazonaws.com/pushbullet-uploads/udnqu-d7qBzOW5zkQDuZLefF8FowDJ3sdZQSAW/Screenshot_2014-12-11-21-06-48.png

https://s3.amazonaws.com/pushbullet-uploads/udnqu-CoOiq0Es0YSlHmlPu5POvKbSPVKdtkd3/Screenshot_2014-12-11-21-06-18.png

I'll sync the code now

The action bar color is in /res/values/color

Note that the buttons do not work yet
[Xposed Framework Modules] PunchUp:
I think the icons don't need any more adjustments. Do you?

I prefer the hollow ones that I provided today. They look great :D

And I feel the purple action bar is not going well with the icon. What do you think?
[Xposed Framework Modules] :
Nice maybe purple more dark will be better style?

Thanks for sync your Github, French translation sync too :D
[Xposed Framework Modules] DHM47:
Well I could not decide, both look nice. I liked the full because they stand out and are eye catching,but I also liked the minimal design of the hollow.

So for now keep to the hollow.

I agree, I tried other degrees nothing really fits.

Or should we use the same color of the icon but remove the icon like in material design?

https://s3.amazonaws.com/pushbullet-uploads/udnqu-CWV86a0wIUI2m9aOHxlZ6bWxak7ezAhh/Screenshot_2014-12-11-23-06-34.png

-So you never see the paste button without the clipboard button.(right?) because you said some times you need to long press the text field twice for it to work.

-Try this and see what happens.

-currently the clipboard button will only show if the paste button is shown. Should I make it always show? (so you will always have Select,copy,clipboard no matter what)
[Xposed Framework Modules] DHM47:
No, I tried a very dark (using the darkest degree in the icon) there wasn't much contrast it made the icon look like a white square.

see my reply to PünchUp above (the link) and what do you think ?
[Xposed Framework Modules] PunchUp:
This looks much better now!

I'd like to experiment some more colours with the icon but need some help. Sending you a PM in a bit :D
[Xposed Framework Modules] :
I think that's perfect, still with this style! :good:
[Xposed Framework Modules] PunchUp:
The main reason I asked for a nav drawer yesterday is because you could have added the new hamburger to arrow animation. Would've looked great overall :D

Also, should make an icon to replace “CB”?
[Xposed Framework Modules] :
And/or for "add" & "help" buttons in blacklist tab too please! :fingers-crossed:
[Xposed Framework Modules] DHM47:
The funny this is according to the guide lines the nav drawer should cover the action bar meaning its useless (see the latest play store)

I've always wanted an icon for it, but the problem is the theme could be dark or light.So either I find a way to detect that or the icon would need to fit with all colors.

So if you have a design that would work with all colors then OK. Or I can look into figuring out the theme.

No need

I'll use these (https://s3.amazonaws.com/pushbullet...L8C0hBENDj/Screenshot_2014-12-11-23-50-42.png)
[Xposed Framework Modules] PunchUp:
Haha that's really stupid :D it's a cool idea though :p

I'll see what I can do :good:

---------- Post added at 02:57 AM ---------- Previous post was at 02:41 AM ----------

Btw since I see Lollipop in your screenshots, do you not use this module yourself? :D
[Xposed Framework Modules] DHM47:
I'm just testing lollipop for a few days and it's awesome but I really miss Xposed so I'm gong back to KitKat

Also 2.9 doesn't involve any xposed changes so I'm taking advantage of that to experince lollipop

Even though I don't use a lot of moudles on stock android(I was on CM11) those little things are amazing for example disable full screen keyboard in landscape,double tap to disable auto correct,my clipboard all I need today but didn't have them .
[Xposed Framework Modules] PunchUp:
Exactly :D I want to try Lollipop badly but there are so many modules I just can't give up. Hopefully rovo manages to port the framework soon :p
[Xposed Framework Modules] miten_sheth:
Sometimes the clipboard is being shown with the clipboard.. Sometimes it is showing without the clipboard..

Have a look at this..

This happened when i quoted your comment and selected the text.. Since this came I discarded the quote and tried doing it again.. It didn't appear.. Tried replicating it again.. Happened once in 3 to 4 times of quoting your comment..