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. ExpandableListAdapter Crash

My uses an expandable list adapter. I ran into a problem when I update
the adapter content. Here is the sequence of events:

1) Adapter contains groups A, B, C. Group A and C contain 2 children
2) I update the adapter data (I call notifyDataSetChanged) due to the
fact that Group B is removed by the user
3) If group C was expanded the code crashes in getChildrenCount
because it gets called with a groupPosition which is 3 (the old number
of groups)

@Override
public int getChildrenCount( int groupPosition)
{
        if( groupPosition >= m_groups.size())
        {
                Log.e( "getChildrenCount", "Group index: " + groupPosition);
                return 0;
        }
    return m_groups.get(groupPosition).getBuddies().size();
}

If I check that the group position is correct and return 0 for the
children count the problem goes away. Also, if group C was not
collapsed before I removed group B the crash does not occur because
getChildrenCount is not called (makes sense).

It seems to me that the adapter is using the old size of the groups
array to do something with the expanded items. If the last item is
expanded a crash would occur.
--~--~---------~--~----~------------~-------~--~----~

2. Anyone else seeing problems with the browser & Google Sites?

Have you tried accessing it on Wifi vs. cell data?  Could also be a
t-mobile data issue.










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

3. Problem with Callbacks while restoring UI state

4. Weird Map Problem (Controlling same map)

5. java.util.Timer NOT make sense in Activity?

6. Clone inner-class Dalvik bug? or "Don't do that"

7. OpenAL