Select to view content in your preferred language

deploy task to a mobile project

2438
1
10-25-2012 11:44 AM
DavidAshton
Frequent Contributor
I'm super green with Mobile and all I'm trying to do is walk through the "HelloWorld" sampel task for Win Tablet

http://resources.arcgis.com/en/help/windows-mobile-sdk/concepts/index.html#/Hello_World_Task/01sp000...

I'm following the walk through - http://resources.arcgis.com/en/help/windows-mobile-http://resources.arcgis.com/en/help/windows-mobil...

Using the walk through I'm able to get to the point where I need to drop my .dll into the windows application bin folder or the applicaiton extension folder.

The directions state

Copy the assembly HelloWorldTask.dll to the Windows Application bin folder or the application extensions folder.â?¢Location 1: <Install Dir>\ArcGIS\Mobile10.0\bin
â?¢Location 2: C:\Documents and Settings\All Users\Application Data\ESRI\ArcGIS Mobile\Extensions\ (for Windows XP); C:\ProgramData\ESRI\ArcGIS Mobile\Extensions\ (for Windows Vista or 7)

Note:

The mobile installer does not create the extensions folder; you need to manually create this folder if you want to deploy your extension assembly at this location.


O.K I'm using a windows 7. For step one I can't find the directory it wants me to find so I'm using:
C:/Users/myname/AppData/Local/ESRI/ and then I see a MobileProjectCenter folder. I'm placing the .dll here and creating a Extensions for inside with the .dll inside that.

For step 2 for windows 7 - C:\ProgramData\ESRI\ArcGIS Mobile\Extensions - once again I don't have this directory. - I have C:/Program Files (86x)/ArcGIS/Mobile3.1/bin - I'm placing the .dll here and creating a Extensions for inside with the .dll inside that.


The documentation keeps mentioning Mobile10.0 folders but my applicaiton, folders, and version is 3.1.

When I launch the Mobile Project Center I don't have my "helloworld" task and need help.

Thanks
Dave
0 Kudos
1 Reply
KiahWarren
Emerging Contributor
DAshton I do not have an answer for you, but I am having a very simular problem.

like DAshton I am also trying to work with the ArcGIS Mobile sample code (specifically the extensions) in Windows 7. I have even tried to add the 3.1 version of the AppMenuExtension sample dll files. Like DAshton, I have had to CREATE the directory that ESRI has guided us to use. These directories I have included below.

Deploying custom tasks or extensions
Steps:
        The assembly for MPC should be copied to:
            For Windows 7 and Windows 8 machines: C:\ProgramData\ESRI\MobileProjectCenter\Extensions
            For Windows XP machines: C:\Documents and Settings\All Users\Application Data\ESRI\MobileProjectCenter\Extensions
        The assembly with the implementation for the field applications should be copied to:
            For Windows 7 and Windows 8 machines: C:\ProgramData\ESRI\MobileProjectCenter\Extensions\Win32 if your task/extension runs in Windows devicesor notebook, or C:\ProgramData\ESRI\MobileProjectCenter\Extensions\WinCE if your task/extension runs in Windows Mobile device.
            For Windows XP machines: C:\Documents and Settings\All Users\Application Data\ESRI\MobileProjectCenter\Extensions\Win32 folder if your task/extension runs in Windows devices or notebook, or C:\Documents and Settings\All Users\Application Data\ESRI\MobileProjectCenter\Extensions\WinCE folder if your task/extension runs in Windows Mobile devices


My question is: Are these directories the ones we should be using with mobile 3.1 for customizing extensions and tasks???? If so why would my extensions not be picked up in MPC? If not, where should we be putting our dll files so they can be accessed by the MPC???

Ultimately my goal here is to use customization to auto-increment a sampleID field.

If anyone has any insight on this, or any other tips about customizing in 3.1 It would be greatly appreciated.
0 Kudos