krishnalead / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Problem with sharing on facebook #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1 -copying the same simple project code of ( ShareButton)  and set it my project
1 - project configuration minSDK 10 targetSdkVersion="19"

What is the expected output? What do you see instead?
i expected to see the login page of facebook or see a toast message showing 
that i'm login .... well the simple ( ShareButton ) works so well in my 
emulator ... but when i do the same thing in my project , i got this message 
when i click on facebook icon the app stops , this is the debug message  :

04-19 13:26:52.606: E/AndroidRuntime(1445): 
android.content.res.Resources$NotFoundException: Resource ID #0x0
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.content.res.Resources.getValue(Resources.java:892)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.content.res.Resources.getDrawable(Resources.java:580)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
org.brickred.socialauth.android.SocialAuthDialog.setUpTitle(SocialAuthDialog.jav
a:191)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
org.brickred.socialauth.android.SocialAuthDialog.onCreate(SocialAuthDialog.java:
146)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.app.Dialog.dispatchOnCreate(Dialog.java:307)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.app.Dialog.show(Dialog.java:225)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
org.brickred.socialauth.android.SocialAuthAdapter$4$1.run(SocialAuthAdapter.java
:649)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.os.Handler.handleCallback(Handler.java:587)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.os.Looper.loop(Looper.java:123)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
android.app.ActivityThread.main(ActivityThread.java:3683)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
java.lang.reflect.Method.invokeNative(Native Method)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
java.lang.reflect.Method.invoke(Method.java:507)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-19 13:26:52.606: E/AndroidRuntime(1445):     at 
dalvik.system.NativeStart.main(Native Method)

What version of the product are you using? On what operating system?
I'm compiling with 22.6.2  ADT , Windows 7

Original issue reported on code.google.com by oussama....@gmail.com on 19 Apr 2014 at 1:29

GoogleCodeExporter commented 8 years ago
Other thing : I'm using fragments in my project ...

Original comment by oussama....@gmail.com on 19 Apr 2014 at 3:01

GoogleCodeExporter commented 8 years ago
Hi oussama,

i think you forget to copy images. or you have changed the name of images. the 
images name should be same as in sample projects.

Original comment by vineet.a...@3pillarglobal.com on 21 Apr 2014 at 9:53

GoogleCodeExporter commented 8 years ago
Hi Vinnet . 
Yeah it works so fine , i tried with not changing the name of pictures ... 
thanks to the team of this lib they make a good thing for us ... thanks again.

Original comment by oussama....@gmail.com on 21 Apr 2014 at 6:52

GoogleCodeExporter commented 8 years ago
Thanks

Original comment by vineet.a...@3pillarglobal.com on 22 Apr 2014 at 6:03