trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
01/04/13 05:20 PM (13 years ago)

Socialize Android Eclipse Integration with Buzztouch

 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/04/13 06:19 PM (13 years ago)
Great resource @trailman! LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/04/13 06:24 PM (13 years ago)
Nice! Thanks! Cheers! -- Smug
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/04/13 06:32 PM (13 years ago)
Where do you get the Socialize SDK? LA
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/04/13 07:02 PM (13 years ago)
Lol seriously type "Socialize SDK" into google first hit http://www.getsocialize.com You need to register, then go to my apps both android and ios SDK's are on first page
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
01/04/13 08:20 PM (13 years ago)
Maybe you can help.I followed your guide and Im getting only one error after fixing countless others after not copying it right. here is my code //onCreate @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Call Socialize in onCreate Socialize.onCreate(this, savedInstanceState); // Your entity key. May be passed as a Bundle parameter to your activity String entityKey = "http://www.getsocialize.com"; // Create an entity object including a name // The Entity object is Serializable, so you could also store the whole object in the Intent Entity entity = Entity.newInstance(entityKey, "Socialize"); // Wrap your existing view with the action bar. // your_layout refers to the resource ID of your current layout. View actionBarWrapped = ActionBarUtils.showActionBar(this, R.layout.actionbar, entity); // Now set the view for your activity to be the wrapped view. setContentView(actionBarWrapped); BT_debugger.showIt(activityName + ":onCreate (BASE CLASS)"); //remember this activity... thisActivity = this; //create handler to configure backgrounds... backgroundImageWorkerHandler = new Handler(); My Error is on this line- View actionBarWrapped = ActionBarUtils.showActionBar(this, R.layout.actionbar, entity); any ideas?
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
01/04/13 10:39 PM (13 years ago)
Thanks trailman! I've implemented on iOS but haven't tried Android yet so this is very timely :) Cheers Darrel
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
01/05/13 01:44 AM (13 years ago)
i get error Description Resource Path Location Type error: Error: String types not allowed (at 'configChanges' with value 'orientation|keyboardHidden|screenSize'). AndroidManifest.xml /BT_activity_root line 73 Android AAPT Problem
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
01/05/13 01:51 AM (13 years ago)
i get error Description Resource Path Location Type error: Error: String types not allowed (at 'configChanges' with value 'orientation|keyboardHidden|screenSize'). AndroidManifest.xml /BT_activity_root line 73 Android AAPT Problem
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
01/05/13 01:57 AM (13 years ago)
error sryy for reposting
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/05/13 02:09 PM (13 years ago)
@fusionmtx Try this: View actionBarWrapped = ActionBarUtils.showActionBar(this, R.layout.act_base, entity); If it works I'll change the tutorial... @SuVinay Pawa Try this: <activity android:name="com.socialize.ui.comment.CommentActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> Let me know what happens... b
 
Cyrus_8888
I hate code!
Profile
Posts: 151
Reg: Dec 24, 2011
Sydney
1,610
like
01/11/13 12:36 PM (13 years ago)
Hi Trailman, Thanks for tutorial. I have had socialize setup on a BT blank screen. Any idea how to remove SMS from share? Cheers Cyrus
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
01/12/13 07:51 AM (13 years ago)
I have socialize coded in my app with no errors but it doesn't show when i load the app up. Not sure if im doing something wrong or not
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/12/13 10:22 AM (13 years ago)
The bar does not show up?
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
01/12/13 10:23 AM (13 years ago)
Nope bar doesnt show up. it shows it is communicating with socialize as well.
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/12/13 10:24 AM (13 years ago)
which screens did you install it in?
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
01/12/13 10:50 AM (13 years ago)
I did it in the activity file for them to be in all of the screens. if youd like i can send you my project :)
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/12/13 12:42 PM (13 years ago)
I don't think you'd want me messing with your project. It may appear that I'm ready, but I'm not. Have you tried restarting eclipse? The computer. That worked for me one time. Eclipse can be finicky. When I get back from deliveries I'll get back to this...
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/12/13 01:55 PM (13 years ago)
What happened?
 
fusionmtx
Android Fan
Profile
Posts: 178
Reg: Jun 15, 2011
Orlando
2,180
like
01/12/13 02:47 PM (13 years ago)
I notice this in my logcat 01-12 13:18:42.385: W/Socialize(17120): Thread[AsyncTask #2]: No entity loader specified in socialize.properties other then that i dont know whats wrong. especially since there are no errors
 
AdamDynamic
Lost but trying
Profile
Posts: 18
Reg: Jul 22, 2012
London
4,530
like
02/09/13 10:25 AM (12 years ago)
Hey, Apologies for dredging up a slightly old post, I thought it best to keep questions related to the tutorial at the top all in the same place :) I'm trying to implement Socialize in my Buzztouch app, I've followed as closely as possible the steps in the tutorial above, I'm getting several errors saying "R cannot be resolved to a variable". Having read in the forum it seems to be something to do with the API I'm using, I'm set up with Google 2.2 though which I think is the correct one? Has anyone else encountered this error when implementing Socialize for Android in Eclipse? The only other change is that from Socialize 2.8 it's no longer a single .jar file so I'm using version 2.6 instead. Any help would be appreciated! Thanks, Adam
 
juansezoh
Code is Art
Profile
Posts: 25
Reg: Nov 01, 2012
Medellín
2,200
like
02/11/13 08:20 PM (12 years ago)
greeting: I have the plugin working socialize. My problem is that the zoom in customhtml not work, is slow and unstable. That may be happening?. I hope I can help, Thanks
 
Redbullet
Aspiring developer
Profile
Posts: 42
Reg: Mar 05, 2011
Earth
3,170
like
04/24/13 08:32 AM (12 years ago)
Hi Guys, I have encountered this error on launch. Could not find sdk.apk! Tried to import, clean many...many times, remove workspace, restart, etc. nothing works, still that issue above remains. hope someone can help. Thanks!
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
06/22/13 01:03 AM (12 years ago)
Hi,has anyone got the new version of Socalize working it uses extenally linked libraries for the SDK and Facebook and is a real pain. I had the old JAR version running fine! I have been comparing their demo App with Buzztouch trying to reverse engineer it but get a console error after the app has loaded on the device saying it can't find the Facebook.APK etc.Does it think the linked library is another app on the device? I have linked in the external libraries in the same way as in the demo app. Any Ideas? regards,Geoff.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
06/22/13 01:12 AM (12 years ago)
Here is the error and what Socialize say: [2013-06-21 17:56:17 - v1_4.buzztouch] Project dependency found, installing: Main [2013-06-21 17:56:18 - Main] Application already deployed. No need to reinstall. [2013-06-21 17:56:18 - android-ioc] Could not find android-ioc.apk! [2013-06-21 17:56:18 - FacebookSDK] Could not find FacebookSDK.apk! [2013-06-21 17:56:18 - sdk] Could not find sdk.apk! [2013-06-21 17:56:18 - v1_4.buzztouch] Starting activity com.v1_4.premierfootballquiz.com.MainActivity on device SH1BFVN11422 [2013-06-21 17:56:18 - v1_4.buzztouch] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.v1_4.premierfootballquiz.com/.MainActivity } From Socialise: Yeah ok. This looks like it might be an issue with how Buzztouch includes library projects. Socialize is delivered as an Android Library Project (the same as Facebook), so we're not doing anything very special in that regard. You might be better off on the Buzztouch forums to find out how to include library projects.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
06/22/13 01:19 AM (12 years ago)
Here is the error and what Socialise say: [2013-06-21 17:56:17 - v1_4.buzztouch] Project dependency found, installing: Main [2013-06-21 17:56:18 - Main] Application already deployed. No need to reinstall. [2013-06-21 17:56:18 - android-ioc] Could not find android-ioc.apk! [2013-06-21 17:56:18 - FacebookSDK] Could not find FacebookSDK.apk! [2013-06-21 17:56:18 - sdk] Could not find sdk.apk! [2013-06-21 17:56:18 - v1_4.buzztouch] Starting activity com.v1_4.premierfootballquiz.com.MainActivity on device SH1BFVN11422 [2013-06-21 17:56:18 - v1_4.buzztouch] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.v1_4.premierfootballquiz.com/.MainActivity } From Socialise: Yeah ok. This looks like it might be an issue with how Buzztouch includes library projects. Socialize is delivered as an Android Library Project (the same as Facebook), so we're not doing anything very special in that regard. You might be better off on the Buzztouch forums to find out how to include library projects.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.