Calling a request set from a concurrent program
Hi,
I am trying to call a request set( say RS1) from a concurrent program ( say CP1). I have used fnd_submit.set_request_set and related APIs, and I am able to submit the request set. But the problem is that I have to either hard code the request set parameters in the concurrent program CP1( which I am currently doing), or define the parameters in the concurrent program CP1 and pass the parameters while calling the request set requests. The second method does not work because the request set has around 30 requests, and it is not possible to accept the parameters for all those requests from CP1.
What I would like to do is to define a parameter in CP1 which accepts the request set name( or short name), and then pop-up a window which shows the sub-requests in the request set so that I can enter the parameters of each request within the request set. ( something similar to $FLEX$)
Have anyone done such a thing? Does anyone know if it is possible?
Any suggestions are welcome!
Hi,
Sharing parameters will not work because my request set has many requests and none of them have any common parameters. I am looking for a solution which will show me all the programs in the request set with the default values so that I can change the parameter values if required.
Thanks,
Sridhar
Similar Messages
-
How to call a Request Set from OAF
How we can call a Request set from OAF page .
Hi Sumit ,
Thanx for your responce.
I tried to call the below code in OAF AM method but i am getting error as : Invalid Column Type.
Please help me on this.
IS i am doing it in right way or not?
public void handleLaunchReconProg()
String sqlStatement = "BEGIN :1 := FND_SUBMIT.SET_REQUEST_SET (:2,:3); END;";
OADBTransaction txn = (OADBTransaction)getDBTransaction();
CallableStatement cStmt = txn.createCallableStatement(sqlStatement,1);
try
cStmt.registerOutParameter(1, Types.BOOLEAN);
cStmt.setString(2,"XXDIS");
cStmt.setString(3,"XXDIS_RECON_SUPP_BKLG");
cStmt.execute();
catch (Exception e)
throw OAException.wrapperException(e);
finally
try
cStmt.close();
catch (Exception e)
throw OAException.wrapperException(e);
} -
Need to call OAF API from JAVA concurrent program
Hi Gurus,
I am trying invoke an OAF Application method which generate the Batch ID. I am trying the invoke the same from JAVA Concurrent program. Below is teh code used,
package oracle.apps.ego.item.cp;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.apps.ego.item.common.server.EgoBatchHeader;
import oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl;
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
import oracle.apps.fnd.cp.request.LogFile;
import oracle.apps.fnd.cp.request.OutFile;
import oracle.apps.fnd.cp.request.ReqCompletion;
import oracle.jbo.ApplicationModule;
import oracle.jbo.ApplicationModuleCreateException;
import oracle.jbo.ApplicationModuleHome;
import oracle.jbo.JboContext;
import oracle.jbo.domain.Number;
import oracle.jdbc.internal.OracleCallableStatement;
public class XX_EGO_BATCH_CREATE implements JavaConcurrentProgram {
static LogFile log = null;
public void runProgram(CpContext ctx){
//Obtain the reference to the Output file for Concurrent Prog
OutFile out = ctx.getOutFile();
EgoBatchHeader v_header = new EgoBatchHeader();
//Obtain the reference to the Log file for Concurrent Prog
log = ctx.getLogFile();
log.writeln("Batch Number Creation", 0);
ApplicationModule am = null;
try{
//Write your logic here
log.writeln("Batch Number Creation", 0);
log.writeln("definition of batch num",0);
Number batch_num;
Number ssid = new Number(10000);
String jdbcUrl =
"jdbc:oracle:thin:apps/[email protected]:10201:ARERP4";
ApplicationModule am_Member = null;
log.writeln("Before Calling Create method",0);
am_Member =
create("oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl",
jdbcUrl);
log.writeln("assigning ssid"+ssid,0);
EgoImportBatchHeaderAMImpl bheader = new EgoImportBatchHeaderAMImpl();
log.writeln("bheader object is :"+bheader,0);
log.writeln("calling getBatchObjectForCreate"+bheader,0);
v_header = bheader.getBatchObjectForCreate(ssid);
//System.out.println("v_header is :" + v_head);
log.writeln("calling createBatch"+v_header,0);
batch_num = bheader.createBatch(v_header);
log.writeln("Batch Number is :"+batch_num ,0);
out.writeln("This will be printed to the Output File");
log.writeln("This will be printed to the Log File", 0);
//Request the completion of this Concurrent Prog
//This step will signal the end of execution of your Concurrent Prog
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL,"Completed.");
//Handle any exceptional conditions
catch(Exception e){
log.writeln("Exception2 occurred here !!"+e,0);
log.writeln("calling createBatch"+v_header,0);
public static ApplicationModule create(String amDefName,
String jdbcConnStr) throws ApplicationModuleCreateException, Exception {
ApplicationModule am = null;
try {
OracleCallableStatement conn = null;
// Setup the hashtable of JNDI initialization parameters
log.writeln("inside create method .. ",0);
Hashtable env = new Hashtable(2);
env.put(Context.INITIAL_CONTEXT_FACTORY,
JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
// Create an JNDI initial context
Context ic;
ic = new InitialContext(env);
// Lookup a home interface (factory) for the AppModule by name
ApplicationModuleHome home =
(ApplicationModuleHome)ic.lookup(amDefName);
if(home==null){
log.writeln("home is null... .",0);
}else{
log.writeln("home is not null"+home,0);
// Create an instance of the AppModule using the home/factory
am = home.create();
if(am!=null){
log.writeln("am is not null"+am,0);
}else{
log.writeln("am is null",0);
// Connect the application module to the database
am.getTransaction().connect(jdbcConnStr);
} catch (NamingException ex) {
log.writeln("NamingException occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new ApplicationModuleCreateException(ex);
}catch(Exception ex){
log.writeln("Exception occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new Exception(ex);
return am;
I am not able to call the web server and facing issues. Please let me know if you can help me to get a solution to this.
Thanks in advance
VeerendraHi Zafar,
I got an error saying :
Batch Number Creation
Batch Number Creation
definition of batch num
Before Calling Create method
inside create method ..
home is not nulloracle.jbo.server.ApplicationModuleHomeImpl@11d2572
Jul 9, 2008 5:04:21 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Exception occurred here !!JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.create(XX_EGO_BATCH_CREATE.java:139)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.runProgram(XX_EGO_BATCH_CREATE.java:57)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Exception2 occurred here !!java.lang.Exception: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
calling [email protected]9c -
Move Custom Value Sets and Custom Concurrent Programs from Dev to Test
Hi,
Friends,
I want to move the Custom Value Sets and Custom Concurrent Programs from Development to Test Instance...how can i Acheive using FNDLOAD....
At a time single stroke can I move them using FNDLOAD...
Please help me in this regard....You can do it with FNDLOAD.
http://appsdbablog.com/blog/2006/09/fndload.html
Aviad Elbaz -
Spawning child program from parent concurrent program.
Hi All,
I am trying to spawn multiple child programs from Parent concurrent program, Parent concurrent program is having execution method as HOST.
Here is how I designed it.
1. Parent Concurrent program (Parent Conc program with execution method as HOST).
2. Host file is abc.prog calls PLSQL package xyz.main.
3. xyz.main has logic to launch multiple child programs - (Child Conc program with execution method as PLSQL stored proc) using fnd_request.submit_request utility.
All the child programs are getting launched but are in INACTIVE/NOMANAGER state. Could you please let me know how to overcome this issue.
Both Parent and child programs are added to standard concurrent manager. This issue is only coming when parent program as execution method as HOST if parent program execution method is PLSQL stored procedure then child programs are running fine..
I also tired initializing apps in HOST file (abc.prog) before calling PLSQL package xyz.main.
Thanks.
Sham.hi,
even i was facing the same issue. while submitting the child requests through fnd_request.submit_request i tried the following:
FND_REQUEST.submit_request (
application => 'Application Short Name',
program => 'Program Executable Name',
description => 'Program Description',
start_time => NULL,
sub_request => FALSE,
argument1 => 'Input 1',
argument2 => 'Input 2' );
After this the Programs were submitted successfully. -
SAP Script - calling SAP layout set from ABAP/4
Hi,
Help me in calling SAP layout set from ABAP/4
ThanksAshish,
create a driver program
create a script
A script is called using the function modules open_form,write_form,close_form.
Check this dummy program.
REPORT ZF3 .
tables makt.
data:begin of imakt occurs 0,
matnr like makt-matnr,
spras like makt-spras,
maktx like makt-maktx,
end of imakt.
DATA : ITEXT LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA : TEXTNAME LIKE STXH-TDNAME.
select matnr spras maktx from makt into table imakt up to 100 rows where
spras = sy-langu.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZF3'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT IMAKT.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
K.Kiran. -
Calling a Java Subpackage from a C program.... fails
I am having alittle bit of trouble calling a java subpackage from my C program. I can call a package ok but not a subpackage.
My directory path is c:\com\phoenix_systems_inc
My CLASSPATH=.;c:\com;
In the c:\com\phoenix_systems_inc directory is my FundsgClient.class
The fundsgClient.java has a package declaration of
package com.phoenix_systems_inc;
within the fundsgClient.java is class:
public synchronized static String setValue (String str) {
String a = "You passed: " + str;
return a;
======================================
in my C program I have
options[0].optionString = "-Djava.class.path=c:\\com\\";
cls = env->FindClass("/phoenix_systems_inc/com.phoenix_systems_inc.FundsgClient");
I think that I am over declaring the path in FindClass.nope;; that is what I had initially;
My CLASSPATH is CLASSPATH=.;c:\com;
==================================C program code
memset (&vm_args, 0, sizeof(vm_args));
vm_args.version=JNI_VERSION_1_2;
vm_args.options = options;
vm_args.nOptions = 1;
options[0].optionString = "-Djava.class.path=c:\\com";
vm_args.ignoreUnrecognized = TRUE;
res = JNI_CreateJavaVM(&jvm,(void**)&env,&vm_args);
if (res < 0)
fprintf(stderr, "Can't create Java VM\n");
return 0;
cls = env->FindClass("com/phoenix_systems_inc/FundsgClient");
===== is the java class code ==========
package com.phoenix_systems_inc;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import gnu.cajo.invoke.Remote;
import gnu.cajo.utils.extra.Xfile;
* Fundsg RMI Client
* @author agesite
* @version 1.0
public class FundsgClient {
static {
PropertyConfigurator.configure("FundsLog.properties");
// Log4j logger
private static Logger log = Logger.getLogger("PhoenixClient");
// Get RMI Server Hostname
private static final String host = PhoenixClientProperties.getInstance().
getProperty("PhoenixRMIServer");
private static String port = "1198";
* request
* @param requestStr Request String
* @return String Response String
* @throws Exception
public synchronized static String request (String requestStr) throws Exception {
// Serialized object
RequestObject requestObj = new RequestObject();
requestObj.setRequest(requestStr);
if (log.isDebugEnabled()) {
log.debug("Client Request: " + requestStr);
System.out.println("//" + host + ":" + port + "/fundsgServer");
Object object = Remote.getItem("//" + host + ":" + port + "/fundsgServer");
String response = (String) Remote.invoke(object, "nativeFundsg", requestObj.getRequest());
if (log.isDebugEnabled()) {
log.debug("Server Response: " + response);
return response;
* xferFile
* @param sourceFile
* @param destFile
* @throws Exception
public synchronized static void xferFile (String sourceFile, String destFile) throws Exception {
try {
Object xf = Remote.getItem("//" + host + ":" + port + "/xfileFunds");
// remoteInvoke = true means transfer can be performed from
// server to client and vice versa
Xfile.remoteInvoke = true;
Xfile.fetch(xf, sourceFile, destFile);
} catch (Exception e) {
if (log.isDebugEnabled()) {
log.debug("Xfile.fetch exception: " + e);
public synchronized static String setValue (String str) {
String a = "You passed: " + str;
return a;
} -
How can i get the source code from java concurrent program in R12
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
Zulqarnainuser570667 wrote:
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to call a BW Query from an ABAP program?
How to call a BW Query from an ABAP program?
hi
check this link
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
hope this helps
cheers -
Error in submiting request set from Daily Business Intelligence Administrat
I am getting the following error when submitting "ADS Incremental Financials Request Group" request set from "Daily Business Intelligence Administrator" responsibility in vision R12 instance :
APP-FND-01564: ORACLE error -1116 in SUBMIT: others
Cause: SUBMIT: others failed due to ORA-01116: error in opening database file 11
ORA-01110: data file 11: '<path>.dbf'
ORA-27041: unable to open file
SVR4 Error: 24: Too many open files
Additional information: 3.
The SQL statement being executed at the time of the error was: &SQLSTMT and was executed for the file &ERRFILE.
OS is Solaris 10.5
in a document it was suggested to increase the ulimit -n equal to ulimit -Hn and in solaris for R12 nofiles (descriptors) = 65536. Both ulimit -n and ulimit -Hn have been set to 65536 but still the error is showing.
Plz HelpppCheck Note: 549806.1 - ADS Incremental Financials Request Group errors out with APP-FND-00806
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549806.1 -
Is it possible to make a call to an Infotype from an ABAP program?
Dear friends,
I created a new infotype 9*** using transaction pm01 and it works fine. What i need to do is to make a call to this infotype from an abap program without going through transaction pa30. Is it possible to do that? Thank you in advance.
Sincerely,
hajarHi,
The HR_MASTERDATA_DIALOG might need some tweaking.. we use a custom Program on the lines of SAP's
'perform rp_infotyp(sapfp50g)' that is more user friendly.. let me know if u need more info..
Good Luck,
Suresh Datti -
Cannot call ANY stored functions from my Java program
My problem is that I cannot call ANY stored procedure from my Java
program. Here is the code for one of my stored procedures which runs
very well in PL/SQL:
PL/SQL code:
CREATE OR REPLACE PACKAGE types AS
TYPE cursorType IS REF CURSOR;
END;
CREATE OR REPLACE FUNCTION list_recs (id IN NUMBER)
RETURN types.cursorType IS tracks_cursor types.cursorType;
BEGIN
OPEN tracks_cursor FOR
SELECT * FROM accounts1
WHERE id = row_number;
RETURN tracks_cursor;
END;
variable c refcursor
exec :c := list_recs(11)
SQL> print c
COLUMN1 A1 ROW_NUMBER
rec_11 jacob 11
rec_12 jacob 11
rec_13 jacob 11
rec_14 jacob 11
rec_15 jacob 11
Here is my Java code:
import java.sql.*;
import java.io.*;
import oracle.jdbc.driver.*;
class list_recs
public static void main(String args[]) throws SQLException,
IOException
String query;
CallableStatement cstmt = null;
ResultSet cursor;
// input parameters for the stored function
String user_name = "jacob";
// user name and password
String user = "jnikom";
String pass = "jnikom";
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
try { Class.forName ("oracle.jdbc.driver.OracleDriver"); }
catch (ClassNotFoundException e)
{ System.out.println("Could not load driver"); }
Connection conn =
DriverManager.getConnection (
"jdbc:oracle:thin:@10.52.0.25:1521:bosdev",user,pass);
try
String sql = "{ ? = call list_recs(?) }";
cstmt = conn.prepareCall(sql);
// Use OracleTypes.CURSOR as the OUT parameter type
cstmt.registerOutParameter(1, OracleTypes.CURSOR);
String id = "11";
cstmt.setInt(2, Integer.parseInt(id));
// Execute the function and get the return object from the call
cstmt.executeQuery();
ResultSet rset = (ResultSet) cstmt.getObject(1);
while (rset.next())
System.out.print(rset.getString(1) + " ");
System.out.print(rset.getString(2) + " ");
System.out.println(rset.getString(3) + " ");
catch (SQLException e)
System.out.println("Could not call stored function");
e.printStackTrace();
return;
finally
cstmt.close();
conn.close();
System.out.println("Stored function was called");
Here is how I run it, using Win2K and Oracle9 on Solaris:
C:\Jacob\Work\Java\Test\Vaultus\Oracle9i\FunctionReturnsResultset>java
list_recs
Could not call stored function
java.sql.SQLException: ORA-00600: internal error code, arguments:
[ttcgcshnd-1], [0], [], [], [], [], [], []
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889)
at
oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:490)
at
oracle.jdbc.driver.OracleStatement.getCursorValue(OracleStatement.java:2661)
at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:4189)
at
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:4123)
at
oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:541)
at list_recs.main(list_recs.java:42)
C:\Jacob\Work\Java\Test\Vaultus\Oracle9i\FunctionReturnsResultset>
Any help is greatly appreciated,
Jacob NikomThank you for your suggestion.
I tried it, but got the same result. I think the difference in the syntax is due to the Oracle versus SQL92 standard
conformance. Your statament is the Oracle version and mine is the SQL92. I think both statements are acceptable
by the Oracle.
Regards,
Jacob Nikom -
Purging RPD Cache from a Concurrent Program
Hi,
I need to purge RPD Cache from a Concurrent Program.
Can anyone suggest me how the shell script should be and pre-requisites to execute it from Conc Prog.
I am trying with SAPurgeAllCache method of Caching Mechanism..
Thanks,
Vencyhi,
See this below links
it may helpful to you
http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
http://oraclebizint.wordpress.com/2008/02/11/oracle-bi-ee-101332-scheduling-cache-purging-phase-2-using-java-and-delivers/
or else see this forums link
Purging the Cache with iBots
Regards
Naresh
Edited by: Naresh Meda on Feb 19, 2009 1:49 AM -
Is it posible to return warning message from HOST concurrent Program
Is it posible to return warning message from HOST concurrent Program?
Exit 0 -> successful
Exit >1 is an error
is there anyway to send the warning status through Host cooncurrent program ?
Thanks
SachinI do not have access to a test instance to try this, but I believe "exit 2" will make the host concurrent program complete with a warning status. Can you pl try this and post your results here ? :-)
HTH
Srini -
How to call j2me emulator instance from a java program?
hi,
how to call j2me emulator instance from a java program?
i tried public void startApp(){
try{
platformRequest("tel:+5550000");
}catch(Exception e){
e.printStackTrace();
from a j2me midlet itself,
but it gave illegal access exception.
do i need any hardware phone connected to my pc?
please help.http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
import java.util.*;
public class OpenExplorer{
public static void main(String args[]){
new OpenExplorer();
public OpenExplorer(){
try{
String command = "explorer C:";
// or String command = "cmd /c explorer C:";
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(command);
int exitVal = process.waitFor();
System.out.println("Exit Value: " + exitVal);
} catch(Exception e){
e.printStackTrace();
}
Maybe you are looking for
-
Video streams in some apps stop after some seconds (S6000)
Hi, In the apps DEL and Laola1.tv, video streams start with the first ~5 seconds, then stop, then repeat once and then stop. Problem does not occur with android phone or laptop in the same wlan. Other streaming like youtube works fine. Any hints or i
-
Schedule a report with passing range parameters
I have wrote a program to run the crystal report in BO server and email to the user. The program can pass the parameter to the crystal report and generate different result/ report. It works well with string parameters, int parameter and date paramete
-
Why has Skype payments become so unstable
Why is Skype unable to take regular payments? Why does it refuse to draw money from accounts in credit? Why does Skype switch payment methods without consent? Why does it threaten to cut off our Skype phone number and yet provide only a public forum
-
Delete a friend in GameCenter from your application
possible to remove the other in GameCenter from your application
-
hello: i have ten products, now i have calculated the percentage of the ten products, i want to show the top three products percetage,and the other seven is proposed to be showed as 'others' in total. for example: company code