yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] armaninyowph:
Hey dev, please notice me. My xposed bridge is just 47 but this mod requires 54 (i think). Is there a way I could use this?
[Xposed Framework Modules] geektbee:
I've just attempted to utilize the feature to change the incoming and outgoing audio calls as well as video calls. The initial selection in XHangouts is labeled "Default" for each. The selection process for a different file seems to work well until performing the actual choosing of the desired file. At this point, the label stays "Default" and there's no change from what was there before.

Device: XT1030 (Motorola Droid Mini) (rooted; bootloader locked)

Android: 4.4.4

Kernel: 3.4.42-g6ca5516

Xposed Framework: 2.7 (experimental)

XHangouts: 2.3-beta2-c5d4cc8

Hangouts: 6.0.107278502
[Xposed Framework Modules] ImADev:
Is any kind of error being logged to Xposed? You might need to enable debug mode within XHangouts.

On my Lollipop 5.1.1 device that feature appears to be working okay, so if it's not due to the file manager that you're using then there's probably an issue with the file chooser. I'm sure Kevin will look into it further.
[Xposed Framework Modules] geektbee:
In not seeing anything out of the ordinary in the logs with debug on it off, just:

--- LOADING XHANGOUTS ---
XHangouts v2.3-beta2-c5d4cc8 (16)
Google Hangouts v6.0.107278502 (22691356)
Modules: [ImageResizing, ImageCompression, MmsResizing, UiEnterKey, UiCallButtons, UiColorize, UiQuickSettings, UiSendLock, UiDisableProximity, Sound]
--- XHANGOUTS LOAD COMPLETE ---
XHangouts: UiColorize: BLUE_GREY
XHangouts: UiColorize: BLUE_GREY

It had also crossed my mind that the file chooser might have something to do with it, and I had indeed tried Dropbox, ES File Explorer, and whatever the local built-in chooser is. But that's all so far. I guess I figured after three different methods didn't work, it was time to call in the Calvary. ^_^
[Xposed Framework Modules] fireworksordie:
huge thanks for this. you've fixed my biggest (current) frustration with hangouts.
[Xposed Framework Modules] rabimba:
Awesome. Will test it and provide feedback.
[Xposed Framework Modules] brossovitch:
Very happy to see the latest version! This is a great module. I'm currently preparing to test it on CM13.

Is the image issue fixed?

What I mean is, an earlier version I was using back in August had images sending rotated 90% and everyone kept asking me why everything was sideways..

Regardless, happy there's a newer version.

Thank you for this module!

Is it still integrated into the Hangouts settings menu? I suppose I'll see shortly when I activate the module..
[Xposed Framework Modules] brossovitch:
Works very well on 6.0

Except hangouts still shrinks image size..

But most other things work fine. If for nothing else, the constant enter button instead of emoji is worth keeping this app.
[Xposed Framework Modules] ImADev:
You're welcome. It was what bothered me the most too :)

It depends on how you're sending the messages. Like I can confirm that when you send a message via Google Voice MMS the image is uploaded to their servers at it's full resolution, but Google will resize the image to be under 500x500 before they send it to the recipient. You can test it yourself by logging onto hangouts.google.com. I guess they do it to save on bandwidth and storage/memory usage, but IMO they should increase the resolution to at least 1024x1024.
[Xposed Framework Modules] fireworksordie:
Just FYI, I just posted about your fix in this thread over at the Google Support forums, where I and many others have been complaining for months now (hopefully I did it justice). I don't know if you'd be able to shed a little light for the devs or something, but maybe it could be helpful.
[Xposed Framework Modules] ImADev:
There's actually a few issues in Hangouts that I'm surprised they haven't bothered to fix. For example, the spinner (it lets you pick between your carrier, Google Voice and Hangouts) isn't padded correctly.

Hangouts with it's incorrect padding:

Fixed via XHangouts (not in the current public version):

Another bug is sometimes seen when you write a message but don't send it. Instead back out of the chat screen and then re-enter it and you should find that the send button doesn't turn green.
[Xposed Framework Modules] sansnil:
I don't know if this could even be done but one thing that's driving me crazy in the latest versions is that you can't select the outgoing SMS phone number being used. I have a Google Voice/Project Fi phone number and it's super annoying that the easy popup selector to choose which number the outgoing SMS uses has disappeared. In prior versions there was a setting for this under SMS called "Send SMS from" which dealt with this. Is there any way of adding back a way to select the outgoing SMS number used on a per message basis?
[Xposed Framework Modules] ImADev:
I still have the "Send SMS from" option under the SMS settings menu. I can select my carrier, my Google Voice number or smart reply.

If you revert to a previous version of Hangouts then do you still have the option displayed? If yes then what was the last version that worked for you.
[Xposed Framework Modules] sansnil:
Interesting. It probably has something to do with Project Fi then as I opted to use my existing Google Voice for Project Fi when I signed-up. I reverted back to version 5.1 and there's still the "Send SMS from" setting but when I upgrade to 6.x that setting disappears and my Project Fi number becomes the default.
[Xposed Framework Modules] ImADev:
I'll check if I can see any obvious changes between the two versions. I can't promise anything though as the code can be hard to compare and I don't have a Project Fi account to test with.
[Xposed Framework Modules] sansnil:
Understood, and I appreciate you even taking a look. If I can do anything to help test or other please let me know. Thanks again!
[Xposed Framework Modules] cherrydha:
Thanks for the great work.

Is there any possibility to enable/disable incoming call based on Wifi condition. Or Tasker integration to support this scenario, please?
[Xposed Framework Modules] Luxferro:
Is there any way to make hangouts/google voice calls via the stock dialer, like how FI does?

This is he only thing I miss from FI and would pay for such an option.
[Xposed Framework Modules] ImADev:
Here's the Hangouts 6.1 changelog for iOS users:

Reply directly from notifications

Group names in notifications

Contact names included in Google Voice notifications

Accessibility bug fixes

For Android users it's more like this:

A minor fix that's not worth mentioning

Changed the version number

The codes almost identical to the point that the current XHangouts release will work with 6.1.109448852.

[MENTION=2163004]Luxferro[/MENTION]

That's not going to be possible as it'd depend on the Android version and the dialer that the user is using. The changes required would be way too complex for an Xposed module, especially if you wanted it to be stable.

[MENTION=4622800]cherrydha[/MENTION]

Maybe! I'll look into that one when I've got a little more time.
[Xposed Framework Modules] Kevin M:
No kidding!

Klingon:APKs kmark$ ./profinder.php -o Hangouts6.0/decompiled/smali -n Hangouts6.1/decompiled/smali -c edr,ecp,due,bkm,avk,eep,ccm,bwo,hlp
ProFinder v1.0
-------------
edr -> edr
ecp -> ecp
due -> due
bkm -> bkm
avk -> avk
eep -> eep
ccm -> ccm
bwo -> bwo
hlp -> hlp
[Xposed Framework Modules] bravac:
I asked awhile back but was wondering if there were new ideas (or workarounds) for this-

I use Google voice number for all my texting and was wondering if there was a way to search text history via hangouts or other app. For now I'm using the native good voice app, but development seems to have stopped on it. Thanks!
[Xposed Framework Modules] ImADev:
There isn't any existing code within Hangouts to do that. I guess it's because the client has to handle carrier MMS/SMS, Hangouts messages and Google Voice MMS/SMS. And you should keep in mind that the Hangouts team can't even get the padding of a button correct, so I doubt that they'll add this feature anytime soon.

With Hangouts 4.x they optimized the client for Hangouts messages only. That's why timestamps are no longer displayed on every message and they also removed the character counter, which for some people is important.

Google Voice has an option to forward text messages to your email address, so you could try to enable that and then search through messages via an email client instead? I don't think you can use the Gmail app itself, but if you configure your labels then you can get messages via IMAP.
[Xposed Framework Modules] Kevin M:
I personally find it hilarious that the Hangouts team added a FAB but didn't even bother to do it properly (see Inbox app).
[Xposed Framework Modules] ImADev:
Yep. The quality of the Hangouts app on Android is really poor in general and it's insane that the iOS version is better than it.

What really bothers me is that Googles own Messenger app has obviously been created by a far better team. That apps got the timestamps and the character counter, plus there's no wasted space at the bottom of the screen (press the paperclip to expand) and it can easily record voice messages and take pictures within the app. Hell, even when you're browsing for an image to attach it's done better in that app :eek:

Google should scrap the current build of Hangouts and start over IMO. Clone the Messenger repo, add in Google Voice first and then the Hangouts protocol.
[Xposed Framework Modules] Kevin M:
Couldn't hurt to make it a real iMessage competitor too while they're at it. That is seamless Hangouts messaging across every Android device without needing to know anything other than a phone number. And integrate it into the Android API so we can still choose which app we'd like to use unlike iOS.
[Xposed Framework Modules] dcatoffm:
Maybe my standards have been severely widdled down, but at this point, I'd settle just for the notifications to actually work.

I just got a text from my mother sent two days ago.

---
[Xposed Framework Modules] Peaceee24:
useful, as you hoped [emoji6]

Inviato dal mio SM-G928F utilizzando Tapatalk
[Xposed Framework Modules] bravac:
Yeah, Google voice function in Messenger is totally what I'm looking for
[Xposed Framework Modules] ImADev:
Hangouts often gets negative reviews because of messed up APN settings or modifications that have been made to Android. Google could give users more options within Hangouts to work around these issues, but if the rumors are true then it looks like they'd rather just remove the ability for Hangouts to send SMS/MMS.

http://phandroid.com/2015/12/16/hangouts-losing-sms-rumor/
[Xposed Framework Modules] Kevin M:
I believe Hangouts already heavily resizes/compresses video to fit within an MMS.
[Xposed Framework Modules] nmarietta:
I am unsuccessful at sending videos via MMS. It says the file is too large.
[Xposed Framework Modules] Kevin M:
Try a video that's less than 10 seconds in length. Are you attaching a video by clicking the attach button and then Take video?
[Xposed Framework Modules] nmarietta:
I was attempting to attach a video from my gallery.
[Xposed Framework Modules] Kevin M:
That'd be why. It doesn't look like Hangouts does any conversion if given non-camera input. I'll add a solution to this on my todo.
[Xposed Framework Modules] jamsoolee:
Could someone post a mirror for me please? The xposed installer is failing for some reason...
[Xposed Framework Modules] Kevin M:
All releases are mirrored on GitHub. ;) https://github.com/kmark/XHangouts/releases
[Xposed Framework Modules] jamsoolee:
I definitely derpd and did not see that. Thank you!
[Xposed Framework Modules] jamsoolee:
Now I can't send mms. Hangouts says that the mms is not accepted and won't send. But when I disable the mod, my pics will send.
[Xposed Framework Modules] Spikelangelo:
I had this issue too, although I can't say it was from this MOD. I just reset apn setting in hangouts and now it works fine.
[Xposed Framework Modules] jamsoolee:
Tried this and still doesn't work.

I can say it's definitely from this mod, the moment I disable it, my MMS works, but once I enable it, no dice.
[Xposed Framework Modules] Kevin M:
Enable it via the settings panel or via Xposed? Turn on debug mode and post the XHangouts log output (can be found in the Xposed Installer) next time this happens. It should have some pretty useful information to help us see what's going on. Also, please post your carrier.
[Xposed Framework Modules] jamsoolee:
Via the settings panel.

Carrier is Verizon.

And here is my error log - http://pastebin.com/huHRJJwP
[Xposed Framework Modules] Kevin M:
Thanks, I can already see the issue.

--- LOADING XHANGOUTS ---
XHangouts v1.3-8d33328 (4)
Google Hangouts v2.3.75731955 (22037773)
XHangouts: Warning: Your Hangouts version differs from the version XHangouts was built against: v2.3.75731955 (22037769)
--- LOAD COMPLETE ---
XHangouts: Context set.
XHangouts: ComposeMessageView: EMOJI_SELECTOR
XHangouts: New MMS image! Max dimensions: 1944x2592, Uri: content://com.google.android.apps.hangouts.content.EsProvider/imagescratchspace/8270944274536474453?account=, Other: 0 1257267
XHangouts: Original: 4160x2340
XHangouts: Cache file located: /data/data/com.google.android.talk/cache/scratch/8270944274536474453.temp.jpg
XHangouts: Rotated: 2340x4160, Rotation: 90°
XHangouts: Estimated: 2340x4160, Sample Size: 1/1, Scale: 0.623077
XHangouts: Sampled: 4160x2340
XHangouts: Scaled: 1458x2592
XHangouts: MMS image processing complete.

We can see that the "max dimensions" are far too high and the image isn't being scaled nearly enough. Looks like my understanding of the obfuscated Hangouts code was a little off. Generally, Hangouts gives me a value like 640x480 and I can use that to compute the scale factor. I'll have to stop trusting what Google gives me and use some sane defaults.

Edit: Did it at least rotate correctly?

Edit 2: For reference, Verizon's documented max MMS size is 1.2 MB but I'm nearly positive that for single images it's much lower. Only video MMS are allowed to reach such sizes (speculation).
[Xposed Framework Modules] jamsoolee:
As far as rotation goes, it did rotate correctly.

It's odd because this is my second install with this mod, my phone boot looped when I messed with it earlier, prior to that boot loop, this mod worked perfectly, but after I restored my phone and reinstalled this mod, this happened.

Anyways, glad you could find the error and hope you can find the fix :)
[Xposed Framework Modules] cewong2:
Interesting mod.

I would love to use hangouts as my default sms/mms client I can't because my carrier in Japan. I'm able to use my stock client because i can spoof carrier in thinking it's iPhone manipulating uaprof settings. you think you could add that as a feature? Also the network settings in the mms server settings seems lack some fields that are the standard one i don't know if that's an issue either.

Sent from my GT-I9505
[Xposed Framework Modules] Kevin M:
v1.4-dfe20dd

[MENTION=5782765]jamsoolee[/MENTION] I was able to solve your problem in a relatively attractive fashion. In the just released v.1.4, It's possible to customize the target size, image type, and compression level of MMS media. Check this out if you're interested in the juicy details. Otherwise, here are some screenshots of the new interfaces:

https://raw.githubusercontent.com/kmark/XHangouts/v1.4/images/SettingsScaleDialog.jpg

https://raw.githubusercontent.com/kmark/XHangouts/v1.4/images/SettingsQualityDialog.jpg

Both a little too large for IMG tags. :) It should resolve the "not accepted" errors out of the box.
[Xposed Framework Modules] jamsoolee:
Works now :)

I set the resize to 1920x1080 and the pics are sending now! Thanks for your hard work.
[Xposed Framework Modules] marclaniohan:
toast

Do you think it would be possible to fix or hide the toast notification that appears when using hangouts ? It always says 'Insert SIM to send sms' but I dont have a sim card since I'm on Boost Mobile... Using cm11 btw...
[Xposed Framework Modules] DroneDoom:
Not to be rude by requesting something but are you planning on a way to add the "reply, read, call" slide option when you expand a notification?
[Xposed Framework Modules] cerobles1:
Any other apps or ideas on how/what to replace hangouts with?
[Xposed Framework Modules] ImADev:
It depends on why you're wanting to replace it. For example, if you're wanting SMS/MMS then Googles got an app for that. If you're wanting to chat over a data connection though then there's lots to pick from e.g. Telegram, Skype or WhatsApp. I don't know of any other app that bundles everything into one so that it works like iMessenger/Hangouts though.

Google dropping carrier SMS/MMS within Hangouts is just a rumor at the moment.
[Xposed Framework Modules] tatico28:
Hi, anyone experencing Hangout failing to start when applying any layer theme with xhangout anabled?
[Xposed Framework Modules] ImADev:
Do you mean this? If you do then I can only guess that it conflicts with XHangouts because the module references a few of Hangout's resources, which I guess "layers" may modify.

I've got a Sony phone that uses themes and layers, but that doesn't cause any issues with Hangouts/XHangouts.

Can you install CatLog and try to capture the Hangouts issue? I'd guess that errors are being logged there or within Xposed.
[Xposed Framework Modules] tatico28:
Yes, exactly that, I will try catlog and report back thanks.

---------- Post added at 10:32 AM ---------- Previous post was at 09:58 AM ----------

Here:

https://www.dropbox.com/s/rx1qoxychrgl7wk/hangout_log.txt?dl=0
[Xposed Framework Modules] ImADev:
Your log doesn't say what lines the issue occurs on so I can't look into it too much, but I can say that it's most definitely conflicting with your theme as colorPrimary should be completely opaque, which it normally is.

My guess is that your theme changes the color of Hangouts, so as it's not the usual Hangouts green color it may be conflicting with the option in XHangouts to change the color of Hangouts. It's hard to say for sure without being able to trace the error.

Does Xposed log any errors and do you know if your themes changing the primary color?
[Xposed Framework Modules] tatico28:
I don't know if I did it right: I opened catlog after the event took place and it kept throwing logs, I typed "hangout" and grabbed the 3 logs I posted, I didn't check xposed for any logs, I will try later and report back.
[Xposed Framework Modules] Ovrclck:
Using your recommended settings along with the latest version of Hangouts 6.1.109448852 runing 6.0.1. MMS is still coming out compressed. I prefer Hangouts since I'm on Google Fi..Any idea why I'm getting these errors below?

12-18 10:27:11.287 I/Xposed ( 5415): Warning: Your Hangouts version significantly differs from the version XHangouts was built against: v3.3.94322993 (22401378)

12-18 10:27:11.363 I/Xposed ( 5415): XHangouts: Error: NoSuchMethodError in MmsResizing...

12-18 10:27:11.381 I/Xposed ( 5415): XHangouts: Error: NoSuchMethodError in MmsApnSplicing...

12-18 10:27:11.430 I/Xposed ( 5415): XHangouts: Error: ClassNotFoundError in UiEnterKey...

12-18 10:27:11.434 I/Xposed ( 5415): XHangouts: Error: ClassNotFoundError in UiAttachAnytime...

12-18 10:27:11.486 I/Xposed ( 5415): XHangouts: Error: ClassNotFoundError in UiHideEmoji...

12-18 10:27:11.487 I/Xposed ( 5415): XHangouts: Error: NoSuchMethodError in UiCallButtons...

12-18 10:27:11.513 I/Xposed ( 5415): XHangouts: Error: NoSuchMethodError in UiQuickSettings...

12-18 10:27:11.552 I/Xposed ( 5415): XHangouts: Error: ClassNotFoundError in UiSendLock...
[Xposed Framework Modules] sansnil:
Damn, I hope Google rethinks dropping SMS/MMS support. I would really miss having a unified messaging app.
[Xposed Framework Modules] ImADev:
Save without filtering. You might want to PM me the link as it could contain personal details such as your email address.

You need to use the beta version of XHangouts. You're currently using an older version designed for Hangouts 3.3.

http://repo.xposed.info/module/com.versobit.kmark.xhangouts
[Xposed Framework Modules] tatico28:
OK I will try.
[Xposed Framework Modules] copota:
Thank you so much for this mod. It works great on my Galaxy S4 with CM 12.1. I love how I can add my own ringtone with the is mod, something Google should have added in from the start.

I have a question. Is it possible to configure Hangouts so incoming calls are automatically disabled when disconnected from WiFi? It's an odd question, though I use FreedomPop as my provider, and they don't make it easy to use your Google Voice number.

I know you can disable incoming calls for Hangouts, though I would prefer that to remain active, and only disabled when disconnected from Wifi.

I use my FreedomPop account with a SIP client, and the SIP client conflicts with GoogleVoice when I'm disconnected with WiFi. For example, if I get an incoming call when on Data, both my SIP client and Google Hangouts attempt to answer the call.

Just wondering if this is even possible.

Thanks again for a terrific mod!
[Xposed Framework Modules] fl3xtra:
Enter

I have the blackberry keyboard on a Moto X Pure and when I hit enter it creates a new line instead of send. I'm on the 7/24 build. Any suggestions?
[Xposed Framework Modules] dcatoffm:
I also use FreedomPop. I primarily use the AOSP dialer and use hangouts for texting and outgoing calls. I only do it this way because it seems more reliable than the hangouts/talk receive. The trick is, to only have one at a time receiving calls; always have either the AOSP dialer or Hangouts receive calls unchecked.

This obviously doesn't work well if you are using FP messenger for texting, but I don't (I disabled it) just because I like having the GV/hangouts as my universal number. If you do use FP for texting too, your choices are basically don't use hangouts for incoming calls, or don't forward GV calls to your FP number (use exclusively hangouts).

Since FP is a SIP provider, whether you are on WiFi or 3G/4G should be irrelevant.
[Xposed Framework Modules] copota:
I'm currently using Freedompop Basic, which is free. However, their basic accounts do not offer free voice over WiFi, that's a feature reserved for their paid services.

So, unless I want to use up my 200 minutes of voice or 1GB of Data, I have to ensure data is turned off when I'm on WiFi, and all my calls are made and received via Google Voice. Hence why I'm seeking a mod to automatically disable incoming calls for Hangouts when disconnected from WiFi.

As for my SIP client, I use CSipSimple, since it offeres the ability to create filters, which I can configure to dial my GoogleVoice number while on Data, so my calls are routed through GoogleVoice and not FreedomPop, and whomever I'm calling sees my GoogleVoice number, and not my FreedomPop number.
[Xposed Framework Modules] fl3xtra:
Just wanted to mention that the latest build fixed this. Awesome module, btw.
[Xposed Framework Modules] Kevin M:
I'd like to thank everyone for their helpful feedback on this beta release. As for Hangouts, maybe there's hope for us yet.

Yes, XHangouts is linked against v54. Do you have the ability to compile the app yourself?

I've been unsuccessful in replicating this, unfortunately. The curious thing is that this bug is completely unrelated to Xposed since the XHangouts settings application itself is a normal Android app. I'll see if I can make any headway on this.
[Xposed Framework Modules] dcatoffm:
I went through that struggle for a while even before FP (had a Kyocera rise, was living in the boonies, good WiFi, sporadic cell signal), back then I used a widget to toggle Airplane mode, WiFi on, and SIP receive calls with one switch. This was before hangouts supported receiving GV calls.

I just went back to hangouts 3.3 because it actually works, I think I'm sticking with it+xhangouts for a while; I like actually getting my calls and texts.

Though I can see and understand the work you have done to make the integration work, is there any reason you can't just use hangouts exclusively?

(note: even SIP calls use your data on FP)