« first day (966 days earlier)      last day (2509 days later) » 

3:38 AM
GM all
 
4:05 AM
can i ask a question about libgdx here?
that is kinda java/android
ill take that as a yes!
0
Q: generate box2d bodies from isometric tiled map

Vincent WilliamsI followed the tutorial here to generate box2d bodies from a tiled map and that worked fine.... for orthogonal tiled maps. Unfortunately isometric maps use their own coordinate system where (0, 0) is at the leftmost corner of the map, and this causes the bodies to be in the wrong place. I tried ...

:D
 
4:53 AM
Good morning Guys :-)
 
@TheLittleNaruto good moring
have one Query
any one can help me in this actully am trying much to change cutomize tab text and background but i not undersatnd from where we have to
3
Q: How to change Tabbackground and text in android viewpager?

Research Developmentpublic class MainActivity extends FragmentActivity implements ActionBar.TabListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); viewPager = (ViewPager) findVi...

 
posted on July 01, 2015

New Cyanide and Happiness Comic

 
5:53 AM
Good morning @all
 
@ResearchDevelopment how many tabs are there ?
@ChintanRathod vgm
 
6:12 AM
10 tab are there
 
Ohh boy! I'll have to come up with some short logic then. Wait I am answering @Research
 
hi
 
ok
@Edge i dint read
@TheLittleNaruto basically i have to achive like this
 
6:44 AM
@ResearchDevelopment you can do that as I have shared the idea in my answer, that'll be easy for you now.
 
ok
@TheLittleNaruto how we ll intilize tabHost and mTabHost both will intilize with TabHost?
 
Sorry
MTabHost and tabhost are same!
Let me edit it @ResearchDevelopment
Writing answer from mobile sucks Man!
Updated! @Research Check again!
 
7:01 AM
when i use ur code
coz am not using tabhost i am using actionBar.setSelectedNavigationItem(position);
on onPageSelected overriden method
 
What is line number 82 ?
Share that line of code here
Ohh
I thought you had added a tabhost.
Now that makes sense why you're getting NPE
Anyway i guess we can do that via actionbar as well. Nothing to worry.
 
@Override
public void onPageSelected(int position) {
// on changing the page
// make respected tab selected
actionBar.setSelectedNavigationItem(position);
TabWidget widget = mTabHost.getTabWidget();
int oldFocusability = widget.getDescendantFocusability();
widget.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);
mTabHost.setCurrentTab(position);
widget.setDescendantFocusability(oldFocusability);
updateSelected(position);

}
yes we have used actionbar
 
7:17 AM
Now check again @Research
 
Can you tell me which FragmentActivity you have imported ? Is that from support lib ?
 
appcompactv7 libarary
@Override
public void onPageSelected(int position) {
// on changing the page
// make respected tab selected
actionBar.setSelectedNavigationItem(position);
updateSelectedTab(position);
} again on method its showing null pinter exception
 
Line number 145
Just paste that line only
Not others
 
restTabView.setBackgroundColor(Color.BLACK);
wait am showing excption that given line 1 min plz
 
7:31 AM
Can you show me your onCreate function also ? Don't paste here, use any pastie site.
 
Lunch time brb
 
ok after lunch plz
 
Meanwhile you can debug for total tab length.
 
8:02 AM
Ohh boy! I got it.
The problem is we never set a custom view to the tabs , so getCustomView without any doubt will return NULL
 
Hello everyone i have problem in implementing in app purchase in android in my custom camera application when i purchase items in test account then camera stop working and when i remove google account from device the app working good, i dont know what is wrong. Please help anyone
Here is logCat pastebin.com/KLQbAkEw
 
@ResearchDevelopment still awake ?
Can you share XML code of pager_title_strip layout ?
 
wtf ?
Is that pager_title_strip layout ?
 
yes
<RelativeLayout
android:id="@+id/content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@id/footer"
android:gravity="center" >

<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#ffffff" >
</android.support.v4.view.ViewPager>
</RelativeLayout>
this xml i have used
cant we change in this? @TheLittleNaruto
 
8:17 AM
Ah!
I thought I did something wrong.
But you're doing it wrong.
The custom view of tab must have a text view only which id should be "title"
 
what change i should do
 
I am not sure why did you put viewpager for a tab custom layout.
 
so what i should use
 
8:35 AM
Added XML code.
But that's not a good thing you should have done that by yourself.
@Research
 
 
7 hours later…
3:36 PM
posted on July 01, 2015 by Bob Rhubart-Oracle

OTN Virtual Technology Summit - Spotlight on Middleware Track It's All About WebLogic The Middleware Track for the July 2015 edition of the Oracle Technology Network Virtual Technology Summit brings together three experts on Oracle Fusion Middleware to present how-to technical sessions on WebLogic Server's role in today's middleware architectures. The sessions in this track will fo

 

« first day (966 days earlier)      last day (2509 days later) »