Changeset 4da9757 in orbit for android


Ignore:
Timestamp:
08/01/13 08:26:32 (6 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, RawEEG, Servo, Tab_Interface, pyramid
Children:
0ab8242
Parents:
81fb7d8
Message:

Orbit:

  • version 1.2.2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • android/src/info/puzzlebox/orbit/OrbitActivity.java

    r55dabc5 r4da9757  
    1717import java.text.DecimalFormat; 
    1818import java.util.Arrays; 
    19 import java.util.List; 
    2019 
    2120import android.media.AudioManager; 
     
    5958import com.neurosky.thinkgear.TGDevice; 
    6059 
    61 //import com.androidplot.util.PlotStatistics; 
    62 import com.androidplot.util.PlotStatistics; 
    6360import com.androidplot.xy.*; 
    6461 
     
    329326                tv.setMovementMethod(new ScrollingMovementMethod()); 
    330327                tv.setText(""); 
    331                 appendTextAndScroll("Android version: " + Integer.valueOf(android.os.Build.VERSION.SDK) + "\n" ); 
     328                appendTextAndScroll("Android version: " + Integer.valueOf(android.os.Build.VERSION.SDK_INT) + "\n" ); 
    332329                appendTextAndScroll("Remember to set volume at maximum!\n"); 
    333330 
     
    508505                //              viewSpaceGenerateAudioWidth = LayoutParams.MATCH_PARENT; 
    509506 
     507                @SuppressWarnings("deprecation") 
    510508                int width = getWindowManager().getDefaultDisplay().getWidth(); 
    511                 int height = getWindowManager().getDefaultDisplay().getHeight(); 
     509                //              int height = getWindowManager().getDefaultDisplay().getHeight(); 
    512510 
    513511                viewSpaceGenerateAudioWidth = width / 4; // approximate center of screen 
Note: See TracChangeset for help on using the changeset viewer.