Author: Luca Zanini
-
Tab Layout in Android
This post is an example of implementing a tab layout in Android using a TabActivity class.The TabActivity class is deprecated since version 3.0 Honeycomb, then you should use ActionBar as I’ll write in a next post.
-
The access modifiers of methods and variables of a java class
In this article I explain how to set the visibility of methods and instance variables, ie those variables declared outside of any method (the variables declared within a method are called local variables and they are visible in the method only).
-
Dynamic TableLayout in Android
In this post I explain how to implement in runtime a table with rows and columns without using a XML file. To display the borders of the TextView I use the method illustrated here.
-
Setting MyBatis in Spring
MyBatis, a free software distributed under the Apache License 2.0, helps to connect Spring with relational databases using XML or annotations.Here’s a simple example loading a jsp page to display data from a mysql table.
-
Getting the list of users belonging to a role
Lotus provides the method QueryAccessRoles of the NotesDatabase class to get the roles of a user and there are no methods to get users belonging to a role, but you can get them by combining IsRoleEnabled of the NotesACLEntry class with the function getUsersByGroup that I wrote in a previous article.
-
Placing the components of a LinearLayout
The purpose of layout is to arrange the various components within itself according to a particular scheme and the LinearLayout is the simplest of layout which is proposed by default when you create an Android project.
-
Getting the list of users belonging to a group
There is not a method in lotusccript to get the list of all users belonging to a group, and to complicate matters, groups can contain other groups as members. To solve this problem I wrote getUsersByGroup function that returns the list of users belonging to a group, provided that: the public names.nsf is accessible users…
-
Opening a document in a dialog box
If you want to open a document in a dialog box you can use two methods: