"This seems like a bug in Eclipse, View.setEnabled() is certainly not deprecated. There might be a deprecated android:enabled attribute in one of the XML tags supported by Android which could throw off the Eclipse editor. "
domingo, 28 de agosto de 2011
Android button enabled property is not deprecated!!
Keep an eye for this eclipse deprecated warning, or better yet don't pay any attention seems that in the latest ADT version enabled button state appears as deprecated and sugest state_enabled instead, as i said don't pay any attention this thread Roman Guy explained it is not deprecated.
sábado, 27 de agosto de 2011
Java #1 Lenguaje de Programacion
TIOBE no miente!! Java esta rankeando #1 como de costumbre en los lenguajes de programacion mas populares seguido por el Charlie C lo curioso en esta ocasion es que F# llega por primera vez al top 20 de los lenguajes mas populares me pregunto si el proximo año sera el turno de Haskell.
Labels:
Java,
lenguajes populares,
Noticias,
TIOBE
domingo, 21 de agosto de 2011
Present your android application on Datashow
Have you ever been stuck with the idea of presenting a mobile application for a bigger audience? Well I have! at start I though it wouldn't be possible, but a little digging (google and SO) got me on the right track.
Here are some alternatives you might want to use to present your mobile application on a Datashow:
I. Android ScreenCast
This is a really easy way to do it, in fact i think is the easiest, basicly it allows you to record what you do on your mobile into your computer screen. Steps to start using it are:
Et Voila you should see the screen on your computer.
II. Android Screenshots And Screen Capture
Mightypocket also have a great tool to see your mobile on the big screen (i don't mean the movie), host in sourceforge and under GNU General Public License it has the finest IzPack instalation extremely easy to install. You basicly need
Here are some alternatives you might want to use to present your mobile application on a Datashow:
I. Android ScreenCast
This is a really easy way to do it, in fact i think is the easiest, basicly it allows you to record what you do on your mobile into your computer screen. Steps to start using it are:
- Install the android sdk (download here)
- Connect your device through USB cable and ensure it's detected with "adb devices"
- Make sure you have Java Runtime Environnement 5 or later installed
- Click HERE. You can launch it by typing "javaws
" from a command line.
Et Voila you should see the screen on your computer.
II. Android Screenshots And Screen Capture
Mightypocket also have a great tool to see your mobile on the big screen (i don't mean the movie), host in sourceforge and under GNU General Public License it has the finest IzPack instalation extremely easy to install. You basicly need
- Java JDK 1.5 o mayor
- Android SDK
- Windows USB Driver
- AndroiScreenCaptureSetup v1.1
Nevertheless once install and configure the path of the Android SDK, still won't run, a little midnight debugging got me the answer
Seems that MightyPocket is trying to get the adb from the ANDROID_HOME/tools path instead of going to ANDROID_HOME/platforms-tools, at the end of the instalation guide they have this note that i did not read (just lazyness then i realized it was important):
UPDATE on “Unable to connect” issue
It turns out that latest Android SDK update moved adb.exe from tools to platform-tools folder. The most weird finding is that a standard ddms tool won’t work out-of-the-box on Windows unless platform-tools is specified on your PATH system variable. More details here.
Anyhow, until we publish an update, to make Android Screenshots and Screen Capture tool work with the updated SDK, just copy adb.exe, AdbWinApi.dll, andAdbWinUsbApi.dll, from platform-tools to tools folder.
Once you do as they said it will definitely work but is kind of anoying to do that, Anywho.... it does come with some handy stuff you can pick multiples devices and fullscreen mode is quite nice.
And to conclude...
It turns out that latest Android SDK update moved adb.exe from tools to platform-tools folder. The most weird finding is that a standard ddms tool won’t work out-of-the-box on Windows unless platform-tools is specified on your PATH system variable. More details here.
Anyhow, until we publish an update, to make Android Screenshots and Screen Capture tool work with the updated SDK, just copy adb.exe, AdbWinApi.dll, andAdbWinUsbApi.dll, from platform-tools to tools folder.
Once you do as they said it will definitely work but is kind of anoying to do that, Anywho.... it does come with some handy stuff you can pick multiples devices and fullscreen mode is quite nice.
And to conclude...
Well there are some aternative you can test to do this, other projects or you can also test this alternative given on Android Stackexchange sugest to use a 3.5 mm headphone jack with a RCA cable and plug it into a TV output on the datashow, but thats only for viewing videos and it was not what i was looking for
Hopefully this help you out.
Labels:
Android,
androidscreencast,
english,
record android screen,
Tutorial
sábado, 20 de agosto de 2011
Presenta tu aplicacion Android en un Datashow
¿Has pensado alguna vez en intentar presentar una aplicacion mobile en un datashow?, Hace poco me surgio mas la necesidad que la inquietud de hacer esto, realmente no pense que fuera posible por que la naturaleza del dispositivo es pero resulta que en este aspecto el adb resulta ser extremadamente beneficioso.
Ahora presento dos alternativas que dispones para presentar tu aplicacion mobile:
Android ScreenCast
Esta es la mejor y mas facil solucion que pude encontrar, se trata de un proyecto que basicamente permite grabar lo que haces en tu mobile a travez de la aplicacion para instalarlo necesitas:
UPDATE on “Unable to connect” issue
It turns out that latest Android SDK update moved adb.exe from tools to platform-tools folder. The most weird finding is that a standard ddms tool won’t work out-of-the-box on Windows unless platform-tools is specified on your PATH system variable. More details here.
Anyhow, until we publish an update, to make Android Screenshots and Screen Capture tool work with the updated SDK, just copy adb.exe, AdbWinApi.dll, andAdbWinUsbApi.dll, from platform-tools to tools folder.
Y para Terminar....
Ahora presento dos alternativas que dispones para presentar tu aplicacion mobile:
Android ScreenCast
Esta es la mejor y mas facil solucion que pude encontrar, se trata de un proyecto que basicamente permite grabar lo que haces en tu mobile a travez de la aplicacion para instalarlo necesitas:
- Instalar el Android SDK
- Conecta tu dispositivo a travez de un cable USB
- Coloca tu dispositivo en modo "debuggger"
- Descarga el JNLP de Android screenCast
- Corre el JNL con javaws androidscreencast.jnlp (ó el nombre con el que lo hayas descargado).
Et Voila deberia aparecerte la aplicacion con la pantalla de tu mobile
En mightypocket me encontre esta aplicacion la cual podia grabar y capturar pantalla de tu dispositivo mobile, alojada en SourceForge y distribuida bajo GNU General Public License con un instalador IzPack es extremadamente sencilla de instalar. De hecho MightyPocket tiene un excelente sitio que paso por paso te explica como instalar la aplicacion. Basicamente necesitas
- Java JDK 1.5 o mayor
- Android SDK
- Windows USB Driver
- AndroiScreenCaptureSetup v1.1
Sin embargo lo unico facil fue la instalacion, porque al momento de correr la aplicacion y configurar el SDK no funciono para nada, me resulto algo molesto pero al correrla desde consola te das rapidamente cuenta del problema.
Resulta que ashot.jar quiere buscar la ruta del adb en ANDROID_HOME\tools\adb, pero no hace mucho Android cambio la ruta del adb ANDROID_HOME\platform-tools\adb. MightyPocket documento esto al final de la instalacion en su sitio:
UPDATE on “Unable to connect” issue
It turns out that latest Android SDK update moved adb.exe from tools to platform-tools folder. The most weird finding is that a standard ddms tool won’t work out-of-the-box on Windows unless platform-tools is specified on your PATH system variable. More details here.
Anyhow, until we publish an update, to make Android Screenshots and Screen Capture tool work with the updated SDK, just copy adb.exe, AdbWinApi.dll, andAdbWinUsbApi.dll, from platform-tools to tools folder.
Aparentement la ultima version de android adb.exe ha cambiado de lugar asi que hay que copiar adb.exe, AdbWinApi.dll y AdbWinUsbApi.dll de platform-tools a la carpeta tools.
Ciertamente una vez que terminas con estas dificultades tecnicas, la aplicacion corre de maravilla nicluso te permite un modo fullscreen bastante interesante:
Y para Terminar....
Bien existen otras alternativas para hacer esto, ya sean otros proyectos para screencast dispositivos android o tambien puedes probar en Android Stackexchange se sugiere utilizar un cable 3.5mm headphone jack con otro RCA para conectarlo a la salida TV del mobile, pero creo que eso solo te va dar una salida de video.
Espero te sea util Gracias totales!!!
Labels:
Android,
androidscreencast,
graba pantalla android,
tools,
Tutorial
martes, 9 de agosto de 2011
Solucion Errores Comunes (Android Android adb “Unable to open sync connection!”) [Fixes]
Alguna vez has estado muy tranquilo trabajando, y al momento de correr tu aplicacion BAM!!!
Android adb “Unable to open sync connection!”,
Este error es bastante frustrante me sucedio al desplegar demasiadas veces mi aplicacion en un dispositivo HTC 3G My Touch, resulta que el DDMS me lanza este mensaje seguido no puede instalar mi aplicacion en el telefono.
[2011-09-25 11:21:20 - HelloWorld] Uploading HelloWorld.apk onto device 'SH0CLLV05537'
[2011-09-25 11:21:31 - HelloWorld] Failed to upload HelloWorld.apk on device ''
[2011-09-25 11:21:31 - HelloWorld] java.io.IOException: Unable to open sync connection!
Solucion #1 (Probada funciona)
La respuesta mas simple la obtuve en SO:
Solucion #2 (Probada Funciona)
Ejecuta el comando para detener el Android Debug Bridge
>adb kill-server
Android adb “Unable to open sync connection!”,
Este error es bastante frustrante me sucedio al desplegar demasiadas veces mi aplicacion en un dispositivo HTC 3G My Touch, resulta que el DDMS me lanza este mensaje seguido no puede instalar mi aplicacion en el telefono.
[2011-09-25 11:21:20 - HelloWorld] Uploading HelloWorld.apk onto device 'SH0CLLV05537'
[2011-09-25 11:21:31 - HelloWorld] Failed to upload HelloWorld.apk on device ''
[2011-09-25 11:21:31 - HelloWorld] java.io.IOException: Unable to open sync connection!
Solucion #1 (Probada funciona)
La respuesta mas simple la obtuve en SO:
I was having exactly the same problem, but I already had my phone connected to the computer's USB port. Sometimes disconnecting and reconnecting the cord worked but then it stopped working completely. However, disabling USB debugging on the phone and then re-enabling it has worked so far. Hopefully it keeps working! These fixes really seem like silly hacks.. I'm not sure what the underlying problem is.Traduccion no oficial de lo que dijo:
Estaba teniendo exactamente el mismo problema, ya habia conectado mi telefono al puerto USB, a veces desconectarlo y reconectarlo funcionaba pero luego se detenia completamente. Sin embargo desabilitando el USB Debugger en el telefono y rehabilitarlo lo hacia funcionar. Espero que siga trabajando, esta solucion parece tonta pero no estoy seguro cual es el problema detras de esto
Solucion #2 (Probada Funciona)
Ejecuta el comando para detener el Android Debug Bridge
>adb kill-server
Suscribirse a:
Entradas (Atom)



