How to pass info from jad to jar
Hi,
When reinstalling an application into a mobile (at least nokia or motorola modern mobile versions) teh mobile ask you if yo uwant to save old data. If you choose yes the RecorsStore keeps exactly the same, no one variable is re-writed. So how can I know in teh code I mean if the application has been installed again? I mean, when launching teh application , I want that my code reconice if thee application has been installed one , 2, 3 or whatever times. How can I do that? Maybe pasing a paramenter from teh jad to teh jar during the installation?
Thanks
How to Upgrade from a Previous Palm device to a Newer One: http://kb.palm.com/ and enter 12926 (General Upgrade guide) or 45175 (Upgrade to Centro) into the "solution ID:" box (lower right).
WyreNut
Post relates to: Centro (AT&T)
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!
Similar Messages
-
How to pass info from TX to Centro
I need to know if I can sync my TX info into my Centro Smartphone.
Post relates to: Palm TXHow to Upgrade from a Previous Palm device to a Newer One: http://kb.palm.com/ and enter 12926 (General Upgrade guide) or 45175 (Upgrade to Centro) into the "solution ID:" box (lower right).
WyreNut
Post relates to: Centro (AT&T)
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
How to get info from weblogic-ejb-jar.xml? (MDB)
I'm writing an MDB which is part of a request/reply. In order to reply, I
need an initial-context-factory and provider-url. Is it possible to get
this information using the MessageDrivenDescriptorMBean class? I can see
that MessageDrivenDescriptorMBean has getConnectionFactoryJNDIName() and
getProviderURL() which should be what I want, but I have no idea how to get
an instance of MessageDrivenDescriptorMBean. Can I do that in the
setMessageDrivenContext method of my MDB?
If not, I can put that information in the env, but I'd rather not do that as
it is redundant information.
Thanks.
EricForgot... WL6.1.
"Eric F" <[email protected]> wrote in message
news:[email protected]..
I'm writing an MDB which is part of a request/reply. In order to reply, I
need an initial-context-factory and provider-url. Is it possible to get
this information using the MessageDrivenDescriptorMBean class? I can see
that MessageDrivenDescriptorMBean has getConnectionFactoryJNDIName() and
getProviderURL() which should be what I want, but I have no idea how toget
an instance of MessageDrivenDescriptorMBean. Can I do that in the
setMessageDrivenContext method of my MDB?
If not, I can put that information in the env, but I'd rather not do thatas
it is redundant information.
Thanks.
Eric -
I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card. Can anyone help, please?
Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
Matt -
OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.
How to pass variable from one prompt to another prompt in dashboard page.
I have two prompt in dashboard page as below.
Reporttype
prompt: values(Accounting, Operational) Note: values stored as
presentation variable and they are not coming from table.
Date prompt values (Account_date, Operation_date)
Note:values are coming from dim_date table.
Now the task is When user select First
Prompt value “Accounting” Then in the
second prompt should display only Accounting_dates , if user select “operational”
and it should display only operation_dates in second prompt.
In order to solve this issue I made the
first prompt “Reporttype” values(Accounting, Operational) as presentation
values (custom specific values) and default presentation value is accounting.
In second prompt Date are coming from
dim_date table and I selected Sql results as shown below.
SELECT case when '@{Reporttype}'='Accounting'
then "Dates (Receipts)"."Acct Year"
else "Dates (Receipts)"."Ops
Year" End FROM "Receipts"
Issue: Presentation variable value is not
changing in sql when user select “operation” and second prompt always shows
acct year in second prompt.
For testing pupose I kept this presentation
variable in text object of dashboard and values are changing there, but not in
second prompt sql.
Please suggest the solution.You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it. You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.
-
How to pass Data from one form to the other
Hi all
Can any one suggest me how to pass data from one form to the other form, which i zoomed from the original one?
I tried to do this by passing parameter in Event Procedure but i am getting error msg when i am opening the zoomed form.
If any one of u have any idea, give me a reply
Thank you
SuhasiniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
How to Pass Parameter from BIP to Dashboard Report
Hi,
Parameter from BIP to Dashboard Report
If I select BIP report paremeter should pass value to dashboard report
thanks in advance.
CHEERS ,
JelHi Saichand,
I hav gone through above link its passing values from Dashboard prompt to BIP report only..
just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
Thanks in advance
Cheers,
Jel -
How to pass text from flash to html?
how to pass text from flash to html?
This is a wonderful sample i found online.
pls run using a server so that it can display properly
http://active.tutsplus.com/tutorials/actionscript/flash-html-javascript-externalinterface/ -
How to get info from a layer which is applied with styles ?
How to get info from a layer ? such as ( apply style or not , which effect have applied on it etc..)
I really can't solve it , Who can hlep me.. By the way , I 'am using CS version.xtools/xlib/Styles.js has a set of functions for working with layer styles. I do not know if it works with CS. I wrote it several years ago for either CS or CS2. If this doesn't work, then nothing will. The script retrieves a layer's style by saving it to disk then parsing the file for the desired ActionDescriptor.
There is a function at the bottom of the file that tests the Styles.js API.
Styles.test = function() { var doc = app.activeDocument;
var layer0 = doc.artLayers[0];
var gdesc = Styles.getLayerStyleDescriptor(doc, layer0);
if (!gdesc) {
alert("There is no layer style associated with the layer");
return;
// this will set the layer style to another layer.
// var layer1 = doc.artLayers[1];
// Styles.setLayerStyleDescriptor(doc, layer1, gdesc);
if (!gdesc.hasKey(cTID('FrFX'))) { // look for a stroke effect
return;
var frfx = gdesc.getObjectValue(cTID('FrFX'));
if (!frfx.hasKey(cTID('Clr '))) { // look for the color
return;
var clr = frfx.getObjectValue(cTID('Clr '));
// we should really check that the objectType is RGBC
var r = clr.getDouble(cTID('Rd '));
var g = clr.getDouble(cTID('Grn '));
var b = clr.getDouble(cTID('Bl '));
if (r == 0 && g == 0xFF && b == 0xFF) {
return;
clr.putDouble(cTID('Rd '), 0);
clr.putDouble(cTID('Grn '), 0xFF);
clr.putDouble(cTID('Bl '), 0xFF);
frfx.putObject(cTID('Clr '), cTID('RGBC'), clr);
gdesc.putObject(cTID('FrFX'), cTID('FrFX'), frfx);
Styles.setLayerStyleDescriptor(doc, layer0, gdesc); -
How to pass data from offline form to webdynpro java
Hi,
Please suggest me how to pass data from offline from to webdynpro java node?
i am using the below code to pass data from offline form(after entering values in the form) to node . i am using form upload ui element to upload offline form and after that i am providng a button to update data.But still i am not able to see data in the node.Any suggestions on this.below code is wriiten on action of the button.
wdContext.currentContextElement().setPDFSource(null);
try
if(null!=wdContext.currentContextElement().getAttributePointer("Resource"))
IWDResource fileResource = wdContext.currentContextElement().getResource();
if("PDF".equalsIgnoreCase(fileResource.getResourceType().getFileExtension()))
byte[] b = new byte[wdContext.currentContextElement().getResource().read(false).available()];
wdContext.currentContextElement().getResource().read(false).read(b) wdContext.currentContextElement().setPDFSource(b);
WDInteractiveFormHelper.transferPDFDataIntoContext (wdContext.currentContextElement().getPDFSource(), wdContext.nodeVn_TestData());
else
wdComponentAPI.getMessageManager().reportException("Please enter correct file");
else
wdComponentAPI.getMessageManager().reportException("Error while uploading file");
catch (Exception e) {
wdComponentAPI.getMessageManager().reportException
("Error in uploading the Adobe Form :"+e.getLocalizedMessage(),false);
Regards,
PavaniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
How to pass data from one internal session to another internal session
hi all sap experts ,
How to pass data from one internal session to another internal session and from oneExternal session to another external session.
Except : Import and Export parameters and SPA/GPA parameters.
Tell me the otherWay to pass data ..
Plz
Thanks in advancehi,
abap memory management u will understand about this concept.
the import /export parameter will help u that passing data between two internal sessions by using abap memory.
for syntax
Passing Data Between Programs
There are two ways of passing data to a called program:
Passing Data Using Internal Memory Areas
There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
SAP Memory
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
ABAP Memory
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
Filling Input Fields on an Initial Screen
Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
Filling the Selection Screen of a Called Program
You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
Message was edited by:
sunil kumar
Message was edited by:
sunil kumar -
How to pass data from one internal session to another
Hi SAP Experts,
How to pass data from one internal session to another and from One external session to another external session. I used import and export parmeter and SPA/GPA parameters. What is the other way to pass data?
Please tel me urgently
Thank you
BasuMemory Structures of an ABAP Program
In the Overview of the R/3 Basis System you have seen that each user can open up to six R/3 windows in a single SAPgui session. Each of these windows corresponds to a session on the application server with its own area of shared memory.
The first application program that you start in a session opens an internal session within the main session. The internal session has a memory area that contains the ABAP program and its associated data. When the program calls external routines (methods, subroutines or function modules) their main program and working data are also loaded into the memory area of the internal session.
Only one internal session is ever active. If the active application program calls a further application program, the system opens another internal session. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack.
The memory area of each session contains an area called ABAP memory. ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
All ABAP programs can also access the SAP memory. This is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters are often used to preassign values to input fields. You can set them individually for users, or globally according to the flow of an application program. SAP memory is the only connection between the different sessions within a SAPgui.
The following diagram shows how an application program accesses the different areas within shared memory:
In the diagram, an ABAP program is active in the second internal session of the first main session. It can access the memory of its own internal session, ABAP memory and SAP memory. The program in the first internal session has called the program which is currently active, and its own data is currently inactive on the stack. If the program currently active calls another program but will itself carry on once that program has finished running, the new program will be activated in a third internal session.
Data Clusters in ABAP Memory
You can store data clusters in ABAP memory. ABAP memory is a memory area within the internal session (roll area) of an ABAP program and any other program called from it using CALL TRANSACTION or SUBMIT.
ABAP memory is independent of the ABAP program or program module from which it was generated. In other words, an object saved in ABAP memory can be read from any other ABAP program in the same call chain. ABAP memory is not the same as the cross-transaction global SAP memory. For further information, refer to Passing Data Between Programs.
This allows you to pass data from one module to another over several levels of the program hierarchy. For example, you can pass data
From an executable program (report) to another executable program called using SUBMIT.
From a transaction to an executable program (report).
Between dialog modules.
From a program to a function module.
and so on.
The contents of the memory are released when you leave the transaction.
To save data objects in ABAP memory, use the statement EXPORT TO MEMORY.
Saving Data Objects in Memory
To read data objects from memory, use the statement IMPORT FROM MEMORY.
Reading Data Objects from Memory
To delete data clusters from memory, use the statement FREE MEMORY.
Deleting Data Clusters from Memory
please read this which provide more idea about memory
Message was edited by:
sunil kumar -
How to pass arguments from PAPI to the process
Can any one tell me How to pass arguments from PAPI to the process.
The link Creating a new work item instance in a process using PAPI shows how to create instances on PAPI and pass in the variable information as they are being created.
Provide some additional detail if you're interested in seeing how to pass in variable information using PAPI for scenarios other than instance creation.
Dan -
How to pass data from list to internal table
Sir,
Please tell me how to pass data from list display to internal table. Some fields in the list display are input fields .These are added at run time and these added values should be stored in the internal tableFollow this code sample:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = W_REPID
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.
when '<Some user Action>'.
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data
* Your internal table will have the data
endcase.
ENDFORM.
Regards,
Ravi -
How to pass value from jsp to java bean
I have huge problem . How to pass value from jsp value to java bean.Please replay me soon
Use the <jsp:setProperty> tag. There are several ways to use it. The one you probably want is:
<jsp:setProperty name="bean_name" property="property_name" value="the_value_you_want_to_set"/>
Maybe you are looking for
-
I'm trying to figure out how to get QuickTime movies (taken with a video camera) off my pc and onto my iPad2. I can watch the movies on my pc using QT. I bought QT Pro and installed on my PC to convert the files to a format that iPad supports (like
-
N95 - no suitable profile for in car use
Hi. Just got a Sony Car stereo BT2500 with bluetooth. It accepts music streamed from my N95, which works really well - until the power save cuts in. Then the music stops, until I open the slider again. The only way I can stop it is to activate the vi
-
Forms 10gR2 printing issue with Java Plug-in 1.6.0_21
Hi All, I replaced Jinitiator by Java Plug-in 1.6.0_21. I'm using forms 10gR2. I modified formsweb.cfg file and most of the other functionality work fine. I overwrote the default functionality of the menu item 'Print Button' by the following java scr
-
Select multiple columns from tab with group by
hi i have a table with many columns suppose in that i have 2 columns as date and time and in my table i am getting suppose data like columns -> date time a b c 22-may-2207 10 22-may-2207 17 23-may-2007 5 24-may-2007 12 24-may-2007 15 i want to select
-
New User Account Name fixed crashing photoshop cs4 with Snow Leopard
I don't understand why, but creating a new user account fixed the SL/photoshop CS4 crashing issue. I don't have all my settings and shortcuts etc., so its for photoshop only until apple/adobe comes up with a fix.