Tabnine Logo
LocationPreferences.format
Code IndexAdd Tabnine to your IDE (free)

How to use
format
method
in
it.tidalwave.mobile.location.LocationPreferences

Best Java code snippets using it.tidalwave.mobile.location.LocationPreferences.format (Showing top 3 results out of 315)

origin: it.tidalwave.bluebill/bluebill-mobile-android

 public void renderTo (final @Nonnull TextView textView, @Nonnull Object... extra) 
  {
   final StringBuilder builder = new StringBuilder();
   builder.append(generalPreferences.get().formatDateAndTime(observation.getDate(), "<b>", "</b>"));
   final Location location = observation.getLocation();
   if (location != null) // shouldn't happen, but it does because of various bugs
    {
     builder.append("<br>");
     builder.append(location.getDisplayName());
     try
      {
       final Range range = location.as(Range);
       builder.append(String.format("<br><small>%s</small>", locationPreferences.get().format(range)));
      }
     catch (AsException e)
      {
       // range not available, never mind
      }
    }
   textView.setText(Html.fromHtml(builder.toString()));
  }
}
origin: it.tidalwave.bluebill/it-tidalwave-bluebill-mobile-observation

buffer.append(" - ").append(locationPreferences.format(location.as(Range)));
origin: it.tidalwave.bluebill/bluebill-mobile-android

etCoordinate.setText(locationPreferences.format(range));
btRecomputePlace.setEnabled(true);
it.tidalwave.mobile.locationLocationPreferencesformat

Popular methods of LocationPreferences

  • getCriteria
  • isReverseGeocodingEnabled

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getExternalFilesDir (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now