Android Code Snippet Thread usage

Discussion in 'Code Snippets' started by stevel05, Mar 27, 2014.

  1. stevel05

    stevel05 Expert Licensed User

    This is a new forum category for the benefit of us all. It is intended as a place to share code snippets that you feel may be of interest to other developers. It could be a couple of lines, or a class.

    We want to make this as easy to access as possible to which end Erel has agreed to implement parsing a Tag: line and boosting Forum search results based on it's content.

    This is B4a only for now, although any code that is not UI related should work on B4j, provided any required libraries are available. If it takes off, we may get a B4j forum too.

    You can see the thought process behind this forum in the thread here.

    In order that the samples are as easy to find as possible, the following is the suggested content:

    It is intended that the Tag line is also used in postings in the general forums if the poster feels that the code may be useful to more than just the person that asked the question, this should make them easier to find. The onus to do this is on the poster, it will benefit everybody if we can remember to do it. If I forget, please feel free to nudge me in the appropriate thread to add tags.

    If you find a piece of code that is in an old thread that you feel is worthy being made available, then that too can be posted in this forum. In which case please include the following in the post.
    Please check that the code has not already been added

    This is an experiment for all of us, please feel free to contribute code or comments.

    If I've missed and information from this post, please let me know.
     
    Last edited: Mar 29, 2014
    MarcoRome, mangojack, JordiCP and 2 others like this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Small tip: If you copy syntax highlighted code from one post to another the spaces are removed due to a bug in the forum editor (at least on Firefox).

    You can fix it by pressing on the wrench icon:
    [​IMG]

    Now the editor will be in "plain" mode and will not break the code format.
     
    MarcoRome and stevel05 like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice