Category : java

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>() ..

Read more

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, ..

Read more

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. ..

Read more

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; ..

Read more