How to add another Google Play Account? - 7" Kindle Fire HD Q&A, Help & Troubleshooting

Guys,
I’ve spent some time trying to figure it out, hopefully somebody finds it useful.
Adding 1st one is no brainer, obviously.
To add another one use Setting | Accounts | Add account on regular android.
I’m on rooted 8.4.3 with all gapps (AccountAndSyncSettings.apk is installed of course).
Use adb to get to the same screen:
adb shell am start -n com.android.providers.subscribedfeeds/com.android.settings.ManageAccountsSettings
You’ll see familiar Accounts & sync settings screen with Add account button at the bottom.
Alternatively, you can follow this thread

Related

[PROBLEM] Contacts Not Syncing Properly with Facebook

After doing quite a bit of searching, both on XDA and on Google, I have yet to come across a thread that adequately addresses and resolves the following issue:
Since upgrading to Android 2.1 for my HTC Hero from Sprint, My Facebook contacts have not synced properly with the people app. They do not show up under my contacts, and pictures/status do no sync. Even if I try to manually link the contact to Facebook, my friends list does not load up and instead just says, "No matches found."
I have tried removing my Facebook account and re-adding it to no avail. I have also checked my sync options under settings. One forum (for the HTC Desire) suggested opening the people app, and going to the online directories tab at the bottom (a little globe icon which it appears the Hero version of the people app does not have) where you can select Facebook manually and have it sync.
Hopefully some of the excellent devs here on XDA can help me get to the root of this problem.
So, any suggestions?
good luck on that answer, only found alyouis or what not is the only one i found to work and sync
govno64 said:
After doing quite a bit of searching, both on XDA and on Google, I have yet to come across a thread that adequately addresses and resolves the following issue:
Since upgrading to Android 2.1 for my HTC Hero from Sprint, My Facebook contacts have not synced properly with the people app. They do not show up under my contacts, and pictures/status do no sync. Even if I try to manually link the contact to Facebook, my friends list does not load up and instead just says, "No matches found."
I have tried removing my Facebook account and re-adding it to no avail. I have also checked my sync options under settings. One forum (for the HTC Desire) suggested opening the people app, and going to the online directories tab at the bottom (a little globe icon which it appears the Hero version of the people app does not have) where you can select Facebook manually and have it sync.
Hopefully some of the excellent devs here on XDA can help me get to the root of this problem.
So, any suggestions?
Click to expand...
Click to collapse
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
same issue, the one thing I find interesting. If I use a different facebook account it signs in and starts to download everything instantly. No com.htc.bg and bgp errors.
mine is weird, it will update some contacts but not all.. it usually gets up to the C's or M's then won't do any more
regaw_leinad said:
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
Click to expand...
Click to collapse
hey thanks, this seemed to work for me
i deleted my old facebook for htc sense account, restarted my phone, did the refresh thing (except i did it about ten times in a row), left it alone for about 20 minutes and everything was synced.
thanks again!
When I do the "Regaw Brute Method" I get a force close on com.htc.bgp. So apparently that service has something to do with it.
Think there's any way we can take the people app from the HTC Desire or different working Hero ROM and port it over?
EDIT: Also I noticed that at least my own profile picture is now synced. I'll try the brute method again.
Mod edit: not dev related, moved to q&a
Okay, I've done this with 4 diff roms and i'm batting 100%....
If you're using autokiller (or moded internal taskkiller) set it back to "normal".
reboot (just for good measure)
run logcat and sync.
look for "com.htc.bg(p) died". If you see it, you're screwed.
Every time i've had sync issues since going to 2.1, this has been the cause.
Hope this helped.
regaw_leinad said:
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
Click to expand...
Click to collapse
I'll be damned! How do you people figure these things out? You're like these super phone ninjas or something!
regaw_leinad said:
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
Click to expand...
Click to collapse
Regaw's method def works for syncing contacts. The only problem that I still have that I hope someone will figure out is my Facebook calendar syncing with the HTC calendar where even though in the calendar settings it shows the Facebook calendar checked off, none of my events show up in the Calendar app...
beyondinferno said:
Okay, I've done this with 4 diff roms and i'm batting 100%....
If you're using autokiller (or moded internal taskkiller) set it back to "normal".
reboot (just for good measure)
run logcat and sync.
look for "com.htc.bg(p) died". If you see it, you're screwed.
Every time i've had sync issues since going to 2.1, this has been the cause.
Hope this helped.
Click to expand...
Click to collapse
I get this error ever time I try to sync my facebook account. But only mine.
p.s. I just install the newly released stock sprint 2.1 update....still a no go, still get the com.htc.bg errors.
I found other HTC phones having the same issues. This is the HTC Desire fix.....to bad we don't have a globe/interenet icon in our people app.
Go to the PEOPLE(contact list) app. Go to the Online Directories (globe) tab. Hit Facebook. You will be asked to log in to your Facebook account. Once logged in, it will show all of you contacts on your Facebook account. Go back to the full list of your contacts on the phone and try and sync.
spigen said:
I found other HTC phones having the same issues. This is the HTC Desire fix.....to bad we don't have a globe/interenet icon in our people app.
Go to the PEOPLE(contact list) app. Go to the Online Directories (globe) tab. Hit Facebook. You will be asked to log in to your Facebook account. Once logged in, it will show all of you contacts on your Facebook account. Go back to the full list of your contacts on the phone and try and sync.
Click to expand...
Click to collapse
Yeah, I put that supposed fix in my first post, which is why I was wondering if any devs could help port their version of the people app to the Hero.
regaw_leinad said:
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
Click to expand...
Click to collapse
Confirmed: This works!
Well so far none of this has worked for me. I'm not to worried cause I'm switching roms today but i also might have this problem on the new ROM..so I'll keep trying!
regaw_leinad said:
I have developed a brute force method that has worked in all but one case.
Called the "Regaw Brute Force" method lol
1. Remove your current FB account.
2. Go to Settings > Accounts & sync > Add account.
3. Click on Facebook For HTC Sense.
4. Sign in
5. It will show the sync icon for a small amount of time.
6. Go to the homescreen and click on people
7. Slide over to updates and events (you will see none yet)
8. Do the "Regaw Brute" method: Click menu > refresh 5 times quickly (so menu > refresh, menu > refresh..... 5 times)
9. Let your Hero sit for up to 15 minutes on this screen, letting the screen turn off.
10. If after about 15-20 minutes, all of your pictures aren't synced, repeat steps 8 and 9 again.
11. Repeat step 10 if necessary
Click to expand...
Click to collapse
I am having a similar issue, but Regaw's fix does not work. I can get to step 3, but when I click on "Facebook" to add a new account, the phone cycles back to the "Account & Sync Settings" screen and I don't get any prompts to login to my facebook account. Oddly, I don't even remember getting the prompts to set up my facebook account when I first flashed this ROM. Here is my info:
-------------------------
Firmware Version: 2.1-update 1
Baseband Version: 2.42.01.04.27
Kernel Version: 2.6.29-GoDmOdE-Darchshizz-OC [email protected] #1
Mod Version: Darchstar-2.6.4
Build Number: EPE54B
-------------------------
Any ideas?
Edit: Here are some common things that I found throughout logcat that may or may not be helpful in resolving the issue; just thought I'd post them for whoever might be able to help me out
D/AccountSettings( 147): added authority com.android.contacts to accountType com.facebook.auth.login
V/AddAccount( 147): Attempting to add account of type com.facebook.auth.login
I/ActivityManager( 147): Starting activity: Intent { cmp=com.facebook.katana/.LoginActivity (has extras) }
Logcat repeats those three things consistently throughout the file.
there is something real buggy with the syncing and the size of the contacts.. see my other thread, my contacts got up to 30mb
i would love to just go back to the 1.5 people app, especially because you could pull fb info from the server without storing it locally...
does anyone have the proper stock apks from 1.5?
I keep getting Connection error
Hello I have attempted to do the following. I am on the internet, everything is fine except when I go to refresh I get a connection error. Any ideas? Thanks
I keep getting Connection error AGAIN
I have the HTC EVO

Google Cloud Print With Linux/Mac Printers

There is an Android app that uses the new Google Cloud Print beta. More info on that can be found here:
http://forum.xda-developers.com/showthread.php?t=950312&highlight=cloudprint
I have found that someone made a script to get this working on Linux and Mac hosted printers. I have it installed on my Ubuntu PC:
https://github.com/armooo/cloudprint
http://groups.google.com/a/chromium...hread/74a73ee7d34a72c9/cb420a777ef82719?pli=1
You can download the source tarball, or use GIT to download the source. To use GIT, you first need it installed. You also need python and python-cups installed
Code:
sudo apt-get install git-core python python-cups
Now pull the source code to your home folder:
Code:
git clone git://github.com/armoo.cloudprint.git
After it downloads, I had to change permissions on the folder:
Code:
chmod -R 777 ~/cloudprint
Now change directory to the cloudprint folder, and run the setup.py script:
Code:
cd ~/cloudprint
python setup.py build
Now install it:
Code:
sudo python setup.py install
This installed the script in this folder:
/usr/local/lib/python2.6/dist-packages/cloudprint/cloudprint.py
Run it and it should ask for your gmail address and password:
Code:
python /usr/local/lib/python2.6/dist-packages/cloudprint/cloudprint.py
It also added my default printer. I it worked by logging into my gmail account, and going to this page:
http://www.google.com/cloudprint/manage.html
There I see my printer in the list.
When I open the Cloud Print Android app, it does not find the printer.
Any one else want to try it?
OK, I uninstalled the Andoid app, then re-installed it. It then saw my printer and I was able to print a testpage!!
One thing. It seems to run in the terminal window of my Ubuntu PC. Maybe it can be run in the background.
This is good news!!!
Dang, it doesn't work with Google's two-factor authentication!
EDIT: It works by creating an application specific password for your Google account.
grokdesigns said:
Dang, it doesn't work with Google's two-factor authentication!
EDIT: It works by creating an application specific password for your Google account.
Click to expand...
Click to collapse
I'm not sure what you mean by "two-factor authentication". Mine works with my regular Google account username and password.
Edit: I think that you meant two-step verification.
http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056284
Google Cloud Print stopped working after I signed up for 2-step verification
If you're using 2-step verification, you need to enter an application-specific password instead of your Google Account password when enabling the Google Cloud Print connector within Google Chrome. You can generate the application-specific password on your Authorizing applications and sites page.
Click to expand...
Click to collapse
Cloud Print Now In Chrome For Linux
The Linux version of Chrome 11.0 now has the ability to use Cloud Print, so this script is no longer needed.
Cloud Print is disabled by default in the Linux version of Chrome 11.0. To enable it, first enter this into the address bar:
Code:
about:Flags
This will open a page showing many disabled features. Go to the "Cloud Print Proxy" entry, and click on the "Enable" link. Now shut down and restart the browser.
After restarting Chrome, open the control panel (the wrench in the upper right), and click on "Preferences". Click on the "Under The Hood" section, and scroll to the bottom of the page. Here you will now find the option to enable Cloud Print for printers on that computer.
You have to have the computer running, and be logged in, for it to work. So, this would be best used on a file server, or some other Linux computer that is on 24/7.
It works!
Sweet it works! Both the flags and the straight code!
Does the python script works just with the default printer on cups or show all printers at google cloud print?
arvati said:
Does the python script works just with the default printer on cups or show all printers at google cloud print?
Click to expand...
Click to collapse
I don't recall, as I now use the Chrome browser for cloud print. Using the script wasn't very handy, as you have to run it from a terminal window. If you close the terminal, it ceases to work. If you look at my first post, it says it works with the default printer.
Cups and Google Cloud Print Integration
People now have created an integration of cups with google cloud print, since chrome for ubuntu now has google cloud print. This integration is what was missing to have full access to google cloud print over ubuntu.
See article in english: http://www.niftiestsoftware.com/cups-cloud-print/
My article in portuguese: https://sites.google.com/site/ubuntu4us/artigos/configuracao-de-hardware/impresoes-e-impressoras/impressao-via-google-cloud-no-ubuntu
Thanks, but I'm not sure I see any use for something like this. I used cloud print to print TO my cups based printer. What really is needed is cups for Android.
Good Idea. Do you know any group working on it?
arvati said:
Good Idea. Do you know any group working on it?
Click to expand...
Click to collapse
Not that I know of. There is an old thread about this in Google Groups:
http://code.google.com/p/android/issues/detail?id=1148
One reply was this:
Aug 16, 2010
For your information, we are OESF Lab in Vietnam (www.oesf.biz) are working to port CUPS to Android.
After porting CUPS, some printing applications (print manager, print job) will be added.
This is a ready hard work. Any help or contributor into this project are welcome!
Click to expand...
Click to collapse
My search at the OESF web site brings up nothing.
You got me looking at this again, and I may have found something. Check out these links:
http://www.letsprogram.com/89503/printing-manager-on-android/
http://developer.oesf.biz/em/developer/

[Q] Auto vs. Manual sync (& root)

first time since getting the Moto X i am disappointed (2nd time if you count the mediocre performance of camera in low(er) light situations), looks like i cannot unlock the boot loader (AT&T non dev)). main reason i wanted it is to manually sync easily.
when i just got the device i was able to manually sync even with items selected in Settings > Accounts > Google.. now i can not get that to work as it did before, any ideas how i can set it up like that again?
thanks!
roeiboot said:
first time since getting the Moto X i am disappointed (2nd time if you count the mediocre performance of camera in low(er) light situations), looks like i cannot unlock the boot loader (AT&T non dev)). main reason i wanted it is to manually sync easily.
when i just got the device i was able to manually sync even with items selected in Settings > Accounts > Google.. now i can not get that to work as it did before, any ideas how i can set it up like that again?
thanks!
Click to expand...
Click to collapse
Bootloader unlocking doesn't have anything to do with syncing....at all. What are you wanting to sync? Make sure everything you want to sync is checked under the specific google account in Settings > Accounts > Google.
There is a possibility of unlocking the BL via the China Middleman (use search) but it will cost you money. No reason to spend money if all you want is to sync (something...?). Be more specific, and I can give better advice. I'm really not understanding...
samwathegreat said:
Bootloader unlocking doesn't have anything to do with syncing....at all. What are you wanting to sync? Make sure everything you want to sync is checked under the specific google account in Settings > Accounts > Google.
There is a possibility of unlocking the BL via the China Middleman (use search) but it will cost you money. No reason to spend money if all you want is to sync (something...?). Be more specific, and I can give better advice. I'm really not understanding...
Click to expand...
Click to collapse
thanks!
i realize they are 2 separate things, what i meant is if i could root and add items to the quick settings screen it would be a easy way to sync.
sorry i wasn't clear. when i first got the Moto X i checked items in Settings > Accounts > Google, yet it was *NOT* an automatic sync, i had to go in and manually sync, which is what i wanted --then i think i enabled photo backup and suddenly i was unable to have items checked without it syncing automatically, so i redid my phone hoping i could have it as i liked it (mainly 'cuz i think -although a novice- syncing uses a bunch of battery, coming from iOS and being used to 7-8hrs usage)
hope i explained it better... so i want items checked in Settings > Accounts > Google, yet on the main screen of Google, under accounts the sync account was gray, and not green.
roeiboot said:
thanks!
i realize they are 2 separate things, what i meant is if i could root and add items to the quick settings screen it would be a easy way to sync.
sorry i wasn't clear. when i first got the Moto X i checked items in Settings > Accounts > Google, yet it was *NOT* an automatic sync, i had to go in and manually sync, which is what i wanted --then i think i enabled photo backup and suddenly i was unable to have items checked without it syncing automatically, so i redid my phone hoping i could have it as i liked it (mainly 'cuz i think -although a novice- syncing uses a bunch of battery, coming from iOS and being used to 7-8hrs usage)
hope i explained it better... so i want items checked in Settings > Accounts > Google, yet on the main screen of Google, under accounts the sync account was gray, and not green.
Click to expand...
Click to collapse
OK, yeah AFAIK that's not normal. It sounds like maybe you have turned on google 2-step verification. Also (I know this sounds stupid) but if you haven't rebooted recently, give it a shot.
Additionally, there are some apps that may help you depending on what your goal is:
This app will allow you to automatically trigger SYNC upon certain events. Like you can auto-sync ONLY on WiFi, and turn it off immediately upon switching back to mobile network: https://play.google.com/store/apps/details?id=com.redwolf.autosync&hl=en
This app allows you to add a variety of widgets including a SYNC NOW widget: https://play.google.com/store/apps/details?id=com.afterhoursdevelopers.android.synker&hl=en
This is the best advice I have for you. No reason the sync should be greyed out unless there is some kind of authentication error OR you have 2-step verification enabled.
Good Luck :good:
samwathegreat said:
OK, yeah AFAIK that's not normal. It sounds like maybe you have turned on google 2-step verification. Also (I know this sounds stupid) but if you haven't rebooted recently, give it a shot.
Additionally, there are some apps that may help you depending on what your goal is:
This app will allow you to automatically trigger SYNC upon certain events. Like you can auto-sync ONLY on WiFi, and turn it off immediately upon switching back to mobile network: https://play.google.com/store/apps/details?id=com.redwolf.autosync&hl=en
This app allows you to add a variety of widgets including a SYNC NOW widget: https://play.google.com/store/apps/details?id=com.afterhoursdevelopers.android.synker&hl=en
This is the best advice I have for you. No reason the sync should be greyed out unless there is some kind of authentication error OR you have 2-step verification enabled.
Good Luck :good:
Click to expand...
Click to collapse
i appreciate it.. no 2 step, rebooted several times last night and this morning. trying AutoSync2.. so far flaky at best. i keep searching and/or trying to make it work, guaranteed failure if you say it should not be grayed out in "normal" condition. had a HTC One X which was unrootable and i seem to attract devices who are excluded ;}
thanks!
roeiboot said:
i appreciate it.. no 2 step, rebooted several times last night and this morning. trying AutoSync2.. so far flaky at best. i keep searching and/or trying to make it work, guaranteed failure if you say it should not be grayed out in "normal" condition. had a HTC One X which was unrootable and i seem to attract devices who are excluded ;}
thanks!
Click to expand...
Click to collapse
Not a single sync option is greyed out under settings > accounts > google on my moto x. All I can suggest now is backup and factory reset... Sorry.
samwathegreat said:
Not a single sync option is greyed out under settings > accounts > google on my moto x. All I can suggest now is backup and factory reset... Sorry.
Click to expand...
Click to collapse
no worries... did a factory reset last night, partially for this reason. you helped a lot so no need for sorry. you use Twitter and / or Facebook, one can be turned off sync wise Twitter, other can not. struck me as odd. both not important enough for me to get notifications.

Looking for a Dev to create my project

Hello,
I am looking for a Developer who can create an Android App/Service/Whatever for me to do the following task.
Since I have no expertise in Android Development I am very thankful for any help an will surely send some $ as compensation for the result.
TASK:
The App/Service/Whatever should be able to open up a webpage, perform a click on that page on a button (follow all redirections, parse and use javascript, use cookies) just act like a normal Browser, but completely invisible.
I dont want to see any Icon or UI Interaction. Maybe its possible to realize that only on Shell (Terminal) Level.
The Final Webpage's HTML-Code should be saved in a file on the FileSystem (/data/Whatever/page.html).
The App is only for me, my device is rooted and Running Android 4.4.1 .
I hope that someone can help me.

how to create task that will monitor system wide app installation...

so basically i want to monitor system wide app installation and uninstallation, including sideloading with dates? if possible to have it create a log and store it in a specific folder that is locked or can't be accessed or deleted without code. and to do a daily or weekly check to see if any changes were made.
also is there a task to block all installations including sideloading?
any help would be appreciated.
@ktmom
So tracking installed and uninstalled apps is straightforward.
I'm not aware of a way to lock the resulting file per se. Encrypt it, probably. But to prevent any other app from accessing it, I don't know how to do that. It could be uploaded to the cloud, e.g. Google drive. Then the local copy deleted. That's kinda fussy. Saving it as a variable array is doable, then Tasker can be locked.
If on every install / uninstall, the log is updated, why does there need to be a daily/weekly check?
I would have to test and see if the package manager can be "locked".
Is the device in question rooted?
This kinda sounds like something I might do to my kids phone [emoji6]. If this is actually the case, the file could be sent to your device or email on update. It wouldn't matter if the local copy was edited. You also could know immediately if an app had changed.
I asked in the other thread, do you have any familiarity with tasker?
@ktmom
device is non rooted,
file sent to email would be fine if that will get rid of daily/weekly checks. (<--- this was just something I wanted that maybe i'll just use in notepad++ to highlight the differences for a quick way of seeing changes.)
i have dabbled in tasker many years ago, only to enable/disable wifi and turn on vpn in geo fenced locations.
I haven't forgotten you. I should post a solution by the weekend. I'm just spending some time to make sure the kinks are out. You will need the MailTask plugin. I personally use a script in termux (requires cURL) to send via Google servers, but that is harder to setup, particularly with OATH. The plugin makes life much easier.
ktmom said:
I haven't forgotten you. I should post a solution by the weekend. I'm just spending some time to make sure the kinks are out. You will need the MailTask plugin. I personally use a script in termux (requires cURL) to send via Google servers, but that is harder to setup, particularly with OATH. The plugin makes life much easier.
Click to expand...
Click to collapse
ok great, thank you!
@BobMcGeez
Finally, I think I have this stable and able to handle multiple consecutive app installations and removals. I am working under the assumption that the use for this project is to monitor possible dangerous activity on a child’s device. I do not condone the use of this for monitoring a device without adult consent.
This project will send an email notification when a new app is installed or an existing app is removed. The email will include a CSV file with the remaining still installed apps. It should ignore apps that are being updated (they remove then install). The emails are sent silently and there should not be any indication to the user this is happening in the background. The CSV file is saved in the {storage}/Tasker/tasks/ directory. Each time an email is sent, the stored file is also updated. One instance of the previous file is saved as well.
First, you need MailTask installed. Please ensure that the MailTask plugin is fully configured and tested before installing this project. We are using OAuth Gmail authentication, so ignore SMTP stuffs.
Also, IMHO, I would use a GMail account maybe even created for this purpose, but at least one not setup to routinely access by the device user. This way, the user’s account will not reflect the sent messages.
To configure and test MailTask
Open MailTask from the app drawer on your device
Perform “Authorize Gmail Access” Use the account for the “from” you want to use in this project
Perform “Grant access to primary storage”
If your device has an SDcard, perform “Grant access to Sd card”
Now if you want, you can create a task in your Tasker installation to test the MailTask plugin
Create a test task
Add a MailTask action (Plugin -> MailTask -. send email)
Configuration:
From = Account used to Authorize Gmail Access above
To = Account where to send email
Subject = Testing MailTask
Body = Some text to take up space
Attachments = choose a basic file using the paperclip icon just for there to be an attachment
Test plugin by manually running the task.
If all is good, you can delete this test
Now install the project (taskernet link). On install, accept enabling the profiles. If you do, then the Installation task should run automatically. If you prefer not to, or if you need to re-run the installation, manually run the “Initial Setup” task.
This project may be shared under GNU v2. You may share, modify and use it provide you don't charge, the code is open and credit is provided.

Categories

Resources