• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android - Open new Activity from extends framelayout

simple80

Lurker
Sep 23, 2012
3
0
Hello,

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.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones