Please Suggest - Continually Resort vs. Interfacing Prolog.

I would like to pass a list, arraylist, queue or some other collection of data to a Prolog program. Then have the Prolog program sort the collection and pass it to a java method which returns a value to the Prolog program. The goal of the Prolog program is to get the lowest possible value of the collection, when passed throught the java method.
Reason:
Prolog should naturally resort the list while trying to achieve its goal. If Java can resort a list of values into all possible permutations then I won't need to interface with Prolog, however I can't find anyway to continually resort a list and notify when all permutations have been completed.
Illustration://Original List:
  [AA][BB][CC][DD][EE]
//Desired Method Result:
  [AA][BB][CC][EE][DD]  [AA][BB][DD][CC][EE]  [AA][BB][DD][EE][CC]
  [AA][BB][EE][DD][CC]  [AA][BB][EE][CC][DD]  [AA][CC][BB][DD][EE]
  [AA][CC][BB][EE][DD]  [AA][CC][EE][BB][DD]  ...
//Prolog Psuedo Statement:
     goal: java(thisOrder) < java(previousOrder)
     on YES previousOrder = thisOrder
     on NO return previousOrderThank you for your time and any suggestions given.

I would like to pass a list, arraylist, queue or some
other collection of data to a Prolog program. Then
have the Prolog program sort the collection and pass
it to a java method which returns a value to the
Prolog program. The goal of the Prolog program is to
get the lowest possible value of the collection, when
passed throught the java method.When you write 'the lowest possible value of the collection' do you mean the lowest value in the collection or is there some formula or algorithm for determining the value of a collection depending on its order?
Reason:
Prolog should naturally resort the list while trying
to achieve its goal. If Java can resort a list of
values into all possible permutations then I won't
need to interface with Prolog, however I can't find
anyway to continually resort a list and notify when
all permutations have been completed.I don't understand why you need every possible permutation. I think you need to explain the goal of this program more clearly. Sure, you can create a java method that will create every possible permutation but why?
Illustration://Original List:
[AA][BB][CC][DD][EE]
//Desired Method Result:
[AA][BB][CC][EE][DD]  [AA][BB][DD][CC][EE]
]  [AA][BB][DD][EE][CC]
[AA][BB][EE][DD][CC]  [AA][BB][EE][CC][DD]
]  [AA][CC][BB][DD][EE]
[AA][CC][BB][EE][DD]  [AA][CC][EE][BB][DD]  ...
//Prolog Psuedo Statement:
goal: java(thisOrder) < java(previousOrder)
on YES previousOrder = thisOrder
on NO return previousOrderThank you for your time and any suggestions given.

Similar Messages

  • Analog interface between voice gateway and pbx system, please suggest too

    Hi
    I’m a fresh in telephony and voip technology. I didn’t find information about design analog interface between voice gateway and pbx system such as fxo-to-fxo, fxo-to-fxs, fxs-to-fxs, fxo-to-e&m, fxs-to-e&m, or e&m-to-e&m. Could you please suggest any resource for me?
    Ps. my networks have 1 HQ and 2 branch offices connect to the HQ.
    Thanks,
    Nitass

    Hello,
    you can find lots of info about analog voice interfaces here:
    http://www.cisco.com/en/US/tech/tk652/tk653/tk754/tech_protocol_home.html
    I've found this particular document very useful when trying to understand how telephone signaling works. This applies to any telephone system where interfacing to analog phones or the PSTN is involved.
    http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800a6210.shtml
    Regards.

  • Which Adaptor is appropriate please suggest

    Hi All,
    I have the following scenario and want your suggestions:
    A web based applicaiton (say A) to create customer need to integrate with another web based applicaiton (say B) which uses the customer details to display of Applicaiton A... wondering do I need to go for SOAP adaptor/HTTP adaptor or do I need to integrate these two applicaitons at data base level using JDBC adaptor?
    What are the steps/any documentation to get the data from web site to SAP PI when User clicks submit button?
    Please suggest.
    Thanks
    Rajeev

    >>> but my questtion is what needs to be done at Applicaiton A side to create Input and post the data in the SAP PI URL... As they are using the web client provided by the Application provider..Do they have to write code at the submit button of the web page? If so they have to customnise the code delivered by the provider? How it works.. Its been first time going through this...
    Yes, if you create webservice by creating soap sender and give WSDL, then they will have to write webservice client program in java or any language to access your webservice. This program will be called in their side at the time of hitting submit button of the web page.
    For this you have to go through soap sender sdn documents.
    or  As I already mentioned, create HTTP sender and provide your payload structure and url as we discussed in the above replies. A has to create coding to post HTTP using the url during submit hit button on their web page.
    >>Do they pass all the values in the URL or to the URL?
    This is client A's problem. Why do you worry?  There are plenty of documents to do http post.. The below coding is simple snippet..
    Search google for plenty of documents...
    try {
        // Construct data
        String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
        data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
        // Send data
        URL url = new URL("http://hostname:80/cgi");
        URLConnection conn = url.openConnection();
        conn.setDoOutput(true);
        OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
        wr.write(data);
        wr.flush();
        // Get the response
        BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        String line;
        while ((line = rd.readLine()) != null) {
            // Process line...
        wr.close();
        rd.close();
    } catch (Exception e) {
    >>Is it possible to use SOAP adaptor instead of HTTP adaptor? so that I can use AAE in the entire scenario. Applicaiton A is a web client interface through which Customers are created.If I need to use HTTP Adaptor, do I need to create HTTP Sender Adaptor and sender Aggrement ?
    Yes, if you host webservice using soap sender adaptor. Already answered above ...
    >> If I need to use HTTP Adaptor, do I need to create HTTP Sender Adaptor and sender Aggrement ?
    no. Http adaptor is in abap stack. so you dont need sender agreement.

  • Could you please suggest me the scenario for this requirement ?

    In module booking process we need the following process
    1.Student select their interested event package via website.
    2.Advisor review the student's event package list.
           2.1 In case of REJECT : student need to revise their list
           2.2 In case of APPROVE : all event package have confirm and run fee calculation.
    The information above is shortly requirement , if any one have suggestion for this requirement please suggest me.

    Vorad,
    I have some suggestions for you:
    1.  Create the module/event booking with 'Manual Conditional' flag.  Then, when the advisor approves a booking, remove the conditional flag.  If the advisor rejects, cancel the booking.  Here, you need to create some kind of UI for the advisor to review and approve/reject the requests.
    OR
    2.  Create the booking using a booking status such as 'pre-booked'.
    OR
    3.  Don't create any bookings from the student side.  Just create a booking plan instead.
    OR
    4. Look at a subtle process change that would let you use more out-of-the-box user interfaces/processes.  Students simply request special booking authorization for the event packages they want.  This automatically sends workflow approval messages to the advisor.  Then, just have a general rule which blocks all bookings that don't have this special authorization.   Once the student has a special booking authorization, he can just go into the course registration self-service and book the approved event packages.
    Michael

  • Hi ALL please suggest on this

    Hi ALL ,
      Iam a business object XI Developer ,Now i have an option to go SAP BW or to continue working in Businessobjects and SAP acquired BO .Its confusion for me which one to select
    can anyone please suggest which way is best .
    Thanks & Regards
    Sameer Khan

    hi,
    if you know BO, and have he option to work with BI its good hope u could proceed with BI.
    Business one
    http://www.ciol.com/content/news/2006/106012308.asp
    http://contextlabs.in/pdfs/SAP_Business_One-Brochure.pdf
    Ramesh

  • Hello, iam using the latest version of firefox, whenever i login into my yahoo mail account i get a stop script error, the details of the error script is mentioned below , please suggest how to stop this : STOP ERROR

    Hello, iam using the latest version of firefox, whenever i login into my yahoo mail account i get a stop script error, the details of the error script is mentioned below , please suggest how to stop this
    the website is www.mail.yahoo.com. i was getting the same STOP script error every now and then in firefox 6 as well

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • I'am new at Java world, so please suggest me an IDE to work on .......

    hi everybody !
    This is my first post . I'am new in Java world, so please suggest me an IDE to work on ....... there are many IDE: Jbuilder, Jdevelopper, jRun, Sun Studio ... and then I don't know wich one is better (easer to use and to create good user interfaces), I'am designing a networking application surveying servers, hosts, routers ...and managing sms (sent to and received from Administrator).
    The OS is Suse Linux Professsional, the DBSM is Oracle 10g .
    I wait for your answers and thanks for your time

    For a beginner JCreator is a nice but I think it is only for Windows.
    For linux support have a a look at:
    Netbeans:
    If you are looking for GUI design features NetBeans 5.0 (hasn't been released yet, but you can download a beta version - release due in December) has a probably the best GUI designer. I would wait till the release version if I were your. It is also a solid IDE, but consumes a quite a bit of memory. Don't even consider this option unless you have 380MB+ RAM
    www.netbeans.org
    or
    Eclipse
    Very popular, uses less memory than NetBeans, but doesn't come with a GUI designer. Nice for editing code, but don't expect many fancy wizards.
    www.eclipse.org. You can get away with about 256MB RAM.
    If you intend to run Oracle 10g on the same system as these tools at the same time you better have a very impressive system, or will end up editor code in a text editor and compiling from the command line.

  • Have Multiple entries in Fnd_nodes..Please suggest

    Hi,
    I have multiple entries in the production fnd_nodes table. Please suggest if its ok to have below mentioned entries. Please suggest the possible steps if we need to clean it up.
    The environment is single instance and on 11.5.10.2 on IBM AIX OS.
    From FND_NODES
    Node_name     Description
    ==========================================
    <ProdInst_Name>     (null)     
    AUTHENTICATION     Authentication Value     
    Thanks a lot for the help.
    Hari

    The reason I was ambiguous about these entries is, our Test,QA,Dev instances fnd_nodes table have these 2 entries (mentioned above in this thread) plus their respective Instance entries. This raised a doubt, do we need to have only 1 entry i.e. entry of the respective instance in this table or is it OK to have other values like AUTHENTICATION, other instance information in this table.You should have more than one entry in this table, one for AUTHENTICATION and one for each database/application tier node.
    Also, I see continuous error messages in Prod concurrent manager log as indicated below. I Read in one of the articles to check for fnd_nodes having multiple entires might be a reason for below error messages. Thats why I wanted to check with you all, to see if there is any thing needs to be done to avoid future issues. BTW,The instance is working great...Just that I am concerned with CMLog having these error messages populating all the time...
    Would highly appreciate your helpTo make sure you have proper entries, please purge FND_NODES table and run AutoConfig on each tier node.
    How to get a clean Autoconfig Environment ? [ID 391406.1]
    How to Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    CM Log sample error message info
    ===========================
    Process monitor session started : 10-JUN-2012 07:28:52
    CONC-SM TNS FAIL
    Call to PingProcess failed for FNDOPP
    CONC-SM TNS FAIL
    Call to StopProcess failed for FNDOPP
    Process monitor session ended : 10-JUN-2012 07:28:54
    ================================Those errors are related to OPP -- Please see these docs.
    Concurrent Processing - ICM log file shows 'CONC-SM TNS FAIL', 'Call to PingProcess failed', and/or 'Call to StopProcess failed' for FNDCPGSC/FNDOPP [ID 1312632.1]
    Mails are not Received Using Delivery Option while Submitting Concurrent Request In R12.1.3 [ID 1339491.1]
    Thanks,
    Hussein

  • Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

    <pre><nowiki>function createEmbed(divID, context, locale, server,client)
    var d = document.getElementById(divID);
    d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
    'JAVA_CODEBASE="'+context+'" '+
    'ARCHIVE="WebRAO.jar" '+
    'NAME="WebRAOApplet" '+
    'MAYSCRIPT="true" '+
    'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+
    'L="'+locale+'" ' +
    'PinTimeout="'+server+'"'+
    'ClientTimeout="'+client+'"'+
    'separate_jvm="true"'+
    'java_version="1.8.0_31" />';
    }</nowiki></pre>
    We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

    There are some updates happening to [https://www.mozilla.org/en-US/plugincheck/]
    However to further investigate I would suggest troubleshooting the installation of Java:
    *[http://kb.mozillazine.org/Java#Java_Deployment_Toolkit_plugin]
    *[https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems]
    Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.

  • TS1398 I am unable to connect wifi on my phone 4s since last 2 weeks... I am living in shanghai and did not have this issue since 2 weeks... iPad works fine... Please suggest some measures... Tried the on off reset settings etc.

    I am unable to connect wifi on my phone 4s since last 2 weeks... I am living in shanghai and did not have this issue since 2 weeks... iPad works fine... Please suggest some measures... Tried the on off reset settings etc. but no luck ...
    In fact after updating the software to the latest version I am having more of this... Sometimes the wifi button freezes an I can't even slide it to on / off...
    Thanks

    Noooo! Actually I too had d same prob wit my iPhone 4S. When I connect to my wifi network it won't get connected or it wil be grey scaled! I took it to d istore and since I had warranty they replaced my IPhone. It iPad charger has high volt than ur iPhone charger so when u connect wit it, there is a chance where large amount of current passes thru ur iPhone. So for sure it wil damage ur motherboard and its parts! Many said that iOS 6 or 6.0.1 or 6.1 was d reason for tis wifi prob! But apple never made its mistake wit it's software. If and only if u hav hardware prob u wil hav these sort of wifi prob Bluetooth prob! So best way s to replace ur iPhone!

  • Please suggest a correction in the code: Urgent

    I am capturing the Material Document No., Material No., Material Description, Quantity etc. into a main_table in my code so as to write/print labels containing GRN details (movement type '105') using se38. These labels are to be pasted on the material received in stores, the exact requirement is 100% material identification sticker on all items to maintain FIFO. Obviously the no. of these stickers, to be printed, shall solely depend on the Quantity of a particular material received.
    I have written the following piece of code to print the captured information of GRN. The problem is that my code is unable to track the change in material document number. For example if I have 10 nos of quantity for a particular material say 1001 and 5 no.s of quantity for a subsequent material 1002. I should get 10 labels for 1001 and 5 for 1002 but my code is giving me 10 labels for 1002 also.
    Hope you got it.
    Please suggest the necessary correction on the following code.You can execute the following code and get a real time feeling of my problem.
    REPORT  ZMM_GRN_LABEL_REPORT_38.
    TABLES : MKPF, MSEG, MAKT.
    DATA : BEGIN OF I_MKPF OCCURS 0,
           MBLNR LIKE MSEG-MBLNR,
           BLDAT LIKE MKPF-BLDAT,
           MJAHR LIKE MKPF-MJAHR,
           END OF I_MKPF.
    DATA : BEGIN OF I_MSEG OCCURS 0,
           MBLNR LIKE MSEG-MBLNR,
           MATNR LIKE MSEG-MATNR,
           EBELN LIKE MSEG-EBELN,
           LIFNR LIKE MSEG-LIFNR,
           MENGE LIKE MSEG-MENGE,
           END OF I_MSEG.
    DATA : BEGIN OF I_MAKT OCCURS 0,
           MATNR LIKE MAKT-MATNR,
           MAKTX LIKE MAKT-MAKTX,
           END OF I_MAKT.
    DATA : BEGIN OF I_LFA1 OCCURS 0,
           LIFNR LIKE LFA1-LIFNR,
           NAME1 LIKE LFA1-NAME1,
           END OF I_LFA1.
    DATA: BEGIN OF MAIN_TABLE OCCURS 0,
          MBLNR LIKE MSEG-MBLNR,
          MATNR LIKE MSEG-MATNR,
          BLDAT LIKE MKPF-BLDAT,
          MAKTX LIKE MAKT-MAKTX,
          MENGE LIKE MSEG-MENGE,
          MJAHR LIKE MSEG-MJAHR,
          EBELN LIKE MSEG-EBELN,
          LIFNR LIKE MSEG-LIFNR,
          NAME1 LIKE LFA1-NAME1,
          END OF MAIN_TABLE.
    DATA : N LIKE MSEG-MENGE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_MBLNR FOR MSEG-MBLNR.
    PARAMETERS : P_GJAHR LIKE MSEG-GJAHR.
    SELECTION-SCREEN END OF BLOCK B1.
    select MBLNR MJAHR BLDAT
    into corresponding fields of
    table I_MKPF
    from Mkpf
    where
    MBLNR in S_MBLNR and
    MJAHR EQ p_GJAHR.
    LOOP AT I_MKPF.
    MAIN_TABLE-MBLNR = I_MKPF-MBLNR.
    MAIN_TABLE-MJAHR = I_MKPF-MJAHR.
    MAIN_TABLE-BLDAT = I_MKPF-BLDAT.
    APPEND MAIN_TABLE.
    CLEAR MAIN_TABLE.
    ENDLOOP.
    IF I_MKPF[] IS NOT INITIAL.
    SELECT MBLNR MATNR EBELN LIFNR MENGE
    INTO CORRESPONDING FIELDS OF
    TABLE I_MSEG FROM
    MSEG
    FOR ALL ENTRIES IN I_MKPF
    WHERE
    MBLNR = I_MKPF-MBLNR.
    ENDIF.
    LOOP AT I_MSEG.
    LOOP AT MAIN_TABLE WHERE MBLNR = I_MSEG-MBLNR.
    MAIN_TABLE-MATNR = I_MSEG-MATNR.
    MAIN_TABLE-EBELN = I_MSEG-EBELN.
    MAIN_TABLE-LIFNR = I_MSEG-LIFNR.
    MAIN_TABLE-MENGE = I_MSEG-MENGE.
    MODIFY MAIN_TABLE INDEX SY-TABIX.
    ENDLOOP.
    ENDLOOP.
    IF I_MSEG[] IS NOT INITIAL.
    SELECT MATNR MAKTX
    INTO CORRESPONDING FIELDS OF
    TABLE I_MAKT FROM MAKT
    WHERE
    MATNR = I_MSEG-MATNR.
    ENDIF.
    LOOP AT I_MAKT.
    LOOP AT MAIN_TABLE WHERE MATNR = I_MAKT-MATNR.
    MAIN_TABLE-MAKTX = I_MAKT-MAKTX.
    MODIFY MAIN_TABLE INDEX SY-TABIX.
    ENDLOOP.
    ENDLOOP.
    IF I_MSEG[] IS NOT INITIAL.
    SELECT LIFNR NAME1
    INTO CORRESPONDING FIELDS OF
    TABLE I_LFA1 FROM LFA1
    FOR ALL ENTRIES IN I_MSEG
    WHERE
    LIFNR = I_MSEG-LIFNR.
    ENDIF.
    LOOP AT I_LFA1.
    LOOP AT MAIN_TABLE WHERE LIFNR = I_LFA1-LIFNR.
    MAIN_TABLE-NAME1 = I_LFA1-NAME1.
    MODIFY MAIN_TABLE INDEX SY-TABIX.
    ENDLOOP.
    ENDLOOP.
    ******************************Problem lies somewhere here
    N = MAIN_TABLE-MENGE.
    DO N TIMES.
    SORT MAIN_TABLE BY MBLNR.
    LOOP AT MAIN_TABLE.
    WRITE :/5 MAIN_TABLE-MBLNR.
    WRITE :/5 MAIN_TABLE-MAKTX, 50 MAIN_TABLE-MATNR.
    ENDLOOP.
    ENDDO.

    Hello,
    Take one new table with three fields ie. it_no with mblnr, matnr and menge.
    collect data to new table form main_table.
    and replace your doubtful code by
    SORT MAIN_TABLE BY MBLNR.
    loop at it_no.
    N = it_no-MENGE.
    DO N TIMES.
    LOOP AT MAIN_TABLE where matnr = it_no-matnr.
    WRITE :/5 MAIN_TABLE-MBLNR.
    WRITE :/5 MAIN_TABLE-MAKTX, 50 MAIN_TABLE-MATNR.
    ENDLOOP.
    ENDDO.
    endloop.
    regards,
    Naimesh

  • Hi,please suggest me some games for Compaq CQ62-105TU Laptop.Can I upgrade my laptop's graphics card

    Hi,please suggest me some games for Compaq CQ62-105TU Laptop.Can I upgrade my laptop's graphics card

    Unfortunately, you cannot upgrade the processor or graphics card on this laptop.
    Here is a page from CPU-World that gives the specs for your processor:
    http://www.cpu-world.com/CPUs/Bobcat/AMD-E%20Series%20E2-1800.html
    You will see down near the bottom of the page that it is not upgradeable. Some laptops come with the processor soldered to the motherboard. Almost all laptop graphics are this way. The only way that you would be able to get a faster processor/better graphics for this laptop would be to purchase a brand new motherboard. You can do an Ebay search for 'HP G6 motherboard' to see what average prices are if you want to go this route.

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • My apple id is not working in imessage or facetime. I tried to rest password still unable to open any. Though i can download stuff from istore.Only facetime and imessage not working. Please suggest.

    I am using Ipad3 and OS is upgraded. I tried to reset password still unable to open imessage and facetime. I am able to download from istore though. Tried everything i knew. Please suggest!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Hi, We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1. When we try to download a file(.pvw file) in that application safari throws "Download failed" error. Please suggest what needs to be done.

    Hi,
    We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
    When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
    Is this default behaviour which cannot be changed or can it be configured to ask user preference?
    When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
    Please suggest what needs to be done.
    Regards,
    Pramod

    Safari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
    Regards.

Maybe you are looking for