mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
59a05262a1
ImportAllTracks is essentially just a modification of ExportAllTracks that uses the existing GpxImporter to import all GPX files found in /sdcard/MyTracks/gpx. So that the import functionality can always be accessed, the MyTracks Activity's MenuManager is altered so that the Tracks button shows regardless of whether there are any tracks in the database (ImportAllTracks is launched by a button in the lower right of the MyTracksList activity). A Toast message shows if no GPX files are found; this serves as a hint to users on where to put GPX files for import so that this addition should be discoverable and useable without documentation. Im
25 lines
1.3 KiB
XML
25 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<launchConfiguration type="com.android.ide.eclipse.adt.debug.LaunchConfigType">
|
|
<intAttribute key="com.android.ide.eclipse.adt.action" value="0"/>
|
|
<stringAttribute key="com.android.ide.eclipse.adt.commandline" value=""/>
|
|
<intAttribute key="com.android.ide.eclipse.adt.delay" value="0"/>
|
|
<booleanAttribute key="com.android.ide.eclipse.adt.nobootanim" value="false"/>
|
|
<intAttribute key="com.android.ide.eclipse.adt.speed" value="0"/>
|
|
<booleanAttribute key="com.android.ide.eclipse.adt.target" value="false"/>
|
|
<booleanAttribute key="com.android.ide.eclipse.adt.wipedata" value="false"/>
|
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
|
<listEntry value="/MyTracks"/>
|
|
<listEntry value="/MyTracks/AndroidManifest.xml"/>
|
|
</listAttribute>
|
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
|
<listEntry value="4"/>
|
|
<listEntry value="1"/>
|
|
</listAttribute>
|
|
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
|
|
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
|
|
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
|
|
</listAttribute>
|
|
<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/>
|
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MyTracks"/>
|
|
</launchConfiguration>
|