• The default language of any content posted is English.
Smart School Android App - Mobile Application for Smart School

Smart School Android App - Mobile Application for Smart School 3.5

raz0r

owner
Staff member
Administrator
Moderator
Messages
16,369
Reactions
62,081
raz0r submitted a new resource:

Smart School Android App - Mobile Application for Smart School - Mobile Application for Smart School | 23664144

View attachment 2775

Smart School Android App is native Android application for Smart School : School Management System.

Smart School Android App is a simple and intuitive application focused on student/parent can access their school information on mobile. The aim is to not only enhance learning experience of the students, but also enrich the lives of parents so they...

Read more about this resource...
 
raz0r updated Smart School Android App - Mobile Application for Smart School with a new update entry:

Smart School Android App v3.5

Released Date: 4 August, 2023.

General Changes
  • Added support for CBSE Examination addon
  • Zoom live classes addon compatibility updated

Bug Fixes
  • App forgot password for parent not working issue
  • API call timezone issue
  • Paytm payment gateway issue
  • Examination scrolling issue
  • Dashboard screen spacing issue
  • Dashboard screen name language translation issue

Read the rest of this update entry...
 
it need to be nulled there is query to the server in newdashboard.java @raz0r can see if possible to null?

Java:
 final String requestBody = bodyParams;

            String url = "https://sstrace.qdocs.in/postlic/verifyappjsonv2";
            StringRequest stringRequest = new StringRequest(Request.Method.POST, url, new Response.Listener<String>() {
                @Override
                public void onResponse(String result) {
                    System.out.println("result=="+result);
                    if (result != null) {
                        pd.dismiss();
                        try {

                            JSONObject object = new JSONObject(result);

                            if(object.getString("status").equals("0")) {
                                Utility.setSharedPreferenceBoolean(getApplicationContext(), Constants.isLoggegIn, false);

                                android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(NewDashboard.this);
                                builder.setCancelable(false);
                                //builder.setMessage(R.string.verificationMessage);
                                builder.setMessage(object.getString("msg"));
                                builder.setTitle("");
                                builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {

                                    public void onClick(DialogInterface dialog, int which) {
                                        if (Utility.isConnectingToInternet(getApplicationContext())) {
                                            logoutparams.put("deviceToken", device_token);
                                            JSONObject obj=new JSONObject(logoutparams);
                                            Log.e("params ", obj.toString());
                                            System.out.println("Logout Details=="+obj.toString());
                                            loginOutApi(obj.toString());
                                        } else {
                                            makeText(getApplicationContext(),R.string.noInternetMsg, Toast.LENGTH_SHORT).show();
                                        }
                                    }
                                });

                                android.app.AlertDialog alert = builder.create();
                                alert.show();
                            }else {

                                if (Utility.getSharedPreferences(getApplicationContext(), Constants.loginType).equals("student")) {
                                    aparams.put("id", Utility.getSharedPreferences(getApplicationContext(), "studentId"));
                                    aparams.put("user_type", Utility.getSharedPreferences(getApplicationContext(), Constants.loginType));
                                    JSONObject obj = new JSONObject(aparams);
                                    Log.e("params ", obj.toString());
                                    System.out.println("Status Details==" + obj.toString());
                                    checkStudentStatus(obj.toString());
                                } else {
                                    aparams.put("id", Utility.getSharedPreferences(getApplicationContext(), Constants.parentsId));
                                    aparams.put("user_type", Utility.getSharedPreferences(getApplicationContext(), Constants.loginType));
                                    JSONObject obj = new JSONObject(aparams);
                                    Log.e("params ", obj.toString());
                                    System.out.println("Status Details==" + obj.toString());
                                    checkStudentStatus(obj.toString());
                                }
                            }
 
it need to be nulled there is query to the server in newdashboard.java @raz0r can see if possible to null?

Java:
 final String requestBody = bodyParams;

            String url = "https://sstrace.qdocs.in/postlic/verifyappjsonv2";
            StringRequest stringRequest = new StringRequest(Request.Method.POST, url, new Response.Listener<String>() {
                @Override
                public void onResponse(String result) {
                    System.out.println("result=="+result);
                    if (result != null) {
                        pd.dismiss();
                        try {

                            JSONObject object = new JSONObject(result);

                            if(object.getString("status").equals("0")) {
                                Utility.setSharedPreferenceBoolean(getApplicationContext(), Constants.isLoggegIn, false);

                                android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(NewDashboard.this);
                                builder.setCancelable(false);
                                //builder.setMessage(R.string.verificationMessage);
                                builder.setMessage(object.getString("msg"));
                                builder.setTitle("");
                                builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {

                                    public void onClick(DialogInterface dialog, int which) {
                                        if (Utility.isConnectingToInternet(getApplicationContext())) {
                                            logoutparams.put("deviceToken", device_token);
                                            JSONObject obj=new JSONObject(logoutparams);
                                            Log.e("params ", obj.toString());
                                            System.out.println("Logout Details=="+obj.toString());
                                            loginOutApi(obj.toString());
                                        } else {
                                            makeText(getApplicationContext(),R.string.noInternetMsg, Toast.LENGTH_SHORT).show();
                                        }
                                    }
                                });

                                android.app.AlertDialog alert = builder.create();
                                alert.show();
                            }else {

                                if (Utility.getSharedPreferences(getApplicationContext(), Constants.loginType).equals("student")) {
                                    aparams.put("id", Utility.getSharedPreferences(getApplicationContext(), "studentId"));
                                    aparams.put("user_type", Utility.getSharedPreferences(getApplicationContext(), Constants.loginType));
                                    JSONObject obj = new JSONObject(aparams);
                                    Log.e("params ", obj.toString());
                                    System.out.println("Status Details==" + obj.toString());
                                    checkStudentStatus(obj.toString());
                                } else {
                                    aparams.put("id", Utility.getSharedPreferences(getApplicationContext(), Constants.parentsId));
                                    aparams.put("user_type", Utility.getSharedPreferences(getApplicationContext(), Constants.loginType));
                                    JSONObject obj = new JSONObject(aparams);
                                    Log.e("params ", obj.toString());
                                    System.out.println("Status Details==" + obj.toString());
                                    checkStudentStatus(obj.toString());
                                }
                            }
I'm not good at java, need create fake json response like that
JavaScript:
{ \"status\": \"1\", \"msg\": \"Valid\" }
 
I'm not good at java, need create fake json response like that
JavaScript:
{ \"status\": \"1\", \"msg\": \"Valid\" }
sorry whiich line need to be replaced with this ?? i am newbie here
 
Version 4.0

Not nulled

Released Date: 9 January, 2024

General Changes
  • Whole system updated for PHP version 8.1
  • Updated for Codeigniter 3 latest version 3.1.13
  • Api level 33 update

Bug Fixes
  • File upload issue
  • Processing Fees issue
 
Version 4.0

Not nulled

Released Date: 9 January, 2024

General Changes
  • Whole system updated for PHP version 8.1
  • Updated for Codeigniter 3 latest version 3.1.13
  • Api level 33 update

Bug Fixes
  • File upload issue
  • Processing Fees issue
*** Hidden text: cannot be quoted. ***
Thank you my dear for your wonderful resource.
 
Top