harinath_2007 56 Posting Whiz

just a thought..

why dont u write the same logic in java that you want from C. and also if you want to execute some low level or system level stuff that java is not capable of. just create the exe file that does the functionality you want in C and call it from java..and i hope you know how to call it..if not go through api Runtime class

harinath_2007 56 Posting Whiz

i defined in eclipse IDE window->preference->android->SDK location..

but it looks like the path issue is resolved and i have no errors related to path except I REPEATEDLY GETTING THIS ERROR EVERYTIME FOR EVERY APPLICATION

could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB

plz tell me what is it and how to solve....

Thanks..

harinath_2007 56 Posting Whiz

HI all... when i try to run my android application , i am getting the error as below..

[2012-08-12 22:41:57 - Bluee Chat] Android Launch!
[2012-08-12 22:41:57 - Bluee Chat] The connection to adb is down, and a severe error has occured.
[2012-08-12 22:41:57 - Bluee Chat] You must restart adb and Eclipse.
[2012-08-12 22:41:57 - Bluee Chat] Please ensure that adb is correctly located at 'C:\Users\Hari\AppData\Local\Android\android-sdk\platform-tools\adb.exe' and can be executed.

i checked the entire path and the adb.exe is located in the same path but still it is showig that error.
plz help me in rectifying it...

Thanks..

harinath_2007 56 Posting Whiz

Hello everyone..

I started learning android programing today and i am getting the below error in my first adroid program..

[2012-08-12 21:22:32 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-08-12 21:22:32 - Emulator] WARNING: SD Card image already in use: C:\Users\Hari\.android\avd\droidX.avd/sdcard.img
[2012-08-12 21:22:32 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB
[2012-08-12 21:22:32 - Emulator] could not get wglGetExtensionsStringARB

what should i do inorder to resolve the issue..

Thanks in advance....:)

harinath_2007 56 Posting Whiz

When i am bored, I surf the internet until my eyes and brain gets heated up..

harinath_2007 56 Posting Whiz

Windows 8 = (windows 7 ) + (slight change in welcome screen )

And, @gerbil stick to your current OS as long as your requirements are met.
But in my opinion (my own personal opinion), Windows xp lacks security when compared to 7.
But 7 is ok. I am using 7 now and i dont find any need of using 8 except some new look and new experience..:)

harinath_2007 56 Posting Whiz

Can anyone here who has knows the java code for the same functionality...

harinath_2007 56 Posting Whiz

Strange post.. Eventhough your intention of post might be good but it's not wise to ask passwords.. there may be a chance of someone guessing and misusing them......No offense...

harinath_2007 56 Posting Whiz

I am using firefox 3.6 and there's no problem .. Everything looks fine..

harinath_2007 56 Posting Whiz

"When GOD pushes you to edge of difficulty,Trust him fully, Bcoz Only two things can happen--Either he will catch you when you fall or He will teach you how to fly..."

harinath_2007 56 Posting Whiz

post here what errors are you getting....

harinath_2007 56 Posting Whiz

It seems like everybody is trying the win 8 only in VM softwares. Looks like why to take risk installing 8 by replacing current OS.
So vmware is the choice....:)

harinath_2007 56 Posting Whiz

That was my original name and i created the account in 2007 .....:)

harinath_2007 56 Posting Whiz

Hi folks.

I am planning to change my OS from windows 7 to windows 8 (customer preview.)..

So those who are already using 8 , can give their feedback if they have encountered any problem with 8 .Any disadvantages ...etc...etc..

NOTE : (I know its still under preview version and the final version is not yet arrived. :) :))

So any feedbacks.........;)

harinath_2007 56 Posting Whiz

I am designing a web page using JSP / JDBC / JavaScript and apache tomcat 5.5. There seems to have a major issue after few page request. Initially, all pages respond was excellent but after few ( 10 - 15 ) requests, the respond time drops to minutes ( sometime 2- 3 minutes ).

The response also depends on the content of your page. What is your output page consists of ? and Also Make sure your code is logically correct. (i mean is database connected for every request or only for first request if at all you are using jdbc...etc..)

I dont think there might be a problem in tomcat server . Anyway its' a temporary issue ....try re-installing the server

harinath_2007 56 Posting Whiz

So. Question and as well as answer are posted by yourself...:)

harinath_2007 56 Posting Whiz

if yes, please then please look at the problemClick Here
if no, then sorry for my post

Compilation error : If condition failed..:P

You can post your problem in jsp or web services

harinath_2007 56 Posting Whiz

Without JMF , i dont think you can do that.

harinath_2007 56 Posting Whiz

I need to transfer the sql server databse tables to mysql . How can i do that?.

harinath_2007 56 Posting Whiz

Did you tried forward technique..

RequestDispatcher rd = request.getRequestDispatch("url?newparam=newvalue");

rd.forward(request, response);

harinath_2007 56 Posting Whiz

No replies yet........! hmmm . It seems like there is no attractive desktop notification api's.

Anyway , i proceed with obvious method of finding answers...:( (googling)

harinath_2007 56 Posting Whiz

Include your hard work , compile and execute your thoughts. Output is guaranteed

harinath_2007 56 Posting Whiz

If you are right , there is no need to justify yourself
If you are wrong , you don't have the right to justify!

harinath_2007 56 Posting Whiz

Hi folks..

I'm in search of desktop nofication api's apart from the basic(default) one that java already provides. Can anyone direct me to some good links . Its better if it is free of cost.

I found this nice one but its not free.

harinath_2007 56 Posting Whiz

Success requires patience

harinath_2007 56 Posting Whiz

So any questions for us other than your assignments?

harinath_2007 56 Posting Whiz

See FILE class

harinath_2007 56 Posting Whiz

Why to make that much complex....

Use some third party softwares. Google it , you'll find many softwares to do that task.

harinath_2007 56 Posting Whiz

I take the words with this code.Now,How can i create a random sentece with these words.Need some more ideas.

All you need to do is to just generate a random number(or just sort of index value)
Retreive the words (random words) by using the random value generated. I mean
suppose your linked list is like this...

hello -> hai -> good morning -> good evening->....

now suppose your random value is say 4, then loop through the linked list 4 times and retrieve the value i.e good evening or whatsoever.
Append that word to some character array or pointer.(as you wish)

Like this you generate some random number and repeat the above steps.

Here's how you generate random number
http://www.phanderson.com/C/random.html

There are so many ways or solutions to your problem .. What is said is one among the many solutions.

You can also have your own logic to do so....

harinath_2007 56 Posting Whiz

My friend's system doesn't start up . The system boots and blocks infinitely at welcome screen. Even the message "welcome" is also not displayed. Just the screen comes up and it blocks there forever. I had also tried in safe mode. But the system doesn't open with safe mode. Is this due to hardware error ??..what should i do ?

harinath_2007 56 Posting Whiz

Its better to have few REAL friends than to have a thousand FAKE ones.

zeroliken commented: If only that applies to facebook ;) +0
harinath_2007 56 Posting Whiz

Hi thank you for the reply.but can i restore it back again if ever i don't want to use anymore?.

Ofcourse, you can . Change your registry values to original as they used to be.

harinath_2007 56 Posting Whiz

Unfortunately you cannot create a batch file that opens cmd with desired default path.
But you can change the cmd default path(i.e "c:\documents....") to your desired default path.

you need to make little change to your registry to do so .

Here's how you do that

harinath_2007 56 Posting Whiz

the real pain is when you are forced to do something which you dont like to do .

harinath_2007 56 Posting Whiz

Never tell your problems to anyone...20% don't care and the other 80% are glad you have them.

harinath_2007 56 Posting Whiz

"Beautiful hearts blossom, blossom and blossom from the thinking habits.
Contact with good human beings and great books will enrich the life"-

Abdul Kalam

harinath_2007 56 Posting Whiz

@OP Hint: Type query "desc tablename" on your sql command prompt . It will display all the attributes and datatypes of the table.

harinath_2007 56 Posting Whiz

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order (custNo, dateOrder, totalPayable) VALUES ('', '2012/Feb/19 16:09:02', '0' at line 1

The error message says it all..

The syntax of the sql query is not correct.
Make sure the syntax is correct and try again.
First , execute it on database command prompt and see whether it works. Then place the same query in your java code.

harinath_2007 56 Posting Whiz

If you are using windows 7 then you can't view the output in full screen mode(windows7 does not support full screen mode).

If your output is not a GUI , then you can increase the size of your command prompt .(which i think is worst solution :) )

We cant do anything because of bloody windows7 nature :)

harinath_2007 56 Posting Whiz

Using jmf , i think you cant.. but you can use other API's or FMJ

Read this

https://forums.oracle.com/forums/thread.jspa?threadID=2179859

harinath_2007 56 Posting Whiz

If you believe in something, work nights and weekends, it wont feel like work...

harinath_2007 56 Posting Whiz

It can see what you do when you are using it but not the history.....if you are afraid try clearing the browsing data. Btw What r u upto????

I guess even when you are using the internet , the server cannot know what sites you are visiting. It can only know that you are accessing net but not any site details.

harinath_2007 56 Posting Whiz

You can make some sort of batch file(or shell script) which launches your program and place that batch file in startup folder.

I never tried it in mac but if you spend some time on googling , you'll get the answers ...

Here are some links which may help you....
http://forums.macrumors.com/showthread.php?t=627186
http://answers.yahoo.com/question/index?qid=20070515125845AAb1vtV

Finally , place the script in startup folder
http://www.ehow.com/how_6546_open-program-automatically.html

harinath_2007 56 Posting Whiz

Once upon a time, son,
they used to laugh with their hearts
and laugh with their eyes:
but now they only laugh with their teeth,
while their ice-block-cold eyes
search behind my shadow.

There was a time indeed
they used to shake hands with their hearts:
but that’s gone, son.
Now they shake hands without hearts
while their left hands search
my empty pockets.

‘Feel at home!’ ‘Come again’:
they say, and when I come
again and feel
at home, once, twice,
there will be no thrice-
for then I find doors shut on me.

So I have learned many things, son.
I have learned to wear many faces
like dresses – homeface,
officeface, streetface, hostface,
cocktailface, with all their conforming smiles
like a fixed portrait smile.

And I have learned too
to laugh with only my teeth
and shake hands without my heart.
I have also learned to say,’Goodbye’,
when I mean ‘Good-riddance’:
to say ‘Glad to meet you’,
without being glad; and to say ‘It’s been
nice talking to you’, after being bored.

But believe me, son.
I want to be what I used to be
when I was like you. I want
to unlearn all these muting things.
Most of all, I want to relearn
how to laugh, for my …

harinath_2007 56 Posting Whiz

Not sure if it works...but Try this..

Right click on the program you want to execute and choose properties.
Search for the security tab and change the security permissions to all users.
Give the all permission(read/write/execute) to the guest account.
http://answers.microsoft.com/en-us/windows/forum/windows_vista-files/how-do-i-change-folder-and-file-permissions/465f2b42-63dd-4486-8dd1-c870290efeed

harinath_2007 56 Posting Whiz

Thank you so much for the links.

I am able to use default "kevin16" voice. It works when i run from netbeans. But when i make the jar file and run it , its not working.
It says NullPointerException.
But there is no NPE when i run from the Netbeans IDE. This is my main problem.

However , even i am also brain storming about mbrola voices.

Did you tried running the "kevin16" voice from the jar file? Did it worked for you? Plz let me know.

[EDIT}-

When i run the jar file from command prompt , here's the output

All voices available:
System property "mbrola.base" is undefined.  Will not use MBROLA voices.

Using voice: kevin16
System property "mbrola.base" is undefined.  Will not use MBROLA voices.
Cannot find a voice named kevin16.  Please specify a different voice.
harinath_2007 56 Posting Whiz

The code on the line 76 is

JOptionPane.showMessageDialog(null,"Application Started........Activated to Listening Mode");

But it is not the one Which is causing NPE i think..

harinath_2007 56 Posting Whiz

I wanted to run my application in system startup . So i attempted to make the jar file .
So that there will not be command prompt window popping.
Other than that i had no problem running in the IDE.

harinath_2007 56 Posting Whiz

System property "mbrola.base" is undefined. Will not use MBROLA voices.

I guess it is not a error. It is just saying that it will not use that mbrola voice. It is using default voice.

But that nullpointerexception is causing the jar file to quit which is not happening when i run from netbeans

harinath_2007 56 Posting Whiz
System property "mbrola.base" is undefined.  Will not use MBROLA voices.

That line . Even i got in netbeans. But the NullpointerException not occured when i run in netbeans. It worked fine and i got the output .