Problem in connecting external URLs from Java ME Platform SDK 3.0
Hello all,
I am building a mobile application using Java ME Platform SDK 3.0. My application needs to connect to external web services. I have finished development of first module and it is running perfectly from actual mobile device. But the problem is:
While developing the application I am used to test it with given mobile Emulators in Java ME Platform SDK 3.0. During this test I am not able to connect to external web service if I am testing if within local intranet using proxy server. To solve this I have configured Proxy Setting in the IDE at:
Tools Menu -> Options -> General -> Manual Proxy Settings and given HTTP Proxy Server and it's Port. The same proxy settings are there in all web browsers in my machine.
But It is giving error like:
Unknown error 10054 during socket::read
Strange thing is that the same application is running perfectly If my PC is not in Intranet and connected to internet directly.
Please help me that how can I set proxy settings in Java ME Platform SDK 3.0 to get in working?
Any suggestions regarding this will be helpful for me.
Thanks to spare some time and read my post,
Tejas.
Hi Tejas,
it should work. I tested it right now and my proxy was used without any problems. The way how you set proxy settings is correct.
Could you try following to verify that it is a proxy problem or not, please?
1. run demo application "Demos" (from Start Page or File->Open Sample Project)
2. choose "HttpView" midlet and start it
3. choose "cnn"
4. if proxy is set correctly, you will see page source; otherwise you will get an error message
If the demo runs fine, the problem is probably somewhere else in the communication.
There is one limitation in proxy settings. Only proxy without username and password is supported. Isn't it your case?
Regards,
Radko
Similar Messages
-
Problem while connecting to Oracle from JAVA
HI ,
I am stuck with a problem.I could'nt connect from java to SQL.
Do I need to install any drivers.I installed oracle 8i full version.and i am
using j2sdk1.4.2.and included class12.zar file in class path......
what els I have to do.
please give me the solution.
feel free to contact me at [email protected]I am stuck with a problem.I could'nt connect from java to SQL.
Do I need to install any drivers.I installed oracle 8i full version.and i am
using j2sdk1.4.2.and included class12.zar file in class path......
what els I have to do.Well, what have you tried?
You need the Oracle JDBC driver jar (ojdbc14.jar) which you can download from Oracle or somewhere I believe....I can't remember where I got it. Anyway, google for the Oracle JDBC driver and you should find it.
You will probably need to read up on JDBC as I can't believe you even did that before you realised you needed a driver to connect. Good luck.
feel free to contact me at [email protected]
Nope.....post to forum, reply to forum. -
Problem in connecting to database from webdynpro for java
Hi
I have a problem in connecting to database from webdynpro application
I am using oracle 10 express edition as database and was able to connect to database from a java application.But was unable to connect from a webdynpro for java.
<b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
Do i need to make any settings in the visual admin to make it work?
How to solve this problem.Please give me pointers
Thanks
BalaHi,
For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
In case you want to fetch data through ejbs, these are the steps to be followed :
1) Open the J2EE perspective
2) Create an EJB Module project
3) Right click on ejbModule, create a new EJB (select your EJB type)
4) While creating the ejb itself, you can add business methods by clicking Next in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select propogate to local & remote.
5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: MyJndi.
6) Right click on the EJB project and add classes12.zip file (provided by Oracle) to its build path. (under libraries tab). Also check the same file under Order & Export.
7) Create an Enterprise Application project.
8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
9) Right click on the EJB project, select Build EJB Archive
10) Right click on the EAR project, select Build Application Archive
11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
Java Build path - select the EJB project from projects , check the selected project under Order & Export
Project references select the EAR project
WebDynpro references select sharing references tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
You can find the vendor name under application-j2ee-engine.xml file of the EAR project. By default it is sap.com. So if my EAR projects name is ABC, my entry would look like sap.com/ABC
12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
InitialContext context = new InitialContext();
Object obj = context.lookup("MyJndi");
MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
MyEJB mybean = home.create();
int a = 0;
a= mybean.add(10,15);
wdContext.currentContextElement().setSum(a);
where MyEJB is my EJB name and MyJndi is my JNDI name
To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
Extracted from Re: Webdynpro and Oracle
http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
Regards
Ayyapparaj -
Problem calling two perl modules from java in seperate threads(JVM CRASHES)
Dear Friends,
I have one severe problem regarding calling perl modules from java
I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
I am unable to spot out why ....
For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
The following is the code snippet
<JAVA FILE>
class Sample
static {
System.loadLibrary("xyz"); // Here xyz is the library file generated by compiling c code
public native void call_PrintList();
public native void call_PrintListNew();
Sample()
new Thread1(this).start();
public static void main(String args[])
System.out.println("In the main Method");
new Sample().call_PrintList();
class Thread1 extends Thread
Sample sample;
Thread1(Sample sam)
sample=sam;
public void run()
sample.call_PrintListNew();
}<C FILE>
#include <EXTERN.h>
#include <perl.h>
static PerlInterpreter *my_perl;
static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
static void
call_PrintList(){
printf("\nIn the Call method of string.c\n");
char *wor[] = {"hello", "sudha", NULL } ;
char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);
dSP ;
perl_call_argv("PrintList", G_DISCARD, wor) ;
PL_perl_destruct_level = 1;
// perl_destruct(my_perl);
// perl_free(my_perl);
// PERL_SYS_TERM();
static void
call_PrintListNew(){
printf("In the new call method\n");
char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
PL_perl_destruct_level = 1;
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);
dSP ;
perl_call_argv("PrintListNew", G_DISCARD, wor) ;
PL_perl_destruct_level = 1;
// perl_destruct(my_perl);
// perl_free(my_perl);
// PERL_SYS_TERM();
void callNew()
call_PrintListNew();
void call ( )
call_PrintList();
//char *wor[] = {"hello","sudha",NULL};
/* char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);*/
// call_PrintList(); /*** Compute 3 ** 4 ***/
/* perl_destruct(my_perl);
perl_free(my_perl);
PERL_SYS_TERM();*/
}And Finally the perl code
sub PrintList
my(@list) = @_ ;
foreach (@list) { print "$_\n" }
sub PrintListNew
my(@list) = @_ ;
foreach (@list) { print "$_\n" }
}Please help me in this regardDear Friends,
I have one severe problem regarding calling perl modules from java
I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
I am unable to spot out why ....
For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
The following is the code snippet
<JAVA FILE>
class Sample
static {
System.loadLibrary("xyz"); // Here xyz is the library file generated by compiling c code
public native void call_PrintList();
public native void call_PrintListNew();
Sample()
new Thread1(this).start();
public static void main(String args[])
System.out.println("In the main Method");
new Sample().call_PrintList();
class Thread1 extends Thread
Sample sample;
Thread1(Sample sam)
sample=sam;
public void run()
sample.call_PrintListNew();
}<C FILE>
#include <EXTERN.h>
#include <perl.h>
static PerlInterpreter *my_perl;
static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
static void
call_PrintList(){
printf("\nIn the Call method of string.c\n");
char *wor[] = {"hello", "sudha", NULL } ;
char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);
dSP ;
perl_call_argv("PrintList", G_DISCARD, wor) ;
PL_perl_destruct_level = 1;
// perl_destruct(my_perl);
// perl_free(my_perl);
// PERL_SYS_TERM();
static void
call_PrintListNew(){
printf("In the new call method\n");
char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
PL_perl_destruct_level = 1;
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);
dSP ;
perl_call_argv("PrintListNew", G_DISCARD, wor) ;
PL_perl_destruct_level = 1;
// perl_destruct(my_perl);
// perl_free(my_perl);
// PERL_SYS_TERM();
void callNew()
call_PrintListNew();
void call ( )
call_PrintList();
//char *wor[] = {"hello","sudha",NULL};
/* char *my_argv[] = { "", "string.pl" };
PERL_SYS_INIT3(&argc,&argv,&env);
my_perl = perl_alloc();
perl_construct( my_perl );
perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
perl_run(my_perl);*/
// call_PrintList(); /*** Compute 3 ** 4 ***/
/* perl_destruct(my_perl);
perl_free(my_perl);
PERL_SYS_TERM();*/
}And Finally the perl code
sub PrintList
my(@list) = @_ ;
foreach (@list) { print "$_\n" }
sub PrintListNew
my(@list) = @_ ;
foreach (@list) { print "$_\n" }
}Please help me in this regard -
Error IFS-20010 connecting to IFS from java class
Hello,
I try to connect to IFS from java program with sentences:
LibraryService ifsService = new LibraryService();
CleartextCredential me = new CleartextCredential("user", "password");
ConnectOptions connectOpts = new ConnectOptions();
connectOpts.setServiceName("ifsDefault");
connectOpts.setServicePassword("ifspassword");
LibrarySession ifsSession = ifsService.connect(me,connectOpts);
the class compile but not run because the error:
IFS-20010: Failed to get PropertiesResourceBundler ifsDefault.
The message errors documentation said:
This error occurs when attempting to start an Oracle iFS process by specifying a service properties file name that cannot be located by the Oracle iFS repository. The
parameter specified in the error is the name of the specified service properties file. The specified service properties file
must exist in the oracle.ifs.server.properties package
descending from one of the directories included in the
CLASSPATH setting for the process.
I don't understand what mean this, somebody yes?
Please give me any idea.
What can i do to solve this problem?
Thanks.
FABIANHi,
Make sure you have $ORACLE_HOME/ifs/settings in your classpath.
Good luck. -
Open URL from Java in a new browser tab
Hi OTN,
Surprisingly can't find the implimintation.
In an ADF managed bean I retrieve String url. I need to open a new browser tab with this url.
Found this thread Open a url in a new window in the backing bean which shows using javascript "service.addScript(facesContext, "window.open(http://www.google.coml)");".
But in my case in doesn't work. The code is executed, but nothing happens. Maybe because the bean is called from a taskflow inline popup.
ADF 11.1.1.4
Thanks.Well, I'm afraid that is not an option.
The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java. -
Navigate to external URL from secured APEX server
NOTE I am using the internal Oracle APEX server to host my application, so it may be possible that you will have to be an Oracle employee with the same access, or using a similar setup, in order to respond. Even if you are not, if you feel inclined to "take a swing" at it, keep this in mind.
Hi all,
I am using the internal APEX server at oracle to host an application (Application Express 4.0.2.00.07). I have other, NON-APEX applications hosted on other servers within the Oracle firewall.
On page 0 of the APEX application (which, as you may know, usually displays as the "header" section of every other page in the application) I have created a select list of the other projects and their associated URLs as well as a "Go" button, so users that want to navigate to the other applications can do so from this application. Since page 0 does not seem to allow the creation of standard branch items (please correct me otherwise), I have created a process on that page triggered by the "Go" button. The process currently contains the following code:
begin
apex_application.g_unrecoverable_error := true;
htp.p('<script language="JavaScript">
window.open (:P0_PRODUCT_PAGES); <!-- :P0_PRODUCT_PAGES being the URL of the selected non-APEX application -->
</script>');
end;
That code currently replaces the existing page with a blank page and the associated URL is "https://apex.oraclecorp.com/pls/apex/wwv_flow.accept". I am assuming this means that APEX was looking for an application ID and/or page and did not get it so it "stopped" at this page.
I am unaware if there are any settings on the APEX server, DB,or associated web server preventing me from navigating outside of APEX once I am running the hosted application.
I would like to launch another properly-sized (default) browser window rather than replace the existing window pointing to the URL for the selected application.
I have also tried using the owa.util code to try to generate the proper URL but was likewise unsuccessful.
NOTE: I am not looking for different ways to do this by changing server parameters, settings, etc. since I do not have server rights to do this. Additionally, due to time constraints, I would prefer not to be drawn in to a discussion of the comparisons and/or benefits of owa.util or javascript over the other for navigating to an external URL from within APEX, etc. (I'm not trying to be a "punk", but I AM under the gun to resolve this with very limited time). In light of this, please indicate if you have a working option to do this under similar conditions that I can implement quickly. I have done much research within the forums and Googled extensively for information from outside sources but have not yet found something that will provide the proper results.
If you are an oracle employee and wish to contact me directly, please email me at [email protected]
Crossing my fingers and hoping someone has done this before.
Many thanks in advance; your useful contribution will actually contribute to lessening the world's INSOMINA factor considerably (mostly mine). ;)>
I would like to launch another properly-sized (default) browser window rather than replace the existing window pointing to the URL for the selected application.
I have also tried using the owa.util code to try to generate the proper URL but was likewise unsuccessful.
>
Opening a URL in a new tab or window has to happen in the browser, without submitting the page. The server doesn't know about browser windows. Use:
onchange="window.open(this.value);" in the HTML Form Element Attributes property of <tt>P0_PRODUCT_PAGES</tt> (making the "Go" button unnecessary), or, if the "Go" button is required to match the LAF:
onclick="window.open($v('P0_PRODUCT_PAGES'));"in the button Attributes property, ensuring the button is a template button including the <tt>#BUTTON_ATTRIBUTES#</tt> substitution string, e.g.
<input type="button" value="#LABEL#" #BUTTON_ATTRIBUTES# />Ensure that absolute URLs are used in the <tt>P0_PRODUCT_PAGES</tt> where necessary, specifying the correct scheme for the site, so that you are not trying to go to <tt>{noformat}https://apex.oraclecorp.com/pls/apex/www.google.com{noformat}</tt> for example:
f?FOO:BAR:&APP_SESSION. // other APEX app hosted on apex.oraclecorp.com sharing the same authentication scheme
https://foo.oraclecorp.com // other secured internal site
http://www.google.com // unsecured external site -
Opening an external URL from the Web UI
Hello,
I want to use the Web UI in order to open an external URL.
I know it can be done easily using JavaScript, but the URL is generated from one of the page controller methods, and I want to open it directly from there.
I know that there's the Window Manager in the Component Controller, that can open popup windows, but none of it's methods receive an external URL.
So how can I open an external URL from the Web UI methods?
Thanks,
Udi.Hi,
you can use the Trnsaction launcher with OP.
in the window you create an OP_X
with the code
data: lv_navigation type ref to if_crm_ui_navigation_service.
lv_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
lv_navigation->navigate( iv_link_id = 'ZTO_X' ). "runtime you create the TO_X nevigation"
in your implamentation class of the view you add a preotected method OP_TO_X with the code
data:
lr_window type ref to cl_bsp_wd_window.
lr_window = me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug( iv_outbound_plug = 'TO_X'
iv_data_collection = iv_data_collection ).
and you call to that method from the EVENT_HANDLER you want.
Amit. -
[b]How connect to EJB from java webstart[/b] ?
Hi,
I'm a newcomer to J2EE, I'd like to build J2EEE app
first of all,I've developed simple EJB components and jSwing client to call method from EJB. All in the same project.
Client programe has method
private static Context getInitialContext() throws NamingException {
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "welcome");
env.put(Context.PROVIDER_URL, "ormi://10.145.100.2:23891/current-workspace-app");
return new InitialContext(env);
When I run client app it work well, I follow in Jdev905 to deploy to java webstart
1. Create .jar file (Item JAR file - Simple archive)
2. Create Java web start(JNLP) files
after that, I have .jar,.html,.jnlp file
3. running project(use embedded OC4J server)
4. running .html file
first, java webstart download code then run but nothing
happen. I think that It may be some wrong in JNDI look up.
I try my best, It's taken me a week but I still do'nt understand.
! Please help show how to go through that or how to deploy using java web start. We intend to develop rich client.
thanks a lots!
Kien
(Sorry for my bad English)This might be of help http://developer.novell.com/wiki/ind...asses_for_Java
>>> dikshaneel<[email protected]> 12/8/2009 3:16 AM >>>
Can someone please tell me how should I connect to LDAP from Java?
Thanks in advance-- dikshaneel------------------------------------------------------------------------dikshaneel's Profile: http://forums.novell.com/member.php?userid=72973View this thread: http://forums.novell.com/showthread.php?t=395162 -
Do view life time and view recent property apply for external URL from crawling?
Hi All,
I wonder that do viewlifetime count and viewrecents apply for the external URL from the crawler?
I saw it does work for local SharePoint URL but not too sure for the external URL.
And in that case, is it possible to sort the search result by viewlifetime/viewrecent for both Local SharePoint Sites and External Site from crawler?
Best Regards,
AndyHi,
According to your post, my understanding is that you want to use viewliftime and viewrecent property when crawing external URL.
Per my knowleage, the viewlifetime and viewrecent property does not apply for external URL from crawling.
In my environment, I can edit the refinement panel in search center page to display viewlifetime and viewrecent when I crawl SharePoint Sites.
However, when I crawl external site, in the search center page, I cannot get any information about the result items.
Here is a great blog about how to crawl external site for your reference:
http://www.bluesphereinc.com/blog/utilizing-the-power-of-sharepoint-search-part-1-centralizing-search-results-from-mulitple-sources/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Link to external URL from flash site
Is there any way to link to an external URL from your flash
site without having the flashplayer prompt you to change your
settings and allow access to that page? (this only applies to swfs
viewed through a browser)
the only way around this i've found isn't very useful - you
have to put a small xml file on the host server where the page you
want to link to is located. i seriously doubt every site you want
to link to will allow you to put an xml file on their host server
just so you can link to their page. the code in the xml file just
tells flashplayer that the site you are trying to access is safe.
it's called crossdomain.xml
anyone have an answer?
thanks!This question was answered by kglad, on Saturday, August 11,
2007 10:13 AM
Answer
no it doesn't. getURL() causes no security issues unless you
try to open the html locally and (try to) access something on the
internet.
unless your "flash site" is your local computer there is no
security issue. if your local computer is an internet server, you
just need to set the security settings for your local file and give
it permission to access the internet zone. -
Link to external URL from online swf
Is there any way to link to an external URL from your flash
site without having the flashplayer prompt you to change your
settings and allow access to that page? (this only applies to swfs
viewed through a browser)
the only way around this i've found isn't very useful - you
have to put a small xml file on the host server where the page you
want to link to is located. i seriously doubt every site you want
to link to will allow you to put an xml file on their host server
just so you can link to their page. the code in the xml file just
tells flashplayer that the site you are trying to access is safe.
it's called crossdomain.xml
anyone have an answer?
thanks!no it doesn't. getURL() causes no security issues unless you
try to open the html locally and (try to) access something on the
internet.
unless your "flash site" is your local computer there is no
security issue. if your local computer is an internet server, you
just need to set the security settings for your local file and give
it permission to access the internet zone. -
Calling external programs from Java?
Hi All,
Is there a way of calling external applications from Java without using Runtime.exec(). That method seems quite messy when you are dealing with streaming data from an input file to an output file. Basically what I'm asking is there a way to run a command the same way you would type it in a command shell?
ThanksLeWalrus wrote:
Ok, I've an external application that I want to be called inside a Java GUI. It has several input arguements, which the format looks something like:
programname inputfile > outputfile
Simple enough.
>
Works fine from a shell command line. From what I understand, this won't work using Runtime.exec() because that method will just start the application. Works fine from Runtime.exec(). Since you are'>' to write stdout to a file you need to us a shell to execute the command.
String[] command = {"sh", "-c","programname inputfile > outputfile"};
Process process = runtime.exec(command);
You need to read, digest and implement the recommendations given in http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .
File input and output from the application has to be taken care of programatically (java.io stuff). Fine if you've only one input and output. But if you have several input files and hundreds of output files, where does this leave you. It would be much easier if you could pass a string command to the shell directly as if you typed it in the command line yoursel! -
Java ME Platform SDK - S60 Emulator Problem
Hi Everyone!
I am new to S60 development. I searched the forum, and some other discussion forums but could not find any solution to my problem (If there is one in this forum, sorry about that).
I installed Java ME Platform SDK 3.0 Early Access. I also installed Java SDK for S60-FP1, and added this platform to my IDE with no problems.
The problem is, I can write and execute my code on S60 emulator, but Java IDE has got this annoying exception blinking on the bottom right side saying: "java.lang.IllegalArgumentException: Device S60Emulator not registered!". As I said, I can run the application, but I cannot debug because of some exceptions!
Why this can be happening, can it be a misconfiguration or something?
Thank you all!Did you check Release Notes of the SDK? I've seen it once - if memory serves it lists quite a lot of known bugs.
Maybe the problem you describe is listed there too... and if you're really lucky then description may even mention some workaround for it. -
How can i change backgroud color in Java ME Platform SDK 3?
Hello.
Yesterday i had donwloaded Java ME Platform SDK 3.0. It is IDE based on NetBeans core, but i didn't find any facility to change default colors. (NetBeans have option to change color theme). I am don't like working when background color is white, i prefer black. So, how change a background color? Can anybody help me to figure this problem out?
p.s. sorry for my bad english (Hello,
Unfortunately it is not possible. We will think about it for next release. Java ME SDK is not supposed to offer full IDE functionality (e.g. changing editor colors), that's why some features are missing. For full IDE support use NetBeans IDE with Mobility support.
Maybe you are looking for
-
I have been sent an email to say that my apple id has been used to download ibooks. I have now changed my password as I have not downloaded ibooks. I would like to know if I am going to be charged ?
-
ALV OOps report- getting data from two tables and adding issue
Hi, This is sales employee performance report. I need to select all the fields from two tables based on user input ie VKorg, sales employee . There is one field callled " Net sales"in both the tables. Based on sales employee number, i need to add tha
-
Query on Co-ordination Operation -Go_Record
I've a Master database block and it is having only one record.For the Master Block,Details block was created with the Co-ordination Property-Defered:NO and Automatic Query:NO. After using POST command,I'm using GO_BLOCK and GO_RECORD on master block
-
Apple mini OS X version 10.6.8 or later.
how do i update my apple mini itunes to OS X version 10.6.8 or later.
-
CSA Error - not showing in console
I get the following error from CSA when I look into the securitylog on the server, but it is not showing up in the CSA console. When I take the server out of test mode it stops the server from forwarding on my SMTP mail relays. It is the only log in