Win a copy of Head First Android this week in the Android forum!

Johan Karlsson

Greenhorn
+ Follow
since Jan 07, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Johan Karlsson

I knew that the article was about to be published, but I had no clue that it was already published.

The latter article also contains some description about the new features in Microlog V2.

Please provide feedback on the article as well as on Microlog.
12 years ago
A good introduction on how to get started with Microlog is this article:

http://wiki.forum.nokia.com/index.php/Microlog:_A_Log4j-based_tool_for_the_JavaME_platform

Regards
Johan
12 years ago
Sorry to hear that. I am curious to get more information so that I could improve the Microlog documentation.

Regards
Johan
12 years ago
Hi,

have you ever wanted to do some logging in Java ME. Microlog is an open source logging library.

Read more about it: http://microlog.microsuite.org/

Regards
Johan
12 years ago
Hi,

I have recently released v1.0.0 of Microlog

Microlog is a small logging library for Java ME (J2ME) like Log4j. It has support for logging to console, file, RecordStore, Canvas, Form, Bluetooth, a serial port (Bluetooth, IR, USB), Socket(incl SSL), UDP, Syslog, MMS, SMS, e-mail or to Amazon S3.

Feedback is very welcome. Please use the Microlog forum.

Best Regards
Johan
13 years ago
To Marcin Zduniak:

My polish is not very good, but I understand that you found it hard to configure Microlog. The configuration is now much simpler. Please try out the new version of Microlog.

If you have any more ways to simplyfy the setup, please provide me with feedback.

Best Regards
Johan Karlsson
// Microlog admin & developer
13 years ago
Hi,

we have released a new version of Microlog. We now have a PatternFormatter that formats the logs the way you want it. It is inspired by the PatternLayout found in Log4j. We have also included a lot of new appenders.

From the projectpage:
"MicroLog is a small logging library for Java ME (J2ME) like Log4j. It has support for logging to console, file, RecordStore, Canvas, Form, Bluetooth, a serial port (Bluetooth, IR, USB), Socket(incl SSL), UDP, Syslog, MMS, SMS, e-mail or to Amazon S3."

Find out more at: http://sourceforge.net/projects/microlog/

BTW This is released under Apache License V2.0

Best Regards
Johan Karlsson
// Microlog admin & developer
13 years ago
Hi,

Please take a look at the MicroLog project if you need logging support in Java ME. It is compatible with Log4j and it is possible to log to a RecordStore, a file or a Form.

Stay tuned for a new release coming up soon

http://sourceforge.net/projects/microlog/

Feedback is very welcome.

Best Regards
Johan Karlsson
13 years ago
You could invent your own port number. However, there is a list of restricted ports that is reserved for the system. Take a look in Appendix A.6.0 of WMA (JSR-205) for the list of reserved port numbers.

Best Regards
Johan
15 years ago
I have started to study for the SCDJWS exam, by reading the book by Monson-Hafael. Also I have browsed through the SCDJWS study guide found at Study Guide.

However, I want to do some hands on. Any suggestions on any good excercises and/or tutorials. I am mostly interested on how to deploy some simple web services, so that I get the feeling how it works.
You should use both the input- and output-streams. For example, you send one record from the servlet. When this is received in the MIDlet, the MIDlet sends a code on the output stream. After the servlet has received the data, it can send some new data. Repeat until all data is sent.
16 years ago
There is one problem with using WMA, you are only guaranteed that you can use 3 messages that are tied together. However, these are always in the right order at the application level. But you dont't get very much data into 3 messages

Will you send the data between 2 mobile phones? Or, do you send the message between a computer and a mobile phone?

You could use a SocketConnection, which sends small messages and always guarantee the right order.

If you need to save data on the phone, you should use the FileConnection API. Note that not all phones have FileConnection implemented.
16 years ago
Do you know which products for provisioning? I have looked at JSR-124, J2EE client provisioning. Do you know any products that support this specification. I have heard som rumours that IBM Tivoli also have something similiar. Any other products?

Regards
Johan
16 years ago
Hi!

Do you know any mobile phones that support JSR-172, i.e. the Web Services API for J2ME?

Regards
Johan
16 years ago
Which Http request method do you use? HttpConnection.POST?

Regards
Johan
16 years ago