Uninstall / Reinstall a Package on Android

With a new ‘feature’ on SUP, we have to uninstall/reinstall the clients whenever we need to work with a different server – or just update the server with a new build.
A little note about the steps for an Android device (the original Nexus -1 here).

  1. Make sure the USB driver is really talking to the device,
    C:>  adb usb
  2. Grab the list of packages on the device. This both gets the correct name and further confirms you are really talking to the device.
    C:> adb shell ls data/data
  3. Uninstall the packages of interest.   For me they are:
    C:> adb uninstall  com.sybase.workflow
    C:> adb uninstall  com.sybase.dataprovider
  4. Install the updated packages.
    C:> adb install C:tmp\SybaseDataProvider.apk
    C:> adb install C:tmp\Workflow.apk

Update for SUP 2.2:
The  package is now named:  com.sybase.hwc

Now I can set the workflow password and set my relay server configuration.
BTW – yes, for physical devices we are outside the firewall, so we all go through “Sybase Hosted Relay Server” to the local test server inside the firewall (just a couple cubicles over…)

OH – don’t forget – that for Android – you can’t (yet) set the server name using the regular DNS name, but you must use the IP-Address…

Advertisements