/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/org/waxworlds/edam/importcontacts/Intro.java

  • Committer: edam
  • Date: 2011-03-19 20:33:09 UTC
  • Revision ID: edam@waxworlds.org-20110319203309-5dzfyqrxwk94jtin
- formatting: removed some double-indents on overrunning lines
- updated TODO and NEWS
- rewrote central logic of parser so it makes more sense, looks nicer and has a small optimisation (getting name and params from line only when necessary)
- optimised unnecessary mutliple converting of lines to US-ASCII
- re-wrote line extraction from vcards so that we can lookahead for v3 folded lines
- added support for v3 folded lines

Show diffs side-by-side

added added

removed removed

33
33
public class Intro extends WizardActivity {
34
34
 
35
35
        @Override
36
 
        protected void onCreate( Bundle saved_instance_state )
 
36
        protected void onCreate( Bundle savedInstanceState )
37
37
        {
38
38
                setContentView( R.layout.intro );
39
 
                super.onCreate( saved_instance_state );
 
39
                super.onCreate( savedInstanceState );
40
40
 
41
41
                setNextActivity( ConfigureVCF.class );
42
42
 
43
43
                TextView link = (TextView)findViewById( R.id.intro_link );
44
 
                Linkify.addLinks( link,
45
 
                        Pattern.compile( "The Import Contacts homepage" ),
 
44
                Linkify.addLinks( link, Pattern.compile( "The Import Contacts homepage" ),
46
45
                        "", null, new Linkify.TransformFilter() {
47
46
                                public String transformUrl( Matcher match, String url ) {
48
47
                                        return "http://www.waxworlds.org/edam/software/android/import-contacts";