Stok Program With WCF and linq to sql

It runs on studio but it doesnt run on windows phone.I didnt add wcf,services and sql.Help Me ?

Hi WHAT IS  MSDB 'S FULL MEAN,
>>It runs on studio but it doesnt run on windows phone.I didnt add wcf,services and sql
Do you mean that you can not add the WCF Service Reference?
Are you using the Windows Phone Sivlerlight or the Windows Phone Runtime app?
The Windows Phone 8.1 Rutime app does not support the "Add Services Reference", then we need to use the WCF Restful services for instead in Windows Phone 8.1 Rutime app, for more information, please try to refer to this blog:
http://blogs.msdn.com/b/myamama/archive/2014/06/24/workaround-to-adding-service-reference-to-windows-phone-8-1-runtime-app.aspx
Besides, for how to create a WCF Restful Service, please try to refer to this following article:
http://www.codeproject.com/Articles/571813/A-Beginners-Tutorial-on-Creating-WCF-REST-Services .
If I have misunderstood you, please try to describe more about your question and post the error information in here.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem with Latches and Parallelising PL/SQL Cursors

    In 9i i have process that do the following:
    PROCEDURE LoadClients IS
      CURSOR cChanges IS
        SELECT ...
        WHERE MOD(PK,pnTotalJobs>) = pnThisJob To call this I do the following
      nTOTALJOBS CONSTANT := 2;
    BEGIN
      FOR i IN 1..nTOTALJOBS LOOP
        DBMS_JOB.SUBMIT(LoadClient(pnTotalJobs=>nTOTALJOBS, pnThisJob=>i-1));
      END LOOP;
      COMMIT;So by changing the value of the constant - nTOTALJOBS - I can control the number of instances of LoadClient that run. This means I only need one procedure which can be called multiple times, making maintenance simpler than having multiple procedures.
    This process has been running successfully on several procedures of over a year. However recently I have been having trouble with latches in memory. I think these are related to using the variables in the cursor and part of the oracle treating the different queries as being identical. This results in locks in memory and none of the jobs running. In most cases I'm setting nTOTALJOBS to 2. I'm looking into the further with my DBAs.
    My questions are:
    1. Has anyone come across this sort of problem before?
    2. If so is there something I can do in my code or DB parameters to alleviate or test this?
    Notes.
    1. The process uses row by row processing in PL/SQL This done to get row by row error handling. I'm not going to change this in the short-term
    2. The SQL does a call over a database link, I don't know if this has any effect.
    3. This method does have a proven performance benefit
    4. The code snippets above are just illustrative, I'm not asking for syntax corrections.
    Thank you for taking the time to read through this.

    I would first investigate the "problem with latches" to be sure that it has anything to do with these jobs that you are submitting.
    Your concern seems to be "because I am submitting multiple copies of the same PLSQL procedure to run concurrently, am I running into latching issues ?".
    Take a step back and look at
    a. MultiUser OLTP environments : At any time you can have more than a few users running the same SQL queries submitted through Forms / Client Frontends.
    b. ERP Report Extractions (eg in Oracle EBusiness Suite or Peoplesoft) : At any time (say during the daily batch runs ?) you can have multiple copies of the same report (with different bind variables for different business_units / countries etc) running concurrently and extracting reports.
    The question would be : How many concurrent executions of the same code is too much ?
    I would say that latching issues come up on :
    a. Shared Pool : Multiple sessions attempting to load SQL statements and Parse SQL statements
    You could reduce some of this with reusable SQLs and bind variables instead of literals in quick running jobs / user front end screens etc
    b. Buffer Cache : Hot Blocks being frequently pinned -- eg index root blocks or "busy" table blocks.
    If you are running, say 4-8 concurrent copies of the the same code on a 4 CPU or 8 CPU machine, you may not be running into latching issues on the code -- "may not be" -- we can't be too sure, until we identify which latches are under "issue".
    However, if the queries are executing nested loops and frequently accessing the same index blocks, you may more likely be having issues with latches on cache buffer chains.
    So, this is what I would suggest :
    a. Identify the size and scale of the "issues" -- how much CPU time / wait time is accounted for by the latches in relation to the total response time of each of the jobs
    b. Identify which latches are the ones under contention
    c. On the basis of which latches are the holding up performance, decide your next course of action.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Help with Page Parameters with PDK and/or PL/SQL

    Hello,
    I'm having difficulties get the real path of pages with PL / SQL. Another parameter that can not put the portlet in PL / SQL is the HTTP_REFERER.
    I read the PDK API but I could not understand how to use the
    HTTP_REFERER
    And as I get the realpath of the page? (In a portlet within the page in PL / SQL or JSP)
    Example: /portal/page/portal/groupage/page/page...
    Somebody can help me?
    Thks =]~

    Are you using Oracle Application Server Portal's PDK? If so, you would have better luck posting to that forum: Oracle Application Server Portal
    Greg

  • Is it possible to match Lockbox program with MICR and/or Invoice, PO , BOL

    Hi ,
    Could please someone let me know , in Lockbox program whether it's feasible to do the matching with the PO , BOL(Bill of Lading) other than the MICR and/or Invoice?
    Any help is highly appreciated and rewarded with the points...
    Thanks

    If you want your LabVIEW program from Windows to run on Linux, you need to compile it first with a LabVIEW for Linux version. Be aware that path management is slightly different under Linux. So your Windows application won't run under Linux if you don't prepare for it.
    If you want a LabVIEW / Windows application to interface with LabVIEW / Linux, you can do this with TCP/IP functions, or perhaps even with global variables (not sure if they work under Linux).
    Can't help you with the second question(s). I'd be worried about getting any camera working under Linux and LabVIEW, but I'm not sure if this is a valid concern.
    Regards,
    Wiebe.

  • Problem with CASE  and DATEs in sql

    Hi to everybody
    I have this table
    SQL> desc borrar
    Name Null? Type
    NUMERO FLOAT(126)
    NUMERO2 NUMBER(2)
    FECHA1 DATE
    NUMEROREAL NUMBER(10,3)
    CADENA VARCHAR2(100)
    CADENAN NVARCHAR2(10)
    and when I execute the next sentence appear
    SQL> select 1,
    case when sysdate <= FECHA1 then
    fecha1
    else
    to_date('02012000','ddmmyyyy')
    end reconDia
    from borrar;
    to_date('02012000','ddmmyyyy')
    ERROR at line 4:
    ORA-00932: inconsistent datatypes
    but If I write ...
    select 1,
    case when sysdate <= FECHA1 then
    to_date(to_char(fecha1,'ddmmyyyy'), 'ddmmyyyy')
    else
    to_date('02012000','ddmmyyyy')
    end reconDia
    from borrar
    is ok ...
    does somebody know if it is a bug or Im doing something wrong ?
    Thank you in advance
    Hernan

    The query works correctly in 9i, but apparently you are running on 8i. Adding a CAST statement in 8i is another way to get the query to work:
    sql>select 1,
      2         case when sysdate <= fecha1 then fecha1
      3         else to_date('02012000','ddmmyyyy')
      4         end recondia
      5    from borrar;
           else to_date('02012000','ddmmyyyy')
    ERROR at line 3:
    ORA-00932: inconsistent datatypes
    sql>select 1,
      2         case when sysdate <= fecha1 then fecha1
      3         else cast(to_date('02012000','ddmmyyyy') as date)
      4         end recondia
      5    from borrar;
            1 RECONDIA
            1 07/30/2003 09:44:14am
            1 01/02/2000 12:00:00am
            1 01/02/2000 12:00:00am
    3 rows selected.

  • PROGRAM WITH BAPI and BDC's

    Hi All,
    I am using a 2 BAPI's and 3 BDC's in a program. I need all these BAPI and BDC's update the tanscations in a single bundled task? that is if any of BAPI or BDC failed the sucessful BAPI/BDC should be rolled back. How can I make it happen? Any sample code will be helpful
    All Suggestion will be rewarded.

    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • 'Z' program with trabstrip and user autorization for visualizing

    Hi
    There's a 'Z' program which contains tabstrip for user option, then an ALV is showed but not all the user must see all ALV, how can I do for this because  it's just one program.
    Thanks in advance.

    Hi,
    if u do not use authorization object, then u can do this think using z-table,
    create a Z-TABLE and enter the one fields 1.  block_user.
    then create table maintenance of the table and enter the user name witch u want to block .
    and in the program  check the value
    if sy-uname =  block_user.
    message ' u r not authorized'.
    else.
    display Report.
    endif.
    Regards,
    Abhilash

  • Program with list and select button

    Hi,
    is there a program module that displays a list and when user selects an item and clicks on some button the program returnes selected item.
    I just want to use that kind of program as a template.
    Thank you.

    Hi,
    Try this program BCALV_GRID_02
    Cheers.
    ...Reward if useful

  • French translation program with grammar and spell check?

    Does anyone know of any really good translation programs where you can write a document in english and the program will translate it to french? The program would also need to have spell and grammar checks.  Thanks

    I know that there's one on the dashboard. You can use google translate but you can't download that one.

  • Trying to compile a GUI program with ActionEvent and Color/Graphics

    Hey, I am trying to compile a program that where I press a button it designs/displays a picture. I have the first part that shows the button, but I can''t get the second part of it. Any suggestions on what to do? Here is the part of the code that I am unsure about, the idea is to get that to design a picture:
    private class ButtonHandler implements ActionListener
              public void actionPerformed( ActionEvent event )
         }

    Heres the code in order to give a better idea of what I am trying to do:
    import java.awt.FlowLayout;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    public class Game extends JFrame
         private JLabel greeting; // greets user and gives initial instructions
         private JButton startGame; // start game button
         private JButton highScore; // displays high scores
         private JButton exitGame; // exits game
         // adds buttons to JFrame
         public Game()
              super( "Game" );
              setLayout( new FlowLayout() ); // set frame layout
              greeting = new JLabel( "Make selection..." );
              add( greeting );           
              startGame = new JButton( "Start Playing" );
              add( startGame );
              highScore = new JButton( "View High Scores" );
              add( highScore );
              exitGame = new JButton( "Exit Game" );
              add( exitGame );
              ButtonHandler handler = new ButtonHandler();
              startGame.addActionListener( handler );
         private class ButtonHandler implements ActionListener
              public void actionPerformed( ActionEvent event )
              public void paintComponent( Graphics g )
    super.paintComponent( g );
    g.setColor( Color.RED );
    g.fillOval( 10, 10, 200, 200 );
    }

  • Exception in cloud service with WCF and Oracle

    Hi could someone help me resolve this error:
    The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior)
    on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

    Hi Will Shao:
    I already said what page you sent me and I get the following error:
    An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    System.ArgumentException: Unable to find the requested .Net Framework Data Provider.  It may not be installed.
       at System.Data.EntityClient.EntityConnection.GetFactory(String providerString).
    Looks like the data provider is not installed. Are you using a virtual machine or a cloud service/website? If you're using a virtual machine, you can install the data provider manually. I don't know what exactly it is. Maybe the component on
    http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html is sufficient. You may want to ask the question on an Oracle forum as well. If you're using a cloud service/website, then you can't install it directly. As a first step, try
    to set Copy Local to true on the Oracle related assembly references in your project. This might work if the data provider does not rely on any external components. If that doesn't work, then on a cloud service, you can try to find a way to install the data
    provider via command line, and use a startup task to run the command line. This is not supported in a website.

  • Problem in using socket streams with encryption and decryption

    Hi,
    I am developing a client/server program with encryption and decryption at both end. While sending a message from client it should be encrypted and at the receiving end(server) it should be decrypted and vice versa.
    But while doing so i got a problem if i use both encryption and decryption at both ends. But If i use only encryption at one (only outputstream) and decryption at other end(only inputstream) there is no problem.
    Here is client/server pair of programs in which i am encrypting the outputstream of the socket in client side and decrypting the inputstream of the socket in server side.
    serverSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class serverSocketDemo
         public static void main(String args[])
              try
              {                    //server listening on port 2000
                   ServerSocket server=new ServerSocket(2000);
                   while (true)
                        Socket theConnection=server.accept();
                        System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                        System.out.println("Connection request from : "+theConnection.getInetAddress());
                        //Input starts from here
                        Reader in=new InputStreamReader(getNetInStream(theConnection.getInputStream()),"ASCII");
                        StringBuffer strbuf=new StringBuffer();
                        int c;
                        while (true)
                             c=in.read();
                             if(c=='\n' || c==-1)
                                  break;
                             strbuf.append((char)c);     
                        String str=strbuf.toString();
                        System.out.println("Message from Client : "+str);
                        in.close();               
                        theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static BufferedInputStream getNetInStream(InputStream in) throws Exception
              // register the provider that implements the algorithm
              Provider sunJce = new com.sun.crypto.provider.SunJCE( );
              Security.addProvider(sunJce);
              // create a key
              byte[] desKeyDataDec = "This encryption can not be decrypted".getBytes();
              DESKeySpec desKeySpecDec = new DESKeySpec(desKeyDataDec);
              SecretKeyFactory keyFactoryDec = SecretKeyFactory.getInstance("DES");
              SecretKey desKeyDec = keyFactoryDec.generateSecret(desKeySpecDec);
              // use Data Encryption Standard
              Cipher desDec = Cipher.getInstance("DES");
              desDec.init(Cipher.DECRYPT_MODE, desKeyDec);
              CipherInputStream cin = new CipherInputStream(in, desDec);
              BufferedInputStream bin=new BufferedInputStream(new GZIPInputStream(cin));
              return bin;
    clientSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class clientSocketDemo
         public static void main(String args[])
              try
                   Socket theConnection=new Socket("localhost",2000);
                   System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                   System.out.println("Connecting to : "+theConnection.getInetAddress());
                   //Output starts from here               
                   OutputStream out=getNetOutStream(theConnection.getOutputStream());
                   out.write("Please Welcome me\n".getBytes());
                   out.flush();
                   out.close();
                   theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static OutputStream getNetOutStream(OutputStream out) throws Exception
              // register the provider that implements the algorithm
              Provider sunJce = new com.sun.crypto.provider.SunJCE( );
              Security.addProvider(sunJce);
              // create a key
              byte[] desKeyDataEnc = "This encryption can not be decrypted".getBytes();
              DESKeySpec desKeySpecEnc = new DESKeySpec(desKeyDataEnc);
              SecretKeyFactory keyFactoryEnc = SecretKeyFactory.getInstance("DES");
              SecretKey desKeyEnc = keyFactoryEnc.generateSecret(desKeySpecEnc);
              // use Data Encryption Standard
              Cipher desEnc = Cipher.getInstance("DES");
              desEnc.init(Cipher.ENCRYPT_MODE, desKeyEnc);
              CipherOutputStream cout = new CipherOutputStream(out, desEnc);
              OutputStream outstream=new BufferedOutputStream(new GZIPOutputStream(cout));
              return outstream;
    Here is client/server pair in which i use both encrypting outpustream and decrypting inputstream at both ends.
    serverSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class serverSocketDemo
         private Cipher desEnc,desDec;
         serverSocketDemo()
              try
                   // register the provider that implements the algorithm
                   Provider sunJce = new com.sun.crypto.provider.SunJCE( );
                   Security.addProvider(sunJce);
                   // create a key
                   byte[] desKeyData = "This encryption can not be decrypted".getBytes();
                   DESKeySpec desKeySpec = new DESKeySpec(desKeyData);
                   SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
                   SecretKey desKey = keyFactory.generateSecret(desKeySpec);
                   desEnc = Cipher.getInstance("DES");
                   desEnc.init(Cipher.ENCRYPT_MODE, desKey);
                   desDec = Cipher.getInstance("DES");
                   desDec.init(Cipher.DECRYPT_MODE, desKey);               
              catch (javax.crypto.NoSuchPaddingException e)
                   System.out.println(e);          
              catch (java.security.NoSuchAlgorithmException e)
                   System.out.println(e);          
              catch (java.security.InvalidKeyException e)
                   System.out.println(e);          
              catch(Exception e)
                   System.out.println(e);
              startProcess();
         public void startProcess()
              try
                   ServerSocket server=new ServerSocket(2000);
                   while (true)
                        final Socket theConnection=server.accept();
                        System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                        System.out.println("Connection request from : "+theConnection.getInetAddress());
                        Thread input=new Thread()
                             public void run()
                                  try
                                       //Input starts from here
                                       Reader in=new InputStreamReader(new BufferedInputStream(new CipherInputStream(theConnection.getInputStream(), desDec)),"ASCII");
                                       StringBuffer strbuf=new StringBuffer();
                                       int c;
                                       while (true)
                                            c=in.read();
                                            if(c=='\n'|| c==-1)
                                                 break;
                                            strbuf.append((char)c);     
                                       String str=strbuf.toString();
                                       System.out.println("Message from Client : "+str);
                                  catch(Exception e)
                                       System.out.println("Error caught inside input Thread : "+e);
                        input.start();
                        Thread output=new Thread()
                             public void run()
                                  try
                                       //Output starts from here
                                       OutputStream out=new BufferedOutputStream(new CipherOutputStream(theConnection.getOutputStream(), desEnc));
                                       System.out.println("it will not be printed");
                                       out.write("You are Welcome\n".getBytes());
                                       out.flush();
                                  catch(Exception e)
                                       System.out.println("Error caught inside output Thread : "+e);
                        output.start();
                        try
                             output.join();
                             input.join();
                        catch(Exception e)
                        theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static void main(String args[])
              serverSocketDemo server=new serverSocketDemo();          
    clientSocketDemo.java
    import java.io.*;
    import java.net.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.util.*;
    import java.util.zip.*;
    class clientSocketDemo
         private Cipher desEnc,desDec;
         clientSocketDemo()
              try
                   // register the provider that implements the algorithm
                   Provider sunJce = new com.sun.crypto.provider.SunJCE( );
                   Security.addProvider(sunJce);
                   // create a key
                   byte[] desKeyData = "This encryption can not be decrypted".getBytes();
                   DESKeySpec desKeySpec = new DESKeySpec(desKeyData);
                   SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
                   SecretKey desKey = keyFactory.generateSecret(desKeySpec);
                   desEnc = Cipher.getInstance("DES");
                   desDec = Cipher.getInstance("DES");
                   desEnc.init(Cipher.ENCRYPT_MODE, desKey);
                   desDec.init(Cipher.DECRYPT_MODE, desKey);               
              catch (javax.crypto.NoSuchPaddingException e)
                   System.out.println(e);          
              catch (java.security.NoSuchAlgorithmException e)
                   System.out.println(e);          
              catch (java.security.InvalidKeyException e)
                   System.out.println(e);          
              catch(Exception e)
                   System.out.println(e);
              startProcess();
         public void startProcess()
              try
                   final Socket theConnection=new Socket("localhost",2000);
                   System.out.println("Connecting from local address : "+theConnection.getLocalAddress());
                   System.out.println("Connecting to : "+theConnection.getInetAddress());
                   Thread output=new Thread()
                        public void run()
                             try
                                  //Output starts from here               
                                  OutputStream out=new BufferedOutputStream(new CipherOutputStream(theConnection.getOutputStream(), desEnc));
                                  out.write("Please Welcome me\n".getBytes());
                                  out.flush();
                             catch(Exception e)
                                  System.out.println("Error caught inside output thread : "+e);
                   output.start();     
                   Thread input=new Thread()
                        public void run()
                             try
                                  //Input starts from here
                                  Reader in=new InputStreamReader(new BufferedInputStream(new CipherInputStream(theConnection.getInputStream(), desDec)),"ASCII");          
                                  System.out.println("it will not be printed");
                                  StringBuffer strbuf=new StringBuffer();
                                  int c;
                                  while (true)
                                       c=in.read();
                                       if(c=='\n' || c==-1)
                                            break;
                                       strbuf.append((char)c);     
                                  String str=strbuf.toString();
                                  System.out.println("Message from Server : "+str);
                             catch(Exception e)
                                  System.out.println("Error caught inside input Thread : "+e);
                   input.start();
                   try
                        output.join();
                        input.join();
                   catch(Exception e)
                   theConnection.close();
              catch(BindException e)
                   System.out.println("The Port is in use or u have no privilage on this port");
              catch(ConnectException e)
                   System.out.println("Connection is refused at remote host because the host is busy or no process is listening on that port");
              catch(IOException e)
                   System.out.println("Connection disconnected");          
              catch(Exception e)
         public static void main(String args[])
              clientSocketDemo client=new clientSocketDemo();     
    **** I know that the CInput tries to read some header stuff thats why i used two threads for input and output.
    Waiting for the reply.
    Thank you.

    Do not ever post your code unless requested to. It is very annoying.
    Try testing what key is being used. Just to test this out, build a copy of your program and loop the input and outputs together. Have them print the data stream onto the screen or a text file. Compare the 1st Output and the 2nd Output and the 1st Input with the 2nd Input and then do a static test of the chipher with sample data (same data which was outputted), then do another cipher test with the ciphertext created by the first test.
    Everything should match - if it does not then follow the steps below.
    Case 1: IO Loops do not match
    Case 2: IO Loops match, but ciphertext 1st run does not match loop
    Case 3: IO Loops match, 1st ciphertext 1st run matches, but 2nd run does not
    Case 4: IO Loops match, both chiphertext runs do not match anything
    Case 5: Ciphertext runs do not match eachother when decrypted correctly (outside of the test program)
    Problems associated with the cases above:
    Case 1: Private Key is changing on either side (likely the sender - output channel)
    Case 2: Public Key is changing on either side (likely the sender - output channel)
    Case 3: Private Key changed on receiver - input channel
    Case 4: PKI failure, causing private key and public key mismatch only after a good combination was used
    Case 5: Same as Case 4

  • Adding gameCenter functionality with actionscript3 and Adobe AIR

    I am writing a game in actionscript3 and adobe AIR for the iphone4. Is there a way to connect to iphone's gameCenter in actionscript3, or is that not possible and I am forced to use xcode and objective-C?
    If this is not possible, are there any alternatives to gameCenter that I can program with actionscript3 and AIR? For example openFeint??
    Thanks

    I am writing a game in actionscript3 and adobe AIR for the iphone4. Is there a way to connect to iphone's gameCenter in actionscript3, or is that not possible and I am forced to use xcode and objective-C?
    If this is not possible, are there any alternatives to gameCenter that I can program with actionscript3 and AIR? For example openFeint??
    Thanks

  • To Do List Archiving with Reminders and more Features.

    I wish To Do List was a seperate program with archiving and categories with autoreplies and follow-up reminders. Needs more features.
    It would also be good to work as a project management system. Great for work or around the house duties.
    Does anyone know of any good software like this for mac?

    This is probably a better search there:
    http://www.macupdate.com/search.php?os=macosx&keywords=todo
    John M

  • Never programmed with Java

    Hello
    I have never programmed with Java, and dont know, what i can do, I use PHP, but, i am only a novice at it.
    I was wondering, is it possable to get data from a page, and put it into an image? if there is no data from the page, it will ask for the data to be added, and this will update every so often?
    Also, Most of you know about google maps, where you can search for something, well, can i do this same thing in java, have a map, not of the earth, but for a game, and make it easy to add different parts, so that we can search for it, and people can find it easy to look for what they are looking for?

    I think Google Maps is programmed in JavaScript using AJAX (short for Asynchronous JavaScript and XML) and is what as known as a web application. Google has released an API (still in beta) for working with Google Maps. The webpage for this API is http://www.google.com/apis/maps/. More about the development facilities Google provides can be found at http://code.google.com/.
    I've never read the source code to Google Maps before (a lot of which is available by just viewing the source code of the Google Maps webpage, which can be done by clicking, View > Source in Internet Explorer and View > Page Source in Mozilla Firefox), however I don't think it is a terribly complex application (this does not mean, however, that the source code is easy to read). I think the way it works is by requesting individual images as needed from the Google server and piecing them together on the client side (i.e. in the browser). Basically what you would need to do to use their existing code is to replace all requests made to the Google server with requests to a server of your own and have the server return the corresponding images. This might not be particularly easy to do.
    In my opinion, a better approach is just to write your own custom application (probably in Java) which simply mimics the behavior of Google maps, except with your own custom images. This way, you don't have to reverse engineer an entire web application before beginning to write one.
    Writing your own application for this purpose is not as difficult as it sounds, especially not in Java. Once understanding the basics, you will not be too far off from being able to write your application.
    Let's start with the most basic program (this program would be located in a file called Program.java):
    public class Program {
       public static void main(String[] args) {
    }This program simply starts, does nothing, and exits. I will explain this piece of code line by line, but first, I would like to gauge how much you already know to figure out how best to explain this. Have you used classes in PHP before?

Maybe you are looking for

  • 10.4.10 External Hard drives, and other oddites

    Greetings, I decided to turn my Mini into my file server tonight, and connected a 160 GB hard drive via an external USB 2.0 Case, and formatted it, and then copied some 50 GB of data from another hard drive that was formatted EXT3. I then installed t

  • Quicktime not playing back correctly

    In FCP I exported Quicktime Movie. When I playback in Quicktime and manually drag to the end of the movie, it freezes and then turns black. When I go back to start and replay, the screen stays black and only plays the audio. I'm running the latest ve

  • Very Slow to Add Songs from Network Drive

    My library has reached 12,800 tracks. Because my hard drive is just about full I'm now storing music on a network drive, which is accessed wirelessly (at 54Mbps). Once the music is added to the library iTunes plays it quite happily without any lag. B

  • How can I download photoshop trial

    How can I download photoshop trial version for 30 days

  • Annoying disc eject problem

    whenever I try to open my DVD tray using the eject button, the tray will randomly choose not to open. I know I have to hold the button for a while, but even doing that, the drive will always start the eject procedure (I can tell for the noises) but s