domingo, 21 de agosto de 2011

TN3270 (English version)

For several years I have had the opportunity to work directly with the 3270 Telnet communication protocol in order to access to mainframe programs, so now I have decided to use this experience to make an application for android mobile operating system.

First of all you should consider having connection to the server, the alternatives are:
  • VPN connection,
  • Connect to a wireless network which already have access to your network and bypass the firewalls.

Keep in mind that especially the first time, you must have internet access just to verify the google server market requirements with the license, perhaps on another occasion may require this validation, but this again depends on the google licensing scheme.

Then you must select the ON button (I chose this name instead of CONNECT to minimize space, especially because of the phones with have small screens).

The following picture shows the connection window, the parameters which are basically the hostname or ip address and port.


After entering these values, we can start with the navigation on our server, you should touch only the gray text sections and then enter text in the field.


The use of special keys is through the selection of the key (enter, clear, f1, f2, etc) and then the SEND button.

Additionally I have implemented zoom buttons to adjust the text according to screen size of your phone.

This is the first release, I hope soon to add new functionality.

sábado, 20 de agosto de 2011

TN3270


Desde hace varios años he tenido la oportunidad de trabajar directamente con el protocolo de comunicación Telnet 3270, para acceder a un mainframe, así que utilizando esta experiencia me he dado a la tarea de realizar una aplicación para teléfonos con sistema operativo android.

Antes que nada se debe de considerar el tener conexión al servidor, para ello normalmente se tienen como alternativas:

  • Tener una conexión VPN,
  • Conectarnos a una red inalambrica donde ya se tenga acceso a nuestra red y superado los firewalls.

Hay que tener en cuenta que sobretodo la primera vez, es necesario tener acceso internet para que se pueda corroborar con el servidor de google market los requisitos necesarios de la licencia, quizá en alguna otra ocasión pueda requerir esta validación, pero esto depende de nuevo del esquema de licenciamiento de google.

Una vez que se ha pasado con este paso, se debe de seleccionar el botón ON, (escogi este nombre en vez de CONNECT para minimizar espacio, sobretodo por los teléfonos que cuentan con pantallas pequeñas).

La siguiente figura nos muestra los datos de conexión que son básicamente el nombre del host o bien su dirección ip, así como el puerto.





Una vez introducidos estos valores, podemos iniciar con la navegación en nuestro servidor, solo se debe de tocar las secciones de texto de color gris, con lo cual podremos introducir el texto en el campo.


El uso de las teclas especiales se encuentra por medio de la selección de la tecla (enter, clear, f1, f2, etc) y luego el boton SEND.

Adicionalmente se implementarón botones de zoom para adaptar el texto de acuerdo al tamaño de pantalla con que contemos.

Esta es la primera liberación, espero dentro de poco agregar nueva funcionalidad.