I am trying to get json data from my php server but whenever i try im getting "org.json.JSONException: End of input at character 0 of" also im using fragment for bottom menu private void getData() { // Initialize a new RequestQueue instance RequestQueue queue = Volley.newRequestQueue(this); JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method.GET, dataurl+name, null, new Response.Listener<JSONObject>() ..
Category : java
Am coming from big nerd ranch book the recycler view does not show any items but the code seems the same This is my code a class where the adapter and view holder be public class CrimeListFragment extends Fragment { private RecyclerView crime_recyclerView; private CrimeAdapter crimeAdapter ; @Override public View onCreateView( LayoutInflater inflater, ViewGroup container, ..
I am making a game via libgdx for android phone. When I add explosion annimations in the game, after 10 munits later the game is stretching and I am getting this error messages which is below. After 20 munits the game crash and I am getting another error messages in android studio. What is this. ..

i need to run code when pressed on action in notification idon’t want open new activity I want to run code for save value in sharedPrefrencess or remove notification form stat bar …oct i need to remove notification and save value in sharedPrefrenccess when pressed stop actions how to do this please help me Source: ..
So I am trying to develop a public library. I am having issues with adding a fragment to the addItem activity which holds a main menu with click able buttons like book. I understand there are plenty off help online but I cannot seem to get this issue solved package com.example.app2; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; ..
Is there any way how to remove 1 column from database with Cursor at 00:00? (Or when application boot up check if was 00:00 after last usage). Thanks for any help! Source: Android..
I am making a food delivery app for a restaurant in my city. I already made the app for ordering food, but now I have to make a second app for the workers at the restaurant in which the ordered items will be outputted on the screen. What is the best way to send order ..
I am new to android and i already have mqtt running but i need to connect to the broker every time i start a new activity, i have been searching but really couldnt find a exact way to do it. I found a Mqttservice example but dont know how to implement to main activity and ..
I’m using google billing client v3.0.3 Yesterday someone made a purchase on my app, but it is not showing on google play console. So this is a fake purchase. i believe the google purchase method has been cheated. i save this information in firebase when the purchase is made. How can i prevent this from ..
I developed an application that loads multiple items into a recyclerView. The items are books that either uploaded by the user or loaded from Google Books API. Each user has their "Library" where I store the ID’s of the books. When the user enters his library, I use for loop to load the books from ..
Recent Comments