Mobile/Fennec/Android/CommonTips: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
== Common Tips and How-To's ==
== General coding tips ==


=== Finding relevant code ===
=== Finding relevant code ===
Line 52: Line 52:
=== Lint ===
=== Lint ===
We provide some support for linting tools. See [[Mobile/Fennec/Android/Lint]] for a list of linting tools we support and expect to be run.
We provide some support for linting tools. See [[Mobile/Fennec/Android/Lint]] for a list of linting tools we support and expect to be run.
== Strings==


=== Add an Android string resource ===
=== Add an Android string resource ===
Line 74: Line 76:


Why is this necessary?  Mozilla's localization process only recognizes new string entities, not modified string entities.  (The old, unused entity is automatically ignored and eventually deleted.)
Why is this necessary?  Mozilla's localization process only recognizes new string entities, not modified string entities.  (The old, unused entity is automatically ignored and eventually deleted.)
== Testing ==


=== Add a new Robocop test ===
=== Add a new Robocop test ===
Line 88: Line 92:


See also some tips on writing [[Mobile/Fennec/Android/UITest|UITest]]s, or you can read about [[Mobile/Fennec/Android/Testing|Testing on Firefox for Android]].
See also some tips on writing [[Mobile/Fennec/Android/UITest|UITest]]s, or you can read about [[Mobile/Fennec/Android/Testing|Testing on Firefox for Android]].
== Other ==


=== Copy a profile from your phone ===
=== Copy a profile from your phone ===
Confirmed users
975

edits

Navigation menu