[Q] Installing Calendar/Contacts + google sync on Adayo AN6B01 Car Radio / Head Unit - Android Software/Hacking General [Developers Only]

Hi there,
I've got an Adayo AN6B01 head unit / car radio here that has Froyo running as OS but the contacts app is missing, this is by factory default.
Searching in /system/app, I at least found the ContactsProvider.apk. But no sync adapter and no contacts apk.
First, I installed the sync adapter from goo.im for Cyanogenmod 6 MDPI as usual by copying it to /system/app and changing the permissions to rw-r--r--.
Because I didn't find a Froyo contacts.apk, I've set up an Android build machine then and compiled Froyo myself, grabbed the compiled apk and installed it.
The installation was fine, the contacts app now opens, but there are no contacts. I tried adding a new account, but the only account type that I can add is Exchange, no google.
In the settings, under "Accounts&Sync", my google account is there but there are only entries for "Picasa Web Albums", "Google Reader" and "Google Music".
I have the same problem now with the calendar, there are no entries and the menu even doesn't open at all. I installed the calendar apk that I compiled and I now have a menu, but still no calendar entries. As the calendar was there by factory default, I assume that I've broke something, but I don't know what.
What is the problem here? Would be nice if someone could help me out here.
Regards,
Lyve

Same Unit
I have the same head unit. I am interested in getting the same things you are as well as unlocking the bluetooth for use with other devices.
I would also like to see a tablet jellybean rom for it, but I can wish in one hand and.... ya know.
I have not done any rom cooking, but am willing to start. I have been developing in vb.net so I'm not a total loss.
Interested in how far you have gotten if anywhere.

Related

[Q] Synchronize Check Boxes Missing - Google Accounts

Guys, at some point, not sure when, my check boxes to select sync options on Google accounts is missing. If I go to Menu>>Settings>>Accounts and select my Google account, the options for checking/unchecking Calendar, Contacts, etc. is missing. Any idea why they went missing? Phone is rooted using Z4Root and I do have gmail.apk renamed to gmail.bak. Not sure why this is happening. There could be a few other files renamed to remove bloatware.
Any ideas? I want to add another Google account and turn off sync for everything except Reader.
Android Version: 2.2
System Version: Version.2.4.330.A956.Verizon.en.US
Thanks.
Being that you renamed one of the main programs it would sync to, it prob thinks that it has nothing to sync. I would suggest reinstalling the Gmail app, as it is not in any way bloatware.
-Gilgamesh- said:
Being that you renamed one of the main programs it would sync to, it prob thinks that it has nothing to sync. I would suggest reinstalling the Gmail app, as it is not in any way bloatware.
Click to expand...
Click to collapse
Do you know if the Gmail.apk package is used to sync contacts and calendar as well? Thanks for your advice. I will try it soon and report back.
negative, renamed Gmail.bak back to Gmail.apk with no success.
Any ideas?
Naming it back does not actually reinstall it. I found that out the hard way when I very first rooted my phone. You'll actually have to go thru the market and redownload and install.
As for it actually syncing, it there are other packages there that handle the syncing, how directly or indirectly I am not sure though. However, it is very likely that they still interact with each other, which means you just suddenly stripping it of something it expects to be there is quite likely to cause an array of possible problems.

[Q] Change list of contacts

I originally imported Gmail contacts last November but now I have a cleaned-up Gmail list. It would be easier to completely delete the gTab file and reimport, but I can't find how to so... nor can I find a likely suspect data file on the tablet. Any suggestions? Thanks.
Tom
Not sure but maybe you just have to remove your Gmail account and create it again. Probably it will sync the new contact list
BR
Somehow it appears to me that the e-mail app is separate from the contacts app, and I haven't found anything clarifying what must be done to delete contact entries. There do not seem to be any controls to delete contact records one at a time or as a checklist ala File Expert. I was using the tablet mail app before I decided to experiment with the contacts list. I thought I might recognize a likely data but not yet.
On my phone it's under Settings -> Accounts & sync but I don't see any such option on my g tab. Maybe just not exposed in the older version of TNTLite I'm running. Worth a look...

[Q] Advice for switching from Windows Mobile to Android?

I am well aware that none of my apps will be portable unless somebody made an Android version that I can re-download, and that I obviously cannot carry over any of my settings either.... but does anyone have any suggestions on what would be the best way to port over contacts, documents (and convert them into whatever Android uses for it's equivalent of Office, if necessary) and other such data if one wants to make the switch from Windows Mobile to android? Either re-flashing their phone to run Android or just buying a new Android phone?
Embracing the Google account is the best thing. Adding everything to the 'cloud' gives you a permanent storage solution with the benefit of being able to sync it all to your device when you need it.
Contacts to Gmail Contacts
Pictures to Picasa
Documents and random files to Google Docs
Calender to Google Calender
..and so on.
What apps are you looking for Android versions of?
Sorry for taking a while to reply.
So then how would I go the Google route? Its a shame I will lose my call and IM logs but its not like I would expect such data to work between different operating systems.
Photos aren't an issue since I store those on MicroSDHC, I mostly cared about all my contact information and switching my MS Office Mobile formatted documents to whatever Android uses in it's place, even though those are on MicroSD too. The only real data I keep on the phone itself is installed apps and contacts.
And don't worry about my apps, at this point there really isn't any Windows Mobile app I care about anymore.
Just create a Google account and sign into that account on your Android phone. If you've added your contacts through the contacts section in Gmail they will automatically be synced to your phone.
Any settings, browser bookmarks etc, on your phone will sync and be backed up to your Google account.
The contacts were all added through my phone or though backups apps, none were added through Google, will it still back them all up?

[GUIDE]Sync local calendar with Google account[No root]

Hi guys!
Added many calendar entries and then realized that you have added it to the local calendar? Android syncs only the calendar which is connected with your Google Account. So if you want to transfer all entries from local calendar to the Google calendar, you have come to the right place
To achieve this, kindly follow these steps and you will be good to go:good: :-
1. Download this app on your phone - https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts
2. Open it and go to Calendars Backup--->Backup
3. Chose the file name and start the backup.
4. Then transfer the backup file to your pc. It will be in /sdcard/SmsContactsBackup/calendars
5. Open up the backup file on your pc. I'd highly recommend you to use Notepad++ for this. You will see multiple <Calendar entries at the top of the file. Look for the entry which has this attribute:- account_type="LOCAL"
Note down the _id attribute for this <Calendar entry.
6. Now look for <Calendar entry which has name="[email protected]" attribute and note down the _id attribute. Here xyz is your gmail username.
7. Now open Find & Replace and replace this -
Code:
calendar_id="1"
with
Code:
calendar_id="2"
Here, 1 is the _id for LOCAL <Calendar entry and 2 is the id for your Google Calendar (in my case). It could be different for you. So basically whichever calendar entry is set as local, will be converted to the google calendar's entry so that it can be synced
8. Now transfer the modified file back to /sdcard/SmsContactsBackup/calendars
9. Now open Superbackup--->Calendars and click on Delete all calendars.
10. Then restore the modified backup and re-sync your phone with the google calendar. All your local entries will now appear as google calendar entries and will get synced properly to your account.
Enjoy
Regards,
abcdjdj
I have been looking for something like this for several days now. I haven't tried it yet but I will soon and I can't wait. Thank you for sharing.
probbiethe1 said:
I have been looking for something like this for several days now. I haven't tried it yet but I will soon and I can't wait. Thank you for sharing.
Click to expand...
Click to collapse
Glad to hear that at least someone found it useful.
Sent from my Xperia S using Tapatalk
Yeah this is very useful. I know most people only use the Google Calendar and don't ever worry about this but for the people that don't know the difference and then try to switch devices this is good to know. Great find!
Great thanks, that's exactly what I was searching for !!
You saved me 2hours of re-entering many bithdays and garbage-colection-days
Entries disappear when syncing.
Hello. I tried this one for my dad's Xperia S. All went well up until I tried to sync it with his google account. After it finishes syncing, all the calendar entries just disappear. Help please?
Hello, I tried this method and everything looks like it is working, when I restore the modified backup it says it is updating 601 entries to the calendar, which is about right - but I am still not seeing them on the calendar.
Do most phones not have a method of exporting local calendars which can then be imported to Google Calendars or other calendars?
Easier way to do it:
https://play.google.com/store/apps/details?id=com.applisto.copyevents.pro
This allows to periodically move events from one calendar to another and, when using it for the first time allows to specify which time frame has to be considered (into the past and into the future).
Copy: events copied from 1 calendar to the other.
Mirror: tracking changes
Move: original event is removed, only left in target calendar.
It is powerful, be careful to read explanations and features.
Xavi
I was unable to get this guide to work at all. However, another suggestion here worked well. The basic idea is to export an existing calendar as an ICS file and then import it to Google (or wherever) using a desktop computer web browser. The free program referenced in that post worked for me. I was able to export a single calendar as an ICS without issue. However, I couldn't use the suggested program to import a calendar; I had to use the Google Calendar website instead.
you can migrate the events you've already entered on the Phone's calendar (to which you've been adding events with the Samsung Calendar App) into Google Calendar for free using a tool such as Calendar Sync Trial. Open the app and go to "Export" to create an ics (iCal) file containing the phone's calendar events, then import that file into a Google Calendar using a browser, or the same app. You can get Calendar Sync Trial from https://play.google.com/store/apps/details?id=com.icalparse.free
Click to expand...
Click to collapse
BTW, this question was also asked at a StackExchange site: https://android.stackexchange.com/questions/85089/sync-local-calendar-entries-with-google/231000

General Google voice to initiate calls on Joying JY-UN135N2

Here is the workaround for what looks like a bug in the Joying bluetooth dialer (JY-UL135N2). I was not being able to make calls from google apps using the bluetooth dialer included in the Dec 8 update.
I am using a paid app, called "Tablet Talk", which allows SMS integration and phone callings on a tablet using bluetooth connection to a phone. I was already using this for SMS messages and noticed the dialer could initiate calls, but did not show up as a choice from google apps.
Since it is a paid app, I didn't feel comfortable posting the apk file but here is what I did.
I did need to make changes to tablet talk to allow it to be selected as a dialer from google apps. I have attached the updated AndroidManifest.xml. I decompiled the apk, made the change, recompiled, signed and installed. The only change I made was on line 81 & 89, I added:
<action android:name="android.intent.action.CALL" />
This allows tablet talk to accept android.intent.action.CALL which it just passes it to the stock bluetooth dialer to make the call.
It then shows up as a choice to use in making calls from the google apps ( including voice calling ).
Great info! Gonna test this out! Will this be able to access contacts synced through the Google account? Seems the stock bluetooth dialer has no way of accessing that. I've seen that Contacts is listed as installed in the Apps menu in Settings, but it's hidden and not accessible. In addition, when trying to install Contacts from Play Store, it says the device isn't compatible..... Even tried to download the contacts apk, but still no dice. Won't install.
Is there something specific to get the apk loaded onto the unit? I used apktool to decompile tablet talk, changed the manifest.xml file and rebuilt the apk. It worked on my phone(S7) when I tried to install the modifed apk but the joying is giving me the unable to parse package error.
---------- Post added at 10:29 PM ---------- Previous post was at 09:39 PM ----------
eta1405 said:
Is there something specific to get the apk loaded onto the unit? I used apktool to decompile tablet talk, changed the manifest.xml file and rebuilt the apk. It worked on my phone(S7) when I tried to install the modifed apk but the joying is giving me the unable to parse package error.
Click to expand...
Click to collapse
Got it, I didn't sign the apk. Got it installed and tested. Google is making the the call using TabletTalk which gets routed to the Joying bluetooth app. Thanks!!!
Hilari0 said:
Great info! Gonna test this out! Will this be able to access contacts synced through the Google account? Seems the stock bluetooth dialer has no way of accessing that. I've seen that Contacts is listed as installed in the Apps menu in Settings, but it's hidden and not accessible. In addition, when trying to install Contacts from Play Store, it says the device isn't compatible..... Even tried to download the contacts apk, but still no dice. Won't install.
Click to expand...
Click to collapse
From what I can tell the stock bluetooth dialer has no knowledge of contacts. The dialer that comes with 'Tablet Talk' is able to access the contacts that are synced to the head unit. I was very surprised that tablet talk dialer worked with the stock bluetooth dialer. This is what gave me the idea of making it accept the CALL intent from google voice, and passing it to the stock dialer.
is this the app?
https://play.google.com/store/apps/details?id=com.apdroid.tabtalk&hl=en
and could that work with the Android Auto apk? allowing the phone section of Android Auto to work on the new Joyings?
gustden said:
I am using a paid app, called "Tablet Talk", which allows SMS integration and phone callings on a tablet using bluetooth connection to a phone. I was already using this for SMS messages and noticed the dialer could initiate calls, but did not show up as a choice from google apps.
Since it is a paid app, I didn't feel comfortable posting the apk file but here is what I did.
I did need to make changes to tablet talk to allow it to be selected as a dialer from google apps. I have attached the updated AndroidManifest.xml. I decompiled the apk, made the change, recompiled, signed and installed. The only change I made was on line 81 & 89, I added:
<action android:name="android.intent.action.CALL" />
This allows tablet talk to accept android.intent.action.CALL which it just passes it to the stock bluetooth dialer to make the call.
It then shows up as a choice to use in making calls from the google apps ( including voice calling ).
Click to expand...
Click to collapse
Have you asked the Tablet Talk dev to add the line to the official apk?
dcman008 said:
Have you asked the Tablet Talk dev to add the line to the official apk?
Click to expand...
Click to collapse
I sent an email asking them to add it. Have not got any response.
AndroidManifest.xml
Sorry for the newbie question but where would I copy AndroidManifest.xml to? or how would I install it?
Thanks
sabgam
I can't get this to work, can you give a brief instruction how to use this app?
I have done the modification to manifest file, recompiled and signed the apk. Then I installed this app on my head unit and tried to enable it (using Tablet Talk - Phone), it asked me to turn on bluetooth, although BT was ON and my phone was paired. No success on turning bluetooth on through app. Then I considered it should be installed on my phone and not head unit, but it didn't give me a success either. How should I use it to make calls through Google Now voice on my head unit?
I've tried to get this to work multiple times and I can't, I've purchased the app and have had it for years, IDK if it's against the rules since I already purchased it but would it possible if someone could pm me the patched version of the app?
barnesk9 said:
I've tried to get this to work multiple times and I can't, I've purchased the app and have had it for years, IDK if it's against the rules since I already purchased it but would it possible if someone could pm me the patched version of the app?
Click to expand...
Click to collapse
I'm in the same boat. I purchased the app years ago for my AN 21u. Can someone share a patched version?
I have voice initiated calling with Tasker + AutoVoice + AutoContacts. Let me know if anyone wants to know how to set this up!
AssassinsLament said:
I have voice initiated calling with Tasker + AutoVoice + AutoContacts. Let me know if anyone wants to know how to set this up!
Click to expand...
Click to collapse
What a question!
This needs supersu root?
KamaL said:
What a question!
This needs supersu root?
Click to expand...
Click to collapse
Nope! No root needed.
AssassinsLament said:
Nope! No root needed.
Click to expand...
Click to collapse
Do tell!
Voice Calling a Contact (Tasker/AutoVoice/AutoContacts)
1) Create a profile in Tasker:
Code:
New Profile->State->Plugin->AutoVoice->Recognized->Configuration
-Pick "The Hard Way"
-Check Mark "Event Behaviour"
-Command Filter: "call (?<contact>.+)"
-Check Mark "Use Regex"
Save!
2) Link to a new task:
Code:
-New Task (and name it)
-Add Two Actions:
1) Plugin->AutoContacts->AutoContacts->Configuration
-Contact Name or Nickname: "%contact"
2) Phone->Call
-Number: "%acnumber"
Save!
That should be it! Of course remember you have to be connected to your phone with bluetooth and have your contacts downloaded to the bluetooth app. This is just the basics, you guys can add more bells and whistles like confirmation, or list of contacts to choose from, etc.
Voice Dialing a Number (Tasker/AutoVoice)
1) Create a profile in Tasker:
Code:
New Profile->State->Plugin->AutoVoice->Recognized->Configuration
-Pick "The Hard Way"
-Check Mark "Event Behaviour"
-Command Filter: "dial (?<number>.+)"
-Check Mark "Use Regex"
-Advanced->Replacements: "-="
Save!
2) Link to a new task:
Code:
-New Task (and name it)
-Add One Action:
1) Phone->Call
-Number: "%number"
Save!
Again, very basic. Dials a number you dictate to it. The Replacements is needed because when dictating a number to AutoVoice, it adds "-"s (i.e. 123-456-7890), and the bluetooth dialer can't deal with those, so we're replacing - with nothing.
There is no error checking with these tasker profiles, that's up to you guys to add in if you want.
Enjoy!
The problem I have with this is that downloading contacts to the bluetooth dialer app doesn't really work. It only downloads SIM numbers, not the ones stored in the phone memory. Other than that, it removes the "+", so if you saved a country code it will not dial correctly. This is important to me, since I use country codes a lot (being a foreigner in this country).
Lastly, I'm having a bit of a headache with contacts in general. The head unit always wants to delete all my contacts on my Google account. Even if I reset everything and let it sync, for some reason, something on the head unit deletes all synced contacts, which then will attempt to sync and delete all contacts in the cloud... So for now, I've just abandoned this and I'm using the phone to dial, which then outputs to BT handsfree on the radio.
Hilari0 said:
The problem I have with this is that downloading contacts to the bluetooth dialer app doesn't really work. It only downloads SIM numbers, not the ones stored in the phone memory. Other than that, it removes the "+", so if you saved a country code it will not dial correctly. This is important to me, since I use country codes a lot (being a foreigner in this country).
Lastly, I'm having a bit of a headache with contacts in general. The head unit always wants to delete all my contacts on my Google account. Even if I reset everything and let it sync, for some reason, something on the head unit deletes all synced contacts, which then will attempt to sync and delete all contacts in the cloud... So for now, I've just abandoned this and I'm using the phone to dial, which then outputs to BT handsfree on the radio.
Click to expand...
Click to collapse
Hmm... the bluetooth dialer downloads my phone contacts which is all from my google account on the phone. I don't store any on my SIM at all. So it seems to be working fine for me. I only have around 36 contacts though, and I read somewhere on here that any beyond 40 contacts is bugged. Not sure about country codes, as I don't have many contacts out of the country. As for the attempt to delete contacts, I came across something like that but got rid of it by disabling google syncing in the accounts setting. I didn't want any of my contacts on the headunit anyways, and so I just turned off the google syncing.
Instead of voice dial, I'm more interested in putting a widget/shortcut on the main page for a few contacts for fast dial.
Is it possible to do that this way?

Categories

Resources