Dear All,
First I hope this is not too off-b4-topic, but since I imagine some other b4j users got this working, I thought it´d be good to ask here.
I´ve had fiddler working well with b4a before with no issues because b4a uses the system proxy.
b4j however doesn´t, and I´ve read about how to get there.
I´ve already imported the fiddler certificate to java using keytool, and that went fine.
So at:
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureJavaApp
It´s saying that I should do this:
But jre is not a command - no jre.exe exists in my system. I tried using java instead of jre on a command prompt, but it just lists the help options.
Then I thought that this would do the trick, in my b4j code:
(also tried 8888 without quotation marks)
As the first thing in the AppStart sub. But still no luck, fiddler completely ignores the packages going in and out of b4j.
Any clue what I´m missing here?
Thanks in advance!
First I hope this is not too off-b4-topic, but since I imagine some other b4j users got this working, I thought it´d be good to ask here.
I´ve had fiddler working well with b4a before with no issues because b4a uses the system proxy.
b4j however doesn´t, and I´ve read about how to get there.
I´ve already imported the fiddler certificate to java using keytool, and that went fine.
So at:
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureJavaApp
It´s saying that I should do this:
B4X:
jre -DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888
But jre is not a command - no jre.exe exists in my system. I tried using java instead of jre on a command prompt, but it just lists the help options.
Then I thought that this would do the trick, in my b4j code:
B4X:
SetSystemProperty("http.proxyHost", "127.0.0.1" )
SetSystemProperty("http.proxyPort", "8888" )
(also tried 8888 without quotation marks)
As the first thing in the AppStart sub. But still no luck, fiddler completely ignores the packages going in and out of b4j.
Any clue what I´m missing here?
Thanks in advance!
Last edited: