Android Forcing an App Chooser

MainActivity.java

References https://github.com/mhdr/AndroidSamples/tree/master/037

Continue reading »

Android Explicit and Implicit Intent

AppA MainActivity.java

AppA AndroidManifest.xml

AppB MainActivity.java

References https://github.com/mhdr/AndroidSamples/tree/master/036

Continue reading »

JAX-RS application without an Application subclass

build.gradle

web.xml

HelloWorldResource.java

References http://stackoverflow.com/questions/22994690/which-init-param-to-use-jersey-config-server-provider-packages-or-javax-ws-rs-a https://jersey.java.net/documentation/latest/deployment.html#deployment.servlet.3.pluggability.noapp

Continue reading »

Android Add a Fragment to an Activity using XML

activity_main.xml

References https://github.com/mhdr/AndroidSamples/tree/master/033

Continue reading »

URL rewriting solution for JSF

build.gradle

/WEB-INF/pretty-config.xml

References http://www.ocpsoft.org/prettyfaces/

Continue reading »

Configure JSF with Gradle

build.gradle

/src/main/webapp/WEB-INF/web.xml

References http://b1102.blogspot.ru/2014/09/jsf-21-gralde-tomcat-hello-world.html

Continue reading »

Android Communication between two Fragments

FirstFragment.java

SecondFragment.java

MainActivity.java

References https://github.com/mhdr/AndroidSamples/tree/master/032

Continue reading »
1 2 3 4