Wednesday, July 15, 2015

Galaxy S4 Texts Out of Order

So I've had the S4 for about 1.5 years and I noticed that when I send a text message, the received response (sent later) was usually posted above my text.  Apparently the way to fix this is to:
1. Go to settings -> More -> Date and time
2. Check the box for "Automatic date and time."
 
We'll see if this works.  :D

Tuesday, May 26, 2015

Slip.js

I've been playing around with making mobile apps using Cordova.  Being pretty new to this, my biggest challenges have revolved around implementing touch interactions.  For example, how could I swipe an element on a page and make it disappear, kind of like in Android notifications?

I found one little JS script that does (and more!).  
https://github.com/pornel/slip

Demo: https://pornel.net/slip/

Just make a list in your html, then paste this into your JS:

  var list = document.getElementById('yourListId');
        new Slip(list);
        list.addEventListener('slip:swipe', function(e) {
            e.target.parentNode.removeChild(e.target);
        });

Nice!

Also, I found this article to be helpful if you need more resources on drag-and-drop type stuff:
http://mobiforge.com/design-development/touch-friendly-drag-and-drop

Monday, March 9, 2015

Installing Apache Cordova

I'm on a new project where I have to develop both a web and mobile version of a prototype, and Apache Cordova is our weapon of choice for the iOS and Android apps.  However, this is the first time for me to use Cordova.  Just want to share some of my adventures in hopes of helping other people who are also newbs.  But I'm guessing this will end up just being a log of stuff I do so I don't forget later.  :)

First off, setting up Cordova.  The Cordova documentation is not very good.  This site outlines pretty much all of the actual steps you have to take to get it to work.

http://evothings.com/doc/build/cordova-install-windows.html

Once it's installed, you can go back to the Cordova documentation to make a HelloWorld (scroll down to "Create the App").

http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html#The%20Command-Line%20Interface

Things that tripped me up: Setting the environment variables.  Make sure you have the right paths set!!  Sounds obvious, but that had me going in circles for hours.

Good luck.