HTC Explorer support for developing appsSupport

Last Updated:

  1. heartbyte101

    heartbyte101 New Member

    Can anyone please tell me if the phone HTC Explorer(HTC Explorer Product Overview - HTC Smartphones) allows the use of the API. What I mean is, will writing an application using that API work out of the box on that phone, without having to root the phone or modify android OS system files?

    If anyone has this phone and would be kind enough to try a demo application like SipDemo or better yet try calling the static methods isApiSupported and isVoipSupported of the SipManager class to see if the API can be accessed, I would appreciate it very much.

    To spare you some time, this is an activity that logs if the API is accessible or not:

    Code (Text):
    2. package voip.test;
    4. import;
    5. import;
    6. import android.os.Bundle;
    7. import android.util.Log;
    8. import android.widget.Toast;
    10. public class SipTestActivity extends Activity {
    12.     private static final String TAG = "voip_test";
    14.     @Override
    15.     public void onCreate(Bundle savedInstanceState) {
    16.         super.onCreate(savedInstanceState);
    17.         setContentView(R.layout.main);
    19.         if (SipManager.isApiSupported(this) && SipManager.isVoipSupported(this)) {
    20.             Log.d(TAG, "supported");
    21.             Toast.makeText(this, "supported", Toast.LENGTH_LONG).show();
    22.         } else {
    23.             Log.d(TAG, "not supported");
    24.             Toast.makeText(this, "not supported", Toast.LENGTH_LONG).show();
    25.         }
    26.     }
    27. }
    I have also attached a zip archive containing a self-signed application that uses the previous activity code and when run, logs and toasts the status of the API.

    Any help with this, would be much appreciated! Thanks

    Attached Files:

  2. Rush

    Rush {<>}~{<>}

    Hello and welcome aboard. Thanks for being apart of the community.

    I've moved your thread over to its area of support for some better responses. :)
    heartbyte101 likes this.
  3. heartbyte101

    heartbyte101 New Member

    Thanks, any help regarding my question would also be appreciated :)

Share This Page