Discussion Forums  >  Uncategorized

Replies: 2    Views: 190

Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
11/23/11 05:25 AM (14 years ago)

Socilize code Help

When adding the Socilize code to the Main Activity file. I have two questions? 1. What would be considered BT's Main.java file when others reference this? 2. It's asking to change your_layout name to the layout name corresponding to the app. Do we know what the layout name is for BT's apps that I can reference? Here is the code: code: View actionBarWrapped = SocializeUI.getInstance().showActionBar(this, R.layout.your_layout, entityKey); Thanks in advance
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/23/11 11:24 AM (14 years ago)
Must be android. 1.4, 1.5, 2.0 (self hosted) are slightly different. 1) The main activity file will be the one listed in your AndroidManifest.xml file. This files lists all the activities (.java classes) in the project. The one with the android.intent.action.MAIN flag is what they are asking about. 2) The layout file you reference will depend on the screen type. Each screen loads it's own layout.xml file. THis means you'll need to deterimine with screen your working with to then determine which layout is used.
 
Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
like
11/23/11 12:04 PM (14 years ago)
Great thanks for your time David.
 

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.