[Q] Google Contacts App and Sync on Nook - Nook Touch General

Has anyone worked out the proper install process to get Contacts.apk (along with its provider and sync components) to work on either the Nook Simple Touch or the Nook Color?
I see lots of workarounds to get GMail access to the Google Contacts info, but none that actually get the Contacts App to work properly.
The built in Nook Contacts App just doesn't have the same functionality and features as the Google Contacts App.

I once tried installing contacs.apk on my NST and it crashed when I tried to open it. So I'm in the same boat as you.
Sent from my NOOK using XDA App

I did some testing of this issue. I am not android developer but maybe this will be useful for someone skilled who will resolve this issue.
I got logs from logcat of the crash, googled for a while and found this:
1. http://comments.gmane.org/gmane.comp.handhelds.android.devel/70202
2. http://code.google.com/p/android/issues/detail?id=5009
3. http://code.google.com/p/cyanogenmod/issues/detail?id=1444
Bug in 2.1 android requires at least one process implementing android.content.SyncAdapter intent (see 1). I also tried removing (renaming) /data/system/accounts.db and reboot (as proposed in 3). After registration to google account the account manager stoped crashing/rebooting my nook. On the other hand, contact were not synchronized anyway and moremover Shop application browsing stopped working too. Therefore I have restored account.db from backup. (might be interesting to compare those two account.db versions)
I don't know if an application/service that implements SyncAndapter would fix the account synchronization. Maybe it is implemented by Social app which is unfortunately not working on rooted nook. I am getting Social app is not available for this product and in logcat
I/ActivityThread( 1455): Publishing provider com.bn.nook.social.contacts.provider: com.bn.nook.social.contacts.ContactProvider
I/ActivityThread( 1455): Publishing provider com.bn.nook.social.share.lendrequest.provider: com.bn.nook.social.share.LendRequestProvider
I/ActivityThread( 1455): Publishing provider com.bn.nook.social.share.recommend.provider: com.bn.nook.social.share.RecommendationProvider
D/FileDownloadService( 1455): initService() bound with true
D/dalvikvm( 1455): GC freed 3766 objects / 265632 bytes in 20ms
E/Products( 1455): Invalid Ean =null
E/Products( 1455): java.lang.Exception
E/Products( 1455): at com.bn.nook.model.product.Products.isValidEan(Products.java:171)
E/Products( 1455): at com.bn.nook.social.share.SocialLauncherActivity.init(SocialLauncherActivity.java:88)
E/Products( 1455): at com.bn.nook.social.share.SocialLauncherActivity.onCreate(SocialLauncherActivity.java:66)
E/Products( 1455): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/Products( 1455): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/Products( 1455): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/Products( 1455): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/Products( 1455): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/Products( 1455): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Products( 1455): at android.os.Looper.loop(Looper.java:123)
E/Products( 1455): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/Products( 1455): at java.lang.reflect.Method.invokeNative(Native Method)
E/Products( 1455): at java.lang.reflect.Method.invoke(Method.java:521)
E/Products( 1455): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/Products( 1455): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/Products( 1455): at dalvik.system.NativeStart.main(Native Method)
Another try other way. Executing Manage my accounts from contacts.apk.
E/DeviceInfo( 1123): Calling deviceinfo.getDeviceId
D/SurfaceFlinger( 788): Frame buffer posted; elapsed time = 84 msecs
D/SurfaceFlinger( 788): Frame buffer posted; elapsed time = 12 msecs
D/dalvikvm( 2059): GC freed 3880 objects / 243864 bytes in 21ms
I/AccountsSettingsActivity( 2059): load url=https://bncs.barnesandnoble.com/bncloud/oauthpage/BnOAuthMgmt.jsp?serialNo=XXXXXXXXXXXXXXXXXX&esign=SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS&devType=2
D/SurfaceFlinger( 788): Frame buffer posted; elapsed time = 38 msecs
D/SurfaceFlinger( 788): Frame buffer posted; elapsed time = 14 msecs
W/dalvikvm( 2059): threadid=27: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime( 2059): Uncaught handler: thread http0 exiting due to uncaught exception
E/AndroidRuntime( 2059): java.lang.NullPointerException
E/AndroidRuntime( 2059): at android.net.http.CertificateChainValidator.doHandshakeAndValidateServerCertificates(CertificateChainValidator.java:135)
E/AndroidRuntime( 2059): at android.net.http.HttpsConnection.openConnection(HttpsConnection.java:306)
E/AndroidRuntime( 2059): at android.net.http.Connection.openHttpConnection(Connection.java:358)
E/AndroidRuntime( 2059): at android.net.http.Connection.processRequests(Connection.java:225)
E/AndroidRuntime( 2059): at android.net.http.ConnectionThread.run(ConnectionThread.java:125)
I/Process ( 788): Sending signal. PID: 2059 SIG: 3
D/EPD#EPD ( 788): resetRegion 4
D/NATIVE-EPD( 788): epd_reset_region: 0x10
D/EPD#EPD ( 788): resetRegion 5
D/NATIVE-EPD( 788): epd_reset_region: 0x20
D/EPD#EPD ( 788): resetRegion 6
D/NATIVE-EPD( 788): epd_reset_region: 0x40
D/EPD#EPD ( 788): resetRegion 7
D/NATIVE-EPD( 788): epd_reset_region: 0x80
D/DeviceManagerBroadcastReceiver( 1123): action (com.bn.devicemanager.ACTION_HANDLE_CRASH)
I/dalvikvm( 2059): threadid=7: reacting to signal 3
I/dalvikvm( 2059): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 2059): Sending signal. PID: 2059 SIG: 9
I/WindowManager( 788): WIN DEATH: Window{4a2d0108 com.bn.nook.social/com.bn.nook.social.contacts.ContactsActivity paused=false}
I/WindowManager( 788): WIN DEATH: Window{4a2a25a0 com.bn.nook.social/com.bn.nook.social.settings.AccountsSettingsActivity paused=false}
I/ActivityManager( 788): Process com.bn.nook.social (pid 2059) has died.
So it dies on the ssl handshake, /data/anr/traces.txt is empty.
I have opened that URL in my webbrowser and it is a web management page which let mi link my facebook/twitter/google account. I linked it with my google account and allowed the access in browser. But it won't import my contacts to nook anyway because of the ssl handshake error.
Few minutes later, I tried to open Contacts app and Manage my contact again and woila, I have my google contact in my nook!!!! Juhuuu!
UPDATE: unfortunately, these contact are not visible in Go Contacts or K-9 mail, therefore are quite useless.
Seems to me that the best option would be external application that would sync contact with google. Can't we use standard android 2.1 contacs.apk on nook?

I cannot get it to work either, and it seems like all other address book apps rely on it working properly in the first place. I would love to see a way to fix this!
Sent from my NOOK using XDA AApp

The only way i could make it work was by installing remo sync google apps (or something to that affect). It's an annoying app that constantly asks you to upgrade, but it does enable you to sync all your contacts whi then show up in your 3rd party contacts apps.
Sent from my NOOK using xda premium

Hi,
finally I made it work, somehow. I have copied the attached app to /system/app on nook (you need to remount as rw first) and after reboot and some more time I saw Contact in sync options.
Now my contacts are synced and I can see them in Go Contacts or use in K9 mail. :-D
I have also renamed /data/system/account.db to /data/system/account.db.bak + nook reboot. Don't know if it is required - as I said before, it stops rebooting nook in sync settings but also it breaks Shop browsing. I will try to restore account.db.bak now to see if the sync still works (update: yes, it does work both, sync and shop browsing after accounts.db restore).
I am sorry I can't provide exact HowTo, I was trying more things simultaneously and now I don't know what actually made it working.

So basically, we just have to copy the attached app to /system/app and reboot?
No need to modify or backup /data/system/account.db ?

That's what I can't tell for sure since I was renaming/restoring account.db several times during my testing.
I would say:
0. !!!!!! BACKUP using noogie whole nook image!!!!!!!!
1. install e.g. Synker app and Go contacts
2. remount /system as rw and copy attached app ^ ^ to /system/app, reboot
3. Add new syncer widget and check if you contacts are synced (in go contacts, not the default Contacs application - this one is for b&n contacts and is independent). If not, wait few minutes and repeat step 2
The problem with current account.db is that Sync manager execution is rebooting the nook. Therefore you cannot say if your contacts are synced or not until you try it.
Maybe it can be seen in Synker application/widget settings where I saw 3 google icons (the text is not visible) before contact sync was working, now I have 5 (probably becase I installed also google+ app)
To execute Sync manager you can
A) Go contacts -> Settings -> Backup and restore ->Account sync
B) Synker app -> Settings -> Account & Sync settings
As I said, this would reboot your nook right now.
After renaming account.db nook won't reboot (but Shop browsing doesn't work and probably whole B&N registration is "removed" - the good thing is that you should be fine again after the account.db restore).
Therefore if the previous didn't work, do:
4. mv /data/system/account.db /data/system/account.db.original
reboot nook
5. when nook starts, your nook is unregistered from google, use A or B method to run Sync manager (now it won't crash) and register again with your google account, reboot (for sure)
6. just for sure check if your market is still working
7. run sync manager again and check if you see Contacts to be synced for your google account.
If still not working, what I did was that I tried to remove the google account from sync manager.
8. in Sync manager try to remove your google account. You should got a message that account cannot be removed because there are other applications requiring it.
At this moment I saw that contacts are listed in synced items for the first time.
9. If contacts sync is working (or not), you might want to restore your account.db, therefore
mv /data/system/account.db /data/system/account.db.google # backup the new db
mv /data/system/account.db.original /data/system/account.db # restore the original one
Now shop browsing should work again and if your contacts were synced, the will be synced also in future (although Sync manager app would reboot your nook again).
I am saying again, maybe not all steps are needed, unfortunately I cannot retest it right now. Please share your experience.

Contacts working
Ok So this is what I did.
Use root enabled ES file Manager to rename: /data/system/account.db to /data/system/account.db.bak
Plugged nook into PC and drag and drop: GoogleContactsSyncAdapter.apk from this thread to sd card. ( because the system folders don't show up in file explorer on my pc)
Disconnect from pc.
Used ES File again to copy/paste GoogleContactsSyncAdapter.apk from SD card to /System/app folder.
Rebooted
Opened Market, This triggered a request to log in (Accounts DB file renamed!!)
Logged in no problem: (this must have recreated accounts db file)
Downloaded Go Contacts
All gmail contacts visible.
Opened the Device Registrator App (smiley face Icon) that installed as part of clockwork mod rooting. Re registered with BN. I believe this can also be done from the stock settings page
Opened BN shop, all working.
Note: Go Contacts could not edit contacts. Downloaded Go Contacts EX and contact editing is available. Uninstalled original version of Go Contacts. Edited a contact in Gail from PC, Modification showed up on Nook in about 30 seconds. Could not find any sync setting on Nook but it is working in the back ground. Did not install Synker app. Cant say what effect that will add.
Very happy now.

that's cool, ^_^

captfl said:
Ok So this is what I did.
Use root enabled ES file Manager to rename: /data/system/account.db to /data/system/account.db.bak
Plugged nook into PC and drag and drop: GoogleContactsSyncAdapter.apk from this thread to sd card. ( because the system folders don't show up in file explorer on my pc)
Disconnect from pc.
Used ES File again to copy/paste GoogleContactsSyncAdapter.apk from SD card to /System/app folder.
Rebooted
Opened Market, This triggered a request to log in (Accounts DB file renamed!!)
Logged in no problem: (this must have recreated accounts db file)
Downloaded Go Contacts
All gmail contacts visible.
Opened the Device Registrator App (smiley face Icon) that installed as part of clockwork mod rooting. Re registered with BN. I believe this can also be done from the stock settings page
Opened BN shop, all working.
Note: Go Contacts could not edit contacts. Downloaded Go Contacts EX and contact editing is available. Uninstalled original version of Go Contacts. Edited a contact in Gail from PC, Modification showed up on Nook in about 30 seconds. Could not find any sync setting on Nook but it is working in the back ground. Did not install Synker app. Cant say what effect that will add.
Click to expand...
Click to collapse
Did anyone manage to get this to work? I tried it and it didn't work, but my NST was wonky at the time.

case-sensitive said:
Did anyone manage to get this to work? I tried it and it didn't work, but my NST was wonky at the time.
Click to expand...
Click to collapse
Yes, I can confirm, that this worked for me. Big thank to everyone, who found the way, how to enable contacts !!!

calendar sync?
is google Calendar sync also possible?

mrWax said:
is google Calendar sync also possible?
Click to expand...
Click to collapse
yes, working fine for me. (I am using CalendarPad for calendar app).

Finally!
I follow the instruction in post #9, but the longest time I couldn't make it to work. Finally I figured it out: I need to set the permission of GoogleContactsSyncAdapter.apk to
rw-r--r-- (it was ---rw-rw-). I hope this would help others.

Calendar synces !!! Contacts dont
EDIT1: ALL WORKS FINE NOW!
captfl said:
Ok So this is what I did.
Use root enabled ES file Manager to rename: /data/system/account.db to /data/system/account.db.bak
Plugged nook into PC and drag and drop: GoogleContactsSyncAdapter.apk from this thread to sd card. ( because the system folders don't show up in file explorer on my pc)
Disconnect from pc.
Used ES File again to copy/paste GoogleContactsSyncAdapter.apk from SD card to /System/app folder.
Rebooted
Opened Market, This triggered a request to log in (Accounts DB file renamed!!)
Logged in no problem: (this must have recreated accounts db file)
Downloaded Go Contacts
All gmail contacts visible.
Opened the Device Registrator App (smiley face Icon) that installed as part of clockwork mod rooting. Re registered with BN. I believe this can also be done from the stock settings page
Opened BN shop, all working.
Note: Go Contacts could not edit contacts. Downloaded Go Contacts EX and contact editing is available. Uninstalled original version of Go Contacts. Edited a contact in Gail from PC, Modification showed up on Nook in about 30 seconds. Could not find any sync setting on Nook but it is working in the back ground. Did not install Synker app. Cant say what effect that will add.
Very happy now.
Click to expand...
Click to collapse
Calendar synces !!! Contacts sync !
-at first contacts didint want to sync. I did some reboots and then open Gmail account info and - voila - there was syncing icon next to Contacts. After a while contacts synced into Gmail, Go contacts also work

mrWax said:
EDIT1: ALL WORKS FINE NOW!
Calendar synces !!! Contacts sync !
-at first contacts didint want to sync. I did some reboots and then open Gmail account info and - voila - there was syncing icon next to Contacts. After a while contacts synced into Gmail, Go contacts also work
Click to expand...
Click to collapse
Has anyone tried this on the Nook Simple Touch Glowlight or a NST with tinynoot? Tinynoot is the only thing which seems to work with UK NSTG but we can't get markets to work and no account.db file is present. Is there a method which doesn't require market login?

I just did this but the weird thing is I could not fully reregister using the deviceregistrator app. I had to first register the device using the device registrator app then use oobe reg to register again. the weird thing is I had to create a new account. using the same account details as the original account worked.
I did this to get calendar to sync and to remove a second youtube account that was casuing sign in errors

Related

Activesync missing contacts Wizard/i-mate k-jam

Hi
I am having an issue that I need some help with. I am trying to set up a second hand K-Jam that I bought on eBay.
Problem:
Activesync appears to work fine and everything seems to synchronize except for any contacts that have contact notes.
New contacts created on the PC with text in the notes field do not synchronize.
New contacts created on either device with nothing in the Notes field synchronize fine.
New contacts created on the K-Jam with text in the notes field synchronize back to the PC fine.
If a contact has had a note in it, if the note is cleared by deleting all text and saving, the contact is still not synchronized.
Operating Systems and programs:
ActiveSync 4.1 installed from scratch
K-Jam ROM 2.16..
Windows Mobile 5.0
What I have tried:
-Hard resetting the K-Jam
-Repairing Outlook 2003
-Running a repair on the PST file
-Removing the Mobile Device profile from ActiveSync and allowing it to recreate the synchronization relationship.
-Copying the contacts out to a different folder, syncing; copying them back
-Exporting the contacts to a CSV file, all other items to another PST. Creating a new PST file, replacing the default Outlook PST and importing all of the OK data. Then importing the contacts from the CSV file (when I first started troubledhooting, I had a subset of contacts that would sync. After doing the CSV import, no contacts would sync - I guess that the CSV import puts something into the contact notes field. New contacts still sync as explained above)
-Synchronizing only Contacts
Other:
I have loads of the following error messages in the WCESLog.log:
03/11/2006 14:06:56.156 p(2936) t(3308) SyncMgr -> Opening Item: echo CreateObject("Outlook.Application").GetNameSpace("MAPI").GetItemFromId("000000006F78E8A9F1B1BF4A9150F98C632AB565A4572200").Display > foo.vbs && foo.vbs - mhelp.cpp(8575)
03/11/2006 14:06:56.156 p(2936) t(3308) TraceToFile -> ERROR in CMAPIDataConverterBase::ConvertMAPIPropToDesktopSyncObject : hr = 0x80010104 - DataConverter.cpp(3664)
03/11/2006 14:06:56.156 p(2936) t(3308) TraceToFile -> ERROR in CMAPIDataHandler::_GetDataForItem : hr = 0x80010104 - DataHandler.cpp(1962)
I suspect that there is some sort of data conversion problem but do not know where to look next.
Any advice will be appreciated.
AS not syncing Calendar, Task or Contact notes PC->PPC
I have found that this problem affects Calendar, Task and Contact items. If I add a simple entry (with no Note) on the PC, it syncs to the PPC fine. If I then add a Note, the changes are not synced. If I add a Note at the same time as the item is created, it is not synced at all. Notes that are created on the PPC are synced back to the PC fine.
Soln: Missing appointments/tasks/contacts containing notes.
I have finally fixed this issue after 3 days of mucking about!!! My phone is syncing all items fine now... I stumbled on the solution in a forum for other software, but it seems to apply to WM5, AS 4.1 and Outlook 2003 too!
As per http://www.sbsh.net/forums/lofiversion/index.php?t8892.html, reregister ole32.dll using:
1. Click Start, click Run, type the following command in the Open box, and then click OK:
Regsvr32.exe %Windir%\System32\Ole32.dll
2. In the RegSvr32 dialog box, click OK.
3. Reboot computer.
4. Create an appointment in Outlook with notes attached and see if it syncs with Outlook.
The applicable text from the source article is:
The library file ole2.dll, is required by windows and is used when performing OLE (Object Linking and Embedding) operations . OLE allows objects created in one application to be embedded in documents/objects created by a different applications e.g. embedding an Excel spreadsheet inside a Word document. OLE is used fairly extensively in windows applications, so if possible you should not remove this file.
If this file is not registered well, it causes a variety of problems with synchronisation. Appointments and tasks with additional notes do not sync, contacts with additional notes or a picture ID do not sync and other programs like SmartphoneNotes can not sync. I found out that a MS security update in december or the beginning of this year also involved an issue with ole32.dll. Because of this something might have gone wrong with the registration of this file in Windows causing all sorts of problems relating to ActiveSync. (Re)registering this file can solve those problems as it did on my system. Since it´s a Windows file that has to be registered anyway, it can´t harm doing it again hoping it solves the problems experienced.
I love you man
I'm having this exact problem (WM6, courtesy of mfrazz, on Wizard) but the above solution didn't solve my problem. Is there a more recent fix I should try?
I love you too.
New stuff now fine, but I have to add a character to all old calendar notes on WM5 to get them to show up in Outlook.
Also glad you posted here because the original article link doesn't work....
You are god man, thanks a lot. Just bought the new Samsung i780 and experiencing this sync issue right out of the box after a pretty flawless experience with a Palm Treo 650 for almost four years was really frustrating. Thanks again.
Thanks a Lot!!.......Great Post....
Just a quick note to say well done to GQ. I have spent almost 7 hours troubleshooting this issue (1 way sync from PC to PocketPc but the other way is fine). Weirdly enough syncing with a spare Smartphone was totally unaffected.
I did everything, Removed\reinstalled AS, Created dedicated inbound\outbound rules for AS in Macaffe, Uninstalled AV, Deleted Partnerships on Device & PC, Decreased mailbox size, Created New PST, Downgraded from Office 2007 back to 2003, multiple Hard Resets....... to name but a few!!!....Tried lots of other stuff, manually searching through Registry for WindowsCE related stuff.
Re registered the DLL, Rebooted tested......Superb!.....Works again!
Top Posting gq......Great solution.
Shinteetah said:
I'm having this exact problem (WM6, courtesy of mfrazz, on Wizard) but the above solution didn't solve my problem. Is there a more recent fix I should try?
Click to expand...
Click to collapse
I too am having this problem with my Samsung Omnia WM6, and Win XP ActiveSync... I have 22 contacts with pictures that will not load from phone to PC... "The following contacts failed to synchronize from the device" Support Code: 1
Anyone else have a solution to this??? This one is killing me as I want to be able to actively manage contact pictures on my PC and phone, and use OutSync (for facebook pics to outlook contacts).
Hi Chadwicky:
Same problem here with my Omnia and XP SP3 Activsync 4.5. It did resolve a recurring calendar event issue but the contacts with pictures just isn't syncing up :-(
I think you can do this by installing Sim manager software also. It is a .cab extension file.
i love you too man, same here and worked out fine! should have used the search abit earlier, 6, 7 hours or so ;-)
Tks a lot
Need to confirm this issue happen even in Window 7 with the new Window Mobile Data Center (WMDC) and Outlook 2003 (Still not test with Outlook 2007)
Solution is the same in http://forum.xda-developers.com/showpost.php?p=903516&postcount=3
Fixed it for me. Been struggling with this for a month, now my contacts and notes all sync properly. I signed up just to say thanks gq.

[HOWTO] Getting rid of gmail useless contacts

If you are like me, you like using contacts stored locally on the phone.
Also, you don't like your gmail contacts (contacts automatically added to your useless contacts list on your gmail account).
I have 120 contacts on my previous phone, and about 700 useless contacts on my gmail account.
When I started using android, it synced all the contacts and I ended up with 800+ making my life hell, and my phone slow.
So I found a way to get rid of all the damn stupid contacts, Goes like this :
Backup ALL your contacts for your phone to a vcf file
Copy that file to your PC
Open your gmail account, delete ALL the contacts you don't need - I just deleted ALL my contacts.
Open your phone, delete ALL the contacts.
Using the script below, and activestate TCL, clean your script. It will only leave contacts with phone numbers.
Copy the new vcf file to your phone, import, job done.
The script requires :
Copy the pasted code into a file, save it with .tcl extension.
Activestate tcl installed, OR, tclsh tclkit executable in your PATH.
Then, you put the script and your vcf source file renamed as in.vcf in the same folder
Run the script in CMD, "tclsh <scriptName>"
You get a new file named out.vcf
Code:
proc exportContact {} {
global contact fout counter
if {[string match *TEL* $contact]} {
puts $fout BEGIN:VCARD\n$contact\nEND:VCARD
incr counter
puts "Copied"
} else {
puts "Skipped"
}
set contact ""
}
puts "Welcome, Lets get rid of contacts without phone numbers!\n"
if {![file exist in.vcf]} {puts "Error - Cannot find file in.vcf,\nplease put it in the same folder as this script and try again.\n\nPress Enter to exit";gets stdin;exit}
set counter 0
set fout [open out.vcf w+]
set contact ""
set fin [open in.vcf r]
while {![eof $fin]} {
set line [gets $fin]
if {[string match "FN:*" $line]} {puts -nonewline "Inspecting $line...";flush stdout}
if {$line eq "BEGIN:VCARD"} {
continue
}
if {$line eq "END:VCARD"} {
exportContact
continue
}
append contact $line\n
}
close $fout
close $fin
puts "\nCopied $counter contacts with phone numbers to out.vcf,\nimport that file on your android phone.\n\nPress Enter to exit."
gets stdin
Is it so easy???
vCard format is ASCII
None ASCII chars are base64 encoded, so it's stull ASCII which makes this very easy to parse
The script can be written with ANY scripting / programming language it's very very easy, I just like TCL, and is my favorite for scripting.
There's a much easier and cleaner way to achieve what you want:
1. Go to settings/accounts and stop syncing contacts on your main Gmail account (the one you are using for email)
2. Create a second new account on Gmail and import your contacts.vcf
3. Back on your phone add this account and enable syncing contacts
4. Never use this new Gmail account for any email so your contacts list stays clean
Hope this helps
Sent from my GT-I9000 using XDA App
Thanks for the idea,
But still - I'd had to manually add my contacts to this account cause importing the vcf file would add all the junk i was trying to get rid of.
Or you can simply disable the listing of contacts that do not have a phone number associated with them..
Danzig666 said:
Or you can simply disable the listing of contacts that do not have a phone number associated with them..
Click to expand...
Click to collapse
That doesn't solve the speed problem, cause the contacts are still there.
That was the method i used before i found out it slowing down my phone.
Thanks for the guide, was easy to follow and saved me some grief!
All I did was removed all gmail contracts from gmail webbased and re-sync'ed contacts on my phone, phone is now clean
Thanks
invalid command name "tclsh"
Do I miss something? I am using x64 windows and 64bit tclkit.
Contact Display Options.
zhihao said:
invalid command name "tclsh"
Do I miss something? I am using x64 windows and 64bit tclkit.
Click to expand...
Click to collapse
Hi,
Use contacts display option( Click on physical menu buttion after opening contacts app) and customize your view. Just check the contacts folders you want to view.
Create a folder in Gmail contacts page and map all phone contacts to it.
No need to do delete and other stuff, you can manage their very easily.
Regards,
Praveen.
zhihao said:
invalid command name "tclsh"
Do I miss something? I am using x64 windows and 64bit tclkit.
Click to expand...
Click to collapse
Tclkit doesn't contains the executable tclsh, and so you are getting an error.
If you decided to use tclkit, you need to use "tclkit.exe <script-name>"
Praveen_1221 said:
Hi,
Use contacts display option( Click on physical menu buttion after opening contacts app) and customize your view. Just check the contacts folders you want to view.
Create a folder in Gmail contacts page and map all phone contacts to it.
No need to do delete and other stuff, you can manage their very easily.
Regards,
Praveen.
Click to expand...
Click to collapse
When I wrote this I was using Galaxy S,
The option for not showing contacts without numbers didn't help in regards of performance.
This is a great idea..much better than manually deleting 300 contacts from your phone...

[Q] Contacts not syncing correctly...?

I've noticed that my contacts aren't syncing correctly. If I go to Settings --> Accounts --> Google, I see that everything else synced, but Contacts shows "Last Synced 1/8/2013" (about a month ago) and the double-arrow icons is visible (but not spinning). If I deselect it and reselect it, it spins for a moment and then ends up in the same state. I don't get an error or an icon with an exclamation point.
All logcat has revealed to me is:
Code:
D/ContactsSyncAdapter( 1219): IOException: java.io.IOException: received unhandled http error: 500
Is there any way to get more info or to debug this further? Or a good recipe to fix it?
I'm on MoDaCo JOP40D Jr5.
Thanks
Edit: Further info - it appears that changes are going from phone --> Google OK (I can change the details of a contact on the phone and then see the change at contacts.google.com), but are not going the other direction.

[Q] Android crash when create new mail from intent

Hi All,
This issue occurs on the 2 9505I have running rt now.
This is what I get:
In gmail, I have a mail with a href tag in order to create new mail. When I click on it, in every other device I can run, or even on laptop, it correclty compose a new mail, but on the S4, it just crash the system.
Here is the logcat of the error: http://pastebin.com/BQJHCkg8
Have you already encounter such an issue (tested on 4.3 and 4.2.1) ?
I have done some more tests:
A mailto action (html code) inside a html page works correctly on both versions (direct call or event using some JS)
But as soon this mailto action is executed from gmail, android is stuck
Can someone check if same behavior ?
Just send yourself an email with some mailto html code :
<!DOCTYPE html>
Code:
<html>
<body>
<p>
This is an email link:
<a href="mailto:[email protected]?Subject=Hello%20again" target="_top">
Send Mail</a>
</p>
<p>
<b>Note:</b> Spaces between words should be replaced by %20 to ensure that the browser will display the text properly.
</p>
</body>
</html>

Setting up Sync for FBReader

No longer working as of May 30, 2020--for a fix, see: https://forum.xda-developers.com/nook-touch/general/nst-g-fbreader-personal-catalog-sync-t4110171
FBReader (even the version made specifically for the NST) is supposed to have the capability to sync reading positions, bookmarks, etc., across devices. This is done by giving the FBReader servers permission to write/modify files in a folder on your Google Drive. We may debate the wisdom of giving the app limited access to your Google Drive, or we may just call it "whatever" and plan to have a Google account just for this one thing (my idea) and hope for the best. In all the time FBReader has been around I've never heard of any shenanigans. Just sayin...
So, the issue is with trying to log in to a Google account from the browser. I'm using Opera Mobile and at one time I was able to sign in on the Google home page. I can still sign in and out, but only with the original account I used I've checked for "less secure sign-in methods", etc., but no amount of fiddling seems to make any difference. Google says the password is "incorrect" for every account but that one I started with long ago. The passwords are correct, of course, it's just Google being Google.
What to do?
Whilst fooling with this recently, it occurred to me to try a trick I've used before: install the app on my little rooted KitKat device, set up the sync account, then copy out any relevant database files and configuration files. These files I then copy to the NST, overwriting what is there.
It took a bit of cleaning up because the directory structure in KitKat is different from that on the NST and there are some complaints from the app when you first start, but you just need to slowly clean up all the directory references in Settings and then it starts to work
A summary
0. You need another rooted device on which the FBReader app (attached below) will install and run.
1. Install FBReader on both your NST/G and the second device.
2. Go to books.fbreader.org and set up your Network Library (you pick the Google account (Google Drive) to use).
3. On the non-NST device, open FBReader and access "Network Library". This will take you to the browser to sign in to whatever Google account you have chosen.
4. Exit FBReader.
5. With a root file explorer, navigate to /data/data/org.geometerplus.zlibrary.ui.android. There are three folders in the directory. Copy all the db files from "databases" and from "shared_prefs" copy fbreader.auth.xml
6. Move these files to the NST/G and copy them into the same directories, overwriting the ones present.
7. With WiFi on, open FBReader on the NST/G. You will be challenged with an error if the path for cached files cannot be resolved. Tap on the folder option and navigate to select /sdcard/Books/.FBReader. This gets you past the first hurdle.
8. Tap at the bottom of the opening screen and select "Network Library". If things have gone sort of right up to this point you will see your Google account email under "FBReader book network".
9. Go back to the beginning and tap at the bottom to select More...Settings. Clean up the directories information as needed. Set up Synchronization (you can work on other stuff later).
10. Access Network Library again and try tapping on "FBReader book network". If you put any books into your account back in step 2, you can download one.
That's it! Of course, sync is limited by the fact that you have to be connected to WiFi, at least at the beginning and end of reading (may take little bit of time...not sure).

Categories

Resources