Android 6.0 Runtime Permission Model

The new runtime permission model introduced in Android 6.0 is an important issue to be considered by Android developers. Until Android 6.0, as a developer you might defined the required permissions in the AndroidManifest.xml file and focus on your business logic. However, since Android 6.0 the story becomes more complex, but it provides more security and control over the application to the end user. Let's cover this problem using a simple application.


Read More

Object Graph Mapping with Neo4j-OGM

Neo4j - the open-source graph database, released its own Java Object Graph Mapper recently. Developing Java Business Applications often requires mapping domain object networks to your database. The Neo4j-OGM library is a pure Java library that can store, read and query (annotated) domain objects using Neo4j. It uses Cypher statements execute those operations with Neo4j Server. Earlier Java objects were mapped with Neo4j entities using Spring Data Neo4j 4.0. According to Neo4j's blog, Neo4j-OGM becomes their official library for Object Graph Mapping.
This tutorial helps you to develop a very simple Hello World application using Neo4j-OGM library.

Read More

Android RecyclerView

The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Use the RecyclerView widget when you have data collections whose elements change at runtime based on user action or network events. RecyclerView decouples the positioning, animating items and various event handling into different classes.
This tutorial shows you, how to develop a RecyclerView application.

Step 1:
Create a new Android project "RecyclerView" with package name: "com.javahelps.recyclerview".

Read More

Android Navigation Drawer

The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. It is hidden most of the time, but is revealed when the user swipes a finger from the left edge of the screen or, while at the top level of the app, the user touches the app icon in the action bar. This tutorial guides you on how to create a navigable drawer application.

Step 1:
Create a new Android application using application name: "Navigation Drawer" and package name: "com.javahelps.navigationdrawer".


Step 2:
Select the "Navigation Drawer Activity" as the default activity.


Read More

Contact Form

Name

Email *

Message *