Find Battle Protocol implementation

- Added find battle protocol implementation
- Modified the formatListView programmatical selection in order to make it trigger onitemclick
- Fixing a problem with setDisplayTeam
- Dirty fixing a problem with hiddenpower move (|request| message from server 'hiddenpower'+type+'60' ->non existing move)

- TODOS:
      - Handle popup message correctly (when a team is incorrect)
      - Have some waiting dialog while the search is running


Damnit autocompletion
On 7 Dec 2014 05:13, "Nam Thai" <notifications@github.com> wrote:

> In app/src/main/java/com/pokemonshowdown/data/BattleFieldData.java:
>
> > @@ -72,7 +72,16 @@ public void generateAvailableRoomList(String message) {
> >          LocalBroadcastManager.getInstance(mAppContext).sendBroadcast(new Intent(MyApplication.ACTION_FROM_MY_APPLICATION).putExtra(MyApplication.EXTRA_DETAILS, MyApplication.EXTRA_AVAILABLE_FORMATS));
> >
> >      }
> > -
> > +    public Format getFormat(String formatName) {
> > +        for (FormatType mFormatType : mFormatTypes) {
>
> mFormatType is not a member variable btw
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/NamTThai/PokemonShowdownAndroidClient/pull/50/files#r21421757>
> .
>