Exemplo n.º 1
0
 public void onClick(View v) {
   // isToRate = true;
   btn.setVisibility(ImageView.GONE);
   vid.setPlayPauseListener(ppl);
   vid.setVisibility(com.sanofi.in.mobcast.CustomVideoView.VISIBLE);
   vid.start();
 }
Exemplo n.º 2
0
  protected void onResume() {
    super.onResume();
    int st = 0;
    try {
      st = prefs.getInt("StartAt", 0);
      System.out.println("St------->" + st);
      prefs.edit().remove("StartAt").commit();
    } catch (Exception e) {
      System.out.println("" + e);
    }
    vid.seekTo(st);
    System.out.println("" + st);
    vid.start();

    // if(isToRate){
    // showRateDialog();
    // isToRate = false;
    // }
  };
Exemplo n.º 3
0
 public void onClick(View v) {
   btn.setVisibility(ImageView.GONE);
   play.setVisibility(ImageView.GONE);
   vid.setVisibility(com.sanofi.in.mobcast.CustomVideoView.VISIBLE);
   vid.start();
 }