Android Open Source - ecg Activity Helper






From Project

Back to project page ecg.

License

The source code is released under:

Copyright (C) 2013 Plasty Grove <plasty.grove@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...

If you think the Android project ecg 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

/*
 * Released under MIT License http://opensource.org/licenses/MIT
 * Copyright (c) 2013 Plasty Grove/*  ww w. jav  a2  s .c o  m*/
 * Refer to file LICENSE or URL above for full text 
 */

package com.blueserial;

import android.app.Activity;
import android.content.pm.ActivityInfo;

public class ActivityHelper {
  public static void initialize(Activity activity) {
      activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
    //  activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
  }
}




Java Source Code List

com.blueserial.ActivityHelper.java
com.blueserial.GraphView.java
com.blueserial.Homescreen.java
com.blueserial.MainActivity.java
com.blueserial.MyApplication.java