Category : android-studio

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

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

In some situations, when a View changes its position, It’s just hiding from its old position and visible in the new position. But I want to change their position using animation to translate from its old position to a new position. For example, I have a Linear layout with 10 buttons. By clicking a button ..

Read more