Help needed regarding CLLocation Manager

Hello everybody,
i am developing a GPS application in which i needs to track the speed of the device/iphone ,i am using the CLCorelocation API's Locate me referral code provided by Apple my problem is that the LocationManager does not updates the current latitude and longitudes thus i am unable to calculate the distance as well as the speed of the device/iphone.
Any kinds of suggestions/code will be highly appreciated please suggest me if i can do something with the Mapkit framework introduced in the sdk 3.0.
thanks in advance

Thanks for your reply i am copying my code what i have implemented and it does not works please have a look at it and let me know what i am doing wrong i will be very helpful to you.
- (void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation
ASafeDriverAppDelegate *appDel1 = (ASafeDriverAppDelegate *)[[UIApplication sharedApplication] delegate];
chklat = newLocation.coordinate.latitude;
chklon = newLocation.coordinate.longitude;
appDel1.maxSpeed=0;
double timeDiff;
NSMutableString *update = [[[NSMutableString alloc] init]autorelease];
// Horizontal coordinates
if (signbit(newLocation.horizontalAccuracy)) {
// Negative accuracy means an invalid or unavailable measurement
[update appendString:LocStr(@"LatLongUnavailable")];
} else {
// CoreLocation returns positive for North & East, negative for South & West
[update appendFormat:LocStr(@"LatLongFormat"), // This format takes 4 args: 2 pairs of the form coordinate + compass direction
fabs(newLocation.coordinate.latitude), signbit(newLocation.coordinate.latitude) ? LocStr(@"South") : LocStr(@"North"),
fabs(newLocation.coordinate.longitude),signbit(newLocation.coordinate.longitude ) ? LocStr(@"West") : LocStr(@"East")];
[update appendString:@"\n"];
[update appendFormat:LocStr(@"MeterAccuracyFormat"), newLocation.horizontalAccuracy];
mShouldStopAndStartLocationServiceAgain = YES;
[update appendString:@"\n\n"];
// Altitude
if (signbit(newLocation.verticalAccuracy)) {
// Negative accuracy means an invalid or unavailable measurement
[update appendString:LocStr(@"AltUnavailable")];
} else {
// Positive and negative in altitude denote above & below sea level, respectively
[update appendFormat:LocStr(@"AltitudeFormat"), fabs(newLocation.altitude), (signbit(newLocation.altitude)) ? LocStr(@"BelowSeaLevel") : LocStr(@"AboveSeaLevel")];
[update appendString:@"\n"];
[update appendFormat:LocStr(@"MeterAccuracyFormat"), newLocation.verticalAccuracy];
[update appendString:@"\n\n"];
//geocoding implementation here........................................................................... .........................................
NSString *ServerUrl=@"http://maps.google.com/maps/geo?";
NSString *restUrl=@"output=csv&oe=utf8&sensor=false&key=ABQIAAAA9nyRoYg0rWpsiVi9iMjoSRQV WFT_Rez40XtsgfvlPpZQQeDyexSS5IUWt7S7bu53pG1lR3fjgcrfxQ";
NSString * URLdata=[NSString stringWithFormat:@"%@q=%f,%f&%@",ServerUrl,newLocation.coordinate.latitude,newL ocation.coordinate.longitude,restUrl];
NSURL *theURL = [NSURL URLWithString:URLdata];
NSURLRequest *myURLRequest = [NSURLRequest requestWithURL: theURL];
NSURLResponse* myURLResponse;
NSError* myError;
NSData* myDataResult = [NSURLConnection sendSynchronousRequest: myURLRequest returningResponse:&myURLResponse error:& myError];
NSString* StreetName;
BOOL val=YES;
StreetName = [[NSString alloc] initWithData:myDataResult encoding:NSASCIIStringEncoding];
//NSLog(@"this is the lenght of the street name %d",[StreetName length]);
if([StreetName length]!=0)
NSLog(@"this is the street name received.............. %@",StreetName);//[StreetName substringFromIndex:6]);
//NSMutableArray *street=[[StreetName substringFromIndex:6] componentsSeparatedByString:@","];
NSMutableArray street=(NSMutableArray*)(NSMutableArray)[StreetName componentsSeparatedByString:@","];
NSString *tempString=[street objectAtIndex:2];
appDel1.currentLocation=[tempString substringFromIndex:1];
NSRange range=[tempString rangeOfString:@" "];
if(range.location==NSNotFound)
val=NO;
//NSLog(@"this is the value of bool in false %d",val);
else
val=YES;
//NSLog(@"this is the vale of bool in true %d",val);
NSString *finalStreet;
NSString *temp2;
temp3=@" ";
if(!val)
finalStreet=[tempString substringFromIndex:1];
NSLog(@"this is the street name %@",finalStreet);
else
NSMutableArray temp1=(NSMutableArray)[tempString componentsSeparatedByString:@" "];
for(int i=1;i<[temp1 count];i++)
temp2=[temp1 objectAtIndex:i];
temp3=[[temp3 stringByAppendingString:@" "] stringByAppendingString:temp2];
finalStreet=[temp3 substringFromIndex:0];
NSMutableArray *speedValues=[appDel1 getSpeedValue:[finalStreet stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
if([speedValues count]>0)
if(appDel1.moreThanOneSpeed==YES)
appDel1.maxSpeed=[appDel1 getSpeed:[finalStreet substringFromIndex:0] first:newLocation.coordinate.latitude second:newLocation.coordinate.longitude];
else
appDel1.maxSpeed=[[speedValues objectAtIndex:0]intValue];
//Calculate speed
CLLocationDistance distance;
double calSpeed;
NSTimeInterval difference;
//calculate distance and time elapsed only if we save old location
if(oldLocation != nil)
difference= [[newLocation timestamp] timeIntervalSinceDate:[oldLocation timestamp]];
distance = [newLocation getDistanceFrom:oldLocation];
else{
distance = 0.0;
calSpeed =(distance/difference)*2.23693629;
NSLog(@"Time elapsed is: %f", difference);
NSLog(@"Distance travelled is: %f", distance);
NSLog(@"Speed is: %f", calSpeed);
//save the latest newLocation for calculating the speed
oldLocation = [newLocation retain];
appDel1.distance=distance;
appDel1.time=timeDiff;
[self.delegate displaySpeed:oldLocation.coordinate.latitude second:oldLocation.coordinate.longitude third:newLocation.coordinate.latitude fourth:newLocation.coordinate.longitude];
if(appDel1.speed!=calSpeed)
appDel1.speed=calSpeed;
[appDel1 checkLimitAndSpeed];
the speed and distance returned is always zero as the latitude and longitude remains the same always it does not keep updating.
Thanks

Similar Messages

  • Help needed Regarding Project Server - 2013 Workflow

    Hi All,
    I am new to Project server 2013 Workflow, hence please help me regarding this. Pardon me if this question is too trivial. 
    I have created a project type associated with a workflow and my workflow is as follows :
    So I am not doing anything here, I am just testing the workflow as mentioned by technet site : http://technet.microsoft.com/en-us/library/dn458865(v=office.15).aspx
    But it is mentioned that, after a minute or 2, the workflow state will change, also they have mentioned to press the Submit button.
    But in my case, the workflow is not moving to next stage [It just says 'The workflow is still processing - which never changes after hours] or I am getting the submit button (Submit button is disabled on the ribbon). Below is the state of my workflow :
    PS : I have made the user added to Portfolio managers group as well. But still I am having this same issue. 
    The Workflow manager is installed properly, and it is working fine in case of List workflow. I am facing the issue only wrt Site workflow for Project server 2013.
    Please help me to solve this issue.
    Thanks,
    shanky

    Hi Kiran,
    I am now facing issue while assigning a task to a person in the workflow.
    I am having a person named say 'John' , who is included in Project Manager as well as Portfolio Manager.
    And I am using a workflow as :
    Stage : Conceptual
    Assign a task to John (Task outcome to Variable: Outcome5 | Task ID to Variable: TaskID3 )
    Transition to stage
    Go to Approval
    But this is again giving issue as :
    Workflow Internal status : Cancelled
    Details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have
    permission to perform this action or access this resource."}}}
    PS : I have used the same Sharepoint admin account for 'Account Name' in ‘User Profile Sync' , Is this causing the issue? Please let me know.
    Thanks,
    Shanky

  • Help needed regarding the updation of "Relationships" in BP

    Hello Guys,
    This is to request you to kindly help me regarding the following.
    We have a scenario where all the employees assigned to an Organizational unit (in PPOMA_CRM) are not showing in the "Relationships" ("Has Employee")in the BP transaction of that Organizational Unit.
    Could anyone let me know whether there is any update program that updates the "Relationships" from the Organizational asssignment. Or we need to enter the employees manually in BP "Relationships". Please help. Thanks in anticipation.
    Regards,
    Kishore.

    Hi Amit,
    Thanks alot for your reply. Its really helpful for me.
    So,we usually enter these relationships manually only, right? Before going ahead with the custom program, could you please let me know whether there is any SAP note related to this.Once again thanks alot for you help.
    Regards,
    Kishore.

  • Help needed regarding Segment Qualifiers

    Hi,
    In my process of implementing Apps R12 afresh, we just created the segments and assigned them their flexfield qualifiers today. In that, the one assigned towards alancing segment shows the value qualifiers like that of natural accounting segment, unlike the bal. segment value qualifier.
    I mean, when we try to insert a a value in the bal.segment it asks for qualifiers such as nature:expense/revenue/liability/asset, instead of going for the allow posting and allow budgeting alone. This is crazy, and I need your support.
    Thanks,
    Mukunthan L

    Hi Amit,
    Thanks alot for your reply. Its really helpful for me.
    So,we usually enter these relationships manually only, right? Before going ahead with the custom program, could you please let me know whether there is any SAP note related to this.Once again thanks alot for you help.
    Regards,
    Kishore.

  • Help needed regarding BADI.

    hi all,
    can anyone plz tell me how to define BADI and how create an interface.
    plz tell from everything regarding that, i have work with basic ABAP only.
    anykind of links and any kind of matter will be helpful and you will be rewarded with points for your help difinatly.
    regards.
    raman.

    Hi Raman,
    Please search the forum and you have lots and lots of links in it. For you to start with, try these links,
    The specified item was not found.
    BADI
    Best Regards.

  • Help needed regarding font sizes

    Iam generating pdf documents using oracle developer's report builder.
    When i generate and view those pdf's using the web previewer thay appear to be quite fine,whereas when i host them on ias the font sizes gets bigger, thus lot of text gets truncated.
    Is there any parameters that has to be set for it.Pls help

    Hi Amit,
    Thanks alot for your reply. Its really helpful for me.
    So,we usually enter these relationships manually only, right? Before going ahead with the custom program, could you please let me know whether there is any SAP note related to this.Once again thanks alot for you help.
    Regards,
    Kishore.

  • Help needed regarding replication in ds5.2sp4

    Hi ,
    I am new to ldap . I am able to establish replication between master and consumer and trying to update it is getting update but i am geting the following error
    in error log
    INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Replication bind to consumer alpha.ad.com:19941 failed:
    [16/May/2007:13:48:26 -0700] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Failed to connect to replication consumer alpha.ad.com:19941
    [16/May/2007:13:48:26 -0700] - ERROR<8318> - Repl. Transport - conn=-1 op=-1 msgId=-1 - [S] Bind failed with response: Failed to bind to remote (900).
    Please help me regarding this .
    Message was edited by:
    ap7926

    If data is getting replicated from master to consumer then the bind for that specific replication agreement is working.
    Check your timestamps and current log entries. Are the "Failed to connect to replication" messages currently being generated? As long as your replication agreement is enabled the supplier will try to keep things up and running, retrying a failed consumer regularly (and generating about 1 set of log messaages per minute on my systems). So you'll get those messages on the supplier when a good consumer is down (the nsslapd directory server process that is).
    If you don't have these messages being generated currently then this probably means that your consumer was down around "16/May/2007:13:48:26 -0700" but is ok now. In that case those messages aren't of big concern. They're just telling you that you had a problem, which you hopefully already knew about.
    If replication is working (test by making a change on the supplier and checking it on the consumer) AND you're still concurrently getting these messages regularly then you have something interesting going on, probably due to a configuration issue. Without seeing the details it's difficult say what it would be.

  • Help needed regarding custom reports

    hello,
    I am using EM 10.2.0.2 on windows 32-bit.
    All EM components are installed on a single machine.
    Have installed AGENT 10.1.0.5 for managing targets which are on LINUX 2.1
    Please help me in getting the solution for the following queries:
    (a)I need to create a custom report regarding the CAPACITY MANAGEMENT .
    (b)I have some UDM defined but I am not able to use these UDM while creating custom report.
    (c)Also is there any possibility that we can use views other than REPOSITORY VIEWS. What I meant was : instead of using REPOSITORY VIEWS can we use the tables of the target instances.
    Thanks in advance.

    You might want to try posting your question to the Grid Control Forum.
    Enterprise Manager

  • Help needed on activity management

    Hi,
    I have created an activity in WEBUI for myself and when i try to verify the same in INBOX, the task is not available. I am new to this. can some one tell me what config changes are needed at the backend.
    Thanks in advance.
    Regards,
    Udaya

    Hi Uday,
    If you require your activity to be displayed in your inbox, then you need to do Grooupware Integration.
    Groupware Integration is used to integrate CRM Activity Management with the groupware applications, that is Microsoft Outlook and Lotus Notes, allowing you to synchronize business activities and tasks in your CRM calendar and your own groupware calendar.
    To map the CRM statuses to groupware statuses, you Customize for CRM by choosing Customer Relationship Management -> Transactions -> Settings for Activities -> Mapping of Activities to Groupware -> Map Activity Status to Groupware.
    For more information on this go throught the following link
    [http://help.sap.com/saphelp_crm60/helpdata/en/5c/e90d3888a11c10e10000009b38f8cf/frameset.htm]
    Wish this was useful to you
    regards
    Srikantan

  • Help needed regarding the client server communication

    this is regarding my networking project which at present i am doing it in java...
    the project is abt establishing a server in my lab that controls all the other systems in that lab... now the problem is i have to shut down all the systems in the lab from the server on a click of a button.... this i need to do using socket programming to which i am new....
    So can anyone pls send me a sample code as to how to pass a command from server to shut shut down all the systems(clients) ..i need a java program that uses sockets concept to perform the above mentioned operation...pls note i am trying to establish a linux server
    regards
    lalita

    Dear hiwa
    i can use it but the constraint in my project is to use only the Socket programming due to time lacks.... i have to find a faster way to communicate between the server and the client...
    can u pls help me find a solution for this via sockets...
    hoping a favorable response
    regards
    Lalita

  • Help needed Regarding a business logic

    Hi all,
    My business requirement is
    requires to get a checksum from the KIOSK field. This would be something like a rule that for a given KIOSK generates a number from 0 to 9.
    The Field value contains alphanumerical
    Can any of guys help me in this logic.how to generate a checksum for a given field..
    Thanks & Regards;
    Vinit

    Alright I found something  I am not  sure if it is of use to you , A checksum is generally used to  detect the integrity of file
    it is calculated oin basis of hash algorithms so  how it is useful to for incoming filed values i m not  sure
    Please find the links below
    http://en.wikipedia.org/wiki/Checksum
    http://www.fastsum.com/support/online-help/checksums.php
    http://www.flounder.com/checksum.htm
    http://www.mkyong.com/java/how-to-generate-a-file-checksum-value-in-java/
    If it is useful , you need to implement a hash algorithm
    regards
    Ninad

  • Help needed regarding SUM keyword in an ITAB loop

    Hello,
    I am maintaining a code as given below.
    LOOP AT itab INTO totwa.
    SUM.
    ENDLOOP.
    totwa is defined as a workarea which is needed to hold the sum totals of the fields in the itab. According to the documentation of SUM, it should calculate the sum totals and should put the totals in the workarea mentioned. But somehow its not calculating the value. Could anyone please help me in resolving this issue. Please guide me with your thoughts as to what might have gone wrong.
    Note: the itab fields are of type P.
    Thanks in advance
    Sudha Naik

    Hello Suha
    According to the ABAP documentation the SUM statement is used in a specific situation:
    <b>Syntax
    SUM. </b>
    <b>Effect </b>
    <i>The statement SUM can only be specified within a loop starting with LOOP, and is only considered within a AT-ENDAT control structure. Prerequisites for using the statement SUM include using the addition INTO in the LOOP statement, and that the specified work area wa is compatible with the row type of the internal table. In addition, SUM cannot be used when the row type of the internal table itab contains components that are tables. </i>
    <i>The statement SUM calculates the component total with the numeric data type ( i, p, f) of all rows in the current control level and assigns these to the components of the work area wa. In the control levels FIRST, LAST , and outside of an AT-ENDAT control structure, the system calculates the sum of numeric components of all rows in the internal table.</i>
    I hope the following sample report will clarify the use of <b>SUM </b>and <b>COLLECT</b>.
    *& Report  ZUS_SDN_COLLECT
    REPORT  zus_sdn_collect.
    TYPES: BEGIN OF ty_s_line.
    TYPES:   key(1)    TYPE n.
    TYPES:   value     TYPE p DECIMALS 2.
    TYPES: END OF ty_s_line.
    TYPES: ty_t_itab    TYPE STANDARD TABLE OF ty_s_line
                        WITH DEFAULT KEY.
    DATA:
      gs_line       TYPE ty_s_line,
      gt_itab       TYPE ty_t_itab,
      gt_itab_coll  TYPE ty_t_itab.
    START-OF-SELECTION.
      DO 3 TIMES.
        gs_line-key = syst-index.
        gs_line-value = syst-index * '2.3'.
        APPEND gs_line TO gt_itab.
        APPEND gs_line TO gt_itab.
      ENDDO.
      gs_line-key = 4.
      gs_line-value = '5.5'.
      APPEND gs_line TO gt_itab.
      WRITE: / 'Initial list'.
      LOOP AT gt_itab INTO gs_line.
        WRITE: / gs_line-key,
                 gs_line-value.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
      WRITE: / 'Using SUM statement with AT END OF'.
      SORT gt_itab BY key.
      LOOP AT gt_itab INTO gs_line.
        AT END OF key.
          SUM.
          WRITE: / gs_line-key,
                   gs_line-value.
        ENDAT.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
      WRITE: / 'Using SUM statement without control structure (1)'.
      SORT gt_itab BY key.
      LOOP AT gt_itab INTO gs_line.
        SUM.
        WRITE: / gs_line-key,
                 gs_line-value.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
      WRITE: / 'Using SUM statement without control structure (2)'.
      SORT gt_itab BY key.
      LOOP AT gt_itab INTO gs_line.
        SUM.
        WRITE: / gs_line-key,
                 gs_line-value.
        EXIT.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
      WRITE: / 'Using COLLECT statement'.
      REFRESH: gt_itab_coll.
      LOOP AT gt_itab INTO gs_line.
        COLLECT gs_line INTO gt_itab_coll.
      ENDLOOP.
      LOOP AT gt_itab_coll INTO gs_line.
        WRITE: / gs_line-key,
                 gs_line-value.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
      WRITE: / 'Using COLLECT statement for total sum'.
      REFRESH: gt_itab_coll.
      LOOP AT gt_itab INTO gs_line.
        gs_line-key = 0.
        COLLECT gs_line INTO gt_itab_coll.
      ENDLOOP.
      LOOP AT gt_itab_coll INTO gs_line.
        WRITE: / gs_line-key,
                 gs_line-value.
      ENDLOOP.
      WRITE: / syst-uline.
      SKIP 2.
    END-OF-SELECTION.
    Regards
      Uwe

  • Help needed regarding the deployment architecture for PROD env

    Dear All,
    Please help me with some clarifications regarding the deployment architecture for PROD env.
    As of now I have 2 single node 12.1.1 installations for DEV and CRP/TEST respectively.
    Shortly I will be having a PROD env of 12.1.1 with one DB node and 2 middle tier (apps) node. I need help in whether -
    1) to have a shared APPL_TOP in the SAN for the 2 apps node or to have seperate APPL_TOPs for the 2 apps node. The point is that which will be benificitial in my case from business point of view. The INST_TOPS will be node specific in any case right?
    2) Where to enable the Concurrent Managers, in the DB node or in the primary apps node or in 2 apps node both for better performance.
    12.1.1 is installed in RHEL 5.3
    Thanks and Regards

    Hi,
    Please refer to (Note: 384248.1 - Sharing The Application Tier File System in Oracle E-Business Suite Release 12).
    For enabling the CM, it depends on what resources you have on each server. I would recommend you install it on the the application tier node, and leave the database installed on one server with no application services (if possible).
    Regards,
    Hussein

  • Help needed regarding BADI in SAP-CRM 2007.

    hi all,
    i need some help regarding BADI for new creation and enhancement.
    plz help, you will be rewarded accordingly.
    regards.
    raman.

    Hi Raman,
    visit this link
    http://help.sap.com/saphelp_nw70/helpdata/en/32/a83942424dac04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c3/69bf4abf1045e0966badb60d6160dd/content.htm
    Regards
    Anup.

  • Help Needed Regarding Creating a DFF in OAF page

    Hi ,
    I am trying to create DFF in OAF page but i could not able to create it.
    Here is the through explanation of the Requirement and Error.
    We have migrated recently from 11.5.10 - R12.1.2 in 11i we have the Buyers Form which is a Template.FMB and for that we have attached a DFF
    Name of DFF:PO_AGENTS Resp :PO Tittle Purchasing: Agents and attributes :attribute1 and Attribute2.
    My manager want that same DFF to appear in the OAF page of the Buyers.
    Navigation :Purchasing -> Setup -> Personal -> Buyers.
    I tried creating DFF as per the documents I found online and in the OAF Documentation guide but I am not able to create the DFF.I dont know where I am doing it wrong.
    Help would be highly appreciated.
    Please find the steps below what is given.
    Before you can add a descriptive flexfield to an OA Framework page, you must first setup the descriptive
    flexfield in Oracle Applications. To start, review Chapter 3 ("Planning and Defining Descriptive Flexfields") in
    the Oracle Applications Flexfields Guide Release 11i.
    When you have a clear plan for the descriptive flexfield you wish to set up, refer to the section titled
    "Implementing Descriptive Flexfields" in Chapter 14 ("Flexfields") of the Oracle Applications Developer's Guide
    Release 11i for instructions to the following general steps:
    Step 1: Define descriptive flexfield columns in your database.
    Step 2: Register your descriptive flexfield table with Oracle Application Object Library.
    Step 3: Register your descriptive flexfield using the Descriptive Flexfields Window.
    Next, refer to the Oracle Applications Flexfields Guide Release 11i for instructions to these general steps:
    Step 4: Define your value sets in the Value Sets Window, as described in Chapter 5 ("Values and Value
    Sets").
    Step 5: Define your descriptive flexfield structure using the Descriptive Flexfield Segments Window, as
    described in the "Descriptive Flexfield Segments Window" section of Chapter 3 ("Planning and Defining
    Descriptive Flexfields").
    Recall that the value of a descriptive flexfield context field determines the context of the descriptive flexfield
    and the context-sensitive segments (if any) that are displayed. The section titled "Context Fields and
    Reference Fields" in Chapter 3 ("Planning and Defining Descriptive Flexfields") discusses context fields in
    more detail.
    Note: Reference fields for descriptive flexfields are supported by Forms-based Oracle Applications, but not
    by OA Framework. A developer mode error occurs in JDeveloper if you try to implement this feature in OA
    Framework. Refer to the "Reference Fields" section of Chapter 3 ("Planning and Defining Descriptive
    Flexfields") in the Oracle Applications Flexfields Guide Release 11i for additional information about
    reference fields.
    Step 6: When you are ready to add the descriptive flexfield to an OA Framework page, follow the steps
    outlined in the Declarative Implementation and Runtime Control sections below.
    Declarative Implementation
    The following steps describe how to add a descriptive flexfield item to a OA Framework region:
    Step 1: Define an item of the item style flex in your region.
    Note: You cannot create a flex item directly under a messageComponentLayout region, but you can create a
    messageLayout region under the messageComponentLayout region and add the flex item under the
    messageLayout region.
    Step 2: Set the Read Only property to True or False, depending on whether you want the descriptive flexfield
    to be read only.
    304
    Step 3: Specify a View Instance for your flexfield. The view instance should be the same as the view instance
    (view object) specified for your region. When the view object is defined, it should include all the database
    columns necessary for this descriptive flexfield. You should not change the database column names for this
    flexfield because the OADescriptiveFlexBean uses the same naming convention that the view object
    generation routine uses to find the corresponding attribute names from your view object.
    Note: OA Framework supports multiple descriptive flexfields on the same view object.
    Note: If a flexfield's view object does not return a row, an OAException will not be thrown so that the
    controller's processRequest method can still execute and render the flexfield.
    Step 4: Set the Appl Short Name property to the short name of the application to which the descriptive flexfield
    is registered. (Step 3 of Setting Up a Descriptive Flexfield in Oracle Applications).
    Step 5: Set the Name property to the name of the descriptive flexfield as it was registered.
    Note: This differs from how Key Flexfields are defined by shorthand codes.
    Step 6: Set the Type property to descriptive.
    Step 7: Set the Segment List property as appropriate (see Descriptive Flexfield Segment List).
    Step 8: Finally, you may set the Display Context Field to True or False, depending on whether you want to
    hide or show the context for the descriptive flexfield.

    Hello all OAF GURUS,
    Here is the brief explanation of what I am doing Environment :R12.1.2
    I am creating an item type of FLEX and the values are
    Step 2) Set the Read Only property to True
    step 3 )View Instance : PoAgentsVO
    step 4) Application Short name :PO
    Step 5: Set the Name property - PO_AGENTS name of the DFF
    Step 6: Set the Type property to descriptive
    Step 7: Set the Segment List property as appropriate here I am giving as Attribute1||Attribute2
    Step 8: Finally, set the Display Context Field to True
    after doing all these I am not able to see the DFF i dont know where I am doing a mistake.
    Help would be highly appreciated.
    Thanks & Regards
    Krishna
    Edited by: user12156300 on Jan 29, 2010 7:55 AM

Maybe you are looking for

  • What's wrong with my 32MB iPod Touch 4G? Syncing music is too slow.

    I just bought a 32 MB iPod Touch 4G, and syncing my music to it is so slow, it's just unacceptable! Is something wrong with it?

  • How to rollback AQ dequeue operations in BPEL

    Hi, For a service i initially started using an Oracle AQ Adapter for dequeueing messages from an Oracle AQ. This works fine, only when processing of the message fails, i have to rollback the dequeue operation. Although that Oracle AQ Adapters do supp

  • 5800 screen problem....

    hey frnds i had fitted magnet to stop lines on screen of 5800 ,but some times when i unlock the screen the screen shows black and white light is flashing and it take 2-3 min to recover plz help what to do..?

  • ISE 1.4 Released

    For those of you who may not have heard, Cisco has released ISE 1.4. The code was posted on 30 April 2015 and release notes are out today (4 May 2015). A fair number of enhancements are included. The biggest one that stood out for me is  automatic fa

  • Laura, I need some code samples you mentioned...

    Laura, I posted a message a few days ago regarding calling Stored Procedures in my JDev 3.1 (JDK 1.2.2) BC4J application. I need to be able to call them two different ways. The first involves passing some parameters to the SP and recieving back the R