Skip to content

Conversation

@jgiganto
Copy link
Contributor

Para crear una app en Android que traduce textos a morse.


![image2](images/image2.png)

Para ello es importante que marquemos la casilla Include prerelease, ya que al ser una versión pre-lanzamiento si no la marcamos no nos aparecerá.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En el caso de nombrar "Include prerelease" lo marcaría en negrita o entre comillas

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xamarin Essentials is not in pre-release anymore.

Copy link
Member

@danimart1991 danimart1991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove jgiganto/MorseToLight/images/~$RSE TO LIGHT.docx file.

@@ -0,0 +1,201 @@
# MORSE TO LIGHT
Muy buenas, en esta ocasión vamos a aprender a realizar una app con Xamarin para dispositivos Android. Básicamente la función de nuestra app será traducir un texto a código morse y transmitirlo usando para ello el flash de la cámara de nuestro smartphone.
Para ello vamos a apoyarnos en la API multiplataforma Xamarin Essentials, la cual permite hacer uso de los sensores del dispositivo (giroscopio, brújula, etc..) de una manera sencilla.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Markdown, you must always put a empty line between paragraphs. If not, the text like in this case is concatenated.

Copy link
Member

@danimart1991 danimart1991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to use italic and bold to define terms and import words respectively.

Good post! I did not know you had developed with Xamarin. 😉


![image2](images/image2.png)

Para ello es importante que marquemos la casilla Include prerelease, ya que al ser una versión pre-lanzamiento si no la marcamos no nos aparecerá.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xamarin Essentials is not in pre-release anymore.


![image1](images/image1.png)

Además vamos a instalar el paquete Nugget Xamarin Essentials, que nos permitirá hacer uso del flash de la cámara.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nugget -> NuGet


![image3](images/image3.png)

Nos crearemos una Carperta Views y dentro de ella una vista del tipo ContentPage:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nos crearemos una Carperta... -> Crearemos una carpeta...

En el archivo XAML escribiremos el siguiente código:


```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to select the language you are using.

```XAML
Your code
```

}
```

Como veis haciendo uso del Nugget Xamarin.Essentials podemos encender y apagar el flash con una simple línea de código:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nuget

}
}
}
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would translate all the code to English

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants