[MOD] [9/7/2012] AOSP Email attachment size 25MB from 5MB & ZIP restriction removed ! - HTC Rezound

[MOD] [9/7/2012] AOSP Email attachment size 25MB from 5MB & ZIP restriction removed !
This will be my very first MOD I am posting.
After seeing how much cooler the AOSP Mail was over HTC Mail, and not to mention the extra security and certificates upgrades that the Exchange servers are going through. I decided to give it a spin.
My only let down was when i tried to attach a 8MB file, it FAILED and said that the attachment was too large..... WHAT A DEAL BREAKER.
Well, After doing some research I found out that the AOSP mail that has been out will only allow a 5MB attachment size.
I finally fixed the thing to allow up to 25MB of attachment size, b/c i was so frustrated with it, i did something about it and spent a lot of time hunting down things.
Below are three flashable zip files for your flashing pleasure.
AOSPMail_Exchange_25MB.zip is the modified AOSP with 25MB attachment size limit
OrigionalHTC_MAIL.zip will put back the original Mail.apk from HTC that came with the ICS Sense Global 3.6 - 4.03.605.2 update.
This one will assume that you flashed the AOSP mail with the Exchange.apk included in it. It will delete that Exchange.apk and put the original Mail.apk from HTC back in place.
AOSPMail_CM9_25MB.zip is the one for CM9 that was tested by someone to work with Kangs 9CM
Hope everyone enjoys and appreciates this ! I tested this out a couple of times on my Rezound and didn't have any issues using my hotmail account
A note about odex ROMS that are out there: You must delete Mail.odex in the \system\app folder to get this to work or you will get mail force close issues.
Any constructive feedback is appreciated! :good:
Don't forget to hit the thanks button if you like what i have done, and if you use my AOSP Mail.apk mod in your ROM please be sure to mention me.
Finally deciding to give back to the community in a small way at least; maybe a big one...
09/07/2012 - Added Mail for CM9 Kang with 25MB attachment limit.
12/16/2012 - Added the ability to download zip files now; zip restriction removed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
AOSPMail&Exchange_25MB.zip MD5= dbb284d509ba1b6f5510b0d45eac8cd6
OrigionalHTC_MAIL.zip MD5= af22722cb557d8f8d327bc22926f3d76
AOSPMail_CM9_25MB.zip MD5= ac59315de142f9066df5172ffd58c3ab

this could be extremely useful to those who even use the email app.

Doesn't work on cm9 kang. Force close all mail apps now. Can't open
Sent from my ADR6425LVW using xda app-developers app

Great to have people who are making stuff. But, all I can say is Gmail.

Ohschit said:
Doesn't work on cm9 kang. Force close all mail apps now. Can't open
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Ok, it looks like the email for CM9 was modified in some way ( judging from file sizes, etc ) from the one that I modified,
I pulled out the email.apk from CM9 kang and made the necessary changes.
I need someone to test this for CM9 kang.
If this works I will post it in OP
10/05/2012 - posted in original post

Works! Thx!
Sent from my ADR6425LVW using xda app-developers app

Ohschit said:
Works! Thx!
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Rock! Glad it works. I will put in OP when I get a chance
Sent from my Rezound using xda app-developers app

Hi guys,
I installed the AOSP version through recovery and don't know where to find it. I have InsertCoin 9.6.3 currently. In the apps drawer I have the old Email HTC app.
Sorry for the noob question. Thanks.

nevrozel said:
Hi guys,
I installed the AOSP version through recovery and don't know where to find it. I have InsertCoin 9.6.3 currently. In the apps drawer I have the old Email HTC app.
Sorry for the noob question. Thanks.
Click to expand...
Click to collapse
The version in the zip replaces mail.apk in \system\app in case of NON CM9 roms ( sense base ),
insertcoin uses mail.apk so make sure you used the right one ( AOSPMail&Exchange_25MB.zip )
You could also use a program like root explorer to manually place the modified files in that location in system/app and set the permissions.

12/16/2012 - ZIP restriction removed
The zip restriction for downloading zip files has been removed
ENJOY

awesome email apk
does this bypass the exchange security measures? any or just PIN requirements? tried it and it doesnt but the email patcher does work.
the regular aosp didnt work with my jobs exchange server for whatever reason. i would get an error but the cm9 version did on my razr maxx(xt912)
its not often but when i do send larger files via email the only gripe i had has been relieved by your apk.
thanks a bunch.

soclean said:
does this bypass the exchange security measures? any or just PIN requirements? tried it and it doesnt but the email patcher does work.
the regular aosp didnt work with my jobs exchange server for whatever reason. i would get an error but the cm9 version did on my razr maxx(xt912)
its not often but when i do send larger files via email the only gripe i had has been relieved by your apk.
thanks a bunch.
Click to expand...
Click to collapse
well, i think that might be a little beyond me as far as removing those exchange security measures to be honest. This was/is my first mod.
I will look into it but i think i would require extensive code modification that i am just not familiar with at the moment.

carm01 said:
well, i think that might be a little beyond me as far as removing those exchange security measures to be honest. This was/is my first mod.
I will look into it but i think i would require extensive code modification that i am just not familiar with at the moment.
Click to expand...
Click to collapse
I appreciate the reply and your hard work on this. I've tried to work on apps myself but can't find the time and though you say its out of your depth to do what I'm inquiring about I can't even start to work on this stuff.
So again thanks for the hard work.

kitkat 5mb attachment limit
Hello,
I modified "AttachmentInfo.java" and "AttachmentUtilities.java" from
android 4.4 source code, then I rebuild the "Email.apk" application.
The problem is that after all those source code modifications, the 5MB attachment restriction it is still there.
What other files need to be modified?

I got to look, but it's a smali file and there is literally one one change that needs to be done in the code to get it to go to 25mb attachment size.
For the world of me I don't know who is the fool that keeps building them like this. I don't know off the top of my head atm.
Once I look up my mod notes I will reply to you message so you see it in the notifications. If you would mind reply to my post I would appreciate it as it was a coincidence that I checked this thread.
Best regards
Sent from my HTC6500LVW using xda app-developers app

Hi,
Thank you for the reply!
Quote "For the world of me I don't know who is the fool that keeps building them like this."
I think that the AOSP Email App is crippled because, and I will continue with something I read it somewhere, Google wants the big files to be transferred using its services: Gmail with the Gmail App, Google Drive, etc. and while transferring them back and forth, gain a little insight on their content too.
If you find your old notes, this will ease the required work to make AOSP Email a good daily driver:
- attach as much as you like to your emails (the server knows better how much it wants to accept)
- attach any files, not only jpg and video (I am not such huge multimedia freak, I want normal email use too)
- save any attachment (including the "very dangerous" zip files wich are now forbidden to be saved...)
- maybe delete directly (after confirmation) instead of moving to Trash, and then having to delete them again...
There are only 2 threads on XDA about this problem, and now. thanks to you, I am close to an answer.

carm01 said:
I got to look, but it's a smali file and there is literally one one change that needs to be done in the code to get it to go to 25mb attachment size.
For the world of me I don't know who is the fool that keeps building them like this. I don't know off the top of my head atm.
Once I look up my mod notes I will reply to you message so you see it in the notifications. If you would mind reply to my post I would appreciate it as it was a coincidence that I checked this thread.
Best regards
Sent from my HTC6500LVW using xda app-developers app
Click to expand...
Click to collapse
were you ever able to find your notes?
i hate the stupid limits in the default app.
the other thing i noticed is that hyperlinks are no longer highlighted (ie not clickable)
richard

DarkStarMedia said:
were you ever able to find your notes?
i hate the stupid limits in the default app.
the other thing i noticed is that hyperlinks are no longer highlighted (ie not clickable)
richard
Click to expand...
Click to collapse
I know what i did however the files were uncompiled source which i do not work off of. Furthermore, you will need to provide me with a deodexed version of the APK file in question.

Related

[Project] MIUI Dialer/Contacts for Stock and Eclipse [Zipped APK's/Framework files]

So far, I have downloaded the newest MIUI Rom version, and pulled the APK for Phone, Contacts, and Contacts Provider. I am not sure where to find the rest of what I need. I know how to push them to the phone, but I don't know how to make a flashable version. I tried to push them to my phone as is, and got a FC along for phone, as well as the phone app itself didn't work.
Anyone have more info and want to help?
Edit: I uploaded the files for anyone. They are from MIUI 1.10.14.
Edit 2: Here is the link with the zipped APK's and Framework. It is in my Google Docs account so it should downlod fairly quick for anyone who wants to play with it.
https://docs.google.com/viewer?a=v&...M2U4NC00NjI5LTk5MTMtY2ZjNjg5YWZiY2Iy&hl=en_US
I think u have to decompile and then recompile with correct x2 framework... Could be wrong here...
Sent from my DROID X2 using Tapatalk
No idea how to do that, that is what I am getting at. I am just providing what I have dug up to make it easy for someone who has the ability. Or, if someone can learn me what to do, I would be happy to do it myself
If I get free time tomorrow, or this week, I'll gladly see what I can do. With a son due any day I can't make any promises. I've done some of this in the past.
I can get you links to de-compiling and what not tomorrow when I have access to my laptop.
Sent from my DROID X2 using XDA App
AtLemacks said:
No idea how to do that, that is what I am getting at. I am just providing what I have dug up to make it easy for someone who has the ability. Or, if someone can learn me what to do, I would be happy to do it myself
Click to expand...
Click to collapse
Here is a link from the Fascinate group, it pretty much applies to Android in general though. It goes over the tools needed to decompile and whatnot. I'm sure there might be more to it than this, but it will get you started at least.
http://forum.xda-developers.com/showthread.php?t=932856
Wow... thanks man! Looks a little over what I am comfortable on using/testing myself on my only device. lol
Anyone comfortable with trying this?
It can be done. You will need to add all the framework resources that the apps are calling. Pull the framework from the miui build so that you know what to add.
as far as a flashable zip, can we just repackage your flashable for eclipse nitroglycerine33? When I worked on the Fascinate I just reused a theme zip to be able to flash instead of pushing.
God, how I would love to see MIUI on the X2. I actually just bought an older phone so I could run it.
I tried to upload the APK files and the Framework in 1 zip and it won't let me attach it. Says I am missing a security token. I am going to upload it somewhere else and post the link for you guys.
Added zip with framework and apk's.
Link is not working
Can any one extract these apks and post ?

MMS Size Issue

I was wondering if there is a compression fix and mms size limit fix for the 3vo around. I did a search but could not find anything.
Basically, I do not want pictures compressed unless they are over a certain size (maybe 2 mb), and also I would actually like to be able to send a video via mms.
I 2nd this. It's pretty annoying!
I am guessing a fix that works on the EVO would work as well. I believe the size limits can be changes by editing a certain XML file, but I am in no way an expert.
Some ROMs like mine have the MMS compression disabled and bumped up MMS sizes. In the themes and apps section there is a guide to smali edit some files to get it working.
私のEVO 3Dから送信される。
Here is the thread if you wish to do it yourself: http://forum.xda-developers.com/showthread.php?t=1232952
msimindlessmsi2 said:
I was wondering if there is a compression fix and mms size limit fix for the 3vo around. I did a search but could not find anything.
Basically, I do not want pictures compressed unless they are over a certain size (maybe 2 mb), and also I would actually like to be able to send a video via mms.
Click to expand...
Click to collapse
You searching skills are severely lacking.... as dastin1015 pointed out my how-to, the thread title has the words mms and compression in it. very easy to find.
I also want MMS compression removed. Yes I also searched and found Team Exposed method on removing this but then again, I don't know how to use ADB. This means I have to learn it just a bit, then i have to install the files, learn how to pull the framework, find SMS apk and blah blah blah!!! As you can tell I've attempted to do it myself but it just seems like too much work just to remove the MMS compression. Lets not be harsh in this post, some of us are just not great at this. If someone can help to at least make this easier on us (Team Expose method not exactly rookie friendly) I'd appreciate it allot. Thank you XDA community.
IrvFTW said:
I also want MMS compression removed. Yes I also searched and found Team Exposed method on removing this but then again, I don't know how to use ADB. This means I have to learn it just a bit, then i have to install the files, learn how to pull the framework, find SMS apk and blah blah blah!!! As you can tell I've attempted to do it myself but it just seems like too much work just to remove the MMS compression. Lets not be harsh in this post, some of us are just not great at this. If someone can help to at least make this easier on us (Team Expose method not exactly rookie friendly) I'd appreciate it allot. Thank you XDA community.
Click to expand...
Click to collapse
It may not be rookie (noob) friendly, but it is the only way to get MMS compression, unless you use a ROM that already has the compression disabled.
The team exposed method has you modifying the MMS.apk or whatever doesn't it? Wish there was a flashable method where it would replace it with the modified version. I am currently in school learning to program, and once I'm done I think I'll focus on learning Android development.
Sent from my 3D using InfectedRom Eternity.
msimindlessmsi2 said:
The team exposed method has you modifying the MMS.apk or whatever doesn't it? Wish there was a flashable method where it would replace it with the modified version. I am currently in school learning to program, and once I'm done I think I'll focus on learning Android development.
Sent from my 3D using InfectedRom Eternity.
Click to expand...
Click to collapse
I'm pretty sure that you can edit the apk and then throw it in a zip with the right directories and flash it.
If there's extra steps, I'm unaware of them, I haven't begun looking into building flashable zips yet, lol.
Sent from my PG8610000 using XDA App
dastin1015 said:
It may not be rookie (noob) friendly, but it is the only way to get MMS compression, unless you use a ROM that already has the compression disabled.
Click to expand...
Click to collapse
Yeah, but still... Is it possible for someone to share their modified SMS apk with us and we'd just install it using root explorer? If not, can someone, If its not too much trouble, at least make a guide? I really like the ROM I'm currently in (Olympus HD) and I would like to keep it as it is (besides the MMS compression of course).
I am surprised more people don't ask for this, and that it is not a standard for all custom roms. If anyone does happen to make a flashable version, please also raise the MMS limits while you are at it.
I would much rather not needing to reflash to fix this issue, so if you are a bored dev and do this I will paypal you 10 bucks.
Sent from my 3D using InfectedRom Eternity.
msimindlessmsi2 said:
I am surprised more people don't ask for this, and that it is not a standard for all custom roms. If anyone does happen to make a flashable version, please also raise the MMS limits while you are at it.
I would much rather not needing to reflash to fix this issue, so if you are a bored dev and do this I will paypal you 10 bucks.
Sent from my 3D using InfectedRom Eternity.
Click to expand...
Click to collapse
I'm going to be doing smali editing in the morning anyways. Give me the Mms.apk from system/app and the default.xml from system/customize/MNS from your ROM and I'll make you a flashable version to remove MMS compression for whatever ROM you're using.
Just tell me what values you want for MMS sizes. If you don't specify I'll do my default of 500K, 1M and 2M.
私のEVO 3Dから送信される。
Isn't 500K, 1mb, and 2mb the defaults? I'm not sure why there are three numbers though lol. As soon as I get to a computer I will upload them.
Sent from my 3D using InfectedRom Eternity.
msimindlessmsi2 said:
Isn't 500K, 1mb, and 2mb the defaults? I'm not sure why there are three numbers though lol. As soon as I get to a computer I will upload them.
Sent from my 3D using InfectedRom Eternity.
Click to expand...
Click to collapse
No, 300-500-1m. I'm not sure about the exact on 300, but stock is 1mb.
I've just unlocked mms compression and bumped mms size to 2mb for odexed roms if anybody is interested. I guess i can deodex if needed.
Via My HTC Evo 3D On The Now Network From Sprint.
I am odexed running the rom below.
Sent from my 3D using InfectedRom Eternity.
Here is a flashable zip for the stock MMS (deodexed) with compression removed.
I have set the sizes to 1M, 2M, and 5M. Also added in my other MMS mods. Enjoy.
SteelH said:
Here is a flashable zip for the stock MMS (deodexed) with compression removed.
I have set the sizes to 1M, 2M, and 5M. Also added in my other MMS mods. Enjoy.
Click to expand...
Click to collapse
link is broken.
would anyone like to share the zip if they have it??

update beta2 release(app) FLIPBOARD (official beta)

Found this application which was once only on i-application(iphone) working fine on our touchpad and yes it also plays good on my LG optimus one too. It is like google currents but a little different in work around. Enjoy the port.
Here is the app
Press thanks if I helped.........
no offense but I'm pretty sure i've seen this posted somewhere else..u might wanna give credit to the original poster who yanked this from the sg III launch event..
Should be this http://forum.xda-developers.com/showthread.php?t=1644212
it doesn't look that great on the touchpad....very pixelated
ace9988 said:
it doesn't look that great on the touchpad....very pixelated
Click to expand...
Click to collapse
yes you are right but most of the posts and topics look nice, neat and clean.
and I think something is still better than nothing....
what do you say?
compared to the browser....you'd have to argue the need for this, it was designed for the phone (GS3) and all that's been done is ported from there. If they developer made a bespoke tablet version then it'd be nice. but hey, thats my beef with ICS at the moment, many apps are stretched and look wrong
I like it alot.... Thanks for sharing,I hadn't seen the other thread so glad to have the app on my og evo and touchpad
Sent from my cm_tenderloin using Tapatalk 2
Thanks
HP Touchpad CM9
I think an update came out for this today. Of anyone can pull the updated app it would be greatly appreciated! Thanks
HP Touchpad CM9
Someone was working on a version where they adjusted the fonts to make them look better on a tablet but I never saw the actual package posted.
famewolf said:
Someone was working on a version where they adjusted the fonts to make them look better on a tablet but I never saw the actual package posted.
Click to expand...
Click to collapse
I was working on it.... Never got it right, as it appears I was only able to change the UI fonts. The article fonts themselves appear to be set remotely and just displayed locally. So it didn't even fix the biggest issue with the fonts which is in the articles themselves. It only fixed the UI and header fonts. I was going to post the APK anyway, but I found a force close error when trying to add new feeds, so that made things not so nice. Add to that the fact that for some reason, the APK wasn't installable unless I re-signed it, that makes it difficult to switch between versions without uninstalling/reinstalling, I decided not to post the modified APK.
If a developer type wants, I can send the modified APK directly. I'm not going to post it here because it's A) not stable and B) didn't achieve the intended purpose anyway, and C) I don't want to have to support something that's broken/unfinished.
Anyone that knows how to decompile/recompile an APK can do the same thing I did. All I did was reduce the font sizes in the XML layout and values files. As I said though, that didn't have any effect on the actual article content, which appeared to be defined remotely.

[MOD]HTCLinkifyDispatcher Fix - Oudated. See OP for Steal25's thread.

Edit: This fix is defunct as of the current OTA. For a working version of this software (Thanks Steal25!) check out the thread here: http://forum.xda-developers.com/showthread.php?t=1947686
I'll be requesting this thread be closed at this point, though I'll leave the files for anyone still on older software versions. It's served it's purpose. Thanks everyone!
Original post:
There are a number of build.prop edits out there for various fixes. One such edit gives back the ability to make a choice of what program you want for a specific action. This was removed by HTC due to Apple claiming a patent infringement of patent #5,946,647. This patent is what caused the Evo 4G LTE to be stuck in customs.
Due to the nature of build.prop files containing many areas that can be tweaked, ROM devs tend to make different tweaks between ROM's. Until now this could have caused issues.
This script makes a backup of your current build.prop, and then EDITS IT IN PLACE.
What does this mean? It means you can flash THIS file on ANY ROM on this phone and it will not mess up any tweaks your specific ROM dev has put in place.
Why is this important? There are a number of build.props edited with this fix (and others)...some of them are from the stock ROM and some are from various other custom ROMs. Simply copying one over your current build.prop could lose you important optimizations, or custom fixes your dev has set up. By flashing this script you keep those customizations and still get the benefit of having your choices back.
Instructions:
To tell if this edit worked for you, check in settings. If the app associations menu option is gone, then it worked.
You will need to clear defaults for specific programs in order to have a choice pop up.
Example:
If you have selected Chrome for your default browser in app associations, you will need to go to menu/settings/apps/downloaded/Chrome/clear defaults.
The next time you tap a URL you will have a choice of which browser to use.
Credits:
Thanks to iconeo for the original thread found here: http://forum.xda-developers.com/showthread.php?t=1693809
Thanks to Steal25 for the actual build.prop edits.
I am including two zip files. The first one will make the build.prop change to allow you to choose your own defaults.
The second one (HTCLinkify-revert.zip) will allow you to put your build.prop back to its default.
There are other build.prop edits out there and I will be creating ROM agnostic flashable zips for those as well.
Please let me know if there are any issues with this flash.
Edit: I have uploaded a new zip that should work with the latest OTA.
nice man
so people can flash this and still keep their tweaks
loving the support this phone is getting
flex360 said:
nice man
so people can flash this and still keep their tweaks
loving the support this phone is getting
Click to expand...
Click to collapse
Yep, exactly. For people that have a hard time editing build.prop on their own, this will do the trick.
Plus it's the easiest way to re-implement the fix if your ROM dev updates the ROM but doesn't include it by default.
So I'm guessing you can only use this if your phone is rooted right ?
Sent from my Xoom using xda premium
MRFERRARI23 said:
So I'm guessing you can only use this if your phone is rooted right ?
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
You can only manually edit the build.prop if you're rooted to begin with, so even if you choose not to do it this way, you'll still need root to make the change yourself.
To flash the zip requires root and unlocked bootloader since you need a custom recovery to flash zips.
Made a correction to the first post. It was Steal25 who came up with the original build.prop edit, not SteelH. Sorry Steal25!
Mines ready fixed by me. But still, thanks mass for this.
Edit: thinking about this makes me realize just how bad apple effd HTC. I mean, if I was one of the vast majority of users who dont root and just buy a phone and leave it how it is, I would honestly probably return this device and buy something different. And that would be hard because i love HTC and this device. But, removing the 'complete action using' dialog is just not something I could live with. Apple really, really, screwed HTC... and end users. :screwy:
Sent from my EVO using xda premium
It's fantastic, thanks man.
I've been following this issue, and it seems the build.prop fix also works for other HTC ICS phones. I assume this flashable zip would work for those phones as well, correct? Since it's editing in place, seems like it should work for all (One X, One S, Amaze 4G, etc.).
thanks, was looking for this mod
oryan_dunn said:
I've been following this issue, and it seems the build.prop fix also works for other HTC ICS phones. I assume this flashable zip would work for those phones as well, correct? Since it's editing in place, seems like it should work for all (One X, One S, Amaze 4G, etc.).
Click to expand...
Click to collapse
It should, yes. However I only had an Evo 3D and an Evo 4g LTE to test on, so I can't support other phones.
But as long as build.prop is in /system and contains the line ro.da1.enable=true this script should work.
Again though I can't test, so you're on your own.
Edit: One thing though: You'll need a modified updater-script. Right now I have 2 versions of this zip, one for Shooter (Evo3D) and one for Jewel (E4GLTE).
You'll need to modify the line at the top of updater-script to your own phone's model:
getprop("ro.product.device") == "shooter"
Replace "shooter" with "jewel" for the E4GLTE for example. Or you could simply remove the line. Should work fine without it.
Ok, I may be asking a lot...
But I'm not familiar with editing the script lines,
Could you possibly either make a zip with the jewel edit in place?
Thanx
Sent from my LtEvo using XDA
KaptainRandom said:
Ok, I may be asking a lot...
But I'm not familiar with editing the script lines,
Could you possibly either make a zip with the jewel edit in place?
Thanx
Sent from my LtEvo using XDA
Click to expand...
Click to collapse
This one already has jewel. If you want it for another device I can make a quick update for you, just let me know the device name. Or if you want to test it without the device check line I'll pull that for you and you can test it that way.
Many thanks for this. Although i was able to modify fue build prop myself, i did have a hard time. Everytime i edited the build prop with root browser it made a copy of itself . Confusing stuff. Finally sorted it with SM mánager.
Anyways this is much easier for someone with my skills
Thank you
SENT FROM MY EVO LTE USING XDA
corcgaigh said:
Many thanks for this. Although i was able to modify fue build prop myself, i did have a hard time. Everytime i edited the build prop with root browser it made a copy of itself . Confusing stuff. Finally sorted it with SM mánager.
Anyways this is much easier for someone with my skills
Thank you
SENT FROM MY EVO LTE USING XDA
Click to expand...
Click to collapse
Not a problem. It will come in handy later if your ROM dev makes an update. Just flash and go.
This worked flawlessly for me. It's SO nice to have the features back that I was used to on previous devices. Thanks!
OstrichSak said:
This worked flawlessly for me. It's SO nice to have the features back that I was used to on previous devices. Thanks!
Click to expand...
Click to collapse
Glad it did the trick for you.
smw6180 said:
Glad it did the trick for you.
Click to expand...
Click to collapse
No, thank you!
Will we ever be able to long press pics in the browser and have the menu come up with share with (list of programs)
It works now!
Sent from my EVO using xda premium

[Xposed][MOD][4.0+] XDictionary - Quick Dictionary Search Button

Introduction:
XDictionary adds a quick dictionary search popup button to text you select. The popup is extremely non-intrusive (similar to iOS), and appears next to the Paste/Replace buttons. It then opens the definition of the selected word.
Now, you don't need to bother with opening your dictionary app, typing in the whole word and hitting search - it's essentially just a one-click procedure.
IMPORTANT: after installing, run the app, and allow it to copy dictionary data to external memory. If the app force closes, delete the folder /xdictionary, and reboot. For a proper install, there should be nine files in /xdictionary/dict - the folder will be around 33 megabytes. If all else fails, you can manually make the folders, and download the files from here.
Limitations:
Currently only works in text input fields where Paste/Replace do show up. Making it global for all text is high priority.
Supports only English. Support for other languages may or may not happen, depends on the response.
Bugs:
May break for certain OEM skins or ROMs with heavily modified UIs.
Occasional force closes when you try to copy dictionary data
Source:
https://github.com/vinit-ivar/XDictionary
Future:
Module has been abandoned, as of now; support for custom UIs and ROMs that modify standard AOSP is unlikely. When and if Xposed is ported to Lollipop, I shall start working on porting the module.
Donate:
If you liked the app, and you're feeling generous, do buy the Google Play version! Developing while going through college can be pretty tiring work, and I like the way this app is going.
Download:
The APK is attached; knock yourselves out!
Changelog:
Code:
1.1.0 - dictionary is now offline.
1.0.0 - added support for Toast (donate) and popup windows.
0.9.0 - initial version.
Great idea man will def try and let you know.
perseus0807 said:
Limitations:
Opens the definition in your browser. Support for installed apps will be added soon.
Click to expand...
Click to collapse
Awesome idea. Support for the dictionary.com app would be the best place to start, IMO (it's the most popular, and their widget is great). Merriam-Webster and Oxford English also have apps. If you figure this out, you could also extend it to search Wikipedia, which would be a fantastic idea too.
I don't know nothin 'bout programming or porting, but something similar to the way those Words with Friends cheat apps have a built-in dictionary search might be something to look in to.
Looks like a great app. Just took the leap and purchased through Google Play because of all the potential features mentioned in the reddit thread.
Upon installation though it does not appear to work?
Perhaps I misunderstood the functionality of this module so could you give me a scenario to try to test? I'm not given the option to define when selecting text in Chrome(address bar), or Hangouts (text input field).
I'm running SlimKat ROM with their gapps.
Not working here either on 4.0.4 stock S3. tested many apps.
Lol. Very nice. And useful. Thank you.
Sent from my SPH-L710 using XDA Free mobile app
Is it possible for the "define" button to not show up next to paste when pasting something that is more than one word?
RedBeardT said:
Looks like a great app. Just took the leap and purchased through Google Play because of all the potential features mentioned in the reddit thread.
Upon installation though it does not appear to work?
Perhaps I misunderstood the functionality of this module so could you give me a scenario to try to test? I'm not given the option to define when selecting text in Chrome(address bar), or Hangouts (text input field).
I'm running SlimKat ROM with their gapps.
Click to expand...
Click to collapse
I'm sorry to hear that; maybe SlimKat have modified their code.
Give me a day, I'll get back to you ASAP. Meanwhile, could you take a screenshot of the Paste/Replace thing?
Sent from my XT1033 using XDA Free mobile app
themadproducer said:
Not working here either on 4.0.4 stock S3. tested many apps.
Click to expand...
Click to collapse
Is this the same problem RedBeardT was facing? If so, could you perhaps take a screenshot? It'll help.
Sent from my XT1033 using XDA Free mobile app
perseus0807 said:
I'm sorry to hear that; maybe SlimKat have modified their code.
Give me a day, I'll get back to you ASAP. Meanwhile, could you take a screenshot of the Paste/Replace thing?
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
perseus0807 said:
Is this the same problem RedBeardT was facing? If so, could you perhaps take a screenshot? It'll help.
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
@perseus0807
Thx for the speedy reply.
Probably no need for screen shot. I simply don't get any extra button or text when highlighting text anywhere whether in a input box or on a page etc. But I get my usual copy/paste etc. Let me know how else I can help.
Cheers
@RedBeardT:
Give me 'til tonight, maybe tomorrow, I'll do my best to have a solution or a fix up.
@themadproducer: okay, scratch what I said earlier; that was for another ROM. Can I have a screenshot anyway? Some manufacturers skin the buttons, which may lead to the problems.
Good, will wait for installed dicts support, Thanks!
perseus0807 said:
@RedBeardT:
Give me 'til tonight, maybe tomorrow, I'll do my best to have a solution or a fix up.
@themadproducer: okay, scratch what I said earlier; that was for another ROM. Can I have a screenshot anyway? Some manufacturers skin the buttons, which may lead to the problems.
Click to expand...
Click to collapse
@perseus0807
This example, is with the url field of boat browser.
Great work!
Would like to see a german version or support for german dictionaries at some time
Love this, Dutch addition would be great!
Sent from my LG-D802 using XDA Premium 4 mobile app
This isn't working but i really hope it does asap. I'm on xperia u AOSX 4.4.3 pure aosp.
I'm using this module on rooted Stock LG E970. The define button does appear in text selection menu but it's overlapping with the other button (select all) in that menu.
This is not dev's fault at all. LG has modified the system heavily like other OEMs. I'm attaching the screenshot, but if dev needs any other device/ROM specific information like systemui.apk etc, I'll happily provide that.
myxor said:
Great work!
Would like to see a german version or support for german dictionaries at some time
Click to expand...
Click to collapse
Haha. Ich brauche ein deutsches Wörterbuch auch, ich werde es bald ergänzen.
Diljinder said:
This is not dev's fault at all. LG has modified the system heavily like other OEMs. I'm attaching the screenshot, but if dev needs any other device/ROM specific information like systemui.apk etc, I'll happily provide that.
Click to expand...
Click to collapse
Thank you for understanding! Actually, there is something ROM specific I do need - the frameworks/base/core/java/android/widget/Editor.java file. I'm not sure if it'll be present in all ROMs, but I'd love it if you had a look.
Diljinder said:
...
This is not dev's fault at all. LG has modified the system heavily like other OEMs. I'm attaching the screenshot, but if dev needs any other device/ROM specific information like systemui.apk etc, I'll happily provide that.
Click to expand...
Click to collapse
Does this imply that an update of the module will be required with each update of the ROM?

Categories

Resources