Пример #1
0
 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
   Shared.setOptionAtribute(
       getString(R.string.ReverseMonthkey),
       getString(R.string.boxColour),
       (String) parent.getItemAtPosition(pos),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
Пример #2
0
 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
   Shared.setOptionAtribute(
       getString(R.string.lighthouseflashkey),
       getString(R.string.flashcount),
       (String) parent.getItemAtPosition(pos),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
Пример #3
0
 @Override
 public void Invoke(View arg0, Object... arg1) {
   SeekBar bar = (SeekBar) arg0;
   Shared.setOptionAtribute(
       getString(R.string.lighthouseflashkey),
       getString(R.string.flashSize),
       String.valueOf(bar.getProgress()),
       getApplicationContext());
 }
Пример #4
0
 @Override
 public void Invoke(View arg0, Object... arg1) {
   Shared.setOptionAtribute(
       getString(R.string.FontSize),
       getString(R.string.current),
       getString(R.string.small),
       getApplicationContext());
   Options.getCurrentInstance().initAll(true);
 }
Пример #5
0
 @Override
 public void Invoke(View arg0, Object... arg1) {
   SeekBar bar = (SeekBar) arg0;
   Shared.setOptionAtribute(
       getString(R.string.DistractionTargetSpeed),
       getString(R.string.Speed),
       String.valueOf(bar.getProgress()),
       getApplicationContext());
 }
Пример #6
0
 public void onTextChanged(CharSequence s, int i, int i1, int i2) {
   try {
     Shared.setOptionAtribute(
         getString(R.string.lighthouseflashkey),
         getString(R.string.sequence),
         s.toString(),
         getApplicationContext());
   } catch (NullPointerException e) {
     System.out.println(e);
   }
 }