Android Open Source - Greenhouse2.0 Main Activity






From Project

Back to project page Greenhouse2.0.

License

The source code is released under:

GNU General Public License

If you think the Android project Greenhouse2.0 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 com.masrenovable.greenhouse2dot0;
//from   w  w w  . j  av a2 s  .co m
import org.apache.cordova.*;

import android.os.Bundle;
import android.view.Menu;

public class MainActivity extends DroidGap {

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.activity_main);
    super.loadUrl("file:///android_asset/www/index.html");
  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.main, menu);
    return true;
  }

}




Java Source Code List

com.masrenovable.greenhouse2dot0.MainActivity.java
com.megster.cordova.BluetoothSerialService.java
com.megster.cordova.BluetoothSerial.java
net.tigoe.simpleserial.SimpleSerial.java