Michelle de Beer

Greenhorn
+ Follow
since May 10, 2005
Merit badge: grant badges
For More
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 Michelle de Beer

The phone supports TCP, but the device manufacturer can opt not to give you support for reading and writing to and from the sockets of your choice (TCP and UDP) by not implementing some of the interfaces in the javax.microedition.io package, such as SocketConnection, ServerSocketConnection, UDPDatagramConnection, etc.

At least thats the way I understand it.

Best,
// Michelle
18 years ago
Please join my simple country survey on this issue.

In your country, how many operators do you estimate that do not allow HTTP(S)? 20%, 50%, 80%?

Accessing with browser vs midlets
Do you think there are, or have you experienced any difference in accessing pages/domains using the built in browser or using midlets?

// Michelle
18 years ago
I heard that a few operators do not allow midlets to connect using HTTP and/or HTTPS outside of their own network, but here in Sweden, we don't seem to have that problem, yet.

As I recall, there are some operators in the USA and I believe 3 (the operator) in Britain who have done this.

Does this happen a lot and who are doing it?

Also, are there cases where the operator allows HTTP connections, but block HTTPS?

Any thoughts?
// Michelle
18 years ago
This makes sense... But what if I didn't know the name of the Class, how would I cast it to make it work?

New explanatory code:
18 years ago
To begin with, I am pretty new to Java, so I might have the logic all wrong, but please bear with me...

In short, I want to be able to load a class using a string (the name of the class) and trigger a method in it.

This is an illustative explanaition of my problem.

I have three classes.

1. RightMenu.java
2. LeftMenu.java
Both these have a method called clicked() that prints "Left" or "Right" to System.out.println();

In the third class, a Canvas class, I have a keyPressed()-method that catches user input.
If the left soft button is pressed I want to trigger RightMenu.clicked() and the same for the right soft button.

I thought this could do the trick, but it didn't.


When building, I get this error message:
d:\JAVA\WTK22\apps\PLATHINIUM2\src\Day.java:209: cannot resolve symbol
symbol : method clicked ()
location: class java.lang.Object
tmpCl.clicked();

// Any thoughts?
Michelle
18 years ago
I am looking into the GameCanvas-class and would like some pointers on how to use it.

TiledLayer:
I would like to create a custom screen using two small images, like this:

********
*------*
*------*
********
* = frameImage.png
- = fillImage.png

How would I go about creating this screen?


LayerManager:
I really like the idea of having graphical areas in different layers.

Can I put graphics created using the lcdui.Graphics class (like a simple smiley face created with drawArc()) in a layer, or are the layers used exclusively for pixel images?

If so, can I create an image from the lcdui.Graphics class to use in a Sprite-layer?

Finally, can you point me to some good resources explaining the GameCanvas.

Best,
// Michelle
18 years ago
Thank you William, I will look into these phones as soon as I can.

I tried to set the homepage to midlet:myMidlet on my phones, but it did not work. Got "400 not found".

I was thinking I might be able to start the application with a header-location call with an absolute path to the midlet instead.

// This is done in PHP
// Page: startMidlet.php
header("Location :/PathToJava/myMidlet.jar");

// Maybe you could try if you are able to start the
// midlet this way on your Sprint phone and let me know if it works
header("Location:midlet:myMidlet");

Calling the local path to the midlet would have to specific for each device, but since I am only evaluating the possibilities of this at the moment, it will do for now.

Anyone know what the direct path to the midlets is for these phones:
- SE s700i
- SE p900
- Motorola e1000
- Samsung d500 (to buggy to develop for, but suitable for this test)

Best
// Michelle
18 years ago
I am looking a device that would allow me to define a shortcut to a button that starts my java application. I have tried several phones, but the best solution yet is a shortcut to the folder containing the java-applications (SE s700i).

In short, one click to start my application.

I know this is a device specific question, but at this moment, I only need one device that can do the job.

Any thoughts?
// Michelle
18 years ago