Watch Build the Pumpjack Pro Sample App Webinar
Results 1 to 2 of 2

Thread: PhoneGap app restarts when docked or un-docked in truck mount - PeopleNet

  1. #1
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    253

    Default PhoneGap app restarts when docked or un-docked in truck mount - PeopleNet

    One of PeopleNet's products is an Android tablet that has a docking station for trucks.

    My AA PhoneGap app can be USB plugged or un-plugged without any issues.

    However, if the tablet is docked or un-docked, the AA PhoneGap app restarts as if its icon were tapped!

    It is not a battery event, and Android has an android.intent.ACTION_DOCK_EVENT that is not handled or handled incorrectly in PhoneGap.

    Problem: What do I do so that the PhoneGap app will ignore that event?

    Apparently it defaults to RESTART as its response.

    I don't have this problem on any non-docking tablets.

    https://www.peoplenetonline.com/wp-c...compressed.pdf
    Last edited by CarlMPearson; 05-20-2017 at 04:11 PM.
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

  2. #2
    Member CarlMPearson's Avatar
    Real Name
    Carl M. Pearson
    Join Date
    Nov 2009
    Location
    Dallas, TX
    Posts
    253

    Default Re: PhoneGap app restarts when docked or un-docked in truck mount - PeopleNet

    I need to find a PhoneGap PlugIn for docking events.

    Or a starter PlugIn for PhoneGap, and I'll muddle through.

    PhoneGap app restarts whenever a DOCK_EVENT occurs.
    Carl ~ Dallas, TX
    I'm so old that pool balls came with Roman Numerals

Similar Threads

  1. Concrete Truck App
    By pcaspa in forum Tablet-Optimized Form Capabilities Beta
    Replies: 1
    Last Post: 12-08-2015, 01:09 PM
  2. Docked ajax pop up window problem
    By richardurban in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 06-19-2015, 07:13 AM
  3. A LTR & RTL docked panels within a panelayout header
    By bob9145 in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 05-21-2015, 11:47 AM
  4. Docked Panel Controller Buttons - button is lost
    By JPMPA in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 08-25-2014, 04:14 PM
  5. v11 still lags using property docked panel
    By fddizon in forum Alpha Five Version 11 - Desktop Applications
    Replies: 0
    Last Post: 11-06-2011, 08:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •