Luca Zanini
  • Home
    • Astronomy
    • Android
    • Java
    • Lotus
  • About me
  • Tab Layout in Android

    May 13, 2012

    —

    by

    Luca Zanini
    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.

    Read more: Tab Layout in Android

  • The access modifiers of methods and variables of a java class

    Apr 29, 2012

    —

    by

    Luca Zanini
    in Java

    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).

    Read more: The access modifiers of methods and variables of a java class

  • The modifiers of a Java class

    Apr 25, 2012

    —

    by

    Luca Zanini
    in Java

    The modifiers of a Java class are: public abstract final strictfp

    Read more: The modifiers of a Java class

  • Dynamic TableLayout in Android

    Apr 22, 2012

    —

    by

    Luca Zanini
    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.

    Read more: Dynamic TableLayout in Android

  • Setting MyBatis in Spring

    Apr 17, 2012

    —

    by

    Luca Zanini
    in Java

    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.

    Read more: Setting MyBatis in Spring

  • Getting the list of users belonging to a role

    Apr 4, 2012

    —

    by

    Luca Zanini
    in Lotus

    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.

    Read more: Getting the list of users belonging to a role

  • Placing the components of a LinearLayout

    Apr 1, 2012

    —

    by

    Luca Zanini
    in Android

    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.

    Read more: Placing the components of a LinearLayout

  • Getting the list of users belonging to a group

    Mar 26, 2012

    —

    by

    Luca Zanini
    in Lotus

    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…

    Read more: Getting the list of users belonging to a group

  • Opening a document in a dialog box

    Mar 14, 2012

    —

    by

    Luca Zanini
    in Lotus

    If you want to open a document in a dialog box you can use two methods:

    Read more: Opening a document in a dialog box

  • Debugging the Terminate event in a Form

    Mar 5, 2012

    —

    by

    Luca Zanini
    in Lotus

    I discovered that you can not debug the Terminate event of a form with Lotus Notes Designer 8.5.3 and I do not understand why. I’m sure that once you could.

    Read more: Debugging the Terminate event in a Form

←Previous Page Next Page→