moyamejiasr / ConnectU

App developed by students for the University of Alicante to interact with the UACloud Platform from your Android Phone
Apache License 2.0
5 stars 3 forks source link

[BUGFIX] Crash due to empty path in image #24

Open ecomaikgolf opened 4 years ago

ecomaikgolf commented 4 years ago

The application crashed at startup (always) as the app.account.PictureURL was empty.

The problem was that the parser could not find the photo/name, this snippet fixes the problem:

app.account.Name = doc.getElementById("usunombre").text();
app.account.PictureURL = doc.getElementById("usufoto").children().attr("src");

Also nice app ;) check out https://github.com/ecomaikgolf/BUACShell if you're interested.

dgrr commented 4 years ago

Me parece que la app esta completamente abandonada. Principalmente se abandono porque la UA estaba en contra totalmente de esta app. Asi que cualquier intento de mejorarla sera en vano.

Puedes encontrar herramientas de utilidad aqui https://github.com/LibreLabUA Entre ellos quiero destacar https://github.com/LibreLABUA/uafs