[Solved] How to store the entered data into a remote database?

I’m assuming you want to communicate with the remote server through API.To Send POST and GET request to the server, means to create a connection between the server and Android Application.There are many libraries to make HTTP request for example Retrofit,Volley etc, These powerful libraries make it easy to consume JSON or XML data.You can … Read more

[Solved] app crashing because of ‘Caused by: java.lang.NullPointerException’ error [closed]

Hey you are are getting exception on something like this code your_toggle_button.setChecked(true); The above code is in other class rather than your_toggle_button activity because you can’t touch your activity’s child if the activity is not running, to achieve this you will have to save your value in some variable and send it through intent when … Read more

[Solved] Text Message (SMS)

Well… I recomend you to put this on a try{}catch{} to know what’s failing… check this : try { SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(numbers[1], null, msg, null, null); Toast.makeText(getApplicationContext(), “Message Sent”, Toast.LENGTH_LONG).show(); } catch (Exception ex) { Toast.makeText(getApplicationContext(),ex.getMessage().toString(), Toast.LENGTH_LONG).show(); ex.printStackTrace(); } By the way don’t forget to add this on your manifest.xml <uses-permission android:name=”android.permission.SEND_SMS” /> … Read more

[Solved] Should I use ListView to show sms inside inbox?

You may use RecyclerView, which is far more advanced and customize-able than ListView. Here is a link to start with: http://hmkcode.com/android-simple-recyclerview-widget-example/ Note: I’m not representing or related to hmkcode in any way, nor intend to promote hmkcode on any forum this is just a link to provide something to start with. solved Should I use … Read more