05-27-2009 04:59 AM
I have rgb of a color now i want to set that as g.setColor(?);
what is the syntax to set rgb.
RGB = 196, 31, 45
Solved! Go to Solution.
05-27-2009 05:05 AM
You have to calculate it to int and pass it over to the setColor() method..
Take a look in to this to calculate it ..
For yours it is coming like - 12853037
05-27-2009 05:38 AM
hi mantaker, still i didnt get the solution of my previous problem.
my application using httpconnection and its working fine with wifi connection (on device). getting data from the servlet. i want to use with GPRS EDGE. I tried it the whole last day. but its not working. even i got the apn name, username and password. but its not working iwth GPRS. I deploy NetworkDiagnosticPublic application on device even its also not working with WAP. and not getting response. only working with wifi. Here is my code. n my application wifi connecting successfully but i want to do with GPRS Edge code is
//+ LastTextField.editField.getText());//NOT WORKING
//+ LastTextField.editField.getText() + ";deviceside=true;ConnectionUID=" + getWap2TransportUid());//NOT WORKING
+ LastTextField.editField.getText() + ";deviceside=true");//NOT WORKING
//+ LastTextField.editField.getText() + ";interface=wifi");// WORKING
//+ LastTextField.editField.getText() + ";deviceside=true;apn=internet;" +
05-27-2009 05:46 AM
I think this thread's problem is solved.. Can you make this thread solved?
Well, We gave a lots of hints that solves your problem.. Still you don't get them.. Please go thru the thread by peter_strange carefully..
I can finally tell you this.. First try with no deviceside parameters, no connection uids, no interface parameters etc.. Just URL .. Then set your APN info in Options->Advanced Options->TCP/IP and then finally APN info..
Try with a small URL, maybe http://www.google.com/ alone..