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! 🙂

AUP TextToSpeech Issues 2016 – Samsung TextToSpeech Engine Bug!

Hi Guys,

It’s been a while since i post something here but this one is very important because it will affect anyone who’s using Android Ultimate Plugin’s TextToSpeech Feature. so let’s get straight since Samsung Update it’s Android OS to Marshmallow and Nougat it didn’t fix the bug on Samsung TextToSpeech Engine so clearly any one who’s using TextToSpeech on Samsung device starting marshmallow will experienced crashed or error or sudden shutdown because of this so the technique is to find the Samsung TextToSpeech Engine and force stop it and then clear it’s data and cache and then go back to Samsung TextToSpeech Settings and choose Google TextToSpeech Engine instead of Samsung TextToSpeech Engine and then done. you will never experienced the issue again for more info please follow and read this links

Take Note: sometimes just opening the TextToSpeech option you will experience sudden not responding error or shutdown.

http://feedback.xodo.com/knowledgebase/articles/866343-samsung-text-to-speech-engine-is-crashing-xodo-on

http://forums.androidcentral.com/samsung-galaxy-note-4/683276-sytem-crashes-when-trying-access-text-speech-options.html

http://forums.androidcentral.com/samsung-galaxy-s6/656934-device-updated-6-0-1-couple-issues-text-speech-garmin-app.html

 

And That’s all i hope this solved the issues and errors

 

Thanks for visiting and reading!

For  question  or any comments or suggestions 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.

 

List of Tutorials for Android Ultimate Plugin

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/

Hi everyone, we know that you wanted to see list of tutorials for Android Ultimate Plugin on one page only to make it easier for you to navigate back and forth and here it is.

Building and Testing Demo sample

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

Android Manifest File 101

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

Take Screen shot of your game then share it on Social Media Applications like Facebook,Twitter,Instagram and even gmail. you can also share url or text

/http://www.gigadrillgames.com/2015/07/14/android-ultimate-plugin-tutorialpart-2-sharing-image-and-text/http://www.gigadrillgames.com/2015/07

GPS

http://www.gigadrillgames.com/2015/07/15/android-ultimate-plugin-tutorial-part-3-gps/

Bluetooth  communication

http://www.gigadrillgames.com/2015/07/16/android-ultimate-plugin-tutorial-part-4-bluetooth/

Speech to text

http://www.gigadrillgames.com/2015/07/16/android-ultimate-plugin-tutorial-part-5-speech-to-text/

Text to speech

http://www.gigadrillgames.com/2015/07/17/android-ultimate-plugin-tutorial-part-6-text-to-speech/

Audio Recorder

http://www.gigadrillgames.com/2015/07/17/android-ultimate-plugin-tutorial-part-7-audio-recorder/

Immersive Full screen mode

http://www.gigadrillgames.com/2015/07/20/android-ultimate-plugin-tutorial-part-8-immersive-full-screen-mode/

Local Notification

http://www.gigadrillgames.com/2015/07/20/android-ultimate-plugin-part-9-local-notification/

App Indexing

http://www.gigadrillgames.com/2015/07/21/android-ultimate-plugin-tutorial-part-10-app-indexing/

Alarm Clock

http://www.gigadrillgames.com/2015/08/05/android-ultimate-plugin-tutorial-part-11-alarm-clock/

Camera and Share – take picture using Android Device Camera and then share it on Social Media Applications like Facebook,Twitter,Instagram and even gmail.

http://www.gigadrillgames.com/2015/08/05/android-ultimate-plugin-tutorial-part-12-camera-and-share/

Image Picker and Share – get image from your Android Device and then share it on Social Media Applications like Facebook,Twitter,Instagram and even gmail.

http://www.gigadrillgames.com/2015/08/05/android-ultimate-plugin-tutorial-part-13-image-picker-and-share/

Android Native UI

http://www.gigadrillgames.com/2015/08/10/android-ultimate-plugin-tutorial-part-14-android-native-ui/

Android Advance Info

http://www.gigadrillgames.com/2015/08/26/android-ultimate-plugin-part-15-android-advance-info/

For questions or suggestions or comments or feedback or errors or bugs or if you want to add specific features just email us at gigadrillgames@gmail.com or you can comment below 🙂