i need to send two long variable to the other acitivity ? Please help me out?
<p>iam using  intent to call activity here and i need to send  to long variable to the other  acitivity ?<br>
Porjct.java</p>

<pre><code>      Intent i = new Intent(ProjectList.this,RoleList.class);
  Bundle c = new Bundle();            
  c.putLong("PID", projectID );
  c.putLong("CTSID", castingTimeSlotID);
  i.putExtras(c);
  startActivityForResult(i,0);
  finish();
</code></pre>

<p>RoleList.java</p>

<pre><code>public void onActivityResult(int requestCode, int resultCode, Intent data) {    
            Bundle c = new Bundle();
        c = data.getExtras();
    projectID = b.getLong("PID");
    castingTimeSlotID = b.getLong("CTSID");}
</code></pre>

<p>this is not working , Please  help me out?</p>
