Android Open Source - Profiterole Dictionary Screen






From Project

Back to project page Profiterole.

License

The source code is released under:

Apache License

If you think the Android project Profiterole listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package profiterole.android;
/*from  w  w w.java  2s .co  m*/
import com.profiterole.android.R;

import android.app.Activity;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.widget.TextView;

public class DictionaryScreen extends Activity {

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.dictionary_screen);
  }
  
  @Override
  public void onResume() {
    super.onResume();
    
    Bundle b = getIntent().getExtras();
    
    // TODO make sure b is not null
    String map = b.getString(SearchScreen.WORDS_TO_OCCURENCES_MAP);
  
    TextView resultText = (TextView) findViewById(R.id.dictionaryTextView);
    resultText.setMovementMethod(new ScrollingMovementMethod());
    resultText.setText(map);
  }
}




Java Source Code List

profiterole.android.DictionaryScreen.java
profiterole.android.SearchScreen.java
profiterole.api.MapReduce.java
profiterole.api.OnUpdateStatusCallback.java
profiterole.api.Waffle.java
profiterole.mapreduce.MapCallback.java
profiterole.mapreduce.MapReduceService.java
profiterole.mapreduce.Reducer.java
profiterole.mapreduce.Splitter.java
profiterole.samples.Driver.java
profiterole.samples.PrintPromptListener.java
profiterole.samples.REPL.java
profiterole.waffle.InvertedIndex.java
profiterole.waffle.WaffleBackend.java
profiterole.waffle.WaffleImpl.java
profiterole.waffle.WaffleUtils.java