Skip to main content

Posts

Stopping OurPact Jr from running via Asus AutoStart Manager

k, This app, i was trying out between my ipad (as parent) and my mom android as (junior). actually just wanna see how far an app parental control can do... but somehow at one stage when i forgot my "parent access" password on OurPact Jr and today my mom phone wifi is not connected to get the new password i reset, i got stuck with the OurPact Jr, that doesnt allow the junior client app to access settings. i cant event access wifi setting T_T., i cant access running apps. ive no choice but to find a way to stop the OurPact Jr process to stop. thank God Asus Zen phone has its own pre-installed application call Auto-start manager , that allows user to stop certain process that automatically start in background. by disabling OurPact Jr. from automatically running, restarted the phone, and now i able to access the android phone settings page! quickly uninstall it and you need to uncheck OurPact Jr in Settings>Security>Device Administrators enjoy peep...

Must Know about Unity (Based on Unity 5.1.2f1 version)

Unity sometimes doesn't update well the changes that we made. I ll make this a collective issue that i've encountered. Will update from time to time. Please comment if you have your own notes! Lets share to make our cognitive resources are not burnt out. 1. Every time that you are working in a different scene animator... always load the scene file and click on the character that you are attaching the animator. else, it doesn't automatically opens the animator relevant to scene...you might be confused if working on different animator(s) file in parallel. 2.State transition doesn't work properly....the workaround is always to create new state transition arrow and update required conditions. (same goes to other prefabs/text/ui objects)

Finding Ghost Process thats using File Resources in Windows

Happy new year! (2017) 2016 has been an hectic year for me, hopefully this year will find more time to blogging :D (lame excuses) today i just gonna write out a simple post. im having issue on building a git project code in windows machine as it throws Buidling tag current rm: cannot remove './build/taco/studio/taco/bin': Device or resource busy as i ve run the project build once, and the program build ran make use of a torrent deamon (deluge) running in the background process. not knowing the deamon is still running (i tried to close deluge client ui, but not the deamon it self,  the running build program), i found another way of searching who's using the resources build from resource monitor (googled :p) . i just go to 1.Start button 2.Search 'resmon' 3.Go to the CPU tab 4.In handles section i use a keyword of the git project name 5.Wala, now i can see which process are using the build resources. 6. Now i can right click and end the proc...

Debugging Unity in Visual Studio 2015

Hi guys, i wanted to share how can we debug unity in visual studio. it will be really great when we can debug our unity code in real time, the issue that i have with tutorial post on debugging in visual studio, is the pre-requirements are not so clear to me. so i decided to make a post on this blog so that the next person who wants to debug unity in visual studio able to do so in short time.... We need to install the Visual Studio 2015 Tools for Unity           https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9 We need to configure the tools in Unity  and open project in visual studio as below doc            https://msdn.microsoft.com/en-us/library/dn940025.aspx Add breakpoints in our code editor Finally after we already open in visual studio notice that we can run the unity player from vs2015... select attach to Unity and Play Make sure the unity is ins...

Tutorial on Min3D framework using Android Studio

Salam peeps, UPDATES***, the model on the old link is no longer working. so i have create a github repo, where i put the source code in a project, you guys can try to clone in and run on your android studio device emulator or directly on your phone, Ive replaced the model with a cube. https://github.com/aliaramli/Min3DTutorial Previously i ve posted tutorial on min3D using eclipse IDE, i believe most of us has moved to Android Studio IDE in developing android apps? As previous tutorial shows a lot of support from readers and among hot post in my blog, i ve decided to post the same tutorial but this time using Android Studio. For those who are familiar with Eclipse/Android Studio migration they might not have problem in running this tutorial . For more detail explanation on min3D please visit this website page Ok lets get started. Step One Create a new android project in android studio. you may name it as what you like, below are how i defined my project settings. ...

Unity : Failure [INSTALL_FAILED_CONTAINER_ERROR] on installing APK on Android Emulator.

Salam peeps. Problem : install build apk from unity in android emulator Causes : based on my googling, it can be varies. Not enough memory space in emulator, solve by removing out apps on the emulator or increase the emulator memory space. (NOT happened in my cause!) Declare in the AndroidManifest.xml  "android:installLocation" to auto instead internal (tried but not working) Remove file smdl2tmp1.asec, first navigate to your sdk platform-tools then type "adb shell", followed by "rm /mnt/secure/asec/smdl2tmp1.asec" (NOT happened in my case, i dont event have smdl2tmp1.asec) So after more googling, my PROBLEM was due to my player settings in UNITY when building the APK somehow has overridden my setting in the AndroidManifest file! so... thanks to this post :  http://answers.unity3d.com/questions/815011/unable-to-install-apk.html

C# Encrypt & Decrypt Serialized Object

Hi peeps! hoh! this is the thing that ive been trying to do for 2-3 days! encountered quite a number of problems! so guys this thing really forced me to google a lot on exception that thrown to me. I hope This tutorial really helps those who trying to accomplishing the same objective and encountered bugs along the way. Objective : To serialized object to a memory stream and encrypt the stream then only write the stream into a file. Question : Why is it important to Encrypt our data? isnt serialization is sufficient enough? Answer : As i posted in my serialization tutorial we can see the data that we serialized into a file is not secure enough. Sensitive data are still exposed. Left : Encrypted data Right: Non Encrypted data I hope you guys been patient to go tru step by step tutorial that i provided as this implementation if there are missing codes or steps. you wll encountered numerous exception later. so be patient and keep reading through. 1. Declare our global ...