You Are Here:

Community: Developer Discussion Boards

#1 Old connecting SDK emulator to network laptop - 2008-12-10, 02:55

Join Date: Dec 2008
Posts: 2
koeznandar
Offline
Registered User
hai, i have installed SDK : "2nd Edition SDK Feature Pack 2" and python SDK
python running well on emulator. but i have question : how to connect network/communication between emulator and my laptop, on laptop i have installed apache+mysql+php. right now emulator can't access apache on laptop i have test on emulator browser and type localhost on browser and still don't work.

i test with this script

# use the urllib library
import urllib
import appuifw

def fetchfile():
# define a url where the picture you want to download is located on the net
url = "http://localhost/apache_pb.gif"
# define the file name and the location of the downloaded file for local storage e.g. on the c drive
tempfile = "c:\\testimg.gif"
try:
# fetch the image
urllib.urlretrieve(url, tempfile)
appuifw.note(u"Image received", "info")
except:
print "Could not fetch file."

if appuifw.query(u"fetch image?","query") == True:
fetchfile()

when script execute image can't save into c:

btw i have started npacketadmin.

can anybody write or explain step by step how to connecting between emulator and laptop network.


thank you
Reply With Quote

#2 Old Re: connecting SDK emulator to network laptop - 2008-12-10, 07:07

Join Date: Sep 2007
Posts: 395
Location: Bhavnagar
Send a message via Yahoo to james1980
james1980's Avatar
james1980
Offline
Forum Nokia Champion
hi,
please use the code tag given on the top of this window as a '#' so that it would mailtain all space and indentation.


Jajal Mehul
Reply With Quote

#3 Old Re: connecting SDK emulator to network laptop - 2008-12-13, 03:50

Join Date: Dec 2008
Posts: 6
samsee
Offline
Registered User
my problem is same with you koeznandar, can anybody expain how fix this problem aor any ideas?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Dell Inspiron Laptop with N6610 thr Infrared Port phani.sekhar PC Suite API and PC Connectivity SDK 1 2006-04-25 17:23
Nokia PC Connectivity能否链接到cdma手机上发送短信和其他操作? bborn Web Technologies and Multimedia Content- Web 技术和多媒体内容 2 2004-05-04 12:06
Connecting 8310 to laptop and internet zedmaestro PC Suite API and PC Connectivity SDK 1 2004-02-26 16:51
Connecting 6210 via Bluetooth to PC Connectivity SDK Stone_Rose PC Suite API and PC Connectivity SDK 0 2002-08-06 09:50
Series 60 SDK\ Laptop problem StephanW Symbian Tools & SDKs 0 2002-05-24 14:09

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia