martes, 31 de marzo de 2015

Creando un lector de codigo de barras en Andriod - Android SDK: Create a Barcode Reader

En este tutorial usamos el ZXing libreria de Zebra para desarrollar una aplicacion de lector de codigo de barras para andriod.


In Eclipse, create a new Android project. Enter your chosen application, project, and package names. Let Eclipse create a blank activity for you, with the name of your choice for both the activity and its layout.
New Project
Open your main layout file. With the default settings, Eclipse starts your layout with aRelative Layout object, which you can leave as is. Inside of it, replace the existing content (typically a Text View) with a button.
After the button, add two Text Views in which we will output scanning information.
Add the button text string to your "res/values/strings" XML file.
The user will press the button to scan. When the app receives a result from the barcode scanning operation, it will display the scan content data and format name in the two Text Views.
ZXing is an open source library that provides access to tested and functional barcode scanning on Android. Many users will already have the app installed on their devices, so you can simply launch the scanning Intents and retrieve the results. In this tutorial we are going to use the Scanning via Intent method to make scanning easier. This method involves importing a couple of classes into your app and lets ZXing take care of instances where the user does not have the scanner installed. If the user doesn't have the barcode scanner installed, they'll be prompted to download it.
Tip: Since ZXing is open source, you can import the source code into your projects in its entirety. However, this is really only advisable if you need to make changes to its functionality. You can also compile the project and include its JAR file in your own apps if you prefer. For most purposes, using Scanning via Intent is a reliable and easy to implement options, plus your users will have access to the most recent version of the ZXing app.
In Eclipse, add a new package to your project by right-clicking the "src" folder and choosing "New", then "Package", and entering "com.google.zxing.integration.android" as the package name.
New Package
Eclipse offers several ways to import existing code into your projects. For the purposes of this tutorial, you'll probably find it easiest to simply create the two required classes and copy the code from ZXing. Right-click your new package, choose "New" then "Class" and enter "IntentIntegrator" as the class name. You can leave the other default settings the way they are. Once you've created this class, do the same for the other class we'll be importing, giving it "IntentResult" as its class name.
New Class
Copy the code from both classes in the ZXing library and paste it into the class files you created. These are IntentIntegrator and IntentResult. Refer to the source code download if you're in any doubt about where the various files and folders should be or what should be in them.
Project Package
You can now import the ZXing classes into your main Activity class.
Go ahead and add the other import statements we'll use for this tutorial. Bear in mind that Eclipse may have already added some for you.
Feel free to have a look at the content of the two ZXing classes. It's fairly straightforward, but the details of the barcode scanning processing are carried out elsewhere in the library. These two classes really act as an interface to the scanning functionality.
Let's implement scanning when the user clicks the button we added. In your app's main activity class, the default onCreate method entered by Eclipse should look something like this.
Above this method, add the following instance variables to represent the button and two Text Views we created in the layout file.
In onCreate, after the existing code, instantiate these variables using the ID values we specified in the XML.
Next, add a listener to the button so that we can handle presses.
Extend the opening line of the class declaration to implement the OnClickListenerinterface.
Now we can respond to button clicks by starting the scanning process. Add anonClick method to your activity class.
Check whether the scanning button has been pressed inside this method.
Inside this conditional block, create an instance of the Intent Integrator class we imported.
Now we can call on the Intent Integrator method to start scanning.
At this point, the scanner will start if it's installed on the user's device. If not, they'll be prompted to download it. The results of the scan will be returned to the main activitywhere scanning was initiated, so we'll be able to retrieve it in the onActivityResultmethod.
Tip: When you call the initiateScan method, you can choose to pass a collection of the barcode types you want to scan. By default, the method will scan for all supported types. These include UPC-A, UPC-E, EAN-8, EAN-13, QR Code, RSS-14, RSS Expanded, Data Matrix, Aztec, PDF 417, Codabar, ITF, Codes 39, 93, and 128. The ZXing library also includes barcode scanning options that we're not going to cover in this tutorial. You can check the project out at Google Code for more info.
When the user clicks the scan button, the barcode scanner will launch. When they scan a barcode, it will return the scanned data to the onActivityResult method of the calling activity. Add the method to your main activity class.
Inside the method, try to parse the result into an instance of the ZXing Intent Result class we imported.
As with any data being retrieved from another app, it's vital to check for null values. Only proceed if we have a valid result.
If scan data is not received (for example, if the user cancels the scan by pressing the back button), we can simply output a message.
Back in the if block, let's find out what data the scan returned. The Intent Resultobject provides methods to retrieve the content of the scan and the format of the data returned from it. Retrieve the content as a string value.
Retrieve the format name, also as a string.
Advertisement
Now your program has the format and content of the scanned data, so you can do whatever you want with it. For the purpose of this tutorial, we'll just write the values to the Text Views in our layout.
Run your app on a device instead of an emulator so that you can see the scan functioning. Try scanning a book or any other barcode you might have.
App During Scanning

Fuente : http://code.tutsplus.com/tutorials/android-sdk-create-a-barcode-reader--mobile-17162

miércoles, 28 de enero de 2015

thefreecountry.com para programadores :-)


Welcome to thefreecountry.com's collection of free programming resources, free webmasters' resources, free security resources and free utilities.

http://www.thefreecountry.com/documentation/index.shtml

martes, 14 de octubre de 2014

Bossies 2014: The Best of Open Source Software Awards

Bossies 2014: The Best of Open Source Software Awards


Discover the best: 130 open source projects in six categories, handpicked by InfoWorld editors and contributors

 Have a look for yourself. The result of months of exploration and evaluation, plus the recommendations of many expert contributors, the 2014 Bossies cover more than 130 award winners in six categories:
The best open source applications
The best open source application development tools
The best open source data center and cloud software
The best open source desktop and mobile software
The best open source networking and security software
The best open source big data tools

miércoles, 16 de julio de 2014

Gestion Documental Open Source

OpenKM es una aplicación web de gestión documental que utiliza estándares y tecnologías Open Source.

OpenKM proporciona capacidades completas de gestión de documentos incluyendo el control de versiones, metadatos, escaneo,  comentarios, foros sobre el documento, workflow, etc.. Esto permite que las actividades sociales en torno al contenido se utilicen para conectar a las personas a otras personas, la información a la información, y las personas a la información., ayudando  a gestionar, de forma más eficiente, la inteligencia colectiva que reside en los recursos humanos de la compañía.

OpenKM integra  en una sola aplicación fácil de usar todas las funcionalidades para colaborar, gestionar y buscar documentos.

http://www.openkm.com/es/

martes, 15 de julio de 2014

Software para reemplazar Windows Media player

 Software para reemplazar Windows Media player

http://get.videolan.org/vlc/2.1.3/win32/vlc-2.1.3-win32.exe

http://en.wikipedia.org/wiki/List_of_free_and_open-source_software_packages#Video_players



martes, 1 de abril de 2014

The best open source networking and security software 2014

Bossie Awards 2013: The best open source networking and security software

Fuente:
http://www.infoworld.com/slideshow/119872/bossie-awards-2013-the-best-open-source-networking-and-security-software-226981



No confíe en que Wi-Fi? El código abierto tiene cubierto. No confíe en el gobierno? El código abierto tiene cubierto allí también. Nuestros ganadores Bossie incluyen una serie de aplicaciones móviles aseados que proporcionan comunicaciones seguras (llamadas telefónicas cifrado de extremo a extremo y mensajes de texto) y le permiten navegar por la Web y enviar correo electrónico sin dejar rastro. También encontrará mejores herramientas para la gestión de contraseñas, la creación de redes VPN, la implementación de servicios de red y resolución de problemas tales servicios cuando las cosas van mal.


http://preyproject.com/ 
 El Proyecto Prey es una aplicación de dispositivo de rastreo que puede mantener un ojo en su PC, tablet o teléfono, sin importar donde se aleja o con quién. Apoyo a Windows, OS X, Linux, Android, y iOS, esta aplicación rastrea su dispositivo con una precisión milimétrica, utilizando el GPS del dispositivo o un punto de acceso Wi-Fi asociada a cero en su ubicación.

Si el smartphone se pierde o es robado, basta con enviar un mensaje de texto al dispositivo. Para las tabletas o computadoras, utilice el Panel de control basado en la nube del Proyecto Presa para seleccionar el dispositivo como desaparecido. La aplicación puede tomar una captura de pantalla de las aplicaciones activas, encienda la cámara para capturar la imagen de un ladrón, o totalmente bloquear el dispositivo.



http://www.zentyal.org/server/
Servidor Zentyal es una distribución de Linux con una interfaz de configuración útil que hace que sea fácil de configurar un servidor de la pequeña empresa con todas las funciones. Zentyal es el pegamento que mantiene unidos a una amplia variedad de software de código abierto y hace que sea manejable.

La distro incluye software de servidor de correo electrónico, mensajería instantánea, VoIP, LDAP y RADIUS, compartir archivos e impresoras, Active Directory, las copias de seguridad, Web y FTP, y calendario compartido, tareas y contactos. También puede sincronizar con los dispositivos móviles. Para los servicios de red, Zentyal proporciona enrutamiento NAT, cortafuegos, QoS, DNS, DHCP, NTP (Network Time Protocol), VPN, detección de intrusos, almacenamiento en caché de proxy Web, y un sistema de portal cautivo.
http://doc.zentyal.org/es/
Bring your Own Device (BYOD), en castellano «trae tu propio dispositivo», es una política empresarial donde los empleados llevan sus propios dispositivos a su lugar de trabajo para tener acceso a recursos de la empresa tales como correos electrónicos, bases de datos y archivos en servidores así como datos y aplicaciones personales.

martes, 11 de febrero de 2014

Best Open Source 2014

Nuevos site 


http://www.cyberciti.biz/open-source/30-cool-best-open-source-softwares-of-2013/

referencias anteriores
http://www.infoworld.com/d/open-source-software/bossies-2013-the-best-of-open-source-software-awards-226971