yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Kevin M:
It provides a good solution to a real problem with Xposed modules. I would be very surprised if it didn't catch on, especially considering how easy it is to implement. I know there are at least one or two XDA contributors who follow this thread and hopefully have already picked up on it. :good:
[Xposed Framework Modules] ImADev:
For those who are curious, the performance issue was due to how XHangouts was structured. It would loop in such a way that it'd cause XHangouts to retheme Hangouts five times over instead of just the once. Every other class was affected too, but none of them would really impact speed or memory usage.

Kevin didn't mention it, but there's now a new option to control the emoji buttons visibility. It's useful for anyone who isn't using Googles keyboard :)

New theme options should make there way into the next XHangouts release. They would of been in this release, but I've been busy and full of a cold.
[Xposed Framework Modules] Kevin M:
My mistake! Adding it to the changelog.
[Xposed Framework Modules] fl3xtra:
Any chance in the UI tweaks section, you can add the main app color picker in the same section of the bubble colors? For example, if I pick Google Blue as the Main app color, I go to bubble colors and Google Blue will be there also.
[Xposed Framework Modules] ImADev:
I've currently got it setup so that you can select a checkbox and it'll color the bubbles based on the main color. I guess that'd do what you want it to?
[Xposed Framework Modules] fl3xtra:
perfect.
[Xposed Framework Modules] dannieloco:
Is there a way to have each photo send at 1 MB.. No matter what the pic size is? I have mine set at 1800x1800.. And some pics send at 1mb and some at 720kbs. They range.. No big deal.. But seems like a cool feature to set it that way
[Xposed Framework Modules] ImADev:
It can vary depeding on the image and how it's being sent within Hangouts. I'm pretty sure that Google also changes the quality on their end to save bandwidth too.

If you enable debug mode within XHangouts, use Hangouts for a while and then look at the Xposed log you might find that you're running into memory issues. This can occur with adjusted resize dimensions because they apply to sample pictures, pictures that you're looking to attach and pictures that you're sending. So if XHangouts can't allocate enough memory it'll fall back to the regular Hangouts method, which would result in smaller pictures.
[Xposed Framework Modules] dannieloco:
Weird thing is that I download a photo I took on my cell phone, edit it on photoshop, and then load it back onto my phone's DCIM folder...

Then when I try to send that photo to a friend, it gets stuck on sending. But then if I delete that message and reattempt texting the original pic that was shot from the phone camera, it will send at almost 1mg (which is what I like). Is there a reason why the modified pic, with same dimensions and size, won't go via text?
[Xposed Framework Modules] Kevin M:
I'm not an image compression expert but from my understanding targeting a specific file size is not a trivial task with JPEG. There is no facility in Android that I am aware of that can accomplish this without a trial-and-error/brute force algorithm. JPEG targets a quality instead of a specific file size. Two photos compressed with JPEG @ 80 should both have roughly the same level of visual quality. There is no guarantee on the relative file sizes of either. If we compressed a photo at quality 80 and it was over 1MB we would then have to decrease the quality level by some potentially arbitrary amount and check again. And continue this process in hopes of eventually getting an image under 1MB.

Also, and this may be completely unrelated, I generally do not put photos into the same folder that my camera uses (treating it as a one-way folder, I suppose). I create a separate one and I have yet to have any issues with that method.
[Xposed Framework Modules] dannieloco:
What I noticed just now is that that the picture will send if I have it at 99% quality.. Seems 99% makes the module resize it vs sending it untouched at 100%. Its been sending fine at 1mb size since I changed it to 99%. My resolution is 1600x1600.
[Xposed Framework Modules] ledlow:
This works for me as well. Thank you so much.
[Xposed Framework Modules] dannieloco:
Yea :) im a big fan of sending higher quality photos over text. IM glad this module exists :D

99% all the way!
[Xposed Framework Modules] dannieloco:
Any way to fix the ordering of text messages? The incoming message is always cut off for me.
[Xposed Framework Modules] Kevin M:
Does this happen to any other SMS apps? Only specific people? Or everyone? It's odd that the texts are splitting long before 160 characters.
[Xposed Framework Modules] ImADev:
I'd bet it's either due to her carrier or her SMS client. It's certainly not going to be anything to do with Hangouts.

If she's also using an Android phone then could you get her to try Hangouts, Messenger or Textra?
[Xposed Framework Modules] dannieloco:
I can ask her what kind of phone she uses.. cause now that I'm comparing, my other friend's text me long paragraphs with no problems.
[Xposed Framework Modules] jmindset:
Would this work on jellybean?
[Xposed Framework Modules] Kevin M:
It should.
[Xposed Framework Modules] jmindset:
Sweet. I'm gonna give it a try than report back if it worked.
[Xposed Framework Modules] 2x4:
would it be possible to add a mod such that the keyboard is changed for specific contacts?

ie, switch to keyboard B when messaging contact 1 or contact 2, otherwise default to keyboard A
[Xposed Framework Modules] xdax1:
Not working with hangout 8.0

I think it is crashing with my recently updated hangout 8.0. Anyone can confirm this also? Thanks
[Xposed Framework Modules] d.cortez:
Same for me (Hangouts 8.0 freezes then FCs)... if i roll back to 7.0, there are no issues.

Sent from my SM-N9208
[Xposed Framework Modules] Kevin M:
This is normal since XHangouts usually needs to be manually updated for each version of Google Hangouts. Thankfully [MENTION=6610308]ImADev[/MENTION] has already put some work towards this and a release may follow soon. You may also find StorePrefs useful which helps to prevent upgrades to potentially unsupported versions of Hangouts. I am not certain if it still works with the latest Play store but hopefully it does.
[Xposed Framework Modules] ImADev:
Yep, I pushed the 8.0 changes to GitHub as quickly as I could as I needed to test everything against my dark theme.

The next version of XHangouts should support the dark theme, although right now I'm taking my time because 8.0 hasn't released to all devices yet.
[Xposed Framework Modules] 2x4:
awesome to hear
[Xposed Framework Modules] Purerawenergy:
Yeah I'm on OPO, T-Mobile and no new notification from play store. Storeprefs is great but I disable auto update for this very reason.

Appreciate your guys (yes you Kevin) great work in these mods as always!

Blasted out of a Super Massive Black Hole
[Xposed Framework Modules] Kevin M:
I, personally, cannot wait to experience all that's new for stable Android devices in Hangouts 8.0.
[Xposed Framework Modules] einniv:
Oh OK, it hasn't been updated for 8 yet.

Is it weird that it still successfully changes the color but doesn't change the ringtone?
[Xposed Framework Modules] Kevin M:
When upgrading to an unsupported version some features of XHangouts can still work because they haven't changed internally between versions. This is especially true for some theming aspects since those are not very reliant on randomly obfuscated code.
[Xposed Framework Modules] nickhere:
can x-hangout help

I run hangouts on a s4 with lollipop 5.01.

The problem is when the phone in standby

Some time the calls don't come thru

it seem to be the cache for either hangout or google play services

I clear the cache and it works.

can x-hangeout auto clear the cache

Also how many other notice the same problem that google hangout not receiving calls.

Nick
[Xposed Framework Modules] dannieloco:
Has 8.0 been pushed to every phone yet?

---------- Post added at 04:26 PM ---------- Previous post was at 04:24 PM ----------

How's 8.0 treating you? Working well?
[Xposed Framework Modules] Kevin M:
I would imagine that 8.0 is available everywhere now. Even though it's really a waste of time to release an update for a completely useless Hangouts upgrade I'll try and push out support for it tonight assuming testing goes well.
[Xposed Framework Modules] ImADev:
I'm currently sick again. I've finished what I needed to do and it's all perfectly stable, although it's still a little rough in areas. It's all very minor stuff though as the compiled code would be almost identical.

I'll push over the changes within the next hour.
[Xposed Framework Modules] Kevin M:
Sorry to hear that. Get well soon!

As for the changes there's no need to push them up if you're not comfortable with them yet. No rush.
[Xposed Framework Modules] ImADev:
I'm happy with the changes and I've just pushed them. There's just some strings in UiColorize.java that I've not bothered to make static up top, but honestly it makes no difference to the compiled code.

The dark theme will apply to just the main chat areas. I didn't bother to do every single menu because that'd be a lot of work and you'd then have to maintain all of it.

Just so people are aware, the dark theme uses Googles color guide.
[Xposed Framework Modules] Kevin M:
Looking it over now. Thanks.
[Xposed Framework Modules] ImADev:
I've done everything possible to make this look good. Unfortunately that does mean that I've had to create some drawable XML files for a few things since Xposed couldn't edit a few colors, but it could replace whole resources.

Here's some screenshots.
[Xposed Framework Modules] sansnil:
That looks great!
[Xposed Framework Modules] Kevin M:
v2.5-d37dfdf

XHangouts v2.5 is now available. Changelog is below for your convenience.

v2.5-d37dfdf - 23 Mar 2016 - Stable
------------
XHangouts v2.5 introduces a number of changes including:
* Support for Google Hangouts 8.0.116581895
* Dark theme support!
* Chat bubbles can now be automatically colorized based on
your primary color selection.
* Resolved an issue with the settings menu on tablets
* Fixed a crash on Marshmallow devices when attempting
to replace a sound

Some screenshots of the dark theme:

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkCalls.png

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkConvo.png

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkDialer.png

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkFab.png

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkList.png

https://raw.githubusercontent.com/kmark/XHangouts/v2.5/images/ColorizeDarkNotifOff.png

Enjoy.
[Xposed Framework Modules] 2x4:
cool to see a dark theme!

Do you know how it works with CMTE themes that also theme hangouts? Will there be conflicts?
[Xposed Framework Modules] ImADev:
You'd probably end up with a weird looking Hangouts theme if the CMTE theme applies to Hangouts too.

I did add a new option so that you can completely disable theming within XHangouts.
[Xposed Framework Modules] 2x4:
thanks, just saw that. I actually tried it and it sort of works well, since the xHangouts theme seems to override the CMTE theme in all applicable places.

I ended up disabling it though since the CMTE theme is fully black but the dark theme is dark gray (just a preference)
[Xposed Framework Modules] ImADev:
It uses Googles material design color palette, so it's dark rather than black.

A dark theme is easy to create as you can easily layer UI elements, but a pure black theme is hard to create because everything kind of blends together.
[Xposed Framework Modules] 2x4:
gotcha. it looks great and I'd definitely use it if i didn't otherwise have an all black theme already
[Xposed Framework Modules] totbl:
I just upgraded to MM. Have everything installed correctly and everything works except for the changing of the sounds. I tried both 2.4 and 2.5 with their respective GHs versions. Still does that stupid .ogg soundbite lol

---------- Post added at 10:20 PM ---------- Previous post was at 09:35 PM ----------

Log says something like java.io.FileNotFoundException Permission Denied for the mp3. It's on my internal storage. I'm at a loss.
[Xposed Framework Modules] totbl:
I've been messing around for a day now with that permission error.

I made a new folder and put the MP3 in there instead in my Media folder.

I bypassed the error but this still shows up:

"java.io.ioexception: setdatasource failed"

Been working at this all day. I'm off to sleep. Feels like I got nowhere lol Anyone else able to use custom ringtones on MM?
[Xposed Framework Modules] Kevin M:
I can't replicate this on the latest version on Marshmallow. Which sound are you trying to replace? When exactly does that error happen?
[Xposed Framework Modules] Kevin M:
Give this a go: Open up the Settings applications list, go to Hangouts, tap permissions, and switch on storage. Alternatively tap the image icon on the Hangouts attachments bar and allow access.
[Xposed Framework Modules] totbl:
Dude. DUDE. You're a magician. I've been thru every setting imaginable (or so I thought) and BOOM this one did it. I never would've guessed. I'm back in business!

Why do you think it was disabled? I'll probably be heading over to those permission settings more often now in MM. I installed and reinstalled it so many times. Thanks a million!

Edit: I'm guessing the day I ever sent an attachment thru Hangouts, it would've started working and I probably would've never understood why lol but I understand what's going on now.
[Xposed Framework Modules] Kevin M:
Glad I was able to help fix this for you. It's a use case I wouldn't have noticed right away on my own. I'll probably add a warning to XHangouts to enable this permission. By default Hangouts will not have the storage permission since it doesn't request it unless you explicitly try to upload an image with it. Without that permission Hangouts can't read the MP3 from your storage location.
[Xposed Framework Modules] totbl:
I really like MM's permission feature now. Akin to XPrivacy I believe. A warning like, "If on Marshmallow make sure to tick the Storage Permission on for custom sounds." or what not would be great for people like me. Will save the newer MM folk a bit of a headache lol I just got Marshmallow yesterday and I'm loving it. XHangouts is one of my favorite modules because you guys do what Google devs lack the talent for!
[Xposed Framework Modules] brossovitch:
The latest update is absolutely incredible!

The dark theme is great for my AMOLED screen devices, although not totally black it works rather proficiently and everything works. I've been missing the send and lock function for a while.

So fantastic! Thank you guys again!

You should make a donation app and put it in the Play Store I'd buy it immediately. Just a suggestion. ?
[Xposed Framework Modules] niobium93:
One small problem on the latest version of XHangouts - sometimes the hangouts app appears twice in the open tasks list. I'm on Nexus 5, 6.0.1 with the latest security update (happened on last one too, just updated), latest SuperSU, latest Hangouts version the Play Store gives me and pretty much everything up to date. I'll try to enable logging and post a log and a screenshot when it happens again.
[Xposed Framework Modules] ImADev:
I can't reproduce that problem on 4.1.1, 4.4.4 or 5.1.1. I'd be surprised if it was caused by XHangouts too since the mod doesn't adjust how Hangouts is launched or presented in the recents menu.
[Xposed Framework Modules] Kirrrr:
Dear [MENTION=4195957]Kevin M[/MENTION]! When Dark theme is checked on then the Chat screen options access is disabled. Why?

I like the dark theme on my AMOLED but I would love make it err... more black by adjusting some UI elements manually.

P.S. At least, I would like to make homescreen and dialog backgrounds black. It must not ruine the UI consistency.

Kind regards!
[Xposed Framework Modules] ImADev:
It does that because it's the first release to support a dark theme and I didn't want to overcomplicate the code while it's still being worked on.

The next release will give you options for the dark theme, but at the moment none of them options will allow you to change any of the background colors.

http://xdaforums.com/showpost.php?p=66001972&postcount=730
[Xposed Framework Modules] Kirrrr:
It is pretty pity.

I guess I understand the importance of consistency of the color scheme but I just can't imagine what bad can be done with plain black background on homescreen and dialog screen instead of present dark-dark-gray background. :-\

Anyway, you are the maestro. And dark theme is better then nothing. :)
[Xposed Framework Modules] Kevin M:
We're glad you like it! While it would be nice to have XHangouts on the Play Store, from my understanding, it's a large grey area as to whether Xposed applications are truly allowed. I'm open to input on this though. Also, for donations, Google takes a 30% cut of all Play Store transactions. If you're interested in donating I have a PayPal "Donate to Me" button to the left and a bitcoin address on my profile. Feel free to PM me for other options. ImADev also has a PayPal button to the left of his posts and if that doesn't work send him a PM. :good:
[Xposed Framework Modules] izephyr:
The Dark Theme Support is already nice. BTW, it would be awesome if there could be an Amoled theme with Pure Black background.

Added: I have read a couple of your posts saying that blending in a black theme is more time consuming because dark theme uses already available material design colour palette. Anyways, nice work.
[Xposed Framework Modules] ImADev:
This doesn't mean that I'll add it, but I will look into how feasible it is to add a pure black background option once all of the current minor issues are resolved :)
[Xposed Framework Modules] d.cortez:
Wanted to thank both of you for staying with this module and sharing your work. I'm very happy with the dark theme and any additional features and functionality would be icing on the cake! ??

Sent from my SM-N9208
[Xposed Framework Modules] WhammyDroid:
Love the dark theme. Request also making the menus follow the same theme.

Feature request: When using the dark them, allow user to change the color of the bubbles on messages received.
[Xposed Framework Modules] ImADev:
We probably won't theme any other areas because it's not easy to maintain all of the code. It's time consuming and what you need to keep in mind is that this module requires adjustments every time Google releases a new version of Hangouts.
[Xposed Framework Modules] PokemonTotalWar:
When the dark theme is enabled and I press the button to start a new chat, I cannot read the text. Does anybody else get this behavior?

EDIT: This seems to be a conflict with the dark theme of my phone. Is there any way this can be remedied?
[Xposed Framework Modules] ImADev:
I've just added an option to use black backgrounds. You'll see the new option when Kevin compiles and uploads a new build.

[MENTION=5696257]PokemonTotalWar[/MENTION]

The only way to fix it is to get a version of the theme without Hangouts support. Currently I can see that the theme is replacing resources and colors in Hangouts, which obviously isn't going to work.
[Xposed Framework Modules] jaladhjin:
The dark mod is so pro

Been waiting a long time for this exact thing.

Thanks very much :)

If black was available in the main theme colors that would black the entire app out in addition to using dark mod right?

The bit of green left with an otherwise dark mod trips me out ;)
[Xposed Framework Modules] topherhead:
This is awesome! I love it.

Would it be possible to move the attach/location/sticker buttons up into the 3 dot menu,
[Xposed Framework Modules] weilunt0219:
When messaging contacts, there is a "dialer" icon on the upper right hand corner. In the past, the days before "Hangouts Dialer" clicking the icon would open our default dialer. Today, the "dialer" icon automatically uses "Hangouts Dialer" and the Google Voice associated with Hangouts if it exists. I would like to swap this function back to the default dialer so that it does not use my Google Voice number, as I use that for business and most my contacts I keep in SMS with rarely even know this number exists. I was hoping xHangouts had the solution, and would like to know if there is a way to solve this issue. Does anyone know of a solution?
[Xposed Framework Modules] LaughingCarrot:
Hey Kevin, love this module. It works great. I'd like to request a feature for a future update if that's ok. When you take a picture with the camera directly from hangouts, it saves the picture in both the camera folder and the hangouts folder. Perhaps we can have an option to specify which folder to save to or maybe even an entirely different folder? Thanks in advance.
[Xposed Framework Modules] Devo7v:
I'd like to second this feature request, it's super annoying that I have to back out of Hangouts and open my dialer rather than just clicking the "dialer" icon and letting me pick which dialer to use.
[Xposed Framework Modules] PokemonTotalWar:
Is there any chance you can make it so, when in a video call, I can make the box with my face smaller? It takes up a huge portion of my screen.
[Xposed Framework Modules] stevedensmore:
The most recent Hangouts update broke full functionality. My color theme stuck, but the settings menu is no longer in Hangouts' menu.
[Xposed Framework Modules] Dudebowski:
Color theme readjusts if you just kill the app and restart... But they broke the dark theme, in the massages view the text is illegible. And the lefty menu is missing the x link. GOOGLE, THIS IS WHY WE CAN'T HAVE NICE THINGS!

/rant
[Xposed Framework Modules] Frostbiter:
Would it be possible to add the ability for having a car Bluetooth see Google voice texts as regular sms messages so it will read them?

I currently have the Sprint Google voice integration and have all my stuff forwarded to hangouts so all my texts come in as Google voice messages. Since these come in as data the car Bluetooth doesn't pick them up and notify me that I got a text.
[Xposed Framework Modules] stevedensmore:
I spoke too soon, it does appear the module isn't compatible with the latest version.

---------- Post added at 09:31 PM ---------- Previous post was at 09:19 PM ----------

Do you have issues with double messages? I've avoided transitioning completely to Hangouts for SMS for this reason.
[Xposed Framework Modules] Frostbiter:
Nope, no double messages here, I have hangouts as my sms app too, I dunno if you would get double messages if you had another app as your sms provider.
[Xposed Framework Modules] bailey boy:
Good way to keep these errors from happening is to not auto-update apps that use xposed. Then, after the new xposed module version comes out you update the app.
[Xposed Framework Modules] ImADev:
I've been keeping XHangouts up to date on GitHub, so I can tell you that the changelog for the next version will look a little something like this.

Added support for Hangouts 8.1.121732641

Added an option to use black backgrounds instead of dark backgrounds

Added color customization options for the dark theme

Added an option to highlight unread conversations

At the moment everything that you can download will only work with Hangouts 8.0.116581895.

Can your car not read emails too? If it can then there's an option on the Google Voice website to forward GV SMS to your email.
[Xposed Framework Modules] Frostbiter:
No unfortunately not, for a new car the Bluetooth features are pretty lacking, it isn't even compatible with Android auto which would make everything okay.
[Xposed Framework Modules] ImADev:
That's a shame as this is a feature request that isn't impossible, but it's not easily achieved.

Kevin keeps a list of the requested features, so I'm sure this will get added to it.
[Xposed Framework Modules] Frostbiter:
I figured it would be a long shot so I didn't have my hopes too high, but I figured I'd ask anyways.