Question in the PIM API

I am working with the MIDP PIM API (javax.microedition.pim.*) so in the contacts part, could i define new fields other than the existing standard fields as the Name and Address in an item?
I read in the PIM specification that there are extended fields that can be added by vendors but i couldn't know if i can make extended fields or how to make them.
So please if any one tried to do that before and can help me.
Thanks,

Google

Similar Messages

  • NI 6008 - Questions on the C APIs and how to use them

    Hi
    I am trying to use the NI 6008 to drive a Digital Programmable Attenuator and had a few questions. I am newbie with this device, so most of my questions are relating to figuring out the basics with this device.
    1) I am hoping to be able to write a simple C program to have the NI USB 6008 drive this Digital Programmable Attenuator. Is this possible? I could find the NI-DAQmx C Reference Help file, but I cant seem to find how to build and load a program onto the NI USB 6008?
    2) I would like to be able to turn ON a particular attenuation setting on the Digital Prog. Atten. at a specific instant and after a few milliseconds turn it OFF. And repeat this endlessly. I was looking for a Timer API to let me control the Digital Prog. Atten. at set timer interrupts but I am not sure if there is a way to do this. I see the APIs: DAQmxCfgImplicitTiming and DAQmxCfgSampClkTiming. But I am not 100% sure if these are the right APIs to use for this purpose. Also which APIs can I use to set the Digital lines in the DAQ to highs and lows?
    Like I said earlier, I am a newbie with this device and I am not really sure if I am going in the right direction. Any help would be greatly appreciated.
    Thanks
    Anand

    You do not load a program onto the device. Your program runs on your pc and you build your program that calls the DAQmx functions.
    There is no clock for for the digital I/O. As the spec says, it is strictly software timed which means you explicitly write a true or false, one state at a time. This is subject to jitter from Windows and I would not expect rates above 100 Hz.

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

  • Can the BC API be used to connect/synch directly to a iPhone App (app local database)?

    Hi Guys,
    I'm just starting a project in collaboration with an iPhone App developer, they're building an app where a user will input survey data which is saved to a database within the app, then when the phone has a connection, the data is uploaded to a database. I want to use BC and extend the CRM to store the data captured from the app against a customer/case record, which will subsequently be displayed and modified by admin staff through a web front end. If necessary I'll use a Web App for part of this functionality.
    I know the BC Web Services API can connect to an external database, but before designing a solution that requires building an external database to store the iPhone app data just so that BC can connect to it, can you tell me whether it's possible for the BC Web Services API to connect directly with an iPhone App (with integrated database)?
    Totally new territory for me, so any answer to my question, or other help, tips and advice will be greatly appreciated.
    Regards, Mark.

    Many thanks for your helpful feedback TheBCMan, that's very clear. The more I've researched this, the more roadblocks appear and the more it appears BC is not going to work for this project, which is a shame as some of the other BC features are perfect for the project as a whole. However, before giving up, can I run the points below by you to validate or disprove any of my current understanding?
    I understand I will need to stand up an external db/app to synch with the iPhone app to save the customer survey data, and I understand I will then be able to connect the external db/app to the BC API and pull the survey data into a extended CRM form.
    However, once the data is in BC, I cannot work out a way where I could edit that CRM form data with it's assigned to a Case? That is, I understand it's possible to display/edit CRM form data assigned to a 'contact' of a customer record, but the problem here is I can only access the data to edit it when logged on as that customer. But this is data a staff member will access (customers will not be able to access it) and staff will not have access to the customers login credentials. So it's not feasible to assign the CRM data at the Contact level, agree/disagree?
    If I set up one staff member as a customer (so one unique login) and save all the (potentially hundreds) of survey data CRM forms as individual 'Cases', but as I understand it, whereas this overcomes the customer logn issue, I won't be able to add a web form to a page to edit the survey data CRM form, because it's assigned to a Case, not a Contact in this scenario, agree/disagree?. (This is the approach I really hoped would work out)
    And as you said, I can't use a Web App, which would overcome both of the issues above, because I can't access a Web App from the BC API. 
    So, in conclusion, these appear to be no way around these roadblocks, unless you can tell me otherwise?
    Thanks again for your help.
    Regards, Mark.

  • How to count number of lines inside methods() using the Doclet API

    Wrote a custom doclet using the [Doclet API|http://java.sun.com/j2se/1.3/docs/tooldocs/javadoc/doclet/index.html ] .
    The purpose for the doclet is to load Java source files and create stubs (which are identical Java source files but do not contain any method implementation details).
    Instead, the method implementation details need to be replaced with blank lines...
    public class MyDoclet {
         private static String TAB = "\t";
         public static boolean start(RootDoc root) {
              ClassDoc[] classes = root.classes();
              // Parse through class or interface
              for (ClassDoc clazz : classes) {
                   Type superClass = clazz.superclassType();     
                   // Print Methods
                   MethodDoc[] methods = clazz.methods();
                   for (MethodDoc method : methods) {
                        Parameter[] parameters = method.parameters();
                        println();
                        if (!method.isPrivate()) {
                             print(TAB + method.modifiers() + " "
                                                    + method.returnType().simpleTypeName() + " " + method.name());
                             print("(");
                             for (int i=0; i < parameters.length; i++) {
                                  Parameter parameter = (Parameter) parameters;
                                  print(parameter.type().simpleTypeName() + " " + parameter.name());
                                  if (i != parameters.length - 1) {
                                       print(", ");
                             print(")");
                             println(" {");
                             println("\n");
                             println(TAB + "}");
              return true;
    As one can see, I am just creating the method and placing the opening and closing curly braces (along with a new \n line escape sequence, in between).
    Am not really that familiar with the Doclet API...
    Question(s):
    (1) What is the best way to figure out how many lines of code are inside each method and then use a for loop to insert the exact same number of blank lines inside the methods?
    (2) Is there a way to do it using the com.sun.javadoc.SourcePosition.line() method?
    Would really appreciate it if someone could help me because this is an important requirement (hence the 10 Duke Stars).
    Happy coding to all,
    Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    This is not possible using the Doclet API, because JavaDoc does not store any information regarding implementation detail. Although MethodDoc#position will give you the line where the method is declared, there is no way to determine where the method body starts and ends.
    If you need that much information, maybe you would be better of using a tool such as Eclipse's Abstract Syntax Tree parser. AST will provide you with line numbers for each code expression, hence it is relatively easy to compute the first and last line in a method body.

  • Using the REST API for files, how do I get information on all the folders and files in a folder?

    I have an app that can successfully get a list of a folders content. However, by default the list is limited to 200 entries. I luckily ran into this limit when getting the list on a folder that contained 226 entries and realized I needed to then request
    a list of the next items but it wasn't obvious from the REST API document how to do that. I tried sending the skipToken query parameter and setting it to 0 initially and incrementing each time I sent the request but always got the same 200 items back. So,
    how do I get the list of files and folders beyond the initial list?

    In SP2013 the skiptoken query parameter does not work with list items. You can look at the link below which discusses using the "__next" parameter.
    http://stackoverflow.com/questions/18964936/using-skip-with-the-sharepoint-2013-rest-api
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Conditional Mapping with script using BlOCKPROC to access the HFM API

    Hello,
    following problem. During the mapping/validation I need to map certain custom1 members to None if the Top Member is None and let it be if not None. This allocation depends on the account. Reading through the documentation I stumbled across conditional mapping.
    So in the Custom1 map type Like I defined following:
    Rule Name: C1_Script
    Rule Definition: CXXX*
    TargetCustom1: #Script
    In the script I try to achieve to get the Custom1 Top member for the account! The HFM API offers this function(fGetCustomTopMember) and with varValue(14) I get my TargetAccount. So everything I need seems to be there.
    Only problem is I need to use the BlOCKPROC to access the HFM API provided through the adapter, but either way won't work.
    Trying "Set API.IntBlockMgr.IntegrationMgr.PobjIntegrate = BlOCKPROC.ActConnect("LookUP")" throws an object required error.
    Trying
    Dim BLOCKPROC
    Set BLOCKPROC = CreateObject("upsWBlockProcessorDM.clsBlockProcessor")
    BLOCKPROC.Initialize API, SCRIPTENG
    throws me a type mismatch for "BLOCKPROC.Initialize".
    I am kinda at my wits end. Any help/clue is much appreciated.
    Ahh, yes the different writing BlOCKPROC and BLOCKPROC is correct!
    Thanks!

    Hello Tony,
    Many thanks for your answer. Just one last question. The event AftProcMap(strLoc, strDim) gives me the Dimension? Just how do I get the account?
    Can you point me to the right direction and I'll figure out the rest!
    Thanks a lot!

  • Passing host/port information into the Assembler API

    I have a use case where the host and port for the Endeca engine is dynamic.  The application has integrated the Assembler API and we have overridden the UrlNavigationState class so that we can inject user segments, host/port, record filter, etc. onto the query.
    The regular search controller uses HttpServletRequest to add attributes for these purposes that are then read by UrlNavigationState to use the setRecordFilter, etc..
    We are now looking to update our type ahead service to use the Assembler API but the type ahead controller does not have access to the HttpServletRequest (the interceptors create a more simplistic, generalized request object).
    Architecturally, using the HttpServletRequest in this fashion breaks general coding rules of abstraction and the mutation of the request object so we want to move away from this anyway.
    So, our ideal situation is to *not* use HttpServletRequest but some other request scoped object that UrlNavigationState has access to.  So, the question - how have others resolved this problem?

    What is your OS ? Does the server run on the same box ?
    Did you configure the files as well :
    %PS_HOME%\PSEMViewer\envmetadata\config
    %PS_HOME%\PSEMAgent\envmetadata\config
    especially the parameters
    hubURL
    agentport
    windowsdrivestocrawl
    And also the file in your webserver directory path :
    %PS_HOME%\webserv\peoplesoft\applications\peoplesoft\PSEMHUB\envmetadata\config
    (the folder in italic may differ on your side).
    Please, if you can, paste here the files content.
    Nicolas.

  • Help!! I need information about Siemens' PIM API

    Hi everybody,
    I am looking for any information about Siemens API to allow PIM access from a midlet. I did not manage to find specifications about that API on the web...
    Are specifications free ? Is there an environment to develop J2ME applications using Siemens PIM API ? Has anybody developed this type of application on this forum ?
    Thank you very much,
    Dan Ouaki

    I have heard many times about Siemens' PIM API, J2ME compatible, I have read a couple of articles about it (french article www.01net.com/article/181502.html for instance)
    But I have never seen anything about it on Siemens developer portal (Java Wireless, Game API, JSR120, JSR135 are the only non-JTWI supported technologies).
    Is Siemens PIM API a hoax ?

  • How to access a sharepoint site via the REST API in Python?

    I have the following site:
    http://win-5a8pp4v402g/sharepoint_test/site_1/
    When I access this from the browser, it prompts me for the username and password and then works fine. However I am trying to do the same using the REST API in Python. I am using the requests library, and this is what I have done:
    import requests
    from requests.auth import HTTPBasicAuth
    USERNAME = "Administrator"
    PASSWORD = "password"
    response = requests.get("http://win-5a8pp4v402g/", auth=HTTPBasicAuth(USERNAME, PASSWORD))
    print response.status_code
    However I get a 401. I dont understand. What am I missing?

    Try adding the auhenticatig domain to the username.  That may help.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • What are the SAP api calls...

    Hi, I have a question about the SAP Portal framework. For example, if I created an edit page for editing portlets, is there an api call that I make to tell SAP portal that I am on edit mode so that portal will subsequently save the changes to perhaps an xml file? Maybe there is a edit_mode variable ?
    Any suggestions or sample code is greatly appreciated!
    Thanks so much!
    Baggett.

    Hi Detlev, if you have some time, if possible, can you take a look at EP Content Development question: <b>"Where is admin config page ? ..."</b>  Any help is very appreciated!
    Thanks so much!
    Baggett

  • PortalObjectsFactory is not available in the server API

    Please tell me where I can find PortalObjectsFactory class. They mentioned this class in the server API documentation but I didn't found this in the actual jar (plumtreeserver.jar)

    The vSphere client uses some hidden API's. If you perform an action in the vSphere client that uses a hidden API, Onyx will report the "WARNING: Type 'xxx' is not available in the public API." message. This unfortunately limits what you can do with PowerCLI. Some know hidden API's are for tags, cluster EVC mode and for Storage Profiles.
    I don't know if Onyx is still under development. Maybe some from VMware can answer this question?

  • WARNING: Type 'SByte' is not available in the public API. Onyx development?

    Hello i'm getting the warning WARNING: Type 'SByte' is not available in the public API.
    and various other warnings.The problem is that i don't see any code.
    Any thoughts?BTW is onyx still under development?
    ps:I know that nobody is going to reply so i wonder why i keep asking.

    The vSphere client uses some hidden API's. If you perform an action in the vSphere client that uses a hidden API, Onyx will report the "WARNING: Type 'xxx' is not available in the public API." message. This unfortunately limits what you can do with PowerCLI. Some know hidden API's are for tags, cluster EVC mode and for Storage Profiles.
    I don't know if Onyx is still under development. Maybe some from VMware can answer this question?

  • How can I set the timebase in the FPGA API for the NI 9853 CAN module?

    Hallo,
    is there anybody familiar with cRIO, especially the NI CAN 9853 Modul?
    When starting communication with a CAN Bus  you can get a receiving CAN Frames from the FPGA I/O Node with a timestamp.
    How can  I set  this  timebase in the CAN Controller, because the CAN communication starts every time with the same timebase.
    Compared to the CAN API  on a PC the timebase for the communication is set when the Open Frame API VI is used?
    From that time the CAN Contoller assume the timebase from the PC.
    Whats about the FPGA API?
    Martin

    Hallo Dirk,
    thanks you
    for your answerer regarding my question.
    The last
    question belongs to my intention, to get absolute Timestamps from the NI 9853
    CAN interface. As you said it always starts from zero when starting the
    application.
    For my application
    I would like to get a timestamp with the local time I start the CAN communication
    and every CAN Frame should be logged with the Timestamp it is actually send on
    the CAN BUS.
    How can I achieve
    it?
    My first
    thoughts were to add up the timestamp for every CAN Frame counted from zero to
    an absolute Timestamp when starting communication. But I have got some wrong values.
    Maybe I did something wrong using the high and low part of the Timestamps I got
    from the CAN API.
    Do you have
    a suggestion for me?
    MartinW      

  • Callback Functions for the Enterprise API

    I'm using VB to write some API functions to pull journal detail from Enterprise 6.0, but having trouble with the callbacks. I did find some syntax errors in the toolkit.bas file, correct those and am able to pull specific data points, but the enum functions just crash. Because the documentation is scetchy at best, I'm not sure if my functions are wrong, if there are other syntax errors in the .bas file or if the dll's are corrupt.<BR><BR>I'd really appreciate some help from someone who has experience writing callback functions to the Enterprise API.<BR><BR>Thanks in advance.

    Hey there...
    I think part (if not all) of your question can be answered by abstracting it a level. Think of all the tools that are available through PL/SQL or JAVA in the database. For instance...
    * Heterogeneous Services that allow you to access any ODBC/JDBC data source directly from within the Oracle database.
    * DBMS_JOB that allows the scheduling of jobs to run at a given time/interval.
    * DMBS_FILE_UTL that allows Oracle to interact with the file system.
    That doesn't even take into account the things you can do with Java in the database.
    In short, just about everything you mentioned can be done in one shape or form with tools that reside in or around the oracle database.
    HTMLDB is a front end interface tool that has access to all of the tools available to you at database level.
    So in short (and in my opinion): Yes, it is capable of creating Enterprise level applications. I'm building a fairly complex one right now that interfaces with 2 external (non-oracle) databases via Heterogeneous services, and which used DBMS_JOB to schedule jobs to collate data from an external file system.
    I hope this helps..
    Doug Gault
    TXI

Maybe you are looking for

  • Can I activate an unlocked iPhone 6 without a sim card?

    My iPhone 4s was stolen in Mexico and according to my find my iPhone app, its offline. I am assuming I will never see it again. I am currently in the USA but am originally from Australia. I will be in the States until mid February. I kind of need a p

  • Tta_printer network host is busy

    hallo, i have a problem with tarantella printing. my application server is a SuSE 9.3 and my tarantella-server is SLES10. My application is an QT application. if i want to print from the application server lpstat -t says: printer tta_printer now prin

  • Can't launch photoshop debug

    I'm trying to trick extension builder 3 under eclipse to work as a debug environment for photoshop cc 2014.  I followed the advice at Adobe Extension Builder and Creative Cloud 2014 to change path names etc. When I try to debug-as a photoshop extensi

  • Placing servlet in Tomcat

    Hi, I have a servlet package say test.web. when I paced in C:\jakarta-tomcat-4.0\webapps\ROOT\WEB-INF\classes\sl314\web\hello.class, it works. But how can I open a dir say Hello_dir under C:\jakarta-tomcat-4.0\webapps\Hello_dir instead of under ROOT?

  • Ad blocker or Virus scan?? Any Recommendations....

    I am running a late 2011 Macbook Pro and recently "aquired" some type of Ad generator whenever I open firefox. Over the last few years, the Processing speed has deteriorated a little, so any way I can get her running to her fullest potential would be