Tuesday, 15 January 2013

Using an Emulator


Using an Emulator

Testing scripts with an emulator on a PC is possible. However there are
some restrictions when using an emulator, compared to using an S60
phone. For example, you cannot send and receive SMS messages or take
a photo with an emulator. Check Appendix D for instructions on how to
set up the emulator.

Summary

Jumping head first into hands-on action, we showed you in this chapter
how to write your first script with PyS60 and how to run it on your S60
mobile phone. We covered the basic steps to do this:
1. Download the installation files from the Internet.
2. Install the downloaded .SIS files to your phone.
3. Write a Python script on your computer.
4. Upload your Python script to the phone.
5. Test your script on the phone.
In Section 2.3, we programmed our first PyS60 application with three
lines of code. We hope this example got you excited to discover all
the great things you can do with PyS60. By continuing with a practical
hands-on approach, we guide you through the next chapter, helping you
to unfold your creativity and enabling you to program applications based
on your own ideas.
If you feel really bold and adventurous now, you can see an alternative
approach for updating PyS60 scripts on the phone over a network
connection in Section 10.3.3. For some developers, this might be the
most productive way to use PyS60. If you want to see even more nifty
tricks that PyS60 can do, Appendix B tells you how to use the PyS60
interpreter remotely on your PC over Bluetooth.

No comments:

Post a Comment