title: android smack subscribe user not working
body: <p>i am using below code to send friend request to any user its working fine but i am not able to find the connected user from roster list.</p>
  
  <p>Now i want to know how could i identify new requested friend in roster list.</p>
  
  <pre><code>Roster roster = XMPPSmackConnection.getInstance().connection.getRoster();
  roster.setSubscriptionMode(Roster.SubscriptionMode.manual);
  try {
      if(!_userName.contains("@"))
          _userName=_userName+"@204.93.197.136";
  
      Presence response = new Presence(Presence.Type.subscribe);
      response.setTo(_userName);
      XMPPSmackConnection.getInstance().connection.sendPacket(response);
  
      //roster.createEntry(_userName, _nickName, my_friends[]);
      //addBuddy(_userName, _nickName, Friends);
  } catch (Exception e) {
      _progDailog.dismiss();
      e.printStackTrace();
  }
  </code></pre>