I'm struggling with read() and StringBuffer(), and .toString() and .indexOf() when reading InputStream. Lots of interesting issues here - lots of things to observe and learn.
Anyway, finally I see...
Type: Posts; User: szezo; Keyword(s):
I'm struggling with read() and StringBuffer(), and .toString() and .indexOf() when reading InputStream. Lots of interesting issues here - lots of things to observe and learn.
Anyway, finally I see...
Retrieving http://www.google.com works the same way: each byte is received (and printed to System.out.)
Server side code (today) is
try { server=(ServerSocketConnection)...
I'm sending a simple GET request
* by browser to emulator: http://localhost:8888/index.html?a=1&b=2
* on device by using this snippet:
// via...
You're right and this worked well in my tests too! :-)
I tried to use both 'readUTF' (for DataInputStream) and 'read' with InputStream - both failed to identify the end of request character...
The idea is to establish a Socket to listen to incoming HTTP requests. E.g. from localhost in the form of "http://localhost/index.html?a=1&b=2" or from a web browser (e.g. on the emulator in SDK)
This link doesn't work: http://www.forum.nokia.com/main/resources/technologies/connectivity/wired_interfaces.html
Is there any site where Nokia devices with USB OTG features are listed?
So which connection class can acceptAndOpen() an "http://...." call and receive its data?
Connection
ContentConnection
DatagramConnection
InputConnection
OutputConnection
StreamConnection...
Using the server side code from http://www.coderanch.com/forums/forums/posts/watch/0/456565
throws this error:
java.lang.ClassCastException:...
Could Jython be deployed (or ported+compiled+released) to S40? http://www.jython.org/
Let me open this over 8 years old question posted at http://discussion.forum.nokia.com/forum/showthread.php?84373-Python-for-S60-3rd-Edition&p=232117&viewfull=1#post232117
We're in 2011 and...
Nothing seems to work out - same error over and over again...
Here may be some guidance http://www.symbianconsulting.net/DevStick/files/python/PythonForS60/module-repo/standard-modules/site.py
...
True, it looks trivial until one looks into 'silent_bt.py' file - it may be required...
import _silent_bt
import e32
#devices = silent_bt.discover()
def format_devices(devices):
...
The compiled .sis file now uses the same capability sets as PyS60: ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment
Python interpreter via BlueTooth console throws the...
Okay, there were too many capabilities listed and now I removed Location and others - so installation on E71 is successful. Yet the newly built self signed module doesn't load in Python...
:-(
Cool!
However, the error messages are not the issue: I've spent the entire day solving one at a time and by now I have a successful build of silent_bt_unsigned.sis and silent_bt_selfsigned.sis...
http://mobile.antonypranata.com/2006/06/16/interpreting-signing-error-messages-in-s60-3rd-edition/
This site is no longer available - i.e. error messages when signing .sis file.
Can someone...
Would You be able to post the binary for S60 3rd Ed of pdis and aosocket here of on FN website?
Many thanks!!
silent_bt.sis no longer installs on N95 8GB - complains about certificate error.
I wish FN would correct the sis file (re-release from source) and made it available in the currently corrupt .zip...
This is quite a common problem indeed. I.e. how to simply export/import messages/contacts in a readable format. Could xml or microformats be used to copy them instead of cryptic binary files via...