This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"_id": { | |
"$oid": "622794b2acc0dbccea8388b4" | |
}, | |
"title": "Curso 1", | |
"description": "Movilizaciones 1o A", | |
"subscribers": { | |
"teachers": [ 101, 102 ], | |
"students": [ 1, 2, 3, 4 ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.listilla; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.*; | |
import androidx.appcompat.app.AppCompatActivity; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Adquisició de dades de sensors | |
* Entrades A0 i A1 | |
* | |
* Quan polsem el boto es pren mostra i s'engega el LED 13 | |
* Botó del Prototype Shield v5, amb pullup i entrada digital 8 | |
* | |
* Fer CTRL+M (CMD+MAYS+M en Mac) per veure les dades a la consolaper veure les dades a la consola | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Java: exemples per a Android | |
* | |
* Comentem algunes pràctiques habituals a les llibreries per a Android | |
* | |
* - Creació de classes aniuades i crida a mètodes aniuats i contenidors | |
* - Sobreescriptura (override) de mètodes durant la instanciació. | |
* | |
* Pots compilar i executar aquest exemple amb: | |
* $ javac Exemple1.java |