| Reply | « Previous Thread | Next Thread » |
|
Although I received some tips about this topic in another thread, being them not enough to solve the problem, and being that thread title completely misleading about my issue, I open a new thread to ask:
how can I have my program starting a GPRS connection without asking user intervention? My phone has 2 operator-locked access points, so I can't define a "default" one, and I'm always asked which one I want to use every time a program try accessing internet. Can I override the request in python? I tried: import socket #imports the Module #apid = socket.select_access_point() # Skip user request ap = socket.access_point(1) ap.start() # start an GPRS connection ap.stop() It does not work: ap.ip() reveals the connection IS active, but upon using it to upload a file (with ftplib.FTP), I get a "(0, 'getaddrinfo failed')" error. |
|
From what I read in the other thread it really seems you have no solution, mate..
ap.start(), <network code>, ap.stop() here in my phone works just fine without setting default AP nor selection dialog showing up.. |
|
Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
|
hi cassioli
sorry for asking this stupid question what sort of connection you are using a WAP or GPRS connection. Hope you get this question Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
But it's also the same which works while browsing with internal browser, which maybe is a WAP browser... or not?Guys, I'm quite confused.... ![]() Isn't there any other module apart from socket to check/access connection status? |
|
Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
|
hi cassioli
as far as i know the error you are getting is due to the wap connection. I suggest you to try with some other operators GPRS connection and i think that will work. Or contact your operator they can explain you about your connection type. but i am very much sure the error you are getting is due to wap connection. Hope this will help you Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| how to check gprs connection +j2me? | mrrajesh_1982 | Mobile Java Networking & Messaging & Security | 3 | 2006-10-27 00:41 |
| how to check gprs connection +j2me? | mrrajesh_1982 | Mobile Java General | 1 | 2006-10-25 11:23 |
| GPRS connection help please! | bevered | General Discussion | 0 | 2005-03-08 13:25 |
| GPRS connection help please! | bevered | General Browsing | 0 | 2005-03-08 13:22 |
| http connection / gprs | DaneelGiskard | Mobile Java General | 1 | 2002-06-16 09:30 |