question

evyatda avatar image
0 Likes"
evyatda asked

my app id don`t work ?

i buy plugin to my site and my app id not work on him but when i try anther app id its work ! how i can fix it or do new one ?
app idfix app
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
broadnetechnologie_0 avatar image
0 Likes"
broadnetechnologie_0 answered
@evyatda Try this code if your Id is not working //Android SMS API integration code //Your application url String ApiUrl = "ApiUrl"; //Your User Id String user = "user"; //Your password String pass = "****"; //Multiple mobiles numbers separated by comma String mobiles = "9999999"; //Sender ID,While using route4 sender id should be 6 characters long. String sid = "102234"; //Your message to send, Add URL encoding here. String message = "Test message"; URLConnection myURLConnection=null; URL myURL=null; BufferedReader reader=null; //encoding message String encoded_message=URLEncoder.encode(message); //Send SMS API String mainUrl="https://broadnet.mme/api/xxxx.php?"; //Prepare parameter string StringBuilder sbPostData= new StringBuilder(mainUrl); sbPostData.append("user="+user); sbPostData.append("&pass="+pass); sbPostData.append("&mobiles="+mobiles); sbPostData.append("&message="+encoded_message); sbPostData.append("&sid="+sid); //final string mainUrl = sbPostData.toString(); try { //prepare connection myURL = new URL(mainUrl); myURLConnection = myURL.openConnection(); myURLConnection.connect(); reader= new BufferedReader(new InputStreamReader(myURLConnection.getInputStream())); //reading response String response; while ((response = reader.readLine()) != null) //print response Log.d("RESPONSE", ""+response); //finally close connection reader.close(); } catch (IOException e) { e.printStackTrace(); }
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.