Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

kumar mdu

Ranch Hand
+ Follow
since Jan 04, 2011
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 kumar mdu

Noone came across this issue, please help me?
10 years ago


This is not a hexdecimal value, this is double value. If you're willing to see this value in readable format, you must format it.



Thanks for your reply.

When i tried to use your code, 'DecimalFormat' is in java.text package. In J2ME, CLDC doesnot support java.text package, only CDC does.
Then, how can i solve this issue..?
10 years ago
Experts,

Im doing j2me apps, I have a string that i want to convert into double for manipulation. I have a string "49997993357",

when i convert into double like


Its not converting into double. Im getting hexaDecimal value is 4.9997993357E10.

Im getting value with scientific notation..? How do i get the correct double value from string..?

I m not able to use BigDecimal and NumberFormat of java.text package in J2Me...?

Suggest me any ideas..?

Is there any other method to convert into double value..?
10 years ago
Hi , I tried this also, like "file:///root1/photos/login.txt" and "file:///C:/login.txt" but its not working

How can i set the path for checking in sun wtk emulator..?

please help me,


kumar
11 years ago
hi,

this is my code for creating a file and write data



I'm using Sun WTK, the file path as "file:///C:/Documents and Settings/kumar/myTxt.txt". The program executes but i am not able to find the file?


What i made wrong.?
11 years ago
Thanks gopi,

I'm trying in emulator, that is sun wtk!!. i set the file path like 'file:///root1/myfile.txt',

i am not able to save the file. I'm not able to see the file in my system not in mobile(as i checking in emulator).

what is the file path to do for emulator..?'

Help me to solve this.?

kumar
11 years ago
Friends,

I am new to writing and reading a file. I did sample sample by using this link http://wiki.forum.nokia.com/index.php/How_to_write_data_to_a_file_in_Java_ME.

In real devices, file stored in Gallery's Images folder.

Now, I trying in emulator, and did the path like "file://C:/pro.txt". where i can find the file in system? I checked here C:\WTK2.5.2_01\j2mewtk_template\appdb\DefaultColorPhone\filesystem\root1. but there is no file created.


How can i store in emulator and where i can find the path of the text file?

regards,
kumar

11 years ago
I'm working in the connection, when i receive a string from the server, after getting response.

jus assume that, i have a single string! a string is received and i want to raise a event to my application that a event happens

In java, we use EventObject class, EventManager class, EventListerner to create a custom events..?

how can i do this in ME?
11 years ago
I amdeveloping a JavaME application that will run in the background and monitor events and upon some event match like say at certain specefic time, and on the capture of the event invoke some methods in the application

Is there a way where we can implement such an event listener which will invoke our applications when such an event occurs.

How to raise custom events and handle in J2me.?

kumar
11 years ago
I'm using this code for MD5 algorithm for encryption



Showing error is as

C:\Documents and Settings\kumar\My Documents\NetBeansProjects\J2ME-MD5\source\src\md5\mdsMidlet.java:7: package com.sun.midp.ssl does not exist
import com.sun.midp.ssl.CryptoException;
C:\Documents and Settings\kumar\My Documents\NetBeansProjects\J2ME-MD5\source\src\md5\mdsMidlet.java:8: package com.sun.midp.ssl does not exist
import com.sun.midp.ssl.MessageDigest;




how can i solve this..?

kumar
11 years ago
Hi friends,

how to implement MD5 encrytion algorithm in Java ME?

thanks
kumar
11 years ago

Thanks for your reply,

Your CSS doesn't look right: You're missing the dot "." in front of your classes.



I did my css file right by insert '.' before class name, and also value but it doesn't work.

please provide me example of colspan..? what is problem in my code..?

correct it and post here.

kumar.
11 years ago
Thank you very much!!

I tried like this.



In Css, I want to merge these 3 cells into one, so,




but its not works.

please help me?
kumar

11 years ago
Thans for your reply,

In the TableItem document of j2MEPolish i saw the style colspan,

How can i use?

please help me
kumar
11 years ago
How to use colspan in .css file to merge five columns, j2MEPOlish.?

Regards,
kumar
11 years ago