[Q] Android 2.2 Email.apk - Copy / Paste - EVO 4G Q&A, Help & Troubleshooting

Is anyone interested in or capable of adding copy / paste functionality in to the Vanilla 2.2 Email.apk? This should be the source code [here]; I have no clue how difficult or possible this is, but it seems like it would be a simple enough problem to fix considering ALL of the other E-mail applications I have used have it.
The link again: http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary

You can press menu->more->select text... it works, though it's not exactly elegant. There needs to be a more unified c/p base on this OS.
EDIT: Nevermind, had read Email as Gmail. Sorry .

Wish I could help but I can't. On another note, I love how the copy/paste is on the HTC email program now. It brings up a magnifier box and two "selectors" to show where and to you want to copy from. Think it does it in the default browser too but Xscope is my default. Would be cool if it was the Android default way.

Related

What is MyPhonebook?

Got this yesterday after the T-Mob udapte. Its in Settings/Accounts & Sync. I cant find any widget or program for this 'MyPhonebook'. How do you use it?
I also wanna know, tried to do anything wit it yesterday but nothing works no idea what's it for
-------------------------------------
Sent via the XDA Tapatalk App
Found it. T-Mobile has a free service that automatically backs up all contacts to a website - where they can be recovered if phone is lost or stolen.
Edit: Tried to activate it on T-mobile website... but HTC Desire is not on the list available for this service. Will it be activated in future... will ask next time I call customer service... :/
So I just rang up T-Mobile about this - typically useless response saying "we don't support this" and "you'll need to contact HTC". Now I could be wrong here, but isn't this T-Mobile functionality that they rolled out to us in their last update? Maybe this will work on Froyo?
Anyone have anymore info on this before I send T-Mobile a rude email?
...anyone know if this will be working soon? Thanks
I'd like to know how to get rid of this. I am so sick of the way this phone handles contact management.
These are the files you have to remove I think.
[MyPhonebook]
/system/app/SyncMLClient.apk
/system/app/SyncMLClient.odex
[SyncMLProvider]
/system/app/SyncMLProvider.apk
/system/app/SyncMLProvider.odex
[com.android.syncml.service]
/system/app/SyncMLService.apk
/system/app/SyncMLService.odex
[com.android.syncml.shared]
/system/framework/com.android.syncml.shared.jar
/system/framework/com.android.syncml.shared.odex
[permissions file]
/system/etc/permissions/com.android.syncml.shared.xml
Hi,
I'm using T-Mobile but unfortunately on my non-branded HTC Desire Z the Software is not installed. Does anyone have an APK for this App?
Or can anyone recommend a sync/backup tool to save contacs (important: I'm using the field "second name" and some sync-tools don't copy this field)
Greetings
Heiko
What is wrong with the std. sync of all your google contacts? Have worked flawlessly for me since day 1, and every time i try out a new rom they are downloaded as soon as i enter my google account..
There is nothing wrong with Google-Sync, but maybe call me paranoid, but I don't want to have my contacts (including their mail-adresses) stored by Google.
It is known that GoogleMail scans the Mails to show ads.
I don't want Google to scan my Adress-Book for Mail-Adressens of my friends. Sure, they state they won't do it, but you can't be sure......
Using a phone-provider like T-Mobile is also risky, but I trust them more than Google concerning data-privacy.
Heiko
Hey HHLieber, I extracted/deodexed the apks of MyPhonebook from my T-Mob branded stock (Desire) for v2.1 and v2.2.1 (both tested with MoDaCo ROM r8/r9).
Could not say if syncing is possible, because I'm using Vodafone. If you want these apks, let me know it.
Another idea with syncing is an own funambol (SyncML) server (also tested - SyncML stores a complete vcard in database).
But if you use a "Desire Z" with Stock ROM, are you able to store more information than first name and family name? Because I've never seen a HTC Stock ROM with this possibility (contact type "Phone" - HTC Desire/HD/S, HTC Wildfire/S). Also I couldn't set a type of mail address like "private" or "work".
Hi cxp_,
I just checked my Contact-List and you are correct:
The Name is listed as Surname, Firstname Secondname.
But if I click on edit, I don't see the field for secondname nor can I edit the name as it is stated on the edit-view as Firstname Surname.
Strange....
I achieved this construct by uploading the contacts from Outlook to my Google-Account, then exported it as VCF-File and imported it to my Desire.
It was a great battle, but I have to use the Second-Name-Field.
Can you copy me the APK-File?
We tried it yesterday using MyPhoneExplorer. A Collegue has a T-Mobile-branded Desire, downloaded the APK via MyPhoneExplorer and copied me the file. Unfortunately something went wrong since I cant install it on my phone - nor can't another collegue using an unbranded Desire
CU
Heiko
Thats the problem of HTC. They disabled some usefull contact information fields in their framework. I don't know why, but it is totally stupid. I have the same problems, storing all contact information in one contact type (without using "google"). Syncing with funambol or even vcard export/import will not bring back all contact information. For a smartphone, very disappointing.
I talked to htc support in germany, first answer was a standard reply from faq or so that it is possible, second answer from an engineer was "ok, your're right...not possible but i forward this idea, perhaps an update will fix that".
So, even the new devices from htc have this "bug/problem with phone contacts". Some weeks ago, I flashed a No-Sense Rom (originally from nexus one) to my desire with the result, that all fields were available. So, it must be a restriction of htc.
Your problem with branded rom was, that the apk files (used for MyPhonebook) are deodexed. So you have not only the apk file, but also a .dex file. To transfer it to another phone, you have to merge them with the use of some tools an the framework files. And also you need some other files.
I attached MyPhonebook for Android 2.1 (Eclair) and 2.2.1 (Froyo). (Structure from root directory)
cu
Sebastian
Gosh! You're right.
Just checked it with a collegues phone: Samsung Something.
He has second name and so on.....
Hmm.... Can't you disable HTC Sense? On Windows Phone, Sense was just an add-on. I'm not so amused concerning the idea of re-flashing my phone.
Heiko
Without HTC Sense, you can't use any of htc apps (contact, calendar, messages..etc.). It is possible to remove Sense, but you will need the standard android apps.
The "No-Sense" version of MoDaCo comes with the standard apps and default framework. In "Sense" version you could also include standard apps beside htc apps, but this wouldn't help. In my opinion, the modified framework is major problem. Even with default android apps, I got the restricted version of contact.
So, I think without reflashing your phone, you wouldn't be able to add more information to your contacts. Funambol syncing and MyPhonebook are no solutions for you.
In my case, I only needed the detailed mail information and with MyPhonebook I can do this. But also syncing is a problem for me (Funambol).
I think, it's a problem of using vcard v2.1 for export/import and sync. Tested it with one contact (containing all possible information), only ~75% was restored.
Shame on HTC, In my case I'm not sure. Living with that disadvantage or selling phone and buy a LG or Samsung (rootable). Or a second trouble when buying new phone in the future and transfer contacts (with losing information)
Face it, with every new phone, you have to adapt to the functions of the new phone.
I used Windows Phone for many years, beginning with a non-touch-phone and then moving onward using Windows Phone 6.1 and later 6.5, always with HTC-Devices.
Windows Phone 7 is no alternative for me, since it looks like a blame copy of iPhone OS (only MS-Approved Apps, no access to the file-system, use of Zune....).
Since the App-Support for WM6.5 is vanishing, I had to change.
Android looked like a good alternative. And HTC-Devices weren't a bad idea either in the past.
Maybe you are right and the next phone won't be from HTC.....
You're right. HTC devices aren't bad and the update periods are quicker than from other manufacturer.
For you, reflashing with No-Sense Rom is an idea and the flashing process is not a big deal.
I consider about "living with the fact of sync problems", "reflashing with no-sense rom and the lost of nice sense apps" or "sell old one and buy something new".
Since my phone is up and running, I guess I will live with the crippled contact-fields.
Another Idea: Am I right that Android uses several Contact-Databases which are somehow merged? Thus would it be possible to create a new contact-database with the wanted field and then merge this new DB with the already existing contact-list?
P.S. I tried to copy your Phonebook-Files to my phone but had no success. Do I have to root it bevore copying the files?
No that's not right and wouldn't be usefull. (but thats not the problem)
Android uses one SQLite database called contacts2.db (before v2.1 - filename was contacts.db). In this database all information is stored, like contacts and call history. It is located in /data/data/com.android.providers.contacts/databases.
The database contains one table called "settings". In it, there are all contact types your phone have (like phone,google,myphonebook,facebook etc.). Contacts are stored in another table with the hint of one of these contact types.
(table "settings" | columns: "account_name", "account_type", "ungrouped_visible", "sould_sync")
I tried to create and export a filled database from android emulator. Like it seems, there is no difference between emulator database and my database from desire.
So, the database structure was not changed by htc, only the api or something else what establish the conntection between database and gui (contacts app). One idea would be to exchange databases and look what stored information htc app display (all stored information including second name and so on or only self-editable fields).
to myphonebook: You have to use "ADB Shell" from android sdk to push them (no install from sd card or so). In fact of this, /system partition have to be writeable. The xml and jar file are also required.
Can't tell you, if it is possible to remount /system writeable with adb shell without rooting the device. (had done this after rooting process and included it in a rom)
cxp_ said:
So, the database structure was not changed by htc, only the api or something else what establish the conntection between database and gui (contacts app). One idea would be to exchange databases and look what stored information htc app display (all stored information including second name and so on or only self-editable fields).
Click to expand...
Click to collapse
If the DB wasn't changed/touched by HTC, then it must be the Contact-App, which only uses some Data-Fields of the Contact-DB.
Then it should be possible to use some other Contact-App, don't you think?
One point remains: Do other Apps (Phone, SMS, Facebook....) have native access to the DB or do they use the Contact-App?

[Q] Select Copy/Paste text (similar to Galaxy S or iPhone iOS)

One wish for my Desire...
someone can tell me where I can find apk or something similar to add this useful tool to my Desire? It is like the iPhone...
I don't find anything in the market...
Copy/Paste is a built-in feature: select some text, e.g. in a textbox or webpage, click it and hold your finger there for a little while and then a context menu should pop up letting you copy the selection. Next, inside any textbox where you can type manually, click into it and hold your finger there to bring up another popup letting you paste your copied text.
Btw, this is the development forum. I dont think your question fits here.
I think he wants to not press and then select copy but like in the iphone just press in the text. Previous in 2.1 i managed to do this, but now on 2.2 i cant.
There's a free file manager in the Android market called AndExplorer. It's quite a good file manager. It even lets you look in the phone's folders. Copy and paste and all that jazz with this app.
I hope that's what you meant.
shadowboy23 said:
There's a free file manager in the Android market called AndExplorer. It's quite a good file manager. It even lets you look in the phone's folders. Copy and paste and all that jazz with this app.
I hope that's what you meant.
Click to expand...
Click to collapse
It's not. He meant (and said) he wants to copy/paste text, not files.
there is such function in Sence, in 2.2 too. If you want it, use 2.2 with Sence roms.

Copy and paste with CM6

Are there any apps or mods to get a copy and paste function that is similar to Sense copy and paste on CM6?
DarkManX4lf said:
Are there any apps or mods to get a copy and paste function that is similar to Sense copy and paste on CM6?
Click to expand...
Click to collapse
ctrl+c/ctrl+v works fine for me, wheres the problem?
nenn said:
ctrl+c/ctrl+v works fine for me, wheres the problem?
Click to expand...
Click to collapse
How are u doing ctrl+c and ctrl+v on ure evo?
it was a bit of humor copy/paste works fine. long click for popup menu while on a text field. same way with any HTC Sense rom.
Ive found this to be a decent replacement for copy/paste in CM6. it has some really cool features like being able to copy "text" from pictures because it's really just an ocr. I still prefer the Sense implementation, but that being the only part of Sense I like, it's not worth going back.
http://www.appbrain.com/app/com.edwardkim.android.copyscreentextfree
This is the free demo. If you like it, there is a paid version.
im very very confused, are you guys serious that you cant copy/paste in cm? i can copy paste fine.....
I guess I explained it poorly. What I wanted was a better copy/select solution like HTC sense. One where u can select a word and search the word through Wikipedia or Google or w/e.
I know u can select copy and paste in cm6 but I was just looking for something better.
ahhh selection text, i get that
I have to agree that vanilla Android is sorely lacking in this department. This was something that Apple got right when doing it on the iPhone.
nenn said:
im very very confused, are you guys serious that you cant copy/paste in cm? i can copy paste fine.....
Click to expand...
Click to collapse
In sense you can copy just about any text you can see. Long press in a forum post, or any website, and you can copy the text. In CM you can only copy text that's in a text input field. I run CM6, if I want to copy text from a post and paste it into a google search box I have to open a "quote post" window. I can't copy any text from just any website like you can in sense.
Gingerbread is supposed to have better copy and paste. As for right now, Swype has fairly good text selection (Swype from the Swype to the SYM key to see the special editing keyboard).
drmacinyasha said:
Gingerbread is supposed to have better copy and paste. As for right now, Swype has fairly good text selection (Swype from the Swype to the SYM key to see the special editing keyboard).
Click to expand...
Click to collapse
+1, when I do copy/paste I am glad I have swype

Android Browser mucks up filenames of attachments with Space?

I noticed that when I email mp3s to myself (via Gmail) and later try to download those files to my phone via Gmail in the Android Browser (not the app, it has an entirely different set of issues, like no download option at all, only preview), the Android browser mucks up the filenames if there is a space in the filename.
I also noticed that the browser replaces "unsupported" characters like (, ), ' (so far tested) and replaces them with a _.
That's fine, but I just wished I didn't have to go thru all my filenames and replace the spaces with a _.
Is this an Android browser defect? Sorta feels like living in DOS 8.3 again not having support for spaces in filenames.
Yes, this is a (semi) confirmed issue with the Android browser. It doesn't seem to handle spaces in file names correctly.
http://code.google.com/p/android/issues/detail?id=3678
Mine is comment 4, if anyone is interested.
mkhopper said:
Yes, this is a (semi) confirmed issue with the Android browser. It doesn't seem to handle spaces in file names correctly.
http://code.google.com/p/android/issues/detail?id=3678
Mine is comment 4, if anyone is interested.
Click to expand...
Click to collapse
Good find! I put in my vote on that issue. Google needs to fix this pronto!

[APP] Updated 6 June, 2011, improved Email.apk (Gingerbread)

What is it? Originally this was a direct extract of the Email.apk from Nexus One 2.3.4; but the most recent update uses a bug-fixed version extracted from CM7. Primarily because the text prediction bar works in this Email app; while it seems to be missing from all the SGS Gingerbread Email.apks.
Update November 3: I have been using CM7 and don't see myself switching back... CM rocks!!
Update June 6: New version extracted from CM7 nightly that appears to really fix the problem where Exchange email accounts stop syncing, requiring a reboot of the phone. I've been using this build 4 days without sync problem. Relevant threads HERE and HERE
As far as I know this will only work on a Gingerbread ROM. Install via CWM. The installer will attempt to ERASE your emails and email account settings from your phone. This keeps the system from getting all goofed up due to database incompatibilities between Email.apks (Thanks nitr8 and styxx!)
I tested this under Juwe's ROM v4.2 and under Darkys 10.1 against my office Exchange server. It seems to work great.
I am not a developer by any means. What I've posted here is something hacked together out of nothing more than dumb luck. (Really, all I did was extract the APK from the CM7 nightly and modify the menu xml files to link to APK internal PNG images rather than linking to the phone framework PNGs. No actual program code changes were made by me.) If it bricks your phone and your hair falls out... sorry, but don't come crying to me. You have been warned! If this app doesn't work for you, please post anyway so I can laugh at you... Errr... I mean, so I can try to help you.
May 8th update: Some of the menu icons were not showing up properly. Spent some time with APK Manager and figured out how to add in the missing icons.
looks fun
ive tried this and it looks good and works well. The major issue for me as with all the older email apps is there is no "Move to folder" option..... which absolutely drives me nuts. I had it until I tried using the TAB email app, then tried going back but keep getting this same apk and am missing this option. Its a real pain!
Funny, I didn't even notice the "Move to Folder" option was absent!
For me the text prediction was a huge issue, and it was really my only motivator for trying it out. I'm very happy with how quick and responsive this app is. With the stock app I would get lag at different times, especially noticeable when deleting multiple messages. This Nexus version seems to delete them instantly. I also really like having the check-mark boxes present on the message list.
I haven't tried the TAB email app, are you saying the move-to-folder option is missing from the TAB version as well? Have you tried the SGSII Email app from this thread?
good plan
the option was there in the tab email app and also in the newer one of the galaxy but I cant find the apk for that! that'll teach me to back them up! I'll have a look at that thread anyway and see where it leads. Thanks for your work and your assistance.
post a couple of screenshots please: ) otherwise thanks!
Thanks works great
Sent from my GT-I9000 using XDA Premium App
THANK YOU. Samsung email client is sub-optimal. I feel like I can breath again. No more staring at the screen waiting to read an email.
Thanks for sharing !
Anyway, Landscape mode (as with Samsumg one) doesn't work with this Email.apk ... So I'll stay with my K9-mail app.
Wendigogo said:
Thanks for sharing !
Anyway, Landscape mode (as with Samsumg one) doesn't work with this Email.apk ... So I'll stay with my K9-mail app.
Click to expand...
Click to collapse
I use K9 for my personal email account, and the Nexus app for my work email account... and I don't see a difference in the way they handle landscape mode... so just curious, what am I missing?
sazinas said:
post a couple of screenshots please: ) otherwise thanks!
Click to expand...
Click to collapse
It doesn't look significantly different. There are check boxes along the left edge of the message list view so you can quickly select multiple messages for deletion, otherwise it looks pretty much the same. The big difference is in how much more responsive it is over the Samsung client, and the fact that the keyboard text prediction bar works when using this email client.
Farkonian said:
I use K9 for my personal email account, and the Nexus app for my work email account... and I don't see a difference in the way they handle landscape mode... so just curious, what am I missing?
Click to expand...
Click to collapse
There was a misunderstanding : Samsung app has a different landscape mode.
quick noob question. do i have to wipe anything before flashing this? I'm guessing no but want to be sure.
You need to flash the ZIP via from ClockworkManager, and it will attempt to wipe your email accounts to prevent force close issues due to email database differences between the Email.apk versions.
Does the number of unread emails appear in the icon?
JiiJii said:
Does the number of unread emails appear in the icon?
Click to expand...
Click to collapse
I wish!
Thanks for posting this! I was killing myself trying to figure out why autocorrection and word prediction wasn't working on my gb rom. I installed it on my captivate running a gb rom (Serendipity VII). It works very nicely for me.
New version _actually_ seems to fix Exchange sync problem.
Thanks for the update. I had trouble getting it to connect over a good 3g signal, but it did so when I enabled wireless for the first sync. I hadn't noticed the synching problem but might not have used it long enough to see the problem. All seems to be working. This app is much nicer than the stock samsung email client in virtually every way. It is much more polished and easier to use. It would be nice if it didn't clear settings when updating over itself, but that is not a big deal.
It's a bit confusing in this thread, but I take it that this apk also lacks Move To Folder? That's a seriously useful feature and it might drive me back to stock on my Incredible just to get it back. Then, of course, I lost the ability to create private appointments in the calendar! Whee. Have you found a version yet that has this feature?

Categories

Resources