Please Help me to understand something : |
Subject:please Help me to understand something : |
hi there ,
so i know to create apps in flash cs5 , i downloaded the adobe air 2.6 and installed . i downloaded Flash Professional CS5 Update 11.0.2 and Flash Professional CS5 Update for iOS
10/11/2010.
i read in adobe air 2.6 that it possible to make multitasking .
2 questions :
1.
it possible to make multitasking in flash cs5 ( open apps on iphone , click on home button and when you come back , apps not restat ) ?
i mean play sound in my apps , and when you click on the home button the sound stay played.
2.
adobe air , when i installed it , it work on flash cs5 auto? i need to change somthing?
in bigger , how i make multitasking in flash cs5?
please help me
thank you
Not sure what you mean by the second question, but the answer your first; yes, air 2.6 allows for multitasking. You don't have to do anything to get this to work, it is setup by default.
Similar Messages
-
I want to check the main diffrence in Pop up block enabled and disabled.But,i don't get any difference.Would u please help me to understand the difference using one practical example of website
Here's two popup test sites.
http://www.kephyr.com/popupkillertest/test/index.html
http://www.popuptest.com/ -
Please help me in understanding hashcode()
I have some doubt with hashcode(), please help me in understanding.
As it is always advised that whenever you override equals() method, override even hashcode(). As equals() returns the equality of two objects i.e it returns whether two objects are equal or not. The hashcode(), returns int value, i.e if two objects are equal than both hashcode will be same.
Now my question is:
1. When equals() method is comparing 2 objects and returning whethere both are equal or not. Then why we need this hashcode().
2. When this hashcode(), is going to be call?
Please tell me Whatever I understood is right or not....rajalakshmi wrote:
2. When this hashcode(), is going to be call?
equals() method will implicitly call hashCode() method to compare objects.No it won't. Where did you get that?
Here is the actual code to Strings equals method
public boolean equals(Object anObject) {
if (this == anObject) {
return true;
if (anObject instanceof String) {
String anotherString = (String)anObject;
int n = count;
if (n == anotherString.count) {
char v1[] = value;
char v2[] = anotherString.value;
int i = offset;
int j = anotherString.offset;
while (n-- != 0) {
if (v1[i++] != v2[j++])
return false;
return true;
return false;
}Now, where is hashCode called there? -
Please help me to understand what is the meaning of Acess point Channel utilization?
please help me to understand what is the meaning of Acess point Channel utilization? If i want to mange the capacity of my Office Wi-Fi network what are the factor i need to monitor.
Hi Ankit,
Channel Utilization
The 802.11, 802.11b, and 802.11g standards use the same 2.4 GHz band. All must interoperate with each other, which introduces additional overhead reducing channel throughput. Many sites already have products using the Wi-Fi 2.4 GHz band. Additionally, there are many other products that use the same 2.4 GHz frequencies as used by Wi-Fi. Other products include Bluetooth, cordless phones, video game controllers, surveillance cameras, and microwave ovens.
Before the installation of the Cisco Unified Wireless Network, a site can be tested for channel interference and utilization with tools from AirMagnet, Wild Packets, Cognio, and others. The Wireless Control System (WCS) AP On-Demand Statistics Display report provides a spectrum review of the following:
•Noise by channel
•Interference by channel
•Client count versus RSSI
•Client count versus SNR
•Channel radar detection versus time
You can further refer the following links,
https://supportforums.cisco.com/thread/2212228
https://supportforums.cisco.com/thread/334981
For design guide following link might help,
http://www.cisco.com/en/US/docs/solutions/Enterprise/Education/SchoolsSRA_DG/SchoolsSRA_chap5.html -
Please help me to understand Transaction option in SSIS container
Hi experts,
I am confused about Transaction option in SSIS container,
1. Required - Start the transaction. What is mean that start transaction?
2.Supported- join the transaction ..
can you please help me to understand.
ThanksI think Vaibhav already answered your question but here's more from my end.
1.
Package - Transaction Option - Supported
SEQC - Transaction Option - Supported
3 Execute SQL Tasks - Transaction Option - Supported
So, package / SEQC / SQL 1 / SQL 2 / SQL 3 doesn't involve in a transaction i.e. think of those tasks are not included in
BEGIN TRANSACTION / COMMIT TRANSACTION
Sequence Container
--Execute SQL Task 1
INSERT INTO dbo.t1 (a)
SELECT 10
--Execute SQL Task 2
INSERT INTO dbo.t1 (a)
SELECT 11
--Execute SQL Task 3
INSERT INTO dbo.t1 (a)
SELECT 'aa'
When we execute package, it will insert 10, 11 values into table dbo.t1 and since there's an error in the 3rd statement, it'll fail
2.
Package - Transaction Option - Required
SEQC - Transaction Option - Supported
3 Execute SQL Tasks - Transaction Option - Supported
Now, package will Start a transaction since it's Transaction Option is "Required" , so now the SEQC (3 Execute SQL tasks) will
be inside transaction / join the transaction because their transaction option is "Supported".
Package - Information: Starting distributed transaction for this container. --BEGIN TRANSACTION
(You'll see this statement in Processing / Execution Results tab)
SEQC
--Execute SQL Task 1
INSERT INTO dbo.t1 (a)
SELECT 21
--Execute SQL Task 2
INSERT INTO dbo.t1 (a)
SELECT 22
--Execute SQL Task 3
INSERT INTO dbo.t1 (a)
SELECT 23
Package - Information: Committing distributed transaction started by this container. -- COMMIT TRANSACTION
(You'll see this statement in Processing / Execution Results tab)
When we execute package, it will insert 21, 22, 23 values into table dbo.t1 and also you can see the START TRANSACTION /
COMMIT TRANSACTION in the Exection Results tab are at the Package Level and not at the Sequence Container level.
Without any change, if you change the value from 23 to 'aa' in the 3rd Execute SQL task then you'll see
Information: Aborting the current distributed transaction. statement in the 3rd Executed SQL Task in Execute Results tab
which is at the Sequence container / Execute SQL task 3 level and it's because their Transaction option is Supported and so they
joined the transaction
Please see the screenshot below that under Package, the START TRANSACTION but ABORT TRANSACTION is at Execute SQL task
level
3.
Package - Transaction Option - Supported
SEQC - Transaction Option - Required
3 Execute SQL Tasks - Transaction Option - Supported
Please see the screenshot below that under Sequence Container, the TRANSACTION has started. Since the the Sequence container's
parent (which is package) has not started any transaction and so the it started it's own transaction.
4.
Package - Transaction Option - Required
SEQC - Transaction Option - Required
3 Execute SQL Tasks - Transaction Option - Supported
See the screenshot below which is same as first screenshot.
Since Package's transaction property is set to "Required" and it's Parent to Sequence Container
and so package started the started the transaction, and though Sequence container's transaction option is "Required",
it will not start a new transaction rather it "joins" the transaction that was already opened by it's Parent (Package).
Now, if we see the definitions what Supported and Required means -
Supported - Specifies that this container will not start a transaction.
However, it will participate in a transaction if the parent container started one. This is the default. (4th Example)
Required - Specifies that this container will cause a new transaction to be started unless the parent container already has a transaction,
in which case, the parent’s transaction will be joined. (2nd and 3rd Examples)
Narsimha -
SQL*PLUS using START command - please help me to understand
Hello dear friends,
I met one issue that i can't understand. Could you please explain me what is wrong in my logic.
I have created sql file called DUMMY.sql
the file context is:
SELECT dummy
FROM dummy_tbl
WHERE dummy_col=&dummy_var;
I go to SQL*Plus DB version (10.2.0.4.0).
I promt command: START DUMMY 1
and expecting *&dummy_var* to be replaced with *1* and query be executed as it is described in Oracle SQL*PLUS reference ([http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch6.htm#sthref1058|http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch6.htm#sthref1058] ).
But instead i'm getting Enter value for dummy_var:
please help me to understand
thanks in advance.You need to use &1 instead of &dummy_var.
The number references the position of the parameter to use;&1 is the first parameter, &2 would be a second parameter and so on.
SELECT dummy
FROM dummy_tbl
WHERE dummy_col=&1; -
Left outer join VS Is NULL .. Please help me to understand this.
Hi Experts,
I have a requirement to use Leftouter join on a column. But unfortunately i couldnt implement this in OBIEE. so instead iam using = and is NULL condition. kindly help me to understand this or give me a solution.
Advance Thanks
I am pasting the query here. look at the last line of the query there i want to modify.
select Targ.organization_id,Targ.cycle_count_header_name,Targ.cycle_count_header_id,Targ.cc_class_name
,Targ.total_cycle_count_per_month,NVL(Act.Actual_count,0)actual_count,targ.month_year,Act.count_stat,targ.year count_date_current,length(act.count_status) count_status,nvl(length(act.count_status),0)
from
(select
Dim_date.Year,
Dim_date.month_year,
target.organization_id,
target.cycle_count_header_name,
target.cycle_count_header_id,
target.abc_class_id,
target.CC_class_name,
target.inventory_item_id_count,
target.cycle_count_per_year,
target.total_cycle_count_per_year,
target.total_cycle_count_per_month
from
(SELECT DISTINCT
TO_NUMBER (TO_CHAR (count_date_current, 'yyyy'), '9999') Year,
TO_CHAR (count_date_current, 'MON-YYYY') month_year
FROM mtl_cycle_count_entries_v)Dim_date,
(SELECT mth.organization_id,
mth.cycle_count_header_name,
mth.cycle_count_header_id,
mtc.abc_class_id,
mtc.CC_class_name,
COUNT (mti.inventory_item_id) inventory_item_id_count,
MIN (mtc.num_counts_per_year) cycle_count_per_year,
COUNT (mti.inventory_item_id)
* MIN (mtc.num_counts_per_year)
total_cycle_count_per_year,
ROUND (
(COUNT (mti.inventory_item_id)
* MIN (mtc.num_counts_per_year))
/ 12)
total_cycle_count_per_month,
TO_NUMBER (TO_CHAR (mth.creation_date, 'yyyy'), '9999') Year
FROM mtl_cycle_count_headers_v mth,
mtl_cycle_count_items_v mti,
mtl_cycle_count_classes_v mtc
WHERE mth.cycle_count_header_id = mti.cycle_count_header_id
AND mth.cycle_count_header_id = mtc.cycle_count_header_id
AND mth.organization_id = mtc.organization_id
AND mtc.abc_class_id = mti.abc_class_id
GROUP BY mth.organization_id,
mth.cycle_count_header_id,
mth.cycle_count_header_name,
mtc.abc_class_id,
mtc.CC_class_name,
TO_NUMBER (TO_CHAR (mth.creation_date, 'yyyy'), '9999')
) Target
where dim_date.Year=Target.Year) Targ,
(SELECT --TRUNC (count_date_current) count_date_current,
TO_CHAR (count_date_current, 'MON-YYYY') Month_year,
abc_class_name,
count_status count_stat,
organization_id,
cycle_count_header_id,
count_status,
SUM (NUMBER_OF_COUNTS) Actual_count
FROM MTL_CYCLE_COUNT_ENTRIES_V
GROUP BY organization_id,
--TRUNC (count_date_current),
cycle_count_header_id,
TO_CHAR (count_date_current, 'MON-YYYY'),
abc_class_name,
count_status)Act
WHERE act.cycle_count_header_id(+) = targ.cycle_count_header_id
AND act.organization_id(+) = targ.organization_id
AND act.abc_class_name(+) = targ.cc_class_name
AND act.Month_year(+)=targ.month_year
AND targ.organization_id=254
AND targ.Cycle_count_header_id=3026
AND targ.CC_CLASS_NAME= 'A PARTS'
and act.count_status (+)='Rejected'I need to replace the final line act.count_status(+)='Rejected' with
(act.count_status='Rejected' and act.count_status is NULL)But i am getting difference in data. what might be the reason?.. I am a naive user to oracle. Kindly help me and any help will be appreciated.
Thanks alot.Data set for both i am enclosing here. Kindly have a look in to that.
254 OPSCAST0909 3026 A PARTS 7 1 Dec-09 Rejected 2009
254 OPSCAST0909 3026 A PARTS 7 0 Feb-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Sep-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Jul-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 May-09 2009 Data Set for outer join
254 OPSCAST0909 3026 A PARTS 7 0 Oct-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Jun-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Jan-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Nov-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Apr-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Aug-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Mar-09 2009
254 OPSCAST0909 3026 A PARTS 7 1 Dec-09 Rejected 2009
254 OPSCAST0909 3026 A PARTS 7 0 Feb-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Jul-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 May-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Jun-09 2009 Data set of IS NULL
254 OPSCAST0909 3026 A PARTS 7 0 Jan-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Apr-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Aug-09 2009
254 OPSCAST0909 3026 A PARTS 7 0 Mar-09 2009 -
Please help me in understanding the EDIFACT D96A format for INVOICE
Hi,
Im doing an INVOICE02 IDOC to EDIFACT D96A INVOIC scenario. Im new to EDI.
Pls Pls Pls Pls kindly help me in understanding the following EDIFACT D96A file.
UNBUNOA:35410033000055:145400110000009:14070612:085511137INV96A+EANCOM1'
UNH1INVOIC:D:96A:UN:EAN008'
BGM3805010237529+9'
DTM+137:200706120000:203'
DTM+35:20070612:102'
DTM+454:20070612:102'
RFF+ON:32210'
DTM+171:20070612:102'
RFF+DQ:000030585715'
DTM+171:20070612:102'
NADSU5410148000001::9+BVBA Unilever Belgium SPRLBl.De L?'Humanité 292 292Bruxelles1190BE'
RFF+VA:BE438390312'
RFF+ARA:0438390312'
NADBY5400110000009::9+D.L.L.RUE OSSEGHEM 53-MOLENBEEKMOLENBEEK-SAINT-JEAN1080BE'
NADDP5400110000009::9+D.L.L.RUE OSSEGHEM 53-MOLENBEEKMOLENBEEK-SAINT-JEAN1080BE'
NADIV5400110000009::9+DELHAIZE FRS. CENTRALESRUE OSSEGHEM , 53BRUSSEL-MOLENBEEK1080BE'
RFF+VA:BE402206045'
RFF+ARA:0402206045'
CUX+2:EUR:4'
LIN10+8000920900987:EN'
PIA1000000000019009801:SA'
IMDF+IN:::IGLO POELEE LEGUMES CHAMPIGNONS 6X8'
QTY+47:81'
QTY+46:81'
MOA+203:1584.4'
PRI+AAA:19.56'
PRI+AAB:21.24'
TAX7VAT+++:::6.000'
MOA+125:1584.4'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN20+5410148126459:EN'
PIA1000000000011264501:SA'
IMDF+IN:::Epinards hachis en portions '
QTY+47:112'
QTY+46:112'
MOA+203:1061.01'
PRI+AAA:9.47'
PRI+AAB:10.96'
TAX7VAT+++:::6.000'
MOA+125:1061.01'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN40+5410148013452:EN'
PIA1000000000010134500:SA'
IMDF+IN:::15 Fish Sticks Colin d?'Alaska '
QTY+47:256'
QTY+46:256'
MOA+203:4937.63'
PRI+AAA:19.29'
PRI+AAB:20.16'
TAX7VAT+++:::6.000'
MOA+125:4937.63'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN50+5414807999958:EN'
PIA1000000000019999501:SA'
IMDF+IN:::Iglo Poisson Pané Epinards 7X400g'
QTY+47:180'
QTY+46:180'
MOA+203:4160.31'
PRI+AAA:23.11'
PRI+AAB:24.08'
TAX7VAT+++:::6.000'
MOA+125:4160.31'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN60+5410148120952:EN'
PIA1000000000011209501:SA'
IMDF+IN:::Epinards Crhme en Portions '
QTY+47:112'
QTY+46:112'
MOA+203:1594.69'
PRI+AAA:14.24'
PRI+AAB:15.92'
TAX7VAT+++:::6.000'
MOA+125:1594.69'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN70+5410148124158:EN'
PIA1000000000011241503:SA'
IMDF+IN:::EPINARDS HACHES EN PORTIONS 450G'
QTY+47:144'
QTY+46:144'
MOA+203:938.01'
PRI+AAA:6.51'
PRI+AAB:7.44'
TAX7VAT+++:::6.000'
MOA+125:938.01'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN120+5410148016729:EN'
PIA1000000000010167201:SA'
IMDF+IN:::Macaroni Fromage/Jambon '
QTY+47:260'
QTY+46:260'
MOA+203:4337.55'
PRI+AAA:16.68'
PRI+AAB:17.58'
TAX7VAT+++:::6.000'
MOA+125:4337.55'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN130+5410148441255:EN'
PIA1000000000014412503:SA'
IMDF+IN:::CHOUX ROUGES AUX POMMES 450G'
QTY+47:144'
QTY+46:144'
MOA+203:1756.99'
PRI+AAA:12.2'
PRI+AAB:13.36'
TAX7VAT+++:::6.000'
MOA+125:1756.99'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN140+5410148017702:EN'
PIA1000000000010177001:SA'
IMDF+IN:::Frit?'Kot 1'
QTY+47:60'
QTY+46:60'
MOA+203:1102.6'
PRI+AAA:18.38'
PRI+AAB:22'
TAX7VAT+++:::6.000'
MOA+125:1102.6'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:4.9:1'
LIN180+8000920801796:EN'
PIA1000000000018017901:SA'
IMDF+IN:::EPINARDS EN BRANCHES 10 X 450'
QTY+47:190'
QTY+46:190'
MOA+203:2204.2'
PRI+AAA:11.6'
PRI+AAB:12.9'
TAX7VAT+++:::6.000'
MOA+125:2204.2'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN200+5410148014268:EN'
PIA1000000000010142602:SA'
IMDF+IN:::PETITS POIS EXTRA FINS 450G'
QTY+47:238'
QTY+46:238'
MOA+203:1999.6'
PRI+AAA:8.4'
PRI+AAB:9.24'
TAX7VAT+++:::6.000'
MOA+125:1999.6'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN230+8000920807248:EN'
PIA1000000000018072403:SA'
IMDF+IN:::IGLO POUL ET PENNE AUX LEG.SOLEI. 6'
QTY+47:99'
QTY+46:99'
MOA+203:1727.54'
PRI+AAA:17.45'
PRI+AAB:18.3'
TAX7VAT+++:::6.000'
MOA+125:1727.54'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
UNS+S'
CNT+2:12'
MOA+124:1644.27'
MOA+86:29048.8'
MOA+79:27404.53'
MOA+125:27404.53'
TAX7VAT++:::6.000S'
MOA+125:27404.50'
MOA+124:1644.27'
UNT2121'
UNZ111137'
Advance appreciations,
Ram.Its very simple:
UNB-segment : Interchange Header
S001 SYNTAX IDENTIFIER
0001 Syntax Identifier UNOA
0002 Syntax version number 2
S002 INTERCHANGE RECIPIENT
0004 Sender Identification 8711382000091 (= GLN Code Tilburg)
0007 Identification Code Qualifier 14
S003 INTERCHANGE SENDER
0004 Recipient Identification 8711700400008(= GLN Code Unilever)
0007 Identification Code Qualifier 14
S004 DATE/TIME OF PREPARATION
0017 Date YYMMDD
0019 Time HHMM
0020 INTERCHANGE CTRL REF. Unique message reference number
0026 APPLICATION REFERENCE WMS0330
UNH-segment: Message header
0062 MESSAGE REFERENCE NUMBER Unique sequence numbe within UNB
S009 MESSAGE IDENTIFIER
0065 Message type identifier INVRPT
0052 Message type version number D
0054 Message type release number 96A
0051 Controlling agency EN
0057 Association assigned code EAN004
BGM-segment: Beginning of message
C002 DOCUMENT/MESSAGE NAME
1001 Document/message name, coded 35 (= Inventory report)
3055 Code list responsible agency, coded 9 (= EAN)
1004 DOCUMENT/MESSAGE NUMBER Unique Number assigned by CS (= Date/Time CCYYMMDDHHMMSS)
1225 MESSAGE FUNCTION, CODED 9 (= Original)
DTM-segment: Date/time/period
C507 DATE/TIME/PERIOD
2005 Date/time/period qualifier 137 (=Document/message date/time)
2380 Date/time/period Document date
2379 Date/time/period format qualifier 102 (= CCYYMMDD)
RFF-segment: Reference
C506 REFERENCE
1153 Reference code qualifier ON (= Order number)
1154 Reference identifier Agreement number
NAD-segment: Name and address
3035 PARTY QUALIFIER GY (= Inventory reporting party = CS)
GM (= Inventory controller = XYZ)
C082 PARTY IDENTIFICATION DETAILS
3039 Party id. identification GLN code
3055 Code list responsible agency, coded 9 (= EAN)
LIN-segment: Line item
1082 LINE ITEM NUMBER Unique Line Number
C212 ITEM NUMBER IDENTIFICATION
7140 Item number EAN Material code
7143 Item number type, coded EN (= EAN)
PIA-segment: Additional Product Information
4347 PRODUCT ID FUNCTION IDENTIFIER "1"(= Additional Information)
C212 ITEM NUMBER IDENTIFICATION
7140 Item number Promotional Variant
7143 Item number type, coded "PV (= Promotional variant)
QTY-segment: Quantity
C186 QUANTITY DETAILS
6063 Quantity qualifier 12 (= Despatch quantity)
6060 Quantity Number of stock units
PRI: Represent price
TAX: represent tax.
Try to go to the below website where you will able to get the information regarding all the sgements and elements of Invocie.
http://www.edifactory.de/messages.php?s=D96A
Also refer the below link for EDI understanding:
http://www.gxs.com/pdfs/Tutorial/Tutor_EDIFACT_GXS.pdf
Thnx
Chirag Gohil -
Please help me to understand my code
i have a few questions about this code here they are:-
import java.io.*;
public class FileTest {
public static void main(String args[])
throws java.io.IOException {
BufferedReader in;// <---------- what do these mean
BufferedWriter out;// <-----------
String line;//<----------- i am guessing that In and Out are being inisialised is thst right ? Q1
int num;
System.out.println("Enter a number");
num = Course_io.readlnt();//<---------- i understand this bit
try {
in = new BufferedReader(new FileReader("test.txt"));
for(;;) {
line = in.readLine();// <--------------- this is reading in something right but what is it reading ? Q2
if (line == null) {
break;// <------ what are the 6 lines above this saying please go in to as much detail as possable? Q3
System.out.println(line);
in.close();
} catch(Exception e) {e.printStackTrace();}// <-------------- what is stackTrace ? Q4
try {
out = new BufferedWriter(new FileWriter("test.txt", true));
out.write("hello "+num, 0, 7);
out.newLine();
out.close();// <------------ i under stand these lines
} catch(Exception e) {e.printStackTrace();}
}thanks alot
Anti made a few changes to my code
import java.io.*;
public class FileTest {
public static void main(String args[])
throws java.io.IOException {
BufferedReader in;// <---------- what do these mean
BufferedWriter out;// <-----------
String line;//<----------- i am guessing that In and Out are being inisialised is thst right ? Q1
int num;
System.out.println("Enter a name");
System.out.println("Enter a number");
num = Course_io.readlnt();//<---------- i understand this bit
try {
in = new BufferedReader(new FileReader("test.txt"));
for(;;) {
line = in.readLine();// <--------------- this is reading in something right but what is it reading ? Q2
if (line == null) {
break;// <------ what are the 6 lines above this saying please go in to as much detail as possable? Q3
System.out.println("new entry");//<-------- i changed this
in.close();
} catch(Exception e) {e.printStackTrace();}// <-------------- what is stackTrace ? Q4
try {
out = new BufferedWriter(new FileWriter("TelDirect.txt", true));
out.write("Phone No "+num );//<---------- and i changed this
out.newLine();
out.close();// <------------ i under stand these lines
} catch(Exception e) {e.printStackTrace();}
}// but the maximum number of numbers i can enter is 10, i need to enter 11 how do i do that? thanks alot
anthony -
Please help me in understanding ALE
1. _Please can anybody send me the ALE Real time scenario, please dont say that it is to send the data from one client to another i.e master data ?
HI Friend,
I dont know what you are expecting but here i have a complete scenerio step by step to send material from one client to another .
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for
transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name
and case sensitive to create the ports automatically while generating the
partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change
Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save
and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the
description and save it
it will effects the target systems material desciption will also
changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your
getting 51 Error
Hope this Helps.
Thanks
Mahesh -
Please help me out with something simple.
I know this is simple probably to figure out but I really want to make sure that I do this correctly.
So please if someone could tell me exactly how to get my ipod working.
Do I need to re-install itunes if I had it on here for my old ipod?
And when do I set up my ipod to be charged and all?
Do I launch itunes first and then plugg in my ipod?
I know this must be really an anoying question, but I just want to be safe.
Thanks
? Windows XP ?Let me take a whack at this and see if I can help at all.
Do I need to re-install itunes if I had it on here for my old ipod?
itunes is not ipod specific. You can update multiple ipods with the same itunes library. Now ipods are itunes library specific though. If you try to sync your ipod with a separate itunes library without having it sync manually, it will erase all your media and replace it with the current library.
And when do I set up my ipod to be charged and all?
Your ipod will charge whenever it senses a viable charge input (usb connection, wall charger, car charger)
Do I launch itunes first and then plugg in my ipod?
You can, but you don't have to. When you open itunes, it will search for any ipods plugged into your computer. There is also a setting in which you can have your ipod automatically open up itunes for you when you plug in your ipod.
I hope this helps -
Someone please help me to understand
This was a 'brief' tutorial implementing callbacks in Java, i cant undersand what is going on, can anyone help. Its designed to illustrate interfaces. I know how interfaces work so you dont have to explain that. Thanks so much
public interface InterestingEvent
public void interestingEvent ();
This gives us a grip on any objects of classes that implement the interface. So, we need not concern ourselves with any other extraneous type information. This is much nicer than hacking trampoline C functions that use the data field of widgets to hold an object pointer when using C++ code with Motif.
The class that will signal the event needs to expect objects that implement the InterestingEvent interface and then invoke the interestingEvent() method as appropriate.
public class EventNotifier
private InterestingEvent ie;
private boolean somethingHappened;
public EventNotifier (InterestingEvent event)
ie = event;
somethingHappened = false;
public void doWork ()
// Check the predicate, which is set elsewhere.
if (somethingHappened)
// Signal the even by invoking the interface's method.
ie.interestingEvent ();
In that example, I used the somethingHappened predicate to track whether or not the event should be triggered. In many instances, the very fact that the method was called is enough to warrant signaling the interestingEvent().
The code that wishes to receive the event notification must implement the InterestingEvent
interface and just pass a reference to itself to the event notifier.
public class CallMe implements InterestingEvent
private EventNotifier en;
public CallMe ()
// Create the event notifier and pass ourself to it.
en = new EventNotifier (this);
// Define the actual handler for the event.
public void interestingEvent ()
// Wow! Something really interesting must have occurred!
// Do something...It looks to me like EventNotifier is a class that detects some event and notifies another object that the event occurred. When an EventNotifier is created, an object that implements the InterestingEvent interface is passed and is referenced thru the ie variable. When EventNotifier detects the event, it calls the interestingEvent() method of the object implementing the interface.
This is similar to how ActionListener/ActionEvent works. It would make more sense to me to call the interface InterestingEventListener. -
Creative, please help to figure out something
Hi. Im asking creative support, not forum members, etc...
The story looks like this.
I bought motherboard MSI K8N Diamond with Creative Li've! 24-Bit. Nice chip, nothing to say. But i got one little problem. This kind of platform supports 64-Bit systems. The problem is thats no driver for this. Yes, i know thats this question already asked alot of time on this forum. But this is not the point. I want to know WHERE i need to ask for support, here on Creative site(forum) or at MSI site? Why im asking? Because MSI says go to Creative and ask there. Looks pretty stupid for me, because i paid to MSI and not to Creative, why should i bother Creative now?
Anyway if you guys got any info when driver for 24-Bit x64 gonna be released please post the date here.
Please answer to both of my questions.
Thanks beforehand.To contact our Support you do need to go to the Contact Us > Customer Support page. This forum is, as detailed in the announcement at the top of each page, primarily intended for customer interaction, for people to discuss topics and help eachother. Support is available through the normal channels (phone, e-mail).
As far as motherboard audio goes, this is generally supported by the motherboard manufacturer, so they should be your first point of contact in this case. I don't have any information on a release date for full drivers for the (retail) SBLi've! 24-bit, but it's best to keep an eye on these forums and the download pages for updates. Any current XP64-bit drivers are available through the Preview site.
Cat -
Please help me in understanding the following code.
public static void main(String args[]){
int x=0,c=0;
for(int i=0;i<3;i++)
x = x + x++;
System.out.println(x);
why this program always prints zero(0) as output. I am not able to understand the execution sequence of it.bkyadav wrote:
at certain point of time in porgram
(x++) should be treated as x = x+1; but that is not happening.Here's the rule : you have to proceed the expression from left to right.
For example :
int x = 8;
x = x + ++x; // x = 8 + 9 = 17
int x = 8;
x = x + x++; // x = 8 + 8 = 16
int x = 8;
x = x + --x; // x = 8 + 7 = 15Also, in the for statement of your example :
for(int i=0;i<3;i++)the value of i+ is first tested before being incremented for the next iteration otherwise the test on value of i+ = 0 would have been skipped. -
Please help me in understanding relationships in SQL
This is according to
*"One-to-one relationships occur when there is exactly one record in the first table that corresponds to exactly one record in the related table."*
One-to-one relationships are single-valued in both directions.
My understanding with the above is that
Consider a Zip Table
ZipNo Studentname
12 Harry
13 Kiran
A Student Table
ID Name ZipNo
101 Harry 12
and there should not be any more student with zipno 12 . Then this will be a One to One
Am i right ?
Edited by: Jai7881 on Apr 20, 2009 5:12 AMHi,
what you have given is table design. as per your design is one to one table design. where is SQL is there.
thanks
Settu Gopal
Maybe you are looking for
-
Not working with Internet Explorer?
Not sure y, but all of a sudden, a few days back, my website is not working with IE. I use Firefox and it works fine. Others I know can't view it and they click on something and it takes them to some Mac error page. Any thoughts on this? I had my wif
-
My iphone uses old apple id that no longer works
I am having a problem with my iphone wanting to use my old apple id email. I changed the email to a different one doe to a security breach from a hacker and now the phone still wants to use my old id for icloud
-
Audio Levels Are Different within program
For some reason when I am editing a multi-track project I seem to get three different levels as I go along. When I am editing a single file the levels come out as one thing. When I get the levels good, usually around -4 or so I play them back on th
-
824:General Validation Error
Hi I was trying to test a EDI X12 824 document flow. The B2B Reports throw the following error: Description: An unexpected error occurred during validation StackTrace: Error -: AIP-51505: General Validation Error: java.lang.NullPointerException
-
Restauration by SDCard doesn't work
Hello First sorry for my english , i'm french. I make the update 4.0726.2.0.1 on my N73, and i can't restore my contact and sms. The files backup.arc is on my SDCard, when i make the restore, this don't start and a popup tell me that my phone will st