testing my app

by Sylvester Steele » Wed, 25 Jun 2008 11:19:08 GMT


Sponsored Links
 Hi,
 I want to make an app that will react to a phone call. How do I test
this? ie how do I simulate incoming calls?

Thanks,
Sylvester
--~--~---------~--~----~------------~-------~--~----~



testing my app

by Frederico Affini » Wed, 25 Jun 2008 15:07:28 GMT


 All you have to do is:

   1) Start the Android emulator
   2) Open a command line (Start > Run, then type cmd and hit enter, using
windows)
   3) On command line type "telnet localhost 5554"
   4) You should see the Android Console
   5) Type "gsm call +44114444" and hit enter

You should see a incoming call on the emulator from the number given o step
5

Regards,
Fred

On Wed, Jun 25, 2008 at 8:19 AM, Sylvester Steele <[EMAIL PROTECTED]>





-- 
Fred Affini
 http://www.linkedin.com/in/fredaffini 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


testing my app

by Sylvester Steele » Wed, 25 Jun 2008 17:33:37 GMT


 Thanks.

Sylvester
--~--~---------~--~----~------------~-------~--~----~



testing my app

by Sylvester Steele » Thu, 26 Jun 2008 08:54:50 GMT


 I see a similar option to test smss also, but it doesn't seem to work.
I typed: sms send +1234 qwer . The console says OK but no sms appears
in the emulator. How do I fix this?

Sylvester
--~--~---------~--~----~------------~-------~--~----~



testing my app

by Frederico Affini » Thu, 26 Jun 2008 11:36:33 GMT


 It's not a problem.

The Android SDK doesn't has an application to handle SMS messages, so you
will have to either create one or get one in the web so you can test SMS
messages.

Regards,
Fred

On Thu, Jun 26, 2008 at 5:54 AM, Sylvester Steele <[EMAIL PROTECTED]>





-- 
Fred Affini
 http://www.linkedin.com/in/fredaffini 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Accessing contact's phone numbers

They added support for multiple accounts (woot). However as contacts
are by account something had to give ...

--
RichardC

On Oct 30, 6:40pm, "nEx.Software" <email.nex.softw...@gmail.com>






--~--~---------~--~----~------------~-------~--~----~

2. Does ANYONE HAVE ANY IDEA WHY THIS CODE WILL NOT PLLAY VIDEO..Video From Youtube in Emulator Android 2.1 Eclipse Gallileo/ Unable to play video

package info.shouraig.com;



import java.io.IOException;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.util.Log;
import android.widget.VideoView;

public class XSO9 extends Activity{
        private static final String HTTP = "http://www.youtube.com/watch?
v=6ej-imJWuno";
        VideoView VideoXSO9;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        //Fill viewView from resource
        VideoView videoView =(VideoView)findViewById(R.id.VideoXSO9);
        Log.v("videoXSO9", "***Video to Play::" + HTTP);
        MediaPlayer mp = new MediaPlayer();
        try {
                        mp.setDataSource(HTTP);
                } catch (IllegalArgumentException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                } catch (IllegalStateException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                } try {
                        mp.prepare();
                } catch (IllegalStateException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
            mp.start();





        //Start Video




    }
}

--

3. Satu lagi killer apps

4. How to select/install a locale other than English ?

5. clicks to MapView to firing onClick

6. Porting Android error 'Illegal instruction' in init

7. Input Method