Last active
January 20, 2017 18:50
-
-
Save skeeph/39354429563a17011e6f894f98abaed5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CameraDemo { | |
Button buttonClick; | |
ShutterCallback shutterCallback; | |
PictrueCallback rawCallback; | |
PictrueCallback jpegCallback; | |
protected void onCreate(Bundle SavedInstance); | |
protected void onStart(); | |
protected void onStop(); | |
protected void onDestroy(); | |
public Boolean onCreateOptionsMenu(Menu menu); | |
} | |
package android.hardware; | |
class Camera{ | |
public Camera open(int CameraId); | |
public Parameters getParameters(); | |
public void setParameters(Parameters params); | |
final public void setPreviewDisplay(SurfaceHolder holder); | |
final public void startPreview(); | |
final public void stopPreview(); | |
final public void release(); | |
final public void takePucture(ShutterCallback shutter, PictrueCallback raw, PictrueCallback postView, PictrueCallback jpeg); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.app; | |
class Activity{ | |
protected void onCreate(Bundle state); | |
protected void onStart(); | |
protected void onStop(); | |
protected void onDestroy(); | |
public Boolean onCreateOptionsMenu(Menu menu); | |
public Boolean onOptionsMenuItemSelected(MenuItem item); | |
} | |
class CameraDemo extends Activity { | |
Button buttonClick; | |
ShutterCallback shutterCallback; | |
PictrueCallback rawCallback; | |
PictrueCallback jpegCallback; | |
protected void onCreate(Bundle SavedInstance); | |
protected void onStart(); | |
protected void onStop(); | |
protected void onDestroy(); | |
public Boolean onCreateOptionsMenu(Menu menu); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Customer { | |
public String id; | |
public Address address; | |
public Phone phone; | |
public String email; | |
public Account account; | |
} | |
class Account{ | |
public String id; | |
public Address billing_address; | |
public boolean is_closed; | |
public Date open; | |
public Date closed; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment