How to use Android Ultimate Plugin For Unity3d

Hi Guys! Here’s the new way on how to use our Android Ultimate Plugin for Unity3d this changes will start on version 1.7.1 and if you are a previous user of this plugin please read the links and  information below before following the steps  , if you are a new user of this plugin you can follow the steps below directly.

New Structure version 1.7.1

http://www.gigadrillgames.com/2017/01/29/android-ultimate-plugin-major-changes-1-7-1/

How to Merged  Android Ultimate Plugin and Google play Services and use them  both at the same time

http://www.gigadrillgames.com/2017/01/31/merging-android-ultimate-plugin-1-7-1-on-google-play-services/

well after reading the above links at least you know now on why we need to do this changes and now you can follow this new steps

Step by step on how to setup the Android Ultimate Plugin for unity3d

1. Download the plugin from unity3d asset store 
https://www.assetstore.unity3d.com/en/#!/search/page=1/sortby=popularity/query=publisher:13227

2. Check and import all the files from plugin

3. Download the google play services libraries and support .aar files from this link 
https://drive.google.com/file/d/0Bw14w3QBZaGxek5haDNNeVNTRGc/view

4. uncompress the google play services libraries and support .aar files and put it inside “Assets/Plugins/Android

5. Inside Unity3d go to File Menu, Build Settings and then select player settings and look for other settings
and change the bundle indentifier to your game or app bundle identifier for ex. com.mycoolstudio.awesomegame

6. On Build Settings switch platform to android platform

7. Inside Unity3d in your Project hierarchy go to “Assets/AndroidUltimatePlugin/Scenes” and open the Demo scene

8. Inside Unity3d go to File Menu, Build Settings and then make sure that you added Demo Scene

9. Inside Unity3d go to File Menu, Build Settings and then select Build and Run

10. wait for the build and then check the application if everything is working fine and that’s it.

So Basically it’s just import and then use it unless you want to add more Android permissions or you want to remove Android permissions to do that please read the next topic below.

 

Android Manifest Permissions

To change or remove permissions please check the Android Manifest file inside Assets/Plugins/Android/aup/AndroidManifest.xml

this is some permissions that you will need but they are all inside by default

Internet

<uses-permission android:name=”android.permission.INTERNET” />

Reading And Writing files

<uses-permission android:name=”android.permission.READ_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.READ_INTERNAL_STORAGE” />

For Accessing the Network State this one is also used by GPS

<uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE” />

Flashlight

<uses-permission android:name=”android.permission.FLASHLIGHT”/>
<uses-permission android:name=”android.permission.CAMERA”/>
<uses-feature android:name=”android.hardware.camera”/>
<uses-feature android:name=”android.hardware.camera.autofocus” />
<uses-feature android:name=”android.hardware.camera.flash” />

Camera

<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.CAMERA” />
<uses-feature android:name=”android.hardware.camera” />
<uses-feature android:name=”android.hardware.camera.autofocus” />
<uses-feature android:name=”android.hardware.camera.front” android:required=”false” />

Vibration

<uses-permission android:name=”android.permission.VIBRATE”/>

For Recording Audio

<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.RECORD_AUDIO” />

GPS

<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/>
<uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION”/>

Alarm Clock

<uses-permission android:name=”android.permission.WAKE_LOCK”/>
<uses-permission android:name=”android.permission.RECEIVE_BOOT_COMPLETED” />

Accessing Wifi State

<uses-permission android:name=”android.permission.CHANGE_WIFI_STATE” />
<uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” />

Accessing Device information

<uses-permission android:name=”android.permission.READ_PHONE_STATE” />

Getting Accounts on the Device

<uses-permission android:name=”android.permission.GET_ACCOUNTS”/>

Getting Contacts on the Device

<uses-permission android:name=”android.permission.READ_CONTACTS”/>
<uses-permission android:name=”android.permission.READ_PROFILE”/>

Accessing Settings

<uses-permission android:name=”android.permission.WRITE_SETTINGS” />
<uses-permission android:name=”android.permission.WRITE_SECURE_SETTINGS” />

Inside Application Tag you need to have this line

Custom Camera Activity

<activity android:label=”@string/app_name” android:name=”com.gigadrillgames.androidplugin.camera.CustomCameraActivity”></activity>

Local Notification

<receiver android:name=”com.gigadrillgames.androidplugin.notification.NotificationPublisher”/>
<receiver android:name=”com.gigadrillgames.androidplugin.notification.NotificationOnBootReceiver”>
<intent-filter>
<action android:name=”android.intent.action.BOOT_COMPLETED” />
</intent-filter>
</receiver>

<service android:name=”com.gigadrillgames.androidplugin.notification.NotificationService”
android:enabled=”true”
android:exported=”true”>

Alarm

<receiver android:name=”com.gigadrillgames.androidplugin.alarm.AlarmManagerBroadcastReceiver”/>
<service android:name=”com.gigadrillgames.androidplugin.alarm.AlarmService” android:enabled=”true” android:exported=”true”/>

Accessing Google play services

<meta-data android:name=”com.google.android.gms.version” android:value=”@integer/google_play_services_version” />

For Demo APK please go to this link

http://www.gigadrillgames.com/2017/02/04/android-ultimate-plugin-for-unity3d-demo-apk/

And That’s all, thanks for Purchasing Android Ultimate Plugin for Unity3d and more power to you! 🙂

For more questions or suggestions or comments please email us at gigadrillgames@gmail.com

Android Ultimate Plugin Major Changes 1.7.1 Part 1

Hi Guys! our Android Ultimate Plugin have Major Changes 1.7.1 that’s why I’m making this post today but don’t worry this changes only change the structure and the  way you used the plugin is still the same, so no need to worry 🙂

this is the new structure 1st level  Assets/Plugins/Android – in this directory you will see that we added a new folder called aup  where the android ultimate plugin files will move and we remove the old jars and library that we are using and we added a 5 new .aar files these libraries is our new dependencies so please remember them.

you can download these new libraries on this link because Unity3d  asset store for sure will not allow this libraries to be included on the plugin  https://drive.google.com/file/d/0Bw14w3QBZaGxek5haDNNeVNTRGc/view?usp=sharing

2nd level Assets/Plugins/Android/aup – inside this you will see the Android Manifest, libs folder, project.properties file, res folder and SampleAndroidManifest as you can see this is the same things that you see before the only difference is the AUP.jar now is inside the libs folder and we add the project.properties files to tell Unity3d that this directory is an Android Library.

Note: on res folder there’s a values folder inside and  we remove that reason it’s one of the reason why other plugin is not working when combine with Android Ultimate Plugin because it resets the API id to the old one .

Inside the libs folder you will the AUP.jar which is the jar of Android Ultimate Plugin

Note: please read and remember this new .aar libraries

Because of this changes we need to delete the followings files:

  1. google-play-services_lib
  2. android-support-v4.jar
  3. android-support-v7-appcompat.jar

And we add these new 5 .aar files

  1. appcompat-v7-23.0.1.aar
  2. support-v4-23.0.1.aar
  3. play-services-games-9.2.1.aar
  4. play-services-base-9.2.1.aar
  5. play-services-basement-9.2.1.aar

these .aar files can be found inside your Android SDK  the directory is “YOUR ANDROID SDK ROOT FOLDER”/extras/google/m2repository/com/google/android/gms inside these directory there’s a bunch of libraries see below image for reference. just check each one of them and take note the version is important it should be the same to avoid conflicts or any problem when building your project.

these are the libraries inside that directory and it’s a lot just used get what we need that’s why google make it that way because before everything is in one library (google-play-services_lib) and it’s too many if you just used few of them on your project its just a waste of storage and resources

Next the Support .aar files which is  appcompat-v7-23.0.1.aar and support-v4-23.0.1.aar , you can find it on this directory “YOUR_ANDROID_SDK_ROOT_FOLDER”/extras/android/m2repository/com/android/support inside this folder you will also see a lot of support libraries too, see the image below

during this post my next test is too try to used the google play services plugin from this link https://github.com/playgameservices/play-games-plugin-for-unity i know that most of you is using the same plugin for accessing the google play services, i will update this post or post a new one after my test if our plugin will play nice with it or will have a conflict or not

So that’s it for now , i hope this little information will make everything clear to you guys!

Combining Android Ultimate Plugin and Google Play Services continuation part 2 http://www.gigadrillgames.com/2017/01/31/merging-android-ultimate-plugin-1-7-1-on-google-play-services/

for more questions or suggestions or comments just email us at gigadrillgames@gmail.com

Thanks for visiting and reading Till next time! 🙂

Android Ultimate Plugin Known Issues

Known Issues

Note:This issues is out of our control. because this is mobile hardware and brand specific issues.

1. On Account Info the Account name, phone number and email don’t always show because this is depends on the manufacturer of your
Android device some of them hide it or some of them really don’t put it to avoid other application to get this sensitive information.

2. On Contact Info most of the time it shows but like the above case some Android Device Manufacturer is hiding this or not allowing
other applications to access because again this is a sensitive information.

3. On Account Info some times the email address is shown multiple times because this email address is came from different
source like gmail account, yahoo account and other account that store email address.

4. On Internet Demo some people experiencing some negative WiFi IP, we really don’t know why is this happening
but most of the time everything is working fine.

 

This Issues is to be Fix.

1. when alarm is fired and when application is running and then you quit the application,then you click notification of alarm it will not open the app it will just hang
if this happens you need to force quit the application, still finding solution for this.

2. we just added ability to use from camera but right now it only support when Android Device is in portrait because when orientation is Landscape the image rotation is upside down

3. CameraIntentDemo used the intent camera this feature is still working but there’s a problem on rotation.

 

I hope this information helps you Guys to think if you will buy or not Android Ultimate Plugin.

For Comments or Suggestions or Any Feedback just email us at gigadrillgames@gmail.com

 

Android Ultimate Plugin Change logs

Hi Guys, this information will show you what changes, what feature is added, what feature is remove and some other updates on Android Ultimate Plugin. this post will be updated every time we release a new build or version.

Version: 1.0
Date: 6/10/2015

Initial Features:
1. Local Notification
2. Screen Shot and Share Image
3. Share Text
4. Immersive mode
5. Voice Audio Recorder with modify pitch option
6. Google Search App Indexing
7. GPS
8. Get Android Package Id at run time
9. Get Android Version at run time.
10.Get Battery Life percentage
11.Flashlight
12.Nomal Vibration
13.Vibration with pattern
14.Native Loading UI
15.Native Rate my app popup
16.Native Alert Popup
17.Native Toast Message

Version: 1.1
Date: 6/28/2015

New Features:
1. Speech to Text
2. Text To Speech
3. GPS (Improved)
4. Get Battery Life Percentage (Improved)

Version: 1.2
Date: 7/10/2015

New Features:
1. Bluetooth communication + tictactoe example

Version: 1.3
Date: 7/12/2015

Changes:
Remove GameObject requirements for recieving events (via gameobject)
Replace by Callback for Recieving events (via code)

Features using this new callback events

1. Bluetooth
2. GPS
3. Battery
4. Speech Recognizer

you can now select specific features to use unlike before that everything is in one place.

Features that is standalone

1. Bluetooth
2. Battery
3. Audio recorder
4. Flashlight
5. Vibrator
6. GPS

Version: 1.3.1
Date: 7/16/2015

make other major features to be independent from main plugin, you can now used specific
features without adding other permission to manifest even if your not going to use them
but make sure to add permission which you really used for example vibrator don’t forget to
add vibrator permission.

1. VibratorPlugin
2. AudioRecorderPlugin
3. BluetoothPlugin
4. FlashlightPlugin
5. GPSPlugin

Version: 1.3.2
Date: 7/18/2015

added more independent Plugin

1. SpeechPlugin

Version: 1.3.3
Date: 7/25/2015

1. Set One Time Alarm
2. Set Repeating Alarm
3. Set Alarm with Interval

Version: 1.3.4
Date: 7/28/2015

1. Camera – Take Picture using camera and then share it on social applications

Version: 1.3.5
Date: 7/31/2015

1. Image Picker – get image from device and then share it on social applications
2. Get Existing Texture from unity3d and then share it on social applications

Version: 1.3.6
Date: 8/01/2015

1. Get Android ID
2. Get Telephony Device ID
3. Get Telephony Sim Serial Number

Version: 1.3.7
Date: 8/02/2015

1. Get Android advertising ID
2. Generate Unique ID

Version: 1.3.8
Date: 8/04/2015
1. Download Image from web then share it

Version: 1.3.9
Date: 8/10/2015

Added name space to utils which is AUP to avoid conflict with other c# script with name Utils

Version: 1.4.0
Date: 8/14/2015

Added Internet information details

1. Get Wifi IP
2. Get Wifi SSID
3. Get Wifi BSSID
4. Get Wifi Rssi
5. Get Wifi Speed in MBS
6. Get Wifi Signal Strength
7. Check if Wifi Connected
8. Check if Mobile Connected
9. Check if Wifi Connection is Fast
10. Check if Mobile Connection is Fast

Version: 1.4.1
Date: 8/15/2015

Improved Text to Speech added more features and events

1. Text To Speech Set Locale ex. US,UK,Japanese (20 selections)
2. Text To Speech Set Pitch
3. Text To Speech Set Speech Rate

note: this events only works on android API 21 (Lollipop 5.0)
4. Text To Speech added Events OnStartSpeech,OnDoneSpeech and OnError

Version: 1.4.2
Date: 8/19/2015

getting account info

1. Get Account Emails
2. Get Account Name

Version: 1.4.3
Date: 8/23/2015

getting Contact info

1. Get Contact Name
2. Get Contact Phone

Version 1.4.4
Date: 8/30/2015

Note: this changes are made for improvement and optimization

1. Remove AndroidUltimateController
2. added new Main Class SharePlugin
3. added new Main Class BatteryPlugin
4. added new Main Class LocalNotificationPlugin
5. added new Main Class TimePlugin
6. added new Main Class AppIndexingPlugin
7. you can now save Screen Shots on Picture folder or DCIM folder
8. Android Device Info can get Phone Number now,but some times empty
9. Account Info can get Phone Number now,but some times empty

Version 1.4.5
Date: 9/01/2015

added new features on text to speech

1. get Available locale on device
2. set locale available on device

Version 1.4.6
Date: 9/03/2015

1. fixed bug on flash light it will not check if flash light features is available on other android device
2. added new image picker intent to be able to pick images from different app

Version 1.4.7
Date: 9/15/2015

1. improvement for getting contact number on device (note: known issue some android device wont give this information it depends on device manufacturer)
2. allow local notification to fire even the application is currently running
3. remove google play services library (license issue) you need to download it form google developer website
and added How To use Text file, this file will tell you on how to setup and use this plugin.

Version 1.4.8
Date: 09/25/2015

1. added custom camera you can now take photo repeatedly and acquire set of paths for you to access them.

Version 1.4.9
Date: 10/04/2015

1. added speed, altitude and bearing information on GPS (note: this information is depends on your device this is not always available)
when you received 0 and it never changed value meaning this information is not available on your device

version 1.5.0
Date: 10/31/2015

note: camera is restarting since android os is updated to lollipop but dont worry there’s new camera which can take multiple picture

1. added cancel local notification

version 1.5.1
Date: 11/20/2015

1. added is speaking method for tts for checking if tts engine is speaking
2. added some fixed for tts when onprogrss and ondone speaking is not called
3. added check for tts data activity if available to prevent other android device to stop unexpectedly.

version 1.5.2
Date: 12/25/2015

1. added front camera access on custom camera but right now its for portrait only.
2. added method on UtilsPlugin for checking Always Finish Activity if 0 it is disable, if 1 is it enable

version 1.5.3
12/24/2015

Changes:
1. added google play services demo and controller for google play services plugin from popular open source google play sevices plugin for unity3d on github
https://github.com/playgameservices/play-games-plugin-for-unity
(note: all script related to this is commented out just add the google play game services if you to try it at your own risk because google play services
is always changing it might work or not work)

version 1.5.4
12/30/2015

Changes:
1. you can now schedule multiple local notifications
2. you can now cancel specific shedule local notification
3. created seperate Demo canvas for presentation of updated local notification
4. remove local notification demo on Share and Experience Demo canvas

version 1.5.5

2/25/2016

changes:

1. local notification improvement now local notification has its own local sql database this is use to save and load notification
because when device is turn off all scheduled notification will be erase that’s how android os works that’s why we made this
improvement now you notification will stay scheduled as long as they are not fired or expired.

2. added runtime permission request for camera plugin this is the start of migrating of this plugin to Marshmallow and above version.
we do this because user can always revoke permissions, if you are is using camera and permission is revoke it will crashed starting
from API 23 Marshmallow Android OS. here’s some link for those information https://www.android.com/versions/marshmallow-6-0/

version 1.5.6

04/07/2016

1. added flashlight Permission for marshmallow
2. added gps Permission for marshmallow
3. added vibrator Permission for marshmallow
4. fixed extra locale for TTS you can now use some more locale language but it depends on device
5. added volume controll for TTS and Speech Recognition

version 1.5.7

04/30/2016

1. added marshmallow permission for reading Account info
2. added marshmallow permission for reading Contact info

version 1.5.8
06/07/2016

Changes:
1. Refactor Text to speech
2. Refactor Speech Recognition
3. Add Extra Language on Speech Recognition but its depends on mobile devices it may work or not work

version 1.5.9
07/04/2016

note: you code might changed just a little bit but it’s for the good 🙂

1. Added Specific Notification, you can now notification on specific time ex. 1:30:20 – hour:minute:sec
2. Notification shows now even your application is running.
3. Added Callback for Notification load Notification this will send you the list of request code(s) that you used to schedule the notification
you can now you this to cancel specific pending notification any time.
4. Added Callback for Alarm load Alarms this will send you the list of request code(s) that you used to schedule the alarm notification
you can now you this to cancel specific pending alarm notification any time.

version 1.6.0
07/12/2016

1. added TTS demo2
2. added Speech Recognizer demo2
3. Added Extra Speech Locale for Speech Recognizer you can now speak using your native language but
take note not every language is always available on device so if may work or not work. it depends on your
device always.
4. drop support for Unity3d 4.6.3 only supports the latest version

version 1.6.1
08/21/2016

1. added StatListening with extra settings on Speech Recogniser to modify waiting time to listen and wait but take note this new method is not advisable to use use at your own risk it’s base on the developer documents

2. added enable and disable sound on Alarm Clock
3. added enable and disable vibration on Alarm Clock

version 1.6.2
08/28/2016

1. added enable and disable beep on speech plugin
2. added enable and disable modal on speech plugin

note: on marshmallow tts will have some problem to see what’s going on read this
https://code.google.com/p/android/issues/detail?id=80696

version 1.6.3
09/05/2016

1. added Accuracy on GPS plugin Info
2. added Distance In Meters on GPS plugin info – this is the distance from last point to current point
3. remove Google Indexing because it cause lots of error and bugs usually to other user of the plugin
4. Update the How to use text file

version 1.6.4
09/12/2016

1. added Nmea Listener on GPS plugin to get timeStamp (long) and nmea (string)

version 1.6.5
09/16/2016

1. added offline mode on Speech Recognizer (Note: based on our test this works but it will use english only)
2. added Partial Results on Speech Recognizer (note: some times working and sometimes not working but this is expected behavior based on
Android Developer Documentation )

version 1.6.6
09/17/2016

1. Refractor GPS plugin for improvements
2. Added Start GPS (you can now stop and start gps any time)

version 1.6.7
10/15/2016

1. Added Dispatcher for almost all callback on the demo and examples
this dispatcher is very important because this callback needs to run on
MainThread of unity3d without doing this you might encounter some issues

2. Modify the Speech To Text Demo remove the Text to Speech inside to make it simple and
more easy to understand

3. Organize the plugin files

4. Note: i know some of you encounter some crashed or error on issues when running on
Samsung Android Phone starting Android OS MarshMallow the reason for this is the Samsung
TextToSpeechEngine have error and bug to fix this just follow this link

AUP TextToSpeech Issues 2016 – Samsung TextToSpeech Engine Bug!


To make it short use Googel TextToSpeechEngine don’t use Samsung TextToSpeechEngine

5. Note: Starting from Android Marshmallow to get Wifi Strength you need to add new permission which is
the Access Fine Location or Acces Coarse Location on Android Manifest without doing this you will never get
Wifi Strength. for more info follow this link

AUP Internet Plugin Internet to get Wifi Strength needs new permission starting from Marshmallow Android 6.0

version 1.6.8
12/07/2016

1. added Media Scanner plugin this one will help you refresh the photo gallery to show your new photo using custom camera and screen shots

version 1.6.9
12/08/2016

1. added SharedPref Plugin to save and load to android sharedpref

version 1.7.0
01/27/2017

1. fix the error when you run the plugin on the development build

version 1.7.1
01/29/2017

1. fix the error when you run the plugin on the development build for battery plugin
2. Major Changes on Android Plugin directory structure our plugin now is inside the Assets/Plugins/Android/aup
and inside it arrange

AndroidManifest
libs
project.properties
res
SampleAndroidManifest

Require aar library
appcompat-v7-23.4.0.aar
support-v4-23.4.0.aar
3. no need for the old google play services sdk in your project

for more information on these changes please visit this link

Android Ultimate Plugin Major Changes 1.7.1 Part 1

version 1.7.2
02/08/2017

add local notification new features

1. ScheduleEveryDay
2. ScheduleAfterDay
3. ScheduleShortTime
4. ScheduleLongTime

version 1.7.3
02/27/2017

1. added alarmAftterDay
2. Android ID MD5 3 types – normal,md5 type1, md5 type2
3. change android id to secure android id

version 1.7.4
04/30/2017

1. Added Image picker for getting 2 or more images at once
2. Change Structure the of Image Picker Main class
3. Added Image Picker Demo 2
4. Added Setting up Calling package for Speech Recognizer

version 1.7.5
05/10/2017

1. move the audio controller that is used by TTS and Speech Recognizer to utils plugin
2. fixed bug on Auto Max volume after using listen with no beep on Speech Recognizer
3. remove get contact info on demo reason suddenly it breaks because of the new updates on Androis OS
we still finding away to fix this but it seems it’s not allowed any more’

I hope this information helps you guys!

For comments or suggestions or any feed back just email us at gigadrillgames@gmail.com

Integration of Android Ultimate Plugin with Google Play Games plugin for Unity Guides and Steps

Hi Guys, I know you want to use google play services plugin while using Android Ultimate Plugin or Android Ultimate Plugin Lite  and here’s the Steps and Guides

if you are using this open source Google Play Games plugin for Unity you are lucky because we finally able to use it together with our plugin
https://github.com/playgameservices/play-games-plugin-for-unity

To make Android Ultimate Plugin or Android Ultimate Plugin Lite to work with Google Play Games Services Plugin you need to follow and do this steps

For Unity3d Version 4.6.3f1

1. Back up and delete the android-support-v4.jar file on Assets/Plugins/Android/ Directory because Google Play Games plugin for Unity has already have this jar file

2. import Google Play Games plugin for Unity from https://github.com/playgameservices/play-games-plugin-for-unity

3. follow the instructions on their github https://github.com/playgameservices/play-games-plugin-for-unity

4. follow their documentation on how to use their plugin

5. Build and run and you are good to go

For Unity3d Version 5 and above

1. Back up and delete the android-support-v4.jar file on “Assets/Plugins/Android/ ” Directory because Google Play Games plugin for Unity has already have this jar file

2. Back up  and delete the android-support-v7-appcompat.jar file on Assets/Plugins/Android/ Directory because Google Play Games plugin for Unity has already have this jar file

3. Back up and delete Android Ultimate Plugin.jar file or Delete Android Ultimate Plugin Lite.jar then download this jar https://drive.google.com/file/d/0Bw14w3QBZaGxQS1qYnJGYnFCeDg/view?usp=sharing and put it inside “Assets/Plugins/Android/” Directory

4. import Google Play Games plugin for Unity from https://github.com/playgameservices/play-games-plugin-for-unity

5. follow the instructions on their github https://github.com/playgameservices/play-games-plugin-for-unity

6. follow their documentation on how to use their plugin

7. Build and run and you are good to go

Notes: if you are not using Google Play Games plugin for Unity  anymore please make sure to put back  this jar files inside “Assets/Plugins/Android/ ” Directory because Android Ultimate Plugin needs that.

1.  android-support-v4.jar

2.  android-support-v7-appcompat.jar

3. if you are using Unity3d version 5 copy and paste the Android Ultimate Plugin.jar or Android Ultimate Plugin Lite.jar  file again

and that’s it , I hope this Guides and Steps helps you out if you are having problem using Google Play Games plugin for Unity with Android Ultimate Plugin or   Android Ultimate Plugin Lite.

if you have any comments or questions? just email us at gigadrillgames@gmail.com together with your invoice id that you received  when you bought the plugin from Unity3d Asset Store.

Thanks for visiting and reading!

Happy Coding!

Integration of Google Play Games on Android Ultimate Plugin issue?

Hi Everyone, it seems some dudes or guys or gals has a problem on Integrating Google Play Games Services on Android Ultimate Plugin but we already help him/her but still he’s/she’s spreading wrong information on the internet that Android Ultimate Plugin is conflicting with Google Play Games Services which can be found on this url https://github.com/playgameservices/play-games-plugin-for-unity

and this is the link of the guy who is spreading the wrong information on the internet, i think he/she is blaming Android Ultimate Plugin because he can’t integrate Google Play Games Services

https://github.com/playgameservices/play-games-plugin-for-unity/issues/852

So i get curious, so i tried to integrate Google Play Games Services on Android Ultimate Plugin and guess what? it’s working so yeah i got mad because we already help this dude or gal and maybe she’s/ he’s the one who place low ratings on our plugin on Unity3d Asset store which is bad from my point of view, that’s why i made this write up to clear things up and to make it short

Here’s the Android Ultimate Plugin with Google Play Games , the demo for Google Play Games is can be found at the last page of demo so just click or touch next until you reach the last demo and try it.

https://drive.google.com/file/d/0Bw14w3QBZaGxWF9mUjk1aVlGYUU/view?usp=sharing

I Hope this clear things up and stop this wrong information and hopefully he/she will change the low rating on Android Ultimate Plugin on Unity3d Asset Store https://www.assetstore.unity3d.com/en/#!/content/38872

And that’s all Guys, I hope you will continue to support us and please if you have any problems or issues just tell us and please don’t spread wrong information that may damage other people.

Thanks for visiting and reading!

If you have any comments or suggestions or what ever just email us at gigadrillgames@gmail.com

 

Android Ultimate Plugin Step by Step – how to setup and run the Demo Scene

Note: as of Jan 28, 2017 this is the new steps to know how to run the new version please follow this link

How to use Android Ultimate Plugin For Unity3d

Note: the steps below is outdated! no need to read the steps below!

I will show the steps using images because my tutorial using videos and text is not enough to other people, i hope this tutorial help them 🙂

Note: this tutorial Expect that you already downloaded the latest Android SDK from Android developer website https://developer.android.com/sdk/index.html

Note: google_play_services/libproject was remove from Android SDK, so if you need one just email us together with your invoice id and we are sorry for the inconvenience because we really can’t control those changes.

or if you just need the google play services lib you can get it from this link

https://drive.google.com/file/d/0Bw14w3QBZaGxUFpheWhCQ1lfUjQ/view?usp=sharing

and please don’t just put this files on your Assets/Plugins/Android you need to extract it because it is compressed when you download it, so please do extract it and then place it on  Assets/Plugins/Android

and i think you are ready just follow this steps and Good luck and if the plugin didn’t work after you follow this steps please email us and don’t ask on reviews and rating on Unity3d Asset Store because it’s not helping us, it will just make things more complicated and please read your emails when we reply and we will solve your problems or issues don’t worry and then if all fails you can always have your refund as long as you just purchase the plugin and it’s not yet end of the month because that’s the cut off of refunding on Unity3d Asset Store.

Step 1

step_1_import_package

Step 2

step_2_import_package

Step 3

step_3_import_package

Step 4

step_4_after_import_package

Step 5

step_5_setting_up_package

Step 6

step_6_setting_up_package

Step 7

step_7_setting_up_package

Step 8

step_8_setting_up_package

Step 9

step_9_setting_up_package

you can skip step 10 to 14 if you already downloaded google play services lib using above link.

Step 10

step_10_setting_up_package

Step 11

step_11_setting_up_package

Step 12

step_12_setting_up_package

Step 13

step_13_setting_up_package

Step 14

step_14_setting_up_package

Step 15

step_15_setting_up_package

Step 16

step_16_setting_up_package

Step 17

step_17_setting_up_package

Step 18

step_18_setting_up_package

Step 19

step_19_setting_up_package

Step 20

step_20_setting_up_package

And That’s it, i hope this help you guys build and run the Demo successfully

We Hope this helps you on getting started!

Thank you for reading and visiting.

 

Android Ultimate Plugin version 1.4.4 – Changes

Hi Guys,  just an announcement we made a lot of changes since version 1.4.4 and here’s the information about that.

Version 1.4.4
Date: 8/30/2015

Note: this changes are made for improvement and optimization

1. Remove AndroidUltimateController
2. added new Main Class SharePlugin
3. added new Main Class BatteryPlugin
4. added new Main Class LocalNotificationPlugin
5. added new Main Class TimePlugin
6. added new Main Class AppIndexingPlugin

 

If you will noticed this changes will just make a little bit of changes on how to used it. for example if before you are using AndroidUltimatePlugin Controller to access share method, just replace the androidUltimatePluginController with sharePlugin

Before

Now

 

And for LocalNotification Changes

 

For Battery Plugin Changes

 

For App Indexing

Start Indexing

Stop Indexing

 

New features
1. you can now save Screen Shots on Picture folder or DCIM folder
2. Android Device Info can get Phone Number now,but some times empty
3. Account Info can get Phone Number now

Note: getting phone number using Android Advance info and Account info  this phone number is sometimes empty , because it depends on your phone settings, or if there’s a stored information on your device.

 

And That’s almost everything since 1.4.4 , i hope you will never be surprised and always remember read tutorials and FAQ first, if you encounter some problems or bugs or error, it might help you along the way.

Tutorial list

http://www.gigadrillgames.com/tutorials/

FAQ

http://www.gigadrillgames.com/2015/07/29/faq-android-ultimate-plugin/

If you have more questions or comments or any feed back just email us at gigadrillgames@gmail.com

FAQ – Android Ultimate Plugin (Frequently Asked Questions)

Note:  we just  updated the Android Ultimate Plugin and we changed the structure of the plugin and because of this changes the way on how to set it up changed a bit for more information on this changes please follow and read this link

http://www.gigadrillgames.com/2017/02/04/how-to-use-android-ultimate-plugin-for-unity3d/

How to build and run the sample Demo?

Please read this tutorial

http://www.gigadrillgames.com/2015/07/13/android-ultimate-plugin-tutorials/

if you still can’t get it watch this video tutorial for building the demo project

 

Tip: If you encounter any bugs or error or the plugin is not working at all please follow the tutorials carefully, this is created to help you, please please read it.

Here’s link for Tutorials

http://www.gigadrillgames.com/2015/07/26/list-of-tutorials-for-android-ultimate-plugin/

 

Android Ultimate Plugin is not working give me back my money

As i said before, Before purchasing please try it on your device, you can test it by installing our Demo APK, found in this link

https://drive.google.com/file/d/0Bw14w3QBZaGxQUxwSzA1WUtkMGs/view?usp=sharing

 

Why my application crashed  or stops when i run it on my Android Device?

1. You don’t have an Android Manifest file

2. You place your Android Manifest file on the wrong directory it should be place on “Assets/Plugins/Android”

3.  If you have a Android Manifest File and its place on the correct directory please  check if the permissions needed by you application is there for more information about this you can visit this link and check if those permissions is present on your Android Manifest file

http://www.gigadrillgames.com/2015/08/04/android-ultimate-plugin-android-manifest-permission-101/

 

I have an Android Manifest File on “Assets/Plugins/Android” but still my application is crashing when i run on my Android Device why?

Possible Reasons

1. Your Android Manifest file is not latest

2. You Don’t have the required Android Permission on your Android Manifest File

3. Your Android Ultimate Plugin jar file is not latest

4. You don’t Properly imported the Android Ultimate Plugin, maybe you uncheck some files because you think you already have it.

 

How to update I just got the new updated Android Ultimate Plugin?

this is very easy to do, you just need to

1. Delete the AndroidUltimatePlugin Folder

2.  Import  the updated Android Ultimate Plugin

3.  Uncheck the “Assets/Plugins/Android/res” to avoid overwriting your files on that folder.

4. Import Everything

and that’s it your Android Ultimate Plugin is updated now.

 

What is the proper structure of Android Manifest File?

well if you wanted to know it, you can always visit this link below

http://developer.android.com/guide/topics/manifest/manifest-intro.html

 

 Is this Compatible with other  plugins?

Yes it should be compatible as long as your minSdkVersion is 9

 

Can i change the skin or graphics of your Android Native UI?

nope you can’t and sorry for that, but still you can use them even if you don’t change them like other big games on google play for example subway surfers (https://play.google.com/store/apps/details?id=com.kiloo.subwaysurf&hl=en) try to press back key when you are on their home screen and a native UI will show.

 

 Local Notification is not working, why?

please check if you have android-support-v4.jar on “Assets/Plugins/Android” if this jar is missing please Re import it by importing Android Ultimate Plugin from Asset Store.

 

Speech To Text is not working and i only gets error why?

Speech To Text will only works if you have an internet connection on your Android Device so make sure that your Android Device is connected to the internet. if you are connected to the internet and Text to Speech is not working please check if you have a Android Manifest file which must be place in “Assets/Plugins/Android’ directory

 

Text To Speech  start, done and error event  is not working why?

Note: Text To Speech Event only works when your android API is 15

 

What is the current supported Locale on Text To Speech Features?

Right now the current supported is this locales

US, UK, CANADA, CANADA_FRENCH, CHINA, CHINESE, ENGLISH, FRANCE, GERMAN, GERMANY, ITALIAN, ITALY, JAPAN, JAPANESE, KOREA, KOREAN, PRC, ROOT, SIMPLIFIED_CHINESE, TAIWAN, TRADITIONAL_CHINESE

But you can try to getAvailableLocale on your device and this is always depends on your device, for samples look for Text To Speech Demo code after importing the plugin.

 

Why “camera error ” can’t connect to camera is always showing?

Possible Reasons

1. You don’t release the camera when you run applications that is using a camera

2. Other Application is using the camera service

3. You don’t have a permission on your Android Manifest file to access camera

4. You don’t have an Android Manifest File

5. You place your Android Manifest File on the wrong directory

 

After Taking a Picture or photo my application restart or crashed?

most of the time this is a out of memory issue, make sure you have enough space on your android device when taking picture.

 

After Getting a Image using Image Picker my application restart or crashed? 

most of the time this is a out of memory issue, make sure you have enough space on your android device when Getting a Image.

 

I can’t get any phone number on Android Advance info and Account info why?

getting phone number using Android Advance info and Account info  this phone number is sometimes empty , because it depends on your phone settings, or if there’s a stored information on your device if yes this will show else just empty.

 

 

 When sharing my screen shot or image on Facebook why title and message is remove?

this is known issue Facebook application just strips strings for no reason at all , that’s why when sharing on Facebook application you need to put description again. you can try to share on different app for example gmail for you to see that’s this is  not a bug on our plugin.

 

I want to Share Screen shot or image on Facebook and i want them to direct user to a URL link when clicked, can your plugin do this?

No you can’t, I think you are talking about Facebook Sharing  Feature you need to have an Approved Facebook Application and you must used Facebook API to do this. for more information you can check the link below

https://developers.facebook.com/docs/unity

https://developers.facebook.com/docs/games/unity/unity-tutorial

https://developers.facebook.com/docs/unity/reference/current/FB.Feed

 

I want to make an Application on Facebook? can you help me?

this is off topic but you can follow this good tutorial Below

http://www.paladinstudios.com/2011/11/15/facebook-and-unity-tutorial-part-one/

http://www.paladinstudios.com/2011/11/24/facebook-and-unity-tutorial-part-two/

http://www.paladinstudios.com/2011/12/06/facebook-and-unity-tutorial-part-three/

 

I can’t build my application after adding your Android Ultimate Plugin and it’s your  plugins fault!

Please make sure that you haven’t overwrite your Android Manifest File with Android Ultimate Plugin  Android Manifest File

Please check the log error, maybe this is a Min SDK error? if yes you can always increase minimum SDK on your Android Manifest File to fix that.

Please check if your Android Manifest File is not Malformed

 

 I want to implement Google play Services like Leader board, achievement, quest and events, can your plugin do this?

Another off topic question, but here’s a link to guide you

https://github.com/playgameservices/play-games-plugin-for-unity

 

For more questions about Android Ultimate Plugin just email us at gigadrillgames@gmail.com