Sunday, October 30, 2016

json_encode returns NULL

In this case you'll have to make sure your Strings are all encoded in utf8. This used to be not a problem for me in prior version of PHP before I upgraded to 5.6.
Sunday, March 27, 2016

First Espresso Test Setup

The minimal setup for Espresso to get up and running


This will be a very minimal demo of how to setup Espresso testing in your Android Project. First, create a new Android Project to demonstrates how barebones it is.



Add this to your app module build file (the one that is \app\build.gradle)



testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

testCompile 'junit:junit:4.12'

androidTestCompile 'com.android.support.test:runner:0.4.1'androidTestCompile 'com.android.support.test:rules:0.4.1'androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'

your build.gradle should look like this:

Your activity_main.xml should look something like this:




Create a MainActivityTest in your androidTest folder












To run the test right click on MainActivityTest then Run 'MainActivityTest'




Your test should pass like this:




To test if your test is indeed correctly setup change the text in the TextView to something else. You should receive a failed test like this:



If at this point your test still passes you shouldn't be happy that it passed. Something's wrong with your test.

Updated my Android Studio

It always help in my productivity to get the latest version of my work environment. Especially if it has speed enhancements. I have already also improved my Android Studio's speed especially when it comes to gradle build. It really adds up to my overall productivity and efficiency.

Friday, March 18, 2016

Hiring an Android specialist is the difference between having a great-awesome app and a buggy-mediocre app.

Some of the specialties you should look for when hiring an Android dev are: 

(depending on your app's requirements)
  • communication with servers
  • working with images
  • automated testing
  • performance optimization
  • analytics
  • handling data
  • maintainability
  • date manipulations and handling
  • encryption handling
  • social integration

These features can be implemented and made to look working on your app but you should watch out if they're implemented with best practices in mind that will not cause problems down the line. Most often than not I see clients who want their existing app saved from their demise because of bugginess, performance issues, mediocre design and it doesn't matter if the app is seemingly simple or complex. It was the result of hiring someone who just knows the basics in developing applications in Android.

building an Android app with just the basic knowledge to make it run and work is like an iceberg. you see it as this small thing but what you don't know is that there's this bigger thing that can sink you.

Why I don't think I want to be a Digital Nomad

While my freelance gigs almost/always give me the possibility to be a digital nomad I have come to the conclusion that it's not for me. I haven't tried it yet but in the past 2 days I had played around with the idea. Why not? It looks fun and freeing and.. fun. So, why did I decided instantly that the digital nomad life is not for me? For a number of reasons.

I'll just make an outline here.

Reasons I gave myself why the Digital Nomad lifestyle is not for me:

  • I work best when my surrounding is quiet. And given the usual digital nomad scenario of working on cafes I don't think I can optimally work there. Although being a digital nomad you can also work inside your transient room where you are currently staying but it doesn't guarantee quietness though unless the place you are staying is a hotel or condo, right?
  • I work best when all my workstation is optimally already setup. This means when I wake up I just boot up my laptop and I'm all set. I don't want to need to find a good wifi before being able to work. I don't want to find a good comfortable chair and table before I get to work.
  • I want to maximize my time working (e.g. I don't want to think about the best place to eat while working).
  • I sometimes have clients that require face to face meeting for requirements gathering, updates, revisions, etc.
  • I have a wife and soon she'll give birth to our son :) This will make being a digital nomad more challenging and right now I just want to spend as much time with them at home when I'm not working without the hassle of travelling often that is associated with being a digital nomad.

I guess being a digital nomad is more amenable for digital professions like blogging, writing, etc. In my opinion, it's more challenging for software developers since building software requires more concentration and quiet time, at least it's the case for me. While blogging and writing and marketing can benefit from being a digital nomad by contributing to the creativity of the individual. Yes, I believe, travelling will help creatives be more... creative.

I am not actually saying no to experiencing being a digital nomad. In fact, I am targeting to try it in the near future (when I have settled down on my new client's architecture) and maybe when our son is born and he's already a couple of months old or maybe a couple of years old. But, this I am sure right now, I will only try being a digital nomad for a couple of months and then I'll be back again to our home and settle. Why only a few months? Because with my style in working, like I mentioned above, it will be more effective for me as a software developer. I am just thinking of doing a digital nomad lifestyle for a few months in the future just for the sake of experiencing it.

What I am more welcome with is the idea of being a digital semi-nomad. I think I only made this term up right now. What I mean by this is, to stay in one place working remotely with my wife and son, for a longer time than a usual digital nomad would. Probably 6 months to 1 year working elsewhere. This is more appealing to me than having a full blown digital nomad lifestyle. I am not really into travelling to 1,456 cities in 36 different countries for 6 months. I like the idea of being a digital semi-nomad because I like the idea of really semi-settling into a different place to digest another culture and way of living for 6 months to 1 year or more. For me this is my essence of travelling, and not just being into another place and "visiting" and posting photos and doing stuff like surfing, paragliding, or eating out or whatnot.
Conducted seminar for Collegio de Montalban about Introduction to Android Studio and Android Application Using MySQL Database



Thursday, March 10, 2016

Philippine Malls

OCTOBER 2012
Mobile Development php, android-app-development
Display retail store location inside malls without internet connection Display promos and events Display map locations of malls
Wednesday, March 9, 2016

The Future of Virtual and Augmented Reality and Android Augmented Reality Seminar

I held a seminar for graduating students of Collegio de Montalban about the various trends in Virtual Reality in the present and what the future holds for different industries with regards to Virtual Reality. I also tackled a simple implementation of Android Augmented Reality.



Thank you to the students of Collegio de Montalban! I hope I had inspired you! :)

HomeSpa2Go

MAY 2013
Mobile Development php, android-app-development
Book your massage on your phone Choose from our different types of massages Learn what’s new and be up to date on our services and promos!

StockBell

FEBRUARY 2012
Mobile Development android-app-development
Stock quotes Android application. Data coming from yahoo finance through web service. Charts are rendered asynchronously for best performance.

Samsung Sixthman

JUNE 2013
Mobile Development
Get real time scores and game stats from your favorite UAAP game Vote for your favorite players!

King's College

MARCH 2013
Mobile Development php, android-app-development
Download calendar events and Display in your King’s College App Create your class schedules and timetables Get notified of important school events from administration

Nazilli IIBF

SEPTEMBER 2013
Mobile Development php, android-app-development
Download calendar events and Display in your Nazilli IIBF App Create your class schedules and timetables Get notified of important school events from administration

Broşür NUR

JUNE 2014
Mobile Development ebook-design, android-app-development
Risale i Nur from different places in the same place relevant to the subject made by bringing together, for illuminating formula ...

Risale Press (Turkish)

SEPTEMBER 2014
Mobile Development ebook-design, android-app-development
Press Bediuzzaman wrote treatise dedicated to promoting the Risale-i Nur Collection Said Nursi, a digital publishing company. This is the latest digital technology and understand and this extraordinary comment (paraphrase) to reflect the realities of the Qur'an taught smartphone applications aimed at further engaging the reader through the book is a non-profit. Is a new multimedia

Risale-i Nur en Español

SEPTEMBER 2014
Mobile Development ebook-design, android-app-development
The Risale-i Nur Collection is originally written in Turkish and has been translated into over 50 languages so that it can be read worldwide. Its writer, Said Nursi explained easily to understand issues of faith and spirituality in addition to answering questions about the creation and meaning of life

Risalah Nur Bahasa Indonesia

SEPTEMBER 2014
Mobile Development ebook-design, android-app-development
You can view the offerings made than the chosen subject than the Risale-i Nur. You may mengesyorkan offerings to your friend to be more attractive in terms of visual and audible capabilities.

Wridgways

APRIL 2012
Mobile Development android-app-development
Home/Office moving service application for express quotation with email functionality and maps indication for branch locations.

Android Picture Puzzle Game

AUGUST 2011
Game Development
A simple picture puzzle game that lets you choose the pictures from your sdcard as puzzle. With timer that you can choose if decreasing or increasing while playing for setting high scores.
https://market.android.com/details?id=com.gscreatives.picturepuzzle
Tuesday, February 23, 2016

Making sure your mobile application is properly tested

Having your mobile application tested over and over and over again consistently on a set of use cases and over the edge scenarios is REALLY important. Especially if you want it to be really a part of your business or your brand or your ecosystem successfully. Especially when you want to profit from it. which is, all businesses want. Unless your a non-profit organization and just want to make the world a better place, by eradicating hunger, for example.

Anyway, I can't reiterate enough how important it is. Every app, not just mobile apps, goes through a series of changes or updates through its years of existence. For example, you have your Dev refactor it to be more performance optimized because you figured through analytics that the 3 sec lag you have between your splash screen and your app's main screen (which is a large images of images, for example) just doesn't cut it for your users. They either just close the app before the splash screen even ends or they don't open your app as much as they would if it starts up faster.

So you have your Dev optimize your app's launch speed and, viola! now it loads in under a sec! This is great news! Then you publish the update and you can hear ca-ching! ca-ching! (in your head) as you anticipate higher user engagement. but then.. boom! You're bombarded with bad reviews on that same day! what happened? "now my feed's all messed up! it shows wrong order of my images and entries after I updated!" one user writes. "now when I click on one of my feeds it shows the wrong details!" another user said". "I can't view it now without having a headache! the text is all cropped out at the end for my image description. your latest update sucks!"

Ugh! this is a classic and very common case of an-update-gone-bad-because-it-was-not-thoroughly-tested. And this is where automated testing is a must. it's a must for all apps. Or at least for all apps that have dreams of being awesome.

Never settle for less. Have your app tested. Thoroughly. Automatically. And be on your way to ca-ching! ca-ching!
Saturday, February 20, 2016

Supercharge your business with mobile application development

If you are a small to medium enterprise business owner or you are responsible for your company's growth it is essential to bring your business to mobile. This is called taking your business to the next level.




Why?

Because all (or almost all) people are on mobile now. It doesn't matter if they're pre-teens, teens, adults, or baby boomers. They use mobile devices. And not just mobile devices but smartphones. 

They use it to communicate, to get information, to do business, to market themselves, to do presentations, etc.

And it almost doesn't matter what industry your business is. Most certainly than not, you will need a mobile application or a mobile presence. 

If you're in the medical industry, 

you will need your potential users to be able to easily browse and discover you while they are on the go (a.ka. on mobile). Or you will want to really supercharge your medical business and be able to let your users book appointments with you based on your available schedules, or notify your users when you have an announcement to make. These are just a few examples of how mobile presence can put you above the rest in the medical industry.

If you're in the fashion retail industry, 

you will need your users to get notified of your promos and events. You want your users to be able to see themselves wearing your latest products just by using their phones. You want your users to be able to pay using their smartphones after they have browsed your catalogue in your mobile application.

If you're a hotel owner, 

you will want your users to be able to browse how beautiful and top of the line your amenities are. You will want to guide them in your hotel in such a way that it will be very tempting an experience for them. You can do this with your mobile application's virtual reality. And after they're so much engaged in their experience in your mobile app, they'll book right there and then, through your app.

And many other industries (actually almost all if not all) will benefit greatly from having a mobile application. All it will take is the creativity to leverage your strengths and put it in the hands of your market.

So what are you waiting for? 


Give your users mobility, better user experience, and innovative ways of connecting with your products and services through your mobile application. And in return they will give back their loyalty, patronage and amazing word-of-mouth for your business.
Tuesday, February 9, 2016

Levelling Up Your Android App's User Experience Awesomeness

Your Android App had finally been completed and published in the market. You get a decent number of downloads and your users love using it. You get an average of 4.1 ratings. That's great! Business is slowly picking up with your app's downloads and usage. Yet you notice in your app's Analytics that there's some room for improvement when it comes to your user's engagement. You know your user's should use your app more often in a day. After all it's so awesome and it does what it says it does.

You keep pulling your hair out when you notice your competition's trending more on the market. You wonder why.

I tell you, if your functionality is awesome, your app don't have any bugs,.. Maybe it's the little things. After all, the devil is in the details. Maybe you need to level up your App's Awesomeness. How?


When was the last time you had your dev update your app to reflect a new paradigm in User Experience. It's now time for you to incorporate Material Design in your Awesome Android App to drive up your users' engagement even more and crush your competition!

Your App looks like this right now:




Here's Levelling Up your App Looks Like:





So what are you waiting for? Level up your Apps' Awesomeness through Levelling up your User's Experience