Re: [android-developers] Re: Facebook posting not works if any crashing in application and some devices not allowing post wall

2011-11-30 Thread NaveenShrivastva
Thanks very much..

Facebook post working for some devices ..

I am doing only code

 Bundle parameters = new Bundle();
parameters.putString(app_id, 3212313123);


   parameters.putString(picture,url);
  parameters.putString(name,  );
 parameters.putString(caption, );

   parameters.putString(description,TV);

 parameters.putString(message,str_post);


  try {

//response = IntroFaceBookScreen.mFacebook.request(me/feed,
parameters, POST);
response = mFacebook.request(me/feed,
parameters, POST);


That's working on another devices .

On Wed, Nov 30, 2011 at 1:42 PM, Ali Chousein ali.chous...@gmail.comwrote:

 Have you really read the logcat well? I see that it's saying the
 following:
 Activity com.halosys.TvAnyTime.VideoPlayer has leaked
 window com.android.internal.policy.impl.PhoneWindow$DecorView@44a6e748
 that was originally added here
 The problem you are experiencing has nothing to do with posting on
 Facebook wall (BTW, the behavior while posting on the wall cannot be
 device specific. No matter which device you have, you are talking with
 Facebook Graph API). Your logcat reports leakage, apparently you are
 not using your objects correctly. Study your code, study related
 documentation, study related examples and you should be able to
 pinpoint where exactly the leakage is.
 - Ali Chousein Weather-
 Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
  Geo-Filtered
 Assistant http://geo-filtered-assistant.blogspot.com https://
 marketplace.cisco.com/apphq/store/products/994

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Facebook posting not works if any crashing in application and some devices not allowing post wall

2011-11-30 Thread NaveenShrivastva
Hello All your this information helps me very well now i handled this bug...


g8 developers you all..

Thanks very much.

On Wed, Nov 30, 2011 at 2:50 PM, NaveenShrivastva 
kumarnaveen.si...@gmail.com wrote:

 At 1109 no line that is dialog button .

 Please find the attachment for this line.

 For posting wall i am creating a custom dialog with edittext, ok btn,
 cancel btn, rating btn 1,2,3,4,5, is handling 







 On Wed, Nov 30, 2011 at 2:29 PM, skink psk...@gmail.com wrote:



 Naveen wrote:
  Hello All,
 
  Please help me .
 
 
  I am posting wall on facebook when some one stopped the video play.
 
 
  then a dialog is appearing user can able to type mesaage for post and
  clicking ok btn for post wall.
 
  This is working fine with LG-Optima and Samsung galexy tab.
 
  but some devices giving this error message to me:
 
 
 
  Error:
  11-29 06:32:46.708: E/WindowManager(10737): Activity
  com.halosys.TvAnyTime.VideoPlayer has leaked window
  com.halosys.TvAnyTime.VideoPlayer$9.onClick(VideoPlayer.java:1109)
 
 
  Please need your help

 what do you see in com.halosys.TvAnyTime .VideoPlayer.java at line
 1109?

 do you have the sources?

 pskink

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en






-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
I am playing a video by code . when video completely played by user
then it;s calling

  @Override
public void onCompletion(MediaPlayer mp) {

-method

Here when i am posting the wall before the video Completion then it's
work fine but when calling a custom dialog when onCompletion method
called.

Here dialog appear typing message for post taking more time compare to
previous with black screen , when pressing back btn then app crash .


Please suggest me onCompletion method issue is this one or what cause
of this crash when video finished then this issue occur with back btn
and post to wall.

I am trying to find root cause but not getting.

regards.
Naveen



On Wed, Nov 23, 2011 at 6:06 PM, appel johan.appelg...@gmail.com wrote:
 I'd suggest you fix the bug that causes the app to crash.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
After crashing i am losing this value

response = mFacebook.request(me);

so, i am not able to post-wall,

Please guide me how to save response = mFacebook.request(me); till
app persist android device



On Wed, Nov 23, 2011 at 6:12 PM, NaveenShrivastva
kumarnaveen.si...@gmail.com wrote:
 I am playing a video by code . when video completely played by user
 then it;s calling

  @Override
    public void onCompletion(MediaPlayer mp) {

 -method

 Here when i am posting the wall before the video Completion then it's
 work fine but when calling a custom dialog when onCompletion method
 called.

 Here dialog appear typing message for post taking more time compare to
 previous with black screen , when pressing back btn then app crash .


 Please suggest me onCompletion method issue is this one or what cause
 of this crash when video finished then this issue occur with back btn
 and post to wall.

 I am trying to find root cause but not getting.

 regards.
 Naveen



 On Wed, Nov 23, 2011 at 6:06 PM, appel johan.appelg...@gmail.com wrote:
 I'd suggest you fix the bug that causes the app to crash.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en