Posts by AristoEinstein • 372 points
9 posts
-
10
votes5
answers527
viewsA: What is programming logic and computational thinking?
Computational thinking is a strategy to model solutions and solve problems efficiently Computational thinking can be organized in four stages: Decomposition: dividing the issue into smaller problems…
computer-scienceanswered AristoEinstein 372 -
1
votes1
answer59
viewsA: Fixing error starting new Ionic project
So Matheus, you’ve answered this several times and I think you haven’t looked long before you ask this question and it’s quite simple to solve this mistake. Uninstall Ionic with this command npm…
-
1
votes1
answer283
viewsA: I want to disable all hardware buttons prevent application output
Take a look at Android’s Kiosk mode think it’s what you need https://developer.android.com/work/dpc/dedicated-devices. If that’s right, Cordova has one plugin that does this. A Cordova plugin to…
ionic3answered AristoEinstein 372 -
2
votes1
answer2045
viewsQ: How can I resolve error "The argument type 'String' can’t be Assigned to the Parameter type 'List<int>' " - Flutter
I’m trying to fetch an API Token using Flutter, but this code: var _random = Random.secure(); var random = List<int>.generate(32, (i) => _random.nextInt(256)); var verificador =…
-
1
votes1
answer1044
viewsQ: How to generate, encode and encrypt random string in Flutter
I need to generate a 32byte code and encode for Base64, then Sha256 and Base64 again But apparently this code has something wrong and I can’t understand what it is var _random = Random.secure(); var…
-
4
votes1
answer482
viewsA: Taking specific data from a "(Response.body)"
I got: Future<String> getJsonData() async { var response = await http.get(url); if (response.statusCode == 200) { var convertDataToJson = json.decode(response.body); var data =…
-
2
votes1
answer482
viewsQ: Taking specific data from a "(Response.body)"
I have that code: class _EstabelecimentosPageState extends State<EstabelecimentosPage> { final String url = codeUrl; @override void initState() { super.initState(); this.getJsonData(); }…
-
1
votes2
answers365
viewsA: How do I convert this PHP code to Javascript?
I managed to do, these two codes worked for me TESTE4 const uuidv4 = require('uuid/v4'); let code = uuidv4() console.log("Code: " + code); let hexadecimal = CryptoJS.enc.Hex.parse(code)…
-
-1
votes2
answers365
viewsQ: How do I convert this PHP code to Javascript?
I made this code in PHP and I need to use it in Javascript but I don’t even know how to start converting it: $codigo_verificador =…