Add Google Account Trigger
Download Add Google Account Trigger for PC
Tools Latest version: 1.0 Updated: 2016-09-20
Verified safe to install
- Publisher: Hzj_jie
- View in Store: Google Play
Daily ratings on Google Play
Download Add Google Account Trigger apk for PC/Mac/Windows 7,8,10
Steps to download Android apps/games for phone
To download and install applications or games from our website to your smartphone:
1. Accept softwares installed from external sources (Settings -> Apps -> Unknown sources selected area)
2. Download the apk file of the application you need (for example: Add Google Account Trigger) and save to your phone
3. Open the downloaded apk file and install
** You do not need this app unless you are using a China phone, without ‘Add a Google Account’ function. Please kindly refer to the screenshots. **
** No root required. **
** Supports only Android 4.3, Jelly Bean MR2 or upper. **
** This app does not help you to install Google Apps, you will need to install it yourself, the simplest way is to use Open GApps update file with third-party recovery. You may find Open GApps @ https://www.google.com/search?q=open+gapps. **
** Technically said, this app only start an intent like,
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT).
setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(Settings.EXTRA_ACCOUNT_TYPES, new String[] <"com.google">);
So do not expect this app to do more than this. **
Some background,
Usually Google components are entirely removed from China phones, though you can install Open GApps, the alternative OS may have restriction, so you have no ‘Google Account’ choice when adding a new account.
When you are opening Google Play store, you can easily setup one account. But do not have any chance to setup the second account.
So this app solves this issue, it simply trigger Account Manager to add another Google account.
The first screenshot shows there is no ‘Google Account’ option in ‘Add an account’ menu.
The second screenshot shows with Google play, I have already added a Google account.
The third screenshot shows with this app, I have triggered the adding a new Google account function again.
Usually you can easily add a first Google account and download this app from Google play directly, but just in case anything unexpected, you can also download the APK directly from github @ https://github.com/Hzj-jie/android-add-google-account/blob/master/build/outputs/apk/android-add-google-account-release.apk?raw=true
Both Google play and github should have same APK.
You can also find the source code @ https://github.com/Hzj-jie/android-add-google-account
This app does not require any permission. And you do not need to keep it in the phone, install it when you need it, and delete it after it worked.
That’s also the reason I did not add an icon, considering this APK is only 5 kilo bytes, I do not want an icon to enlarge it.
** All the screenshots are coming from my phone. If you have copy-right to any of them, please kindly let me know. I will remove it. **
Add Google Account Trigger APK
** You do not need this app unless you are using a China phone, without ‘Add a Google Account’ function. Please kindly refer to the screenshots. **
** No root required. **
** Supports only Android 4.3, Jelly Bean MR2 or upper. **
** This app does not help you to install Google Apps, you will need to install it yourself, the simplest way is to use Open GApps update file with third-party recovery. You may find Open GApps @ https://www.google.com/search?q=open+gapps. **
** Technically said, this app only start an intent like,
Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT).
setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(Settings.EXTRA_ACCOUNT_TYPES, new String[] <"com.google">);
So do not expect this app to do more than this. **
Some background,
Usually Google components are entirely removed from China phones, though you can install Open GApps, the alternative OS may have restriction, so you have no ‘Google Account’ choice when adding a new account.
When you are opening Google Play store, you can easily setup one account. But do not have any chance to setup the second account.
So this app solves this issue, it simply trigger Account Manager to add another Google account.
The first screenshot shows there is no ‘Google Account’ option in ‘Add an account’ menu.
The second screenshot shows with Google play, I have already added a Google account.
The third screenshot shows with this app, I have triggered the adding a new Google account function again.
Usually you can easily add a first Google account and download this app from Google play directly, but just in case anything unexpected, you can also download the APK directly from github @ https://github.com/Hzj-jie/android-add-google-account/blob/master/build/outputs/apk/android-add-google-account-release.apk?raw=true
Both Google play and github should have same APK.
You can also find the source code @ https://github.com/Hzj-jie/android-add-google-account
This app does not require any permission. And you do not need to keep it in the phone, install it when you need it, and delete it after it worked.
That’s also the reason I did not add an icon, considering this APK is only 5 kilo bytes, I do not want an icon to enlarge it.
** All the screenshots are coming from my phone. If you have copy-right to any of them, please kindly let me know. I will remove it. **
Add Google Account Trigger 1.0
(Добавить триггер учетной записи Google)
Скачать
Тут вы можете скачать АПK-файл “Add Google Account” для Андроид бесплатно, апк файл версии – 1.0 для загрузки на ваш андроид просто нажмите эту кнопку. Это просто и безопасно. Мы предоставляем только оригинальные апк файлы. Если какой-либо из материалов на этом сайте нарушает ваши права, сообщите нам
** Это приложение вам не нужно, если вы не используете китайский телефон без функции «Добавить учетную запись Google». Пожалуйста, обратитесь к скриншотам. **
** Нет необходимости в корне. **
** Поддерживает только Android 4.3, Jelly Bean MR2 или верхний. **
** Это приложение не поможет вам установить Google Apps, вам нужно будет установить его самостоятельно, самый простой способ – использовать файл обновления Open GApps с сторонним восстановлением. Вы можете найти Open GApps @ https://www.google.com/search?q=open+gapps. **
** С технической точки зрения, это приложение только начинать намерение, как,
Intent intent = new Intent (Settings.ACTION_ADD_ACCOUNT).
setFlags (Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra (Settings.EXTRA_ACCOUNT_TYPES, новая строка [] <"com.google">);
Поэтому не ожидайте, что это приложение сделает больше, чем это. **
Некоторые предпосылки,
Обычно компоненты Google полностью удаляются из китайских телефонов, хотя вы можете установить Open GApps, альтернативная ОС может иметь ограничения, поэтому при добавлении новой учетной записи у вас нет выбора «Учетная запись Google».
Когда вы открываете магазин Google Play, вы можете легко настроить одну учетную запись. Но у вас нет возможности настроить вторую учетную запись.
Поэтому это приложение решает эту проблему, просто запускает Account Manager для добавления другой учетной записи Google.
На первом снимке экрана нет опции «Учетная запись Google» в меню «Добавить учетную запись».
Второй снимок экрана с игрой Google, я уже добавил аккаунт Google.
Третий снимок экрана с этим приложением, я снова вызвал добавление новой функции учетной записи Google.
Обычно вы можете легко добавить первую учетную запись Google и загрузить это приложение из Google прямо, но на случай, если что-нибудь неожиданное, вы также можете загрузить APK прямо из github @ https://github.com/Hzj-jie/android-add -google-счет / блобо / ведущая / построить / выходы / APK / Android-надстройка Google-аккаунт release.apk? сырец = истина
И Google play, и github должны иметь тот же APK.
Вы также можете найти исходный код @ https://github.com/Hzj-jie/android-add-google-account
Это приложение не требует никакого разрешения. И вам не нужно держать его в телефоне, устанавливать его, когда вам это нужно, и удалять его после его работы.
Это также причина, по которой я не добавил значок, учитывая, что этот APK составляет всего 5 килобайт, я не хочу, чтобы значок увеличивал его.
** Все снимки экрана поступают с моего телефона. Если у вас есть право на копирование на любой из них, пожалуйста, сообщите мне об этом. Я удалю его. **
Adding a Geolocation Trigger to the Salesforce Account Object
(For more resources related to this topic, see here.)
Obtaining the Google API key
First, you need to obtain an API key for the Google Geocoding API:
- Visit https://code.google.com/apis/console and sign in with your Google account (assuming you already have one).
- Click on the Create Project button.
- Enter My Salesforce Account Project for the Project name.
- Accept the default value for the Project ID.
- Click on Create.
- Click on APIs & auth from the left-hand navigation bar.
- Set the Geocoding API to ON.
Adding a Salesforce remote site
Now, we need to add a Salesforce remote site for the Google Maps API:
- Navigate to Setup | Security Controls | Remote Site Settings.
- Click on the New Remote Site button.
- Enter Google_Maps_API for the Remote Site Name.
- Enter https://maps.googleapis.com for the Remote Site URL.
- Ensure that the Active checkbox is checked.
- Click on Save.
- Your remote site detail should resemble the following screenshot:
Adding the Location custom field to Account
Next, we need to add a Location field to the Account object:
- Navigate to Setup | Customize | Accounts | Fields.
- Click on the New button in the Custom Fields & Relationships section.
- Select Geolocation for the Data Type. Click on Next.
- Enter Location for the Field Label. The Field Name should also default to Location.
- Select Decimal for the Latitude and Longitude Display Notation.
- Enter 7 for the Decimal Places. Click on Next.
- Click on Next to accept the defaults for Field-Level Security.
- Click on Save to add the field to all account related page layouts.
Adding the Apex Utility Class
Next, we need an Apex utility class to geocode an address using the Google Geocoding API:
- Navigate to Setup | Develop | Apex Classes.
- All of the Apex classes for your organization will be displayed. Click on Developer Console.
- Navigate to File | New | Apex Class.
- Enter AccountGeocodeAddress for the Class Name and click on OK.
- Enter the following code into the Apex Code Editor in your Developer Console window:
- The AccountGeocodeAddress method and public static variable geocodingCalled protect us from a potential error where a future method may be called from within a future method that is already executing. If this isn’t the case, we call the geocodeAddress method that is defined next. Enter the following code into the Apex Code Editor in your Developer Console window:
- Insert your Google API key in the following line of code:
- Navigate to File | Save.
Adding the Apex Trigger
Finally, we need to implement an Apex trigger class to geocode the Billing Address when an Account is added or updated
- Navigate to Setup | Develop | Apex Triggers.
- All of the Apex triggers for your organization will be displayed. Click on Developer Console.
- Navigate to File | New | Apex Trigger in the Developer Console.
- Enter geocodeAccountAddress in the Name field.
- Select Account in the Objects dropdown list and click on Submit.
- Enter the following code into the Apex Code Editor in your Developer Console window:
- Navigate to File |Save.
The after insert / after update account trigger itself is relatively simple. If the Location field is blank, or the Billing Address has been updated, a call is made to the AccountGeocodeAddress.DoAddressGeocode method to geocode the address against the Google Maps Geocoding API.
Summary
Congratulations, you have now completed the Geolocation trigger for your Salesforce Account Object. With this, we can calculate distances between two objects in Salesforce or search for accounts/contacts within a certain radius.
Resources for Article:
2 COMMENTS
I tried your tuto in my sandbox,
But I’ve some error. I thinks it’s because of return lines into your code. Like “//”
And I don’t have a name of geocodeAddress in point 6.
Could you send me the 3 classes by txt file?
How to Add Google Account on Android Device
After buying a new Android device, you might be excited and can’t wait to set it up. The language, ringtone, default browser, and other settings, and so on. There will pop up a new prompt asking you to set up your Google Account. Don’t ignore this pop-up, just sign up a Google account, it will help you a lot.
Why we need a Google Account?
By signing up a Google account, you will benefit from it later:
1. It is available to receive emails on your Android handset with your Google account signed in.
2. Easy to sync data like calendar and contacts to your Android phone.
If you didn’t sign up a Google account before, it’s never too late to add a Google account on your Android phone as an old saying goes: Better late than never. Come on, let’s see how to add a new Google account on your Android smartphone, take Samsung Galaxy for example.
Step 1 Go to “Settings” > “Account” > “Add Account“.
Step 2 If you have a Google account, select “Existing“. Or you need to choose “New” to sign up. Here we will choose “Existing” to sign in with the existing account.
Step 3 Sign in with your Google account and the password.
Step 4 Tap “OK” and agree to the Google Terms of Service.
That’s it. With just several simple taps, you can register or add your Google account on your Android phone/tablet. Fantastic, isn’t it? And after that, all the contacts, calendar, settings, and so on, that you’ve saved with your Google account. It helps a lot for those who purchase a new Android and get freak out of the tedious set up.
Related Articles
Ivy Bruce
Ivy Bruce is the Founder and Editorial Director at Recovery-Android Studio. You can also find her on Google+ and Twitter.

How to Transfer Videos from Computer to iPhone
User Guide of Phone to Phone Transfer Software
How to Recover Deleted File from Motorola Atrix
How to Transfer Music from Computer to Nexus
APK Details
Description from Developer
You are Downloading Add Google Account Trigger Latest APK 1.0. Last Updated: May 21, 2020.
Add Google Account Trigger developed by hzjjie is listed under category Tools 4.2/5 average rating on Google Play by 273 users).
Add Google Account Trigger’s main feature is Gatillo Añadir Google Función Cuenta de teléfono de China .
Add Google Account Trigger apk was fetched from play store which means it is unmodified and original.
** No necesita esta aplicación a menos que utilice un teléfono de China, sin la función de ‘Agregar una cuenta de Google’. Refiera por favor amablemente a las capturas de pantalla. **
** No se requiere de raíz. **
** Sólo admite Android 4.3, Jelly Bean MR2 o superior. **
** Esta aplicación no le ayuda a instalar Google Apps, que tendrá que instalarlo usted mismo, la forma más sencilla es utilizar archivo de actualización Abrir GAPPS con recuperación de terceros. Usted puede encontrar Abrir GAPPS @ https://www.google.com/search?q=open+gapps. **
** Técnicamente, dijo, esta aplicación sólo se inicia una intención similar,
Intención Intención = new Intent (Settings.ACTION_ADD_ACCOUNT).
setFlags (Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra (Settings.EXTRA_ACCOUNT_TYPES, new String [] <"com.google">);
Así que no espere que esta aplicación para hacer más que esto. **
Algunos antecedentes,
Por lo general, los componentes de Google se eliminan por completo de los teléfonos de China, aunque se puede instalar Abrir GAPPS, el sistema operativo alternativo puede tener restricciones, por lo que tiene la elección no “cuenta de Google ‘al añadir una nueva cuenta.
Cuando usted está abriendo tienda de Google Play, se puede configurar fácilmente una cuenta. Pero no tienen ninguna posibilidad de configurar la segunda cuenta.
Así que esta aplicación soluciona este problema, simplemente desencadenar Account Manager para agregar otra cuenta de Google.
La primera pantalla muestra que no hay opción ‘Cuenta de Google “en el menú” Añadir una cuenta “.
La segunda imagen muestra en el juego Google, ya he añadido una cuenta de Google.
La tercera pantalla muestra con esta aplicación, he disparado la adición de una nueva función de la cuenta de Google de nuevo.
Por lo general, usted puede agregar fácilmente una primera cuenta de Google y descargar esta aplicación desde Google Play directamente, pero sólo en caso de que algo inesperado, también puede descargar el APK directamente desde github @ https://github.com/Hzj-jie/android-add-google-account/blob/master/build/outputs/apk/android-add-google-account-release.apk?raw=true
Tanto el juego de Google y github deben tener el mismo APK.
También puede encontrar el código fuente @ https://github.com/Hzj-jie/android-add-google-account
Esta aplicación no requiere ningún permiso. Y no es necesario para mantenerlo en el teléfono, instalarlo cuando lo necesite, y eliminarlo después funcionó.
Esa es también la razón No añadí un icono, teniendo en cuenta esta APK está a sólo 5 kilo bytes, no quiero un icono para aumentarla.
** Todas las imágenes están viniendo de mi teléfono. Si usted tiene copia derecho a cualquiera de ellos, por favor amablemente saben. Voy a quitarla. **