tweaks to notices
- new notice when entering info pane (sharing/navigation) - mention NFC in general how-to - add some punctuation Fixes #750
This commit is contained in:
parent
bb5c6ea6f6
commit
b80c4fc7ef
@ -66,9 +66,11 @@
|
||||
• Navigation: swipe from the left edge of your screen (or click the app icon) to evoke the Navigation Drawer.
|
||||
Click the app icon again to return to the map.<br><br>
|
||||
• Layers/Highlights: swipe from the right edge of your screen (or click the layer-chooser icon in the ActionBar)
|
||||
to evoke the Layer Drawer<br><br>
|
||||
• You can add official plugins in the settings<br><br>
|
||||
• For external plugins please have a look at the <a href="http://iitc.jonatkins.com/?page=faq#mobile-plugins">FAQ]]>
|
||||
to evoke the Layer Drawer.<br><br>
|
||||
• You can quickly send the current portal link/permalink to another device if both devices support NFC (hold
|
||||
both devices back-to-back and tap the screen to beam the map to the other device).
|
||||
• You can add official plugins in the settings.<br><br>
|
||||
• For external plugins please have a look at the <a href="http://iitc.jonatkins.com/?page=faq#mobile-plugins">FAQ.]]>
|
||||
</string>
|
||||
<string name="notice_info">
|
||||
<![CDATA[Hint: Alternative ways to open the info screen:<br><br>
|
||||
@ -88,6 +90,17 @@
|
||||
• move *.user.js files there<br>
|
||||
• plugins should be listed above the official plugins]]>
|
||||
</string>
|
||||
<string name="notice_sharing">
|
||||
<![CDATA[With <em>Share portal</em> you can:<br>
|
||||
• send the portal link to other people<br>
|
||||
• view the selected portal\'s position in another app<br>
|
||||
• open the portal link in a webbrowser<br>
|
||||
<br>
|
||||
Hint: By selecting Google Maps (or any other installed navigation software), you can quickly navigate to the
|
||||
selected portal.<br>
|
||||
<br>
|
||||
These hints also apply for the <em>permalink</em>.]]>
|
||||
</string>
|
||||
|
||||
<string name="pref_ui_cat">UI</string>
|
||||
<string name="pref_misc_cat">Misc</string>
|
||||
|
@ -242,6 +242,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
|
||||
public void switchTo(final Pane pane) {
|
||||
mPane = pane;
|
||||
|
||||
if (pane.equals(Pane.INFO)) mNotificationHelper.showNotice(IITC_NotificationHelper.NOTICE_SHARING);
|
||||
updateViews();
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,8 @@ public class IITC_NotificationHelper {
|
||||
public static final int NOTICE_INFO = 1 << 1;
|
||||
public static final int NOTICE_PANES = 1 << 2;
|
||||
public static final int NOTICE_EXTPLUGINS = 1 << 3;
|
||||
// next one would be 1<<4; (this results in 1,2,4,8,...)
|
||||
public static final int NOTICE_SHARING = 1 << 4;
|
||||
// next one would be 1<<5; (this results in 1,2,4,8,...)
|
||||
|
||||
private final Activity mActivity;
|
||||
private final SharedPreferences mPrefs;
|
||||
@ -48,6 +49,9 @@ public class IITC_NotificationHelper {
|
||||
text = String.format(text, Environment.getExternalStorageDirectory().getPath()
|
||||
+ "/IITC_Mobile/plugins/");
|
||||
break;
|
||||
case NOTICE_SHARING:
|
||||
text = mActivity.getString(R.string.notice_sharing);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user