Im getting this :
PHP Parse error: syntax error, unexpected T_LOGICAL_OR in C:\Program
Files\PHP\
AndroidMapProxy.php on line 169
Please assist
On Aug 26, 2:20 pm, jokochi [EMAIL PROTECTED] wrote:
Hi Shan,
I did open two windows with cmd.exe.
And run php script in a window,
c:\ php
T_LOGICAL_OR means or operator in PHP, but there is no or operator
in the script.
Maybe you got a capture with needless line break in the script.
Please fix to be one line.
// add a protocol and a host address to be a full URI in a POST and/or
GET request.
I don't think other lines will cause
Hi Shan,
I did open two windows with cmd.exe.
And run php script in a window,
c:\ php AndroidMapProxy.php http://my.proxy.com: 8001 - please
fix them.
Then run emulator in another window,
c:\emulator -http-proxy http://127.0.0.1:8001 - this must be the
same port number that specified
Hi Jokochi, I have added exceptions for PHP.exe in the firewall, still
does'nt work.
Could you please give me the exact steps of how you did it on windows
so that i can check where am i messing it.
On Aug 22, 7:06 pm, jokochi [EMAIL PROTECTED] wrote:
Yes, I am able to see the map.
After that
Also, did you see the maps via the maps application or on the browser?
On Aug 22, 7:06 pm, jokochi [EMAIL PROTECTED] wrote:
Yes, I am able to see the map.
After that I checked the script working on Windows.
Have you install PHP5 and run it on command prompt(cmd.exe) ?
Windows PHP can be
Hi Justin
Now the browser works in the emulator but not the maps.
Any suggestions to get the maps going.
On Aug 21, 1:34 am, Justin (Google Employee) [EMAIL PROTECTED]
wrote:
Does the browser work in the emulator for you? The emulator doesn't
deal well with being behind a proxy and my guess
Hi Jokochi
I am using a Windows machine, do i need to setup something to execute
the script?
Also my proxy port no is 8080, i could make out that you were routing
to 8080 but mine already runs on the same.
I tried to execute it on IE7 but it returned an open-save dialog which
keeps looping.
I
Thanks Jokochi, still can't get it same problems. Please update if you
could.
Were you able to display the maps?
On Aug 22, 1:10 pm, jokochi [EMAIL PROTECTED] wrote:
Hi Shan,
I am sorry I did not test with windows so I can not answer you so far.
But at least your PC has to be installed
Yes, I am able to see the map.
After that I checked the script working on Windows.
Have you install PHP5 and run it on command prompt(cmd.exe) ?
Windows PHP can be found here.
http://www.php.net/get/php-5.2.6-win32-installer.msi/from/a/mirror
I installed it with default setting.
Please do not
I am in the same situation that the browser in 0.9 couldn't get any
data behind proxy.
Also I recognize this problem is same as map view.
Because of most proxy server will not convey a packet besides SSL(443)
port with CONNECT method but MapView is trying to connect with CONNECT
method first.
sure jokochi, that would be a great help. At least we can expect a reply
from google about the situation
2008/8/21 jokochi [EMAIL PROTECTED]
I am in the same situation that the browser in 0.9 couldn't get any
data behind proxy.
Also I recognize this problem is same as map view.
Because of
Jokochi,
I would be interested in seeing your solution as well. Thanks.
On Aug 21, 5:12 am, jokochi [EMAIL PROTECTED] wrote:
I am in the same situation that the browser in 0.9 couldn't get any
data behind proxy.
Also I recognize this problem is same as map view.
Because of most proxy
Hi daspears,
Ok I attached whole script at the end of this post.
It has been tested on
Linux Fedora Core 6 + PHP5 +Android m5rc15
and
Linux Fedora Core 9 + PHP5 +Android 0.9beta .
Please keep a mind this is a workaround and possibly be dangerous:-).
This script runs as proxy's proxy.
1.
Does the browser work in the emulator for you? The emulator doesn't
deal well with being behind a proxy and my guess would be that you
aren't able to use any data at all.
Cheers,
Justin
Android Team @ Google
On Aug 20, 5:40 am, shan [EMAIL PROTECTED] wrote:
Can the maps API work behind proxy
No the browser is not working till now, the -http-proxy startup option
does'nt seem to work(for the 0.9).
But in the m5r15 i could get the browser to work via the http_proxy
field in the system table, but the maps application could not connect
to the server. I think that it uses a config totally
15 matches
Mail list logo