Lucas Souza

Online notepad

  • Android Change Orientation Error

    • 23 Apr 2012
    • 0 Responses
    •  views
    • Edit
    • Delete
    • Tags
    • Autopost

    To avoid Android change orientation to call onCreate again, set in your manifest file

    <activity android:name=".ActivityName"
                android:configChanges="orientation|keyboardHidden"></activity>

     

    • Tweet
  • PhpStorm and CodeSniffer

    • 22 Jul 2011
    • 0 Responses
    •  views
    • codesniffer php phpcs phpstorm
    • Edit
    • Delete
    • Tags
    • Autopost

    A hint for codesniffer and phpstorm users:

    Go under File>>Settings

    On the search bar type: External tools.

    Add a command for phpcs.with --report=emacs in command line and add an output filter like $FILE_PATH$:$LINE$:$COLUMN$

    • Tweet
  • Jquery Mobile Tips

    • 21 Jul 2011
    • 0 Responses
    •  views
    • ajax jquery mobile
    • Edit
    • Delete
    • Tags
    • Autopost

    When using ajax to reload page components like buttons and inputs, jqMobile doesn't redesign them. To ask jquery to redesign items, just call

    $("#page_id").page()

    • Tweet
  • Android

    • 9 Feb 2011
    • 0 Responses
    •  views
    • Edit
    • Delete
    • Tags
    • Autopost
    Testing posting from android
    • Tweet
  • About

    Internet accepts all

    650 Views
  • Archive

    • 2012 (1)
      • April (1)
    • 2011 (4)
      • July (3)
      • February (1)

    Get Updates

    Subscribe via RSS