Android Open Source - DG-SVG_with_OpenGL Main Activity






From Project

Back to project page DG-SVG_with_OpenGL.

License

The source code is released under:

Apache License

If you think the Android project DG-SVG_with_OpenGL 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.dividedgames.svg;
//ww w .j a v  a2 s .co  m
import android.app.Activity;
import android.os.Bundle;

/**
 * @author Jonathan Haslow-Hall
 */
public class MainActivity extends Activity{
  
  // The render view to draw the svg 
  private RenderView mRenderer;
  
  public MainActivity(){
    super();
  }
  
  @Override 
  public void onCreate(Bundle savedInstanceState){
    super.onCreate(savedInstanceState);
    
    // Create a new renderer
    mRenderer = new RenderView(this);
    // Set the render view as the default view 
    setContentView(mRenderer);
  }
}




Java Source Code List

com.dividedgames.svg.MainActivity.java
com.dividedgames.svg.RenderView.java
com.dividedgames.svg.Sprite.java
com.dividedgames.svg.io.FileHelper.java
svg.android.ParserHelper.java
svg.android.SVGParseException.java
svg.android.SVGParser.java
svg.android.SVG.java