Image Slider

 Settings.gradle

maven { url 'https://jitpack.io' }


Build gradle
implementation 'com.github.denzcoskun:ImageSlideshow:0.1.0'

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="200dp"
app:cardBackgroundColor="@color/lavender"
android:layout_marginTop="30dp"
android:layout_marginEnd="20dp"
android:layout_marginStart="20dp"
app:cardElevation="20dp"
app:cardCornerRadius="20dp"
>

<com.denzcoskun.imageslider.ImageSlider
android:id="@+id/imageSlider"
android:layout_width="match_parent"
android:layout_height="200dp"
app:iss_period="1000"
app:iss_auto_cycle="true"
app:iss_delay="1000"
app:iss_corner_radius="20"
app:iss_title_background="@drawable/gradient"
/>

</androidx.cardview.widget.CardView>

Splash Screen


 Xml Code

<ImageView
android:id="@+id/logo"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerInParent="true"
android:src="@drawable/splash" />
<TextView
android:id="@+id/appName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/logo"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:text="@string/app_name"
android:textColor="@color/black"
android:textSize="20sp" />

Java Code

this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_splash);

 // For Hide Action Bar
// ActionBar actionBar = getSupportActionBar();
// actionBar.hide();

//For Splash Screen
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
//Code here
Intent myIntent = new Intent(Splash.this, MainActivity.class);
startActivity(myIntent);
finish();
}
},5000);
//==================================

Drawer Navigation

 


XML

<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/drawerLayout"
tools:context=".MainActivity"
>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>



<LinearLayout
android:id="@+id/topLay"
android:layout_width="match_parent"
android:layout_height="80dp"
android:orientation="horizontal"
android:background="#FB9898"
>

<ImageView
android:id="@+id/menu"
android:layout_width="60dp"
android:layout_height="match_parent"
android:src="@drawable/line"
android:padding="10dp"
/>

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/app_name"
android:textSize="25sp"
android:gravity="center"
android:textColor="#D51313"
/>

</LinearLayout>


<FrameLayout
android:id="@+id/frameLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/topLay"
>

</FrameLayout>

</RelativeLayout>


<com.google.android.material.navigation.NavigationView
android:id="@+id/navigationView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
app:menu="@menu/drawer_menu"
android:layout_gravity="start"
app:headerLayout="@layout/header_layout"
app:itemTextColor="@color/text_iconcolor"
app:itemIconTint="@color/icon_color"
android:background="#FFFFFF"
android:layout_marginTop="55dp"
/>

</androidx.drawerlayout.widget.DrawerLayout>


hader_layout

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>

<TextView
android:layout_width="match_parent"
android:layout_height="200dp"
android:text="Header"
android:textSize="30sp"
android:gravity="center"
android:background="#2196F3"
/>

</LinearLayout>

drawer_menu

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">


<group
android:id="@+id/groop1"
>
<item
android:id="@+id/home"
android:title="Home"
android:icon="@drawable/home"
android:checkable="true"
/>
</group>

<group
android:id="@+id/groop2"
>
<item
android:id="@+id/favourite"
android:title="English Favourite"
android:icon="@drawable/home"
android:checkable="true"
/>

</group>




<group
android:id="@+id/groop4"
>
<item android:id="@+id/noteBook"
android:title="Note Book"
android:icon="@drawable/home"
android:checkable="true"
/>
</group>



<group
android:id="@+id/groop5"
>
<item android:id="@+id/rate_app"
android:title="Rate this app"
android:icon="@drawable/home"
/>
</group>


<group
android:id="@+id/groop6"
>
<item android:id="@+id/share_app"
android:title="Share this app"
android:icon="@drawable/home"
/>
</group>




</menu>

res>new>android resource directory
color
text_iconcolor

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#DD8686" android:state_checked="true" />
<item android:color="@color/black" android:state_checked="false"/>
</selector>

color
icon_color
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#DD8686" android:state_checked="true" />
<item android:color="@color/black" android:state_checked="false"/>
</selector>


Java

package com.rakibshah.fgmt;

import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;

import androidx.activity.EdgeToEdge;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.GravityCompat;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;

import com.Fragment.Favourite;
import com.Fragment.FirstFragment;
import com.Fragment.Home;
import com.google.android.material.navigation.NavigationView;

public class MainActivity extends AppCompatActivity {

DrawerLayout drawerLayout;
NavigationView navigationView;
ImageView menu;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
setContentView(R.layout.activity_main);

drawerLayout = findViewById(R.id.drawerLayout);
navigationView = findViewById(R.id.navigationView);
menu = findViewById(R.id.menu);

menu.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
drawerLayout.openDrawer(GravityCompat.START);
}
});
navigationView.getMenu().getItem(0).setChecked(true);

navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {


if (item.getItemId()==R.id.home){
Toast.makeText(MainActivity.this, "This is Home", Toast.LENGTH_SHORT).show();
FragmentManager fManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout , new Home());
fragmentTransaction.commit();

drawerLayout.closeDrawer(GravityCompat.START);

} else if (item.getItemId()==R.id.favourite) {

Toast.makeText(MainActivity.this, "This is Fovourite", Toast.LENGTH_SHORT).show();

FragmentManager fManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout , new Favourite());
fragmentTransaction.commit();

drawerLayout.closeDrawer(GravityCompat.START);

} else if (item.getItemId()==R.id.noteBook) {

Toast.makeText(MainActivity.this, "Tjis Notebook", Toast.LENGTH_SHORT).show();

FragmentManager fManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout , new FirstFragment());
fragmentTransaction.commit();

drawerLayout.closeDrawer(GravityCompat.START);

}


return true;
}
});

}
}

Bottom Navigation

XML 

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">


<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:menu="@menu/bottom_nav"
        />


</RelativeLayout>


MENU

res > new > android resource directory
resource name: menu
source name: main

menu > new > menu resource file
File Name: bottom_nav

Botton Nav

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">

<item
android:id="@+id/home"
android:title="Home"
android:icon="@drawable/home"
/>

<item
android:id="@+id/notification"
android:title="Notification"
android:icon="@drawable/notification"
/>

<item
android:id="@+id/share"
android:title="Share"
android:icon="@drawable/share"
/>

</menu>

JAVA
package com.rakibshah.myapplication;

import android.os.Bundle;
import android.view.MenuItem;
import android.widget.Toast;

import androidx.activity.EdgeToEdge;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

import com.google.android.material.bottomnavigation.BottomNavigationView;
import com.google.android.material.navigation.NavigationBarView;

public class MainActivity extends AppCompatActivity {

BottomNavigationView bottomNav;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

bottomNav = findViewById(R.id.bottomNav);

bottomNav.getOrCreateBadge(R.id.notification).setNumber(100);


bottomNav.setOnItemSelectedListener(new NavigationBarView.OnItemSelectedListener() {
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {

if (item.getItemId()==R.id.home){

Toast.makeText(getApplicationContext(), "Home", Toast.LENGTH_LONG).show();
}

else if (item.getItemId()==R.id.notification){

Toast.makeText(getApplicationContext(), "Notification", Toast.LENGTH_LONG).show();
}

else if (item.getItemId()==R.id.share){

Toast.makeText(getApplicationContext(), "Share", Toast.LENGTH_LONG).show();
}

return true;
}
});

}
}




Tab Layout in Android 274

 Main Activity XML

 <?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity"
android:background="#FFFFFF"
>

<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"

>

<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Home"
/>

<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Profile"
/>

<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="List"
/>


</com.google.android.material.tabs.TabLayout>



<FrameLayout
android:id="@+id/frameLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#EDC7C7"
>

</FrameLayout>

</LinearLayout>

///////////////////////////
Main Activity Java

package com.rakibshah.server;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;

import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;

import com.First_Fragmeant;
import com.Second_Fragmeant;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;
import com.google.android.material.tabs.TabLayout;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class MainActivity extends AppCompatActivity {


TabLayout tabLayout;


@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

tabLayout = findViewById(R.id.tabLayout);

FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout, new First_Fragmeant() );
fragmentTransaction.commit();

tabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
@Override
public void onTabSelected(TabLayout.Tab tab) {
int tabPosition = tab.getPosition();
String tabText = tab.getText().toString();
Toast.makeText(MainActivity.this, tabText,Toast.LENGTH_LONG).show();

if (tabPosition == 0){

FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout, new First_Fragmeant() );
fragmentTransaction.commit();

} else if (tabPosition == 1) {

FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout, new Second_Fragmeant() );
fragmentTransaction.commit();

} else if (tabPosition == 2) {

FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.add(R.id.frameLayout, new First_Fragmeant() );
fragmentTransaction.commit();

}
}

@Override
public void onTabUnselected(TabLayout.Tab tab) {

}

@Override
public void onTabReselected(TabLayout.Tab tab) {

}
});






}
}

/////////////////////////////////////
Com > New > Fragment (Blank)

First Fragment XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.First_Fragmeant"
android:background="#D12D2D"
android:orientation="vertical"
android:padding="15dp"
>


<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="First Fragment"
android:textSize="25sp"
android:textStyle="bold"
android:layout_gravity="center"
/>
</LinearLayout>

//////////////////////////
First Fragment Java

package com;

import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.rakibshah.server.R;

public class First_Fragmeant extends Fragment {



@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
// Inflate the layout for this fragment

View myView = inflater.inflate(R.layout.fragment_first__fragmeant, container, false);

return myView;
}
}

/////////////////////////
Second Fragment XML

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.Second_Fragmeant"
android:orientation="vertical"
android:background="#00569A"
>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Second Fragment"
android:textStyle="bold"
android:textSize="25sp"
android:textColor="#FFFFFF"
android:layout_gravity="center"
/>


</LinearLayout>

Second Fragment Java

package com;

import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.rakibshah.server.R;

public class Second_Fragmeant extends Fragment {

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment

View myView = inflater.inflate(R.layout.fragment_second__fragmeant, container, false);
return myView;
}
}
 

JSON Parsing (Part 2) Class 258

 Website 



{
    "name" : "Rakib Shah",
    "age" : "22",
    
    "Video" : 
    [
        
        {
            
            "title" : "Sura Wakhia",
            "video_id" : "09tVICW0-zA"
        },
        
        {
            
           "title" : "Animal",
           "video_id" : "N-EBkrKrK4U"
            
        },
        
        {
            
            "title" : "Sura Yeasin",
            "video_id" : "VzJRPQDzB7I"
            
        }
        
        ]
    
    
}


dependencies 

implementation libs.volley
implementation 'com.squareup.picasso:picasso:2.8'


XML Main Activity

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity"
android:background="#FFFFFF"
>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#FFFFFF"
android:layout_margin="10dp"
>

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
/>


<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent" >

</ListView>


</LinearLayout>


</LinearLayout>


Item. XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_margin="10dp"
>


<TextView
android:id="@+id/tvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Title Here"
android:textSize="25sp"
android:textStyle="bold"
/>

<ImageView
android:id="@+id/imageThumb"
android:layout_width="match_parent"
android:layout_height="250dp"
android:src="@drawable/img"
android:scaleType="centerCrop"
/>
</LinearLayout>


JAVA
package com.rakibshah.server;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.HashMap;


public class MainActivity extends AppCompatActivity {

TextView textView;
ProgressBar progressBar;
ListView listView;

//ArrayList<HashMap<String, String>> arrayList = new ArrayList<>();
//HashMap <String, String> hashMap;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

progressBar = findViewById(R.id.progressBar);
listView = findViewById(R.id.listView);
textView = findViewById(R.id.textView);

String url = "https://asoshikhi.com/Drive/complex.json";
JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method.GET, url, null, new Response.Listener<JSONObject>() {
@Override
public void onResponse(JSONObject objectResponse) {

progressBar.setVisibility(View.GONE);
Log.d("serverResponse", objectResponse.toString());

try {
String name = objectResponse.getString("name");
String age = objectResponse.getString("age");

textView.append(name);
textView.append("\n");
textView.append(age);

JSONArray jsonArray = objectResponse.getJSONArray("videos");
JSONObject jsonObject = jsonArray.getJSONObject(0);

String title = jsonObject.getString("title");
String video_id = jsonObject.getString("video_id");

textView.append(title);
textView.append("\n");
textView.append(video_id);


} catch (JSONException e) {
throw new RuntimeException(e);
}

}
}, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {

}
});

RequestQueue requestQueue = Volley.newRequestQueue(MainActivity.this);
requestQueue.add(jsonObjectRequest);


}
}


JAVA (ChatGPT Code)

package com.rakibshah.server;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;

import androidx.appcompat.app.AppCompatActivity;

import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonObjectRequest;
import com.android.volley.toolbox.Volley;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class MainActivity extends AppCompatActivity {

private TextView textView;
private ProgressBar progressBar;
private ListView listView;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

// Initialize UI elements
progressBar = findViewById(R.id.progressBar);
listView = findViewById(R.id.listView);
textView = findViewById(R.id.textView);

// URL of the JSON file
String url = "https://asoshikhi.com/Drive/complex.json";

// Create a JsonObjectRequest
JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(
Request.Method.GET,
url,
null,
new Response.Listener<JSONObject>() {
@Override
public void onResponse(JSONObject response) {
// Hide the progress bar when the response is received
progressBar.setVisibility(View.GONE);
Log.d("serverResponse", response.toString());

try {
// Extract data from the JSON response
String name = response.getString("name");
String age = response.getString("age");

// Update the TextView with the data
textView.append(name + "\n");
textView.append(age + "\n");

// Extract videos array from the response
JSONArray videosArray = response.getJSONArray("videos");
for (int i = 0; i < videosArray.length(); i++) {
JSONObject videoObject = videosArray.getJSONObject(i);
String title = videoObject.getString("title");
String video_id = videoObject.getString("video_id");

// Update the TextView with the video details
textView.append("Title: " + title + "\n");
textView.append("Video ID: " + video_id + "\n");
}
} catch (JSONException e) {
e.printStackTrace();
Toast.makeText(MainActivity.this, "Error parsing JSON", Toast.LENGTH_SHORT).show();
}
}
},
new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
// Hide the progress bar when an error occurs
progressBar.setVisibility(View.GONE);
Toast.makeText(MainActivity.this, "Error fetching data: " + error.getMessage(), Toast.LENGTH_SHORT).show();
Log.e("serverError", error.toString());
}
}
);

// Add the request to the RequestQueue
RequestQueue requestQueue = Volley.newRequestQueue(this);
requestQueue.add(jsonObjectRequest);
}
}