Android – Tweaking the Back Stack Behaviour

I've written a post about Android back stack and its default behaviour where every started activity is placed in a "last in, first out" stack. Today, I was reading a great article on Android guides where there is a section to explain about situations where we must to tweak this behavior, something that I forgot … Continue lendo Android – Tweaking the Back Stack Behaviour

Six Simple Rules for Better Navigation UX – Interaction Design Foundation

I was reading today a great post from Interaction Design Foundation about six simple rules for better navigation UX and I could highlight some interesting phrases. your text should say what it means and mean what it says Run away from the thinking "I'm responsible for what I say but I'm not responsable for what … Continue lendo Six Simple Rules for Better Navigation UX – Interaction Design Foundation

Fixando o caminho do JDK no Glassfish

Caso esteja desejando fixar o caminho do JDK no Glassfish, ao invés de usar a variável de ambiente, basta ir até a pasta ".....\glassfish\config\" e no arquivo bat "asenv.bat" editar seu conteúdo, inserindo uma linha de comando informando a variável AS_JAVA, por exemplo, "set AS_JAVA=C:\Program Files\Java\jdk1.8.0_40". Depois disso e de ter salvo o arquivo, execute … Continue lendo Fixando o caminho do JDK no Glassfish

No ‘Access-Control-Allow-Origin’ header is present on the requested resource

Estava trabalhando em um projeto onde o web service em Jersey e a aplicação cliente em AngularJS estavam rodando no mesmo servidor Glassfish. Como esperado, quando a aplicação cliente consumisse o web service surgiria o erro "No 'Access-Control-Allow-Origin' header is present on the requested resource".  Isso é uma questão relacionada ao CORS ou Cross-origin resource sharing. Uma aplicação … Continue lendo No ‘Access-Control-Allow-Origin’ header is present on the requested resource