
September 23rd, 2012, 02:23 AM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 2
Time spent in forums: 1 h 28 m 44 sec
Reputation Power: 0
|
|
|
Android - Open new Activity from extends framelayout
I'm doing that sample:
http://code.google.com/p/proyectouvipool/source/browse/trunk/Android/PFC/src/pablo/developer/BalloonOverlayView.java?r=87
I want to change at this line
public void onClick(View v) {layout.setVisibility(GONE);}
to
public void onClick(View v) {
Intent myIntentopen = new Intent(MainActivityold.class, MainActivitynew.class);
startActivity(myIntentopen);
}
but it dosn't work.
thanks.
|