I would love to create a shortcut showing a listing of my email accounts and how many new emails I have in each one. The "Switch Accounts" screen is EXACTLY what I want to access, but when I try to create a shortcut to it using AnyCut or BetterCut, I can't find it anywhere.
My assumption is that if it shows up in the latest apps used by holding down the Home key, it can be accessed. If so, "Switch Accounts" shows up there.
Can anyone assist?
Thanks.
Sealos
What you have to do is watch your log output as you bring up the account screen, and take note of the intent being called. Use the custom function of bettercut to create the shortcut.
Noob question... how do you monitor the logs?
With ddms.bat from the sdk, this is what I get when I bring up gmail app after leaving it in "select accounts":
03-26 16:09:12.248: INFO/ActivityManager(652): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10500000 cmp=com.google.android.gm/.ConversationListActivityGmail bnds=[244,580][356,707] }
sealos said:
Noob question... how do you monitor the logs?
Click to expand...
Click to collapse
Need to have adb setup on your computer (lots of threads on that if you haven't already). Plug your phone into computer and run this command
abd logcat
That will spit debug logs directly to your screen. What I often do is
adb logcat > output.txt
that will spit all output to output.txt. Just hit control c when you want to stop logging then open the file with a text editor.
Bump, anything come from this? I'm seeing the need for this.
Anycut to Gmail Switch Account Screen
Hi,
I would also like a home screen shortcut to the Switch Accounts screen. I'm not familiar enough with Anycut syntax to make something of the output posted on this thread. Can someone assist? Action? Data? Type?
I would also like a shortcut directly to my contact Favorites, also not available without proper AnyCut syntax. Any help with this would also be appreciated!
Are either of these easily possible in BetterCut?
Thanks!
If you haven't looked into an app called Tasker, you should. Complete automation of your Android. If your android can do something, you can set up Tasker to do it for you whenever you want it done. For example, Tasker sends my wife an SMS message as I leave my daughter's school to let her know that I have her. Tasker also changes my WiFi/Bluetooth/GPS settings whenever I get home or leave home. Tasker also adjusts ringtone volumes based on time of day. There are thousands of useful functions to configure.
One thing I like is that it will create a notification when events happen. Tasker gives a few dozen icons that can be used in that notification, but I'd like to add some to the app. The developer says that the icons to be used are limited to those that are "packaged with the app". I want to add some to that package.
I have read a few articles about adb pulling the app, editing the contents in windows, then pushing it back to the phone. Sounds like that is what I need to do. However, I can't seem to find the app in Root Explorer. Tasker is not an app that can be moved to SD, so it is somewhere in /system/app, right?
Anyone here using Tasker that can point me in the right direction?
Is there a way or utility to autoclear notificatiions? I find the notifications useless without it.
-j
miatawnt2b said:
Is there a way or utility to autoclear notificatiions? I find the notifications useless without it.
-j
Click to expand...
Click to collapse
Do you mean the notifications for things such as when there are updates for apps in the Market, or when your Facebook or Twitter client alerts you to new messages? As far as I'm aware Android in general (not just Honeycomb) doesn't have a built-in system to 'auto-clear' notifications as such, it's up to the user to clear the notifications themselves. It makes sense since you might not necessarily have a chance to see the notification as soon as it comes in (e.g. perhaps you're driving at the time), so you would look at it later. Personally I wouldn't want my notifications to disappear on their own.
a "clear all" function would be great..
annoying to click each "X" at time.
same thing would be perfect for recent apps
have a way to close all, or each individual app. (maybe by adding and X on the app window or by doing a "long press"
Set the indivual apps to not notify you for things you don't care about?
Need this clear function definitely, and a way to get rid of the SD card icon. STAT!
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?