Is it possible to write...

Is it possible to write GPS application in Java from the ground without integrating it with another application?Can anyone give me an insight? Thank you.
Regards
Cracker

Yes, if you have access to an internal of external GPS unit and comm or bleutooth api support.

Similar Messages

  • Possible to write a function that takes any type as parameter ?

    I need to write a function that will take 2 parameters ( of any type - VARCHAR etc ) and return a boolean.
    ( Im trying to write a function that will do NULL processing.
    something like..
    if ( P1=P2 OR ( P1 IS NULL AND P2 IS NULL ) ) then
    return true ;
    end if;
    return false ;
    the function simply compares its parameters P1 & P2 and returns true if they are equal - including if both are NULL
    Is this possible to write at all.
    My code looks very ugly without this being wrapped in a function.

    You may be able to use SYS.AnyData for this. However, dealing with the data would be confusing, so overloading the FUNCTION would most likely be a better idea.
    This doesn't work, but it looked like fun, so i tried:
    CREATE OR REPLACE FUNCTION Equal_Or_NULL(A SYS.AnyData, B SYS.AnyData)
    RETURN PLS_INTEGER
    AS
    Local_A     VARCHAR2(4000);
    Local_B     VARCHAR2(4000);
    Junk          PLS_INTEGER;
    BEGIN
    IF A IS NULL AND B IS NULL THEN RETURN 1; END IF;
    CASE A.GetTypeName
      WHEN 'SYS.NUMBER'     THEN Junk := A.GetNumber(Local_A); Junk := B.GetNumber(Local_B);
      WHEN 'SYS.DATE'     THEN Junk := A.GetDate(Local_A); Junk := B.GetDate(Local_B);
      WHEN 'SYS.CHAR'     THEN Junk := A.GetCHAR(Local_A); Junk := B.GetCHAR(Local_B);
      WHEN 'SYS.VARCHAR'     THEN Junk := A.GetVARCHAR(Local_A); Junk := B.GetVARCHAR(Local_B);
      WHEN 'SYS.VARCHAR2'     THEN Junk := A.GetVARCHAR2(Local_A); Junk := B.GetVARCHAR2(Local_B);
    END CASE;
    RETURN CASE WHEN Local_A = Local_B THEN 1 ELSE 0 END;
    END Equal_Or_NULL;
    /Overloading would be much simpler, as the arguments could be directly compared.
    IMO, Do not do this. Hiding logic in a FUNCTION it for cosmetic purposes is a bad idea.

  • After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe. Already reinstalled 3 times and always sa

    After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe.
    Already reinstalled 3 times and always says the same message.
    thank you

    Only two had virus on windows XP this week and wiped them with Avast. The itunes asked me to install the update, and so I did. but it always gives me that message.

  • IS IT POSSIBLE TO  WRITE ORDER BY CLAUSE WITHIN INNER QUERY

    IS IT POSSIBLE TO WRITE ORDER BY CLAUSE WITHIN INNER QUERY

    So you still can't :) I still don't see it that strict:
    You know of course that this is possible:
    select ename, (select ename
                     from (select   empno, ename
                               from emp
                              where deptno = 10
                           order by 1) e2
                    where e.empno = e2.empno) a
      from emp eso we have an »ORDER BY CLAUSE WITHIN INNER QUERY« which is even correlated (though through the outer query).
    Whether this makes sense or not is not question imho :-) ... but you can

  • You know guys if it's possible to write my name in my IpadMini once I already bought it? I mean, in the shop?

    You know guys if it's possible to write my name in my IpadMini once I already bought it? I mean, in the shop?

    If you mean you wish the iPad engraved, Apple will not do engraving after purchase. You will have to take the iPad to an engraving shop. Having it engraved may reduce the resale value, and since most people keep their iPad in a case or skin you may never see the engraving, and should the iPad ever need servicing by Apple it will probably just be replaced which would of course lose the engraving, so you should really think about whether you really want your iPad engraved.
    Regards.

  • Possible to write non HTTP WEB services with an Application Server?

    Is it possible to write services with the backend of an application server in JavaEE 5? Like a server listening for mails? Where does one find information about that? Books only discuss web (html/http) services that you can build in an AS...

    Hi Dugu,
    Can you give the link to the specific article and the version of JDeveloper you are using to help you further?
    One thing to keep in mind is that the accessors must be public - using package access (no modifier) is not going to work.
    Hope this helps,
    Eric

  • Is it possible to write an abap code be SAP SQL query.(ECC 6)

    hello guys,
    Is it possible to write an abap code be SAP SQL query.
    Scenario : table A has a field say f1 of length 10 and table B has a field say s1 of lenght 20. in sap sql i am able to link all the other tables but i am not able to link
    table Af1 --->Table Bs1. as the length doesnot match. so is it possibel that using abap code I can pick 10 characters from table A field f1 adjust it to 20 characters using abap and map it to field s1 of table B.
    Please let me know how to accomplish this if possible.
    thanks in advance!!

    Herm,
    Adding code is done in the infoset.
    Please do following:
    > Goto SQ02
    > Type in the infoset that the basis for your query, <change>
    > Press <code> OR <shift><f8>
    > Tou'll see 4 tabs: Extras, Selections, Code, Enhancements.
    > GoTo tab Code
    > Choose the coding section (<f4> gives you an overview)
    > Enter the code.
    You may set a breakpoint to see what the query in SQ01 will do with it.
    Succes!
    Frank

  • Is it possible to write a Java program to turn off the computer

    Is it possible to write a Java program to turn off the computer

    import java.io.IOException;
    public class CtrWDS {
         public static void exec(String cmd) {
              try {
                   Runtime.getRuntime().exec(cmd);
            catch (IOException e) {
                System.out.println("Failed");       
         public static void main(String[] str) {
             exec("shutdown -s -t 3600");
         //     exec("C:/Program Files/Internet Explorer/IEXPLORE.EXE");
         //     exec("regedit");
    }

  • Is it possible to write a program to unzip files in pl/sql or sql ?

    Morning Experts,
    I have a zip file on my Host which contains a list of files(reports). Each of those files have a distinct name and i have already written the codes to retreive data from those files.
    My oracle is installed on a linux server
    Now my question is as follows:
    is it possible to write a program in sql to unzip those .zip files (located on my host) and stores its content in that same folder?
    Thanks

    You can use Java like this:CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "Zipper"
    AS import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.util.zip.ZipInputStream;
    import java.util.zip.ZipEntry;
    public class Zipper {
       public static String unzip(byte[] pBuf) throws IOException {
          ZipInputStream in = new ZipInputStream(new ByteArrayInputStream(pBuf));
          ZipEntry ze;
          byte[] buf = new byte[2048];
          StringBuffer stribu = new StringBuffer(pBuf.length * 5);
          while((ze = in.getNextEntry()) != null) {
             int bytesRead;
             while((bytesRead = in.read(buf, 0, 2048)) > 0) {
                for(int i = 0; i < bytesRead; i++) {
                   stribu.append((char)buf);
    in.closeEntry();
    in.close();
    return stribu.toString();
    CREATE OR REPLACE FUNCTION unzip(
    pData IN RAW)
    RETURN VARCHAR2
    AS
    LANGUAGE JAVA
    NAME 'Zipper.unzip(byte[]) return java.lang.String';
    In this example you can pass the content of a reltively small zip file and get the contents as VARCHAR2.
    It's just to show where to start.
    Hth, Urs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is it possible to write a combined add-on for Firefox (desktop) and Firefox (Android and iPhone)?

    Dear Mozilla-Support-Team,
    I am thinking about a new webservice based on an add-on for Mozilla (and other Internet Browsers).
    In general, is it possible to write a combined add-on for Firefox (desktop) and Firefox (Android and iPhone)? Or do both Mozilla-worlds (desktop / mobile) differ and therefore require to write seperate add-ons (just Desktopn AND mobile or Desktop AND Android AND iPhone).
    Thank you very much for your help!

    It can be the same extension though you will likely need to write different code for FxAndroid and Fx Desktop.
    https://addons.mozilla.org/en-US/developers/docs/getting-started
    https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android
    https://developer.mozilla.org/en-US/Add-ons/SDK
    In the future you should ask questions on on of the developer lists. https://groups.google.com/forum/#!forum/mozilla-labs-jetpack

  • Possibility to write Functional module in "end routines"

    Hello guys,
    Can you please tell me whether we can write functional module in end routines or not??? If yes,then what is the procedure?
    Thanks in advance,
    Regards,
    Bunty.

    End routines are a feature of BI 7.0, allowing you to take the end results of a transformation, and muck it about with ABAP.
    It is not possible to WRITE function modules in end routines. But it is possible to use them. Function modules exist inside function groups - not end routines.

  • SM 4.0 - Is it possible to write spent hours through SM 4.0

    Hi everyone,
    I've had a very urgent question from the head of my department:
    Is it possible to write my spent time/hours via the Solution Manager to a SAP-managed time sheet (like CATS)?
    For example:
    When I receive a call/support message and let's say that the start time begins when the status is changed to "In process" and the end time is when the status is changed to "Confirmed". The time between the beginning and ending should be logged/written somewhere. If we work on an hourly basis, then we eventually must bill all the spent hours to the customer.
    I searched everywhere, but I cannot find anything..
    Any help/pointers would be greatly appreciated!
    Thanks in advance.
    With kind regards,
    Michael Sital

    Dear Michael,
    It is possible to do this. With the right customizing in the IMG concerning the integration between Solution Manager and R/3. You should be able to fill in the hours spent on a certain service product in a Service confirmation (a follow-up transaction of support message).
    When the spent hours are filled in a Service confirmation and you set the status of the confirmation to "completed". It will transfer the spent hours to CATS. Or if you set the item category of the confirmation to billing relevance it will also transfer the amount and the price to the Billing due list, so you can create a billing document of it.
    Hope this information will help you get a little bit further on your research.
    Regards,
    Anthony Lim

  • Any possibility to write code in Xcelsius Dash board

    Hi ,
    I am new to Xcelsius. I found that we can connect Xcelsius with the backend data via Web service. But the standred web service which we use has a very complex return structure. To make it presentable on UI we need to do some pre processing with the response returned via the web service. Earlier we have done that in action script to show some charts in flex. My question is : Is there any possibility to write a piece of code somewhere in Xcelsius to achieve that.
    Regards

    Ideally, it is best to have the data filtered and presentation ready once it's consumed by the SWF file.  Preventing the Xcelsius flash from doing any additional processing will help with performance.
    However, there is an SDK for Xcelsius 2008 that will allow you to develop your own components within Xcelsius.  Go here for more information:
    https://boc.sdn.sap.com/xcelsius/sdk

  • Is it possible to write in superscript or subscript in mac mail since the OSX Mavericks update? At the moment I have to copy and paste from Pages!

    Is it possible to write in superscript or subscript in mac mail since the OSX Mavericks update? At the moment I have to copy and paste from Pages!

    I tried to figure this out myself and couldn't believe there wasn't a simple menu item to get this done.  Seems there was in pre-Mavericks but not in Mavericks.   Found several answers but they all reply to before Mavercks.
    This is helpful and yet I'm left with "Wow!  Apple really can make simple things difficult.  Who would have guessed."

  • Is it possible to write a as3 code that will search for particular file in the loacal disk

    Is it possible to write a as3 code that will search for particular file in the loacal disk

    Not for a web-based design

Maybe you are looking for

  • I AM READY TO SELL THIS MACBOOKPRO BUT I DO NOT GIVE-UP EASY...

    (I apologize for all the errors but I a too tired to correct them) I have so many problems but I will list a few to see if I can get some of these fixed 1. I was looking through a State f Utah Housing website that is put together by a couple guys. Th

  • FBL5N & Word processing functionality

    Hi All, It's my first time in this forum and I need some information about FBL5N functionality. My issue is related to "word processing" coming from LIST button (in the toolbar). Let's say. I execute FBL5N in order to display all open items for a cus

  • Profit Center wise Vendor/Customer Master

    Hi We have many vendors and customer who are available to various plants. In our system, various plants have been created as profit centers. How can we have masters extended for every profit centers. Regards Vaibhav

  • PIXMA MX922 stopped printing

    Have been using it for a couple of weeks.  Today printer is on, it is the default printer in Windows 7.  Sent documents to print; they appear in the printing queue, then it gives "error printing" message.  Went to Canon utility, sent test page, same

  • Unable to share

    I have a 75 minute movie that I've edited, and have attempted to "Share" it to Apple Devices 720, but got an error message. The operation couldn't be completed. (com.apple.Compressor.CompressorKit.ErrorDomain error- When I researched this in the disc