Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any android coder or sketchware user?
#1
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.
Reply
#2
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-L...oneksi.php
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5
Reply
#3
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-L...oneksi.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.
Reply
#4
(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)
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5
Reply
#5
(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.
Reply
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android app development Littlemaster 6 740 03-25-2019, 06:02 PM
Last Post: xdude
  full java development on android rudra 0 351 11-27-2018, 02:40 PM
Last Post: rudra
  Best Android Programming Tutorials tokendeep 12 5,789 12-21-2016, 11:34 PM
Last Post: Arkiven4

Forum Jump:


Users browsing this thread: 1 Guest(s)
Hostlease

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - SSDBlaze - Abc-Hosters - Hyper Expert - Shadow Hosting - Bladenode - Hostlease


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.