jetti madhu

Greenhorn
+ Follow
since Feb 22, 2010
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 jetti madhu

Hi,

while parsing the data from web, I am getting the string as "5�952" and checking wherther it is numeric value or not using str.matches("-?\\d+(\\.\\d+)?") . If it returns true then I am converting this to BigDecimal. While converting i am getting NumberFormalException.
Is there any possible way to remove the unparsed("�") characters from string? Because in my case I should display the result, there is no way to say it is not numeric value...

Can anyone please suggest..

Thanks.
10 years ago
Hi Ulf Dittmer,

The easiest would probably be to keep track of styles in memory in a triple format of (style, index of first character, index of last character) and to store that along with the actual text. Maybe in Properties format.

We can store styles start and end index. In the case of Bold, JETTI , for this I store 2 is the start index and 4 is the last index.
And later he changed that to JETTI , TI as Normal text.. Again we have to store the indexes.. It may work but takes more complicated to look into this approach.. Or else is there any other Idea from your side?

13 years ago
Hi ,
When i am trying to remove a tab. When i use
myTabHost.clearAllTabs() ; ---------It displays the NullPointerException.

And is there any way to delete dynamic generated particular tabs from list of tabs?

Thanks
Jetti
13 years ago
Dear Thammudu ,

you need to follow these steps to see success

1) I think you don't know much of socket programming you will be thankful if any one can post a sample code or else any link to the sample code in formus.
2)you need to run a server side program such that it will run in background like THREADS and wait for the client message.
3)At client side you need to send a message to server through protocals either TCP or UDP/WI-FI
4) At server depending on the message you got from the client you need to run a piece of code in background process.


For code visit www.kickadz.com

Prematho,
Mee muddhula anna
Hi,
is there any one know how to get the images from .doc file using POI ?
Hi to all,
Is there any chance to get and set an Tables and Images height ,width and position in a word document(.doc and .docx format) by using POI jar....?
Please suggest possibilities.
Hi to all,
I tries to read an .doc file to open on browser but i unable to get the Tables and Images from .doc file..
IS anyone know how to convert an MS-office word (.doc and .docx) files to convert to Html using POI jar?
Please reply ............
14 years ago