Hi
I coudn’t entgre mobvista sdk.
please help me.
Thanks
Hi
I coudn’t entgre mobvista sdk.
please help me.
Thanks
help me please
there’s no way you’re an actual developer with posts like that…
what error message are you getting? what’s not working? what’s in the logcat?
app stopped sorry… i can t speak english
Nothing we can do about it without seeing the stack trace and possibly your code.
Hi, fedya98, already send you a message, what I can help you? Or you can send the details to my email([email protected]) or add my skype(turmin_mobvista)
package com.example.mob;
import com.mobvista.sdk.Msg;
import com.mobvista.sdk.ad.AdListener;
import com.mobvista.sdk.ad.SDKManager;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.app.Activity;
import android.content.Intent;
public class MainActivity extends Activity {
private SDKManager sdkManager;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if(sdkManager ==null)
sdkManager = new SDKManager(this);
sdkManager.showFullScreenAd();
Button g = (Button)findViewById(R.id.full);
g.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent(MainActivity.this,MainActivity.class);
startActivity(intent);
}
});
}
AdListener adListener = new AdListener(){
public void onAdError(Msg msg) {
// This will get called if any error occurred during ad serving.
}
public void onAdShow() {
// This will be called by SDK when it’s showing any of the interstitial ad.
}
public void onNoAd() {
// This will be called by SDK when no interstitial ad.
}
public void onAdClick() {
// This will be called by SDK when the interstitial ad is click.
}
public void onAdClose() {
// This will be called by SDK when the interstitial ad is close.
}
};
}
just give up now OP