Best way to test the GPS applications

Hello everyone. I develop a GPS application and need some advice on tests. It works on the sim card and a device, but it runs in the background and after some time of inactivity not to move, that the GPS seems to fall asleep, he ceases to update. I can only produce this by circulating for a while, then stop and start driving again. This is not practical if anyone can give some tips on testing and debugging of the GPS apps?

Your app throws an exception?

You can also use the EventLogger to log messages

EventLogger.register ( myappguid , "myapp", EventLogger.VIEWER_STRING);
EventLogger.logEvent ( myappguid , mymsg, EventLogger.ALWAYS_LOG);

and ALT-LGLG to view then on your phone.  Place a large number of newspapers msgs help for debugging on a real device.

Tags: BlackBerry Developers

Similar Questions

  • Best way to test the performance of FreeNas

    Hey everybody,

    I installed VsPhere, plugged on my install FreeNas, that has a ZFS volume on him.
    And I want to test performance with the IO meter... how I can write to disk at maximum performance anyone can tell me what's the best configuration to test?

    Hello

    Visit this link: VDI Performance - using Iometer to simulate a load of office work. Atlantis computing Blog

    * If you found this note/response useful, please consider awarding points for "Correct" or "useful."

    Davoud Teimouri - http://www.teimouri.net - @davoud_teimouri

  • Best way to migrate the Apex in Production applications - how users are affected?


    Hello

    We have been migrating our apex in production applications after the opening hours to try to minimize the impact on users. Can the affected users if they use the application while migration is taken?

    It's how we migrate:

    -We export enforcement apex of the development environment. This creates a SQL file.

    -Then the SQL file is imported into the Production by using the option 'reuse application ID export file XX'

    Please let me know if there is a better way to move the application in production, and if the user isn't be affected if we during opening hours.

    Thank you

    Violeta

    Hi Violeta,

    Violeta wrote:

    We have been migrating our apex in production applications after the opening hours to try to minimize the impact on users. Can the affected users if they use the application while migration is taken?

    It's how we migrate:

    -We export enforcement apex of the development environment. This creates a SQL file.

    -Then the SQL file is imported into the Production by using the option 'reuse application ID export file XX'

    Please let me know if there is a better way to move the application in production, and if the user isn't be affected if we during opening hours.

    Yes for sure users will be get affected when you replace the current with a new app, if they use it at the same time.

    Another best way to move the application to the production (keeping the same URL of deployment) is to use the Application Alias for your URL of the App Production.

    In this way, you can import the application while users are using the old application. And then after opening hours all you have to do is delete the alias from the application of the old app and assign this alias to your new application.

    Refer to the following response: Re: versioning in Apex (the thread is on version control, but, in this reply, I have explained the deployment of Application Alias method).

    I hope this helps!

    Kind regards

    Kiran

  • What is the best way to run the report of jasper in the ADF Applications?

    Mr President.

    What is the best way to run the report of jasper in the ADF Applications?

    Concerning

    Tender Hello,

    Check out these links

    Sameh Nassar: Using Jasper report in Application of ADF (detailed)

    https://www.YouTube.com/watch?v=ezX0gdLIhs0

  • What is the best way to create the USER variable in BI applications?

    I just installled BI Apps and try to integrate EBS R12 with OBIEE 11 g

    We have the USER variable that is already defined in the RPD to BI applications.

    In the security context init EBS block, I need to set the USER variable, but when I would define it it... He said * 'USER' has already been defined in the variable "authentication." "" USER. "

    What is the best way to create the variable USER security context of EBS init block?

    (1) remove the existing USER variable and then set a new (in this case, all the places where the variable USER is getting used to the RPD would become < missing >)
    And told me that he shouldn't do.

    Let me know how it is possible.

    Thank you
    Ashish

    Disable the existing Init block and then double-click the USER variable and press NEW to create the new Init block

    Thank you

    Published by: Srini VIEREN on May 1, 2013 16:18

  • Best way to discover the top N

    Hi all

    Sorry to ask a question on Friday. I've had this issue for some time now, what is the best way to discover the first N?

    For example, how do you know top 10 Web hosts that have the highest use of CPU for a certain period of time.

    One way to do is to create a WCF application that returns topN HostCPUs order to use/period/average. When the interval is small, like the last hour, it works, but if I increase the time range from 1 day, the request will expire after 60 seconds. We have 500 + guests on this FMS. Not only we want to watch the hot servers right now, but also want to watch the hot servers say yesterday, or last month.

    Another way is to use groovy code below, when I use retrieveLatestValue to get the current value, it's fast, but if I replace it with retrieveAggregate and make the time range for the previous 24 hours, it takes a few minutes to run.

    #! HostCPUs # .getTopologyObjects (extinguish) {a, b->

    go = server. DataService.retrieveLatestValue (a 'use'). value?. AVG

    If (goes == null)

    go = 0

    VB = server. DataService.retrieveLatestValue (b, 'use'). value?. AVG

    If (vb is nothing)

    VB = 0

    VA - vb > 0? 0: 1

    } .subList (0, 10)

    Then, of course, these are not very effective. Is there a better way to get this top N list I'm looking for?

    Thank you

    Xiaoning

    Here is an example of the batch api to query the memory of the virtual machine, and then I take action on a specific period of time.

    import com.quest.nitro.service.sl.interfaces.data.IDataService;

    import com.quest.nitro.service.sl.interfaces.data.ObservationQuery;

    import com.quest.nitro.model.topology.TopologyObject;

    import com.quest.nitro.service.sl.ServiceLocatorFactory;

    Import org.apache.log4j.Logger;

    def LOG = Logger.getLogger ("batch.query.test");

    topologyObjects = new HashSet (#!) VMWVirtualMachineMemory # .topologyObjects);

    Log.info ("topology objects querying ${topologyObjects.size ()}...");

    endTime = System.currentTimeMillis ();

    startTime = endTime - (4 * 60 * 60 * 1000 L);

    IDataService dataSvc is ServiceLocatorFactory.getLocator () .getDataService ();.

    Query ObservationQuery = dataSvc.createObservationQuery ();

    query.setStartTime (startTime);

    query.setEndTime (endTime);

    Query.include (topologyObjects, "active");

    Query.include (topologyObjects, "affected");

    Query.include (topologyObjects, "zero");

    result = dataSvc.performQuery (query);

    long term = System.currentTimeMillis () - endTime;

    Log.info ("request completed in ${duration} ms.");

  • What is the best way to support the retina screens?

    Hello

    I've done recently for my custom panel UI code only, but my retina users report that everything is still pixelated (I did have the chance to find a machine of the retina to test yet myself). I had hoped to make the user interface in the code would make it works naturally, but appears not to be the case.

    In this research, I stumbled upon the users of mobile applications using FlexGlobals.topLevelApplication.applicationDPI together a target DPI, but appears not to exist in the CS Flex SDK 3.4.0 (which seems to be something Flex 4).

    What is the best way to support the retina display for my Panel? As far as I know, Flex 4 does not work with the CSXS library.

    Thank you

    Cameron

    Looks like there is no way for you to do this in Control Panel. We need to update some components to be HiDPI aware first. Stay tuned...

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • Best way to share the colors?

    Hi all

    What would be the best way to share the colors between apps? I realized the color CC only lets you set 5 colors and I have several brands that I create visuals for and I use multiple applications. What would be the best practice to share my palettes of colors between apps?

    A big thank you to all...

    Have you looked into the cloud libraries?

    Synchronize digital resources in Adobe files and apps | Creative cloud libraries

    How to get started with creative cloud libraries | Tutorials Adobe Creative Cloud

  • What would be the best way to address the issue...

    Hey all,.

    I have a Setup with several centers of installation data in the Datacenter location xml.  Now for one of these data centers, I need to submit another question or option for the customer to choose a or b, but only for the datacenter when selected.

    What would be the best way to address the issue?

    Thank you

    Steve

    Here's a good post who will guide you.

    [virtualjad.com]: vCAC dictionary of properties: customize applications for Service with dynamic Menus

  • What is the best way to move the data from the app and Server data structures?

    Hi guys,.

    I developed my application locally with Apex 4.2 and Oracle 11 g XE on Windows 7. Not far away, it is time to move the application to a server Oracle Apex. I guess that Exim is the way to go app. But what about the APA tables and data (tables/as 'customer' and 'account' created specially for the application)? I've been using a modeling tool, so I can run a DDL script to create the database server data structures. What is the best way to move the application data on the server? Is it possible to move the structures and data in a single process?

    Thank you
    Kim

    There is probably another way to get here, but in Developer SQL, on the navigation tree, expand objects until your table, right-click, and then click EXPORT... you will see all the options. It is a tedious process and it sucks IMO, but yes, it works. This is zero especially because 1) it's a table at a time, 2) If your data model is robust and has constraints and sequences and triggers, then you will need to disable all for the insert and we hope you can re-enable constraints, etc. without hitch (good luck, unless you have only a handful of tables)

    I prefer to use the oracle EXP command-line to export an entire schema, then the server target, I use IMP to import the schema. In this way, it is almost true. This makes the dirty life if you develop multiple applications in a single schema, and I felt pain - however - it is much easier to drop the tables and other objects is to create them! (thus, even if the process of EXP/IMP moved more than you wanted to "move".. blow everything you don't want on the target after the fact...)

    You can use method datapump oracle too.

    If not, what can be done, IF you have access to both servers of your instance of SQL developer (or if you can tnsping both already from the command line, you can use SQL * MORE), is to run a script that will identify the objects of your applications apex (usually by the prefix for the names of objects, such as % EBA_PROJ_ etc.) and do all the manual work for you. I've created a script that does just that so that I can pass data from dev to prod servers on a dblink. It is difficult because of the order that must be executed to disable constraints and then turn it back on and of course, more complicated if don't always precede you ALL your "objects demand '... (tables, views, triggers, sequences, functions, procs, indexes, etc.)

  • Best way to limit the iOS devices?

    What is the best way to limit the compatibility of my AIR application so that users with the iPhone/iPod 1st-3rd generation cannot download it from the app store?

    I am about to submit my AIR application for Apple app store & have designed so that it works well on iPhone/iPod 4 + and all iPads. So, I would exclude users with older iPhones/iPods of the possibility to download it.

    I searched online and a number of people suggest adding a restriction based on requiring front facing camera.

    that is, adding the following line in the info.plist file:

    <key>UIRequiredDeviceCapabilities</key><string>front-facing-camera</string>

    But, I read the posts of some people who have tried this and it worked: he did not exclude iPhone 3GS. See the last post here.

    Can anyone confirm that it is a reliable method? I understand there is a small chance Apple will reject your application based on the fact that you add an unnecessary exclusion - that is my app requires in reality a front facing camera.

    Also, I noticed that another approach is to restrict the version of the OS. If you want to restrict the minimum version of the operating system of 6.2, which should exclude iPhone/iPod 1st-3rd generation like iPhone 3GS not going only up to OS 6.1.6 I think.

    So, the solution would be to add the following in the descriptor xml file:

    <key>MinimumOSVersion</key>
    <string>6.2</string>

    The 3GS is not compatible OS7 (OS6.1.6 I think is the last) then you can simply apply OS7.

    To do this, in your , you can specify as follows:

    MinimumOSVersion

    7.0


    Edit:


    Hey Yes, I see that you've done your homework. You can choose 6.2, but there is really no reason. iPad1 is locked in OS5 so you lose (very small part of the market) but the iPad2 and up supports OS7 and iPhone 3GS cut so 4 and below you really need to specify OS7 and up to. 6.2 would work as well. If you need support iPad1 so it is not ideal.

  • What is the best way to check the data

    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Thank you
    Matt Knowles

    Published by: mattknowles on January 10, 2011 08:40

    mattknowles wrote:
    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    You can either:
    1. set up your own audit custom (as you do now)
    2 flashback Data Archive (11 g). Application for licence.
    3 version check your tables with Workspace Manager.

    >

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Unfortunately, the audit of data always takes a lot of space. You should also consider the performance, as custom triggers and Workspace Manager will perform much slower than the FDA if there is heavy DML on the table.

  • Best way to write the Pl/Sql

    Hi all
    Can someone say best written below stored proc:

    procedure missing_authorized_services is
    v_truncate_sql varchar2 (200);
    v_sql varchar2 (2000);
    BEGIN
    v_truncate_sql: = "truncate table missing_authorized_services;
    immediately run v_truncate_sql;
    commit;

    v_sql: = "INSERT into missing_authorized_services select distinct trim (service_group_Cd) as service_group_Cd, trim (service_cd) as stage_1_mg_service_request service_cd
    where (service_group_cd, service_cd) not in)
    Select distinct service_group_cd, stage_3_servcd_servgrp_dim service_cd)';

    immediately run v_sql;
    commit;

    END missing_authorized_services;


    / * I do select the table and then try to insert into another table the result set * /.

    Please help,
    Thank you
    J

    Hello

    The best way to write the PL/SQL (or any code) is by small steps.
    Start with a very simple procedure that does something (anything), just enough to make sure it works.
    Add a lot of statements of output so you can see what made the procedure. Don't forget to delete them after that trial is over.

    For example:

    CREATE OR REPLACE procedure missing_authorized_services IS
            v_truncate_sql  VARCHAR2 (200);
    BEGIN
         v_truncate_sql := 'truncate table missing_authorized_services';
         dbms_output.put_line (  v_truncate_sql
                        || ' = v_truncate_sql inside missing_authorized_services'
                        );
    END      missing_authorized_services;
    

    If you get any errors (for example, ORA-00955, because you try to give the same name to a procedure that you already use for a table), then fix the error and try again.
    When he worls perfectly, then add another baby step. For example, you can add the line

    EXECUTE IMMEDIATE v_truncate_sql;
    

    and test again.

    Do not use SQL dynamic (EXECUTE IMMEDIATE) unless you have to.
    Is there a reason to use dynamic SQL for INSERT statements?

  • Need help: best way to exchange the Ipads?

    Dear all,

    Need help a genre:

    I use Ipad Air2 and my father is using retina Ipad Mini... I gifted him before 2 years...!

    We thought to share the Ipads because he loved the biggest... Can someone guide what is the best way to swap the parameters of the iPad?

    It is by taking backup and restore from Icloud? There will be data loss? or anything else that needs attention (something that he needed to be reconfigured)?

    Any help is very appreciated!

    Make a backup of each individual iPad. Use your own accounts: How to back up your device using iCloud or iTunes - Apple Support

    Import your photos from each iPad: import pictures and videos from your iPad, iPhone or iPod touch to your computer - Apple Support

    Then do it on every iPad: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Then restore the backup in your 'new' ipads: restore your device from an iCloud or iTunes backup - Apple Support

    If the ipads have the same size of storage with the same iOS version, it should work fine. -AJ

Maybe you are looking for

  • ProBook 4530 s: key for win7 after chanhing hddd to SDS

    Hello, I'll take off my 680 GB hard drive of 250 GB ssd. I want to download cool windows home edition, as I've already preloaded on my laptop. I won't use the Hp software. I tried to download win7 from ms official page, but before I had to enter my k

  • Administrator password or power on password reset

    REO, I'm new on this suddenly my HP laptop shows enter password administrator or power on passwordI try MRE then 3 times and it shows a number in a blue boxDeactivation of the system [60272608]. Pls help me what should I do

  • The text is not clear and sharp when I scroll a document.

    In Windows 7, when you fill out a form, or what a "boxes" that you select and type something, the boxes are very moderate.  To the point, sometimes you can tell just when the area is.  Related question: when you scroll down through the text in Window

  • Account Resettting APEX

    Hi allI deleted some tables accidentally which are by default in the APEX.Is there anyway to reset my account to APEX, then everything will be like at the beginning?Or I have to delete the whole account and then create it?Thanks for helpRafal

  • Why my process has not worked

    HelloMy request Express 4.0.2.I have a button 'SUBMIT' in the region and I create an after Submit process 'update_data', I'm sure that my code is correct and I put my condition of process when the button pressed (process after Submit when this button