Category : android

How to display images in Android using MySQL database and Laravel ? I have tried to change the .load(soal1.getOpsi_a()) into the spesific url in "http://192.168.1.8/admin_kuis/public/image/angin_bt.png-1614176275.png" and i doesn’t show any images. But when I open the url in my phone browser, it shows the image. ApiController.php <?php namespace AppHttpControllers; use IlluminateHttpRequest; class ApiController extends Controller ..

Read more

I am making an android app using laravell api. Currently i am logging in to my app using email but i want to change it with phone number. Please help me Here is my android code .. private void login() { try { if (password.getText().toString().isEmpty()) { Toast.makeText(this, getString(R.string.invalid_password), Toast.LENGTH_SHORT).show(); return; } if (mobile.isEmpty()) { Toast.makeText(this, ..

Read more

TL;DR How do I upload images as an array to a request body with other request parameters using HttpUrlConnection? Hello, I’m developing an app that surveys the deadweight of a vessel. To survey the weights of a room, each item’s weight needs to be recorded along with other attributes of the item. The user should ..

Read more

With email it generates successfully AccessToken but not with phone number please help me .. I am using OAuth authentication. here are some details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials were incorrect error description The user credentials were incorrect message The user credentials were incorrect} $tokenRequest = $request->create(‘/oauth/token’, ‘POST’, $request->all()); $request->request->add([ "client_id" => ..

Read more

i am developing a mobile app which loggin in using email but now With email it generates successfully AccessToken but not with phone number please help me .. I am using OAuth authentication. here are some details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials were incorrect error description The user credentials were incorrect message ..

Read more

i am developing a android mobile app which loggin in using email but i want to make login with phone number. when i convert things for phone number login it gives 401 unauthroised error please help me. I am using OAuth authentication. here are some error details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials ..

Read more

I have Wrote an API via jwt-auth package in laravel. When I use postman I can get User Data but in android I cant do this an returns null. This is my Backend code: public function __construct() { $this->middleware(‘auth:api’, [‘except’ => [‘login’, ‘register’]]); } public function user() { return response()->json(auth()->user()); } public function login(Request $request) ..

Read more

I am getting duplicate items from an API in my adapter but I want to remove those duplicates from my side means from my adapter and print it once any idea how? Thanks in advance. got: duplicate rows in my cardview but through an API. want: just want to print it once and remove those ..

Read more

BackEnd create route generate WSDL file using zend soap of Zendframework in laravel 7 if(isset($_GET[‘wsdl’])) { // Create wsdl object and register type(s). $wsdl = new Wsdl(‘wsdl’, $this->endpoint); foreach($this->types as $key => $class) { $wsdl->addType($class, $key); } // Set type(s) on strategy object. $this->strategy->setContext($wsdl); foreach($this->types as $key => $class) { $this->strategy->addComplexType($class); } // Auto-discover and ..

Read more

we are students university students doing a project name Home Automation system.I want to build an Android app that anybody can use to light, fans, and other equipment.We have decided to use Java and Android studio and Arduino, relays to control electric stuff. would anybody recommend the best tools, frameworks for making the frontend and ..

Read more