Post4VPS Forum | Free VPS Provider
Any android coder or sketchware user? - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: Any android coder or sketchware user? (/Thread-Any-android-coder-or-sketchware-user)



Any android coder or sketchware user? - Littlemaster - 02-13-2020

Currently I am trying to develop an android app for my website. Instead of just usin web loader I need to post certain data such as username & password to website using the app. 
Is there anyone here who can help out. I am using sketchware and it seems good for beginners. But I could not edit complete source code.


RE: Any android coder or sketchware user? - humanpuff69 - 02-15-2020

you can use volley and pass the data with volley using post request and return json on the php side

for example
on android post to server/login.php
post data username=test&password=test

on php server return
{success:1,user_id:420}

make a logic if success isnt equal to one tell that the password isnt correct . but if success equal one
proceed to next activity and pass the user id with intent

i used to make that kind of application and i learn it from this github repository
https://github.com/dedykuncoro/Android-Login-Register-MySQL/blob/master/android/kuncoro_login/koneksi.php


RE: Any android coder or sketchware user? - Littlemaster - 02-18-2020

Thank yo
(02-15-2020, 11:16 AM)humanpuff69 Wrote: you can use volley and pass the data with volley using post request and return json on the php side

for example
on android post to server/login.php
post data username=test&password=test

on php server return
{success:1,user_id:420}

make a logic if success isnt equal to one tell that the password isnt correct . but if success equal one
proceed to next activity and pass the user id with intent

i used to make that kind of application and i learn it from this github repository
https://github.com/dedykuncoro/Android-Login-Register-MySQL/blob/master/android/kuncoro_login/koneksi.php
Thanks for the tutorial link, currently my pc having some issues, so that I can't use Android Studio, I am coding with Mobile. I will definitely try the tutorial.
Meanwhile let me know if there is anything I can do with sketchware.


RE: Any android coder or sketchware user? - humanpuff69 - 02-18-2020

(02-18-2020, 04:09 AM)Littlemaster Wrote: Thank yoThanks for the tutorial link, currently my pc having some issues, so that I can't use Android Studio, I am coding with Mobile. I will definitely try the tutorial.
Meanwhile let me know if there is anything I can do with sketchware.

i used sketchware before i learned android studio . it is easy and it uses scratch-like coding . unfortunately when i use sketchware i didnt see any volley or something like that . if it is true the only way to access http is to use the webview . for login and register you can use php script and connecting it to a database and with webview you basically convert a website to an app (but with no advantage of being an app)


RE: Any android coder or sketchware user? - Littlemaster - 02-26-2020

(02-18-2020, 02:15 PM)humanpuff69 Wrote: i used sketchware before i learned android studio . it is easy and it uses scratch-like coding . unfortunately when i use sketchware i didnt see any volley or something like that . if it is true the only way to access http is to use the webview . for login and register you can use php script and connecting it to a database and with webview you basically convert a website to an app (but with no advantage of  being an app)

Are you using Android Studio in Ubuntu? 
I could not add firebase to my android studio. Let me know if you had success integrating it, and please share the version number.


RE: Any android coder or sketchware user? - humanpuff69 - 02-27-2020

(02-26-2020, 04:42 PM)Littlemaster Wrote: Are you using Android Studio in Ubuntu? 
I could not add firebase to my android studio. Let me know if you had success integrating it, and please share the version number.

yes im using ubuntu for android studio
I have success intergating firebase

Make sure you use the latest version . What you need to do is insert the dependencies and plugin on the gradle and insert the google json and after that it should be connected to firebase


RE: Any android coder or sketchware user? - LightDestory - 02-27-2020

I don't know why did you choose to switch from sketchware to Android Studio, you are likely changing universe. On Android Studio you need programming skills to get a decent result.

Sketchware provides a networking component that can make requests called "RequestNetwork", it can perform basic GET,POST, PUT, DELETE requests.
Here a demo video:
https://www.youtube.com/watch?v=JzTbagn6oTA


RE: Any android coder or sketchware user? - humanpuff69 - 02-28-2020

(02-27-2020, 05:35 PM)LightDestory Wrote: I don't know why did you choose to switch from sketchware to Android Studio, you are likely changing universe. On Android Studio you need programming skills to get a decent result.

Sketchware provides a networking component that can make requests called "RequestNetwork", it can perform basic GET,POST, PUT, DELETE requests.
Here a demo video:
https://www.youtube.com/watch?v=JzTbagn6oTA

i did

i use sketchware before when i have no knowledge of android studio . it is easy and the best thing it is mostly native so it will look like you do it in android studio unlike most other android app creator . for me at that time sketchware is the best at making android apps

also sketchware just need your phone and it doesnt even need to be a flagship and high end you can run it on potato unlike android studio that require high cpu and ram pc (+ gpu if using emulator)


RE: Any android coder or sketchware user? - Littlemaster - 02-28-2020

(02-27-2020, 05:35 PM)LightDestory Wrote: I don't know why did you choose to switch from sketchware to Android Studio, you are likely changing universe. On Android Studio you need programming skills to get a decent result.

Sketchware provides a networking component that can make requests called "RequestNetwork", it can perform basic GET,POST, PUT, DELETE requests.
Here a demo video:
https://www.youtube.com/watch?v=JzTbagn6oTA
Thanks for the video tutorial, I like to learn it soon. Currently I am trying to implement notifications in the app which should be shown to the phone home even the screen is locked, i.e, home of the phone.
The notification must be shown on the wallpaper screen. Do you know how to implement it with sketchware?