Tags » Axel

App freeze after iAd/google interstitial popup

I am experiencing a very weird issue with interstitials in cocos2d. This is the code I use to load both interstitials.

- (void)interstitialDidReceiveAd:(GADInterstitial *)interstitial {
    ];
    interstitial.delegate = nil;
    interstitial = nil;
}
- (void)interstitialAdDidLoad:(ADInterstitialAd *)interstitialAd {
    ];

}
… 100 more words
Stackoverflow

Android : How to prevent users from entering numbers with more than 3 decimal places

I’ve got an EditText in my app, in which I don’t want users to enter numbers with more than 3 decimal places. This is because in the SQL server database that is going to store that data I send from the phone has this data type : 46 more words

Stackoverflow

Buttons press in specific order in iOS

I want to create an UIViewController with for buttons. I want the user to press that four buttons with specific order. What I have done until now is that i give a random tag number in every button with the following code: 109 more words

Stackoverflow

Flexible Dictionary

I am trying to create a flexible dictionary which is based on an xml file. I use xmlDigester with some rules and everything goes good until when i am trying to parse the values of my dictionary. 235 more words

Stackoverflow

Soft keyboard shows a "Go" button instead of a "Search" button when entering some text in a SearchView widget

I have followed this tutorial to configure a searchview widget in the action bar. Almost everything works fine, except for the fact that the soft keyboard doesn’t show the right button. 83 more words

Stackoverflow

How to specify the progressBarStyleHorizontal attribute in a style sheet

I want put the progressBarStyleHorizontal attribute in a style sheet.
I have tried something this, but it didn’t work.

<style name="BarraProgreso">
    <item name="android:progressDrawable">@android:style/Widget.ProgressBar.Horizontal</item>      
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">wrap_content</item>
    <item name="android:padding">7dp</item>
    <item name="android:indeterminate">true</item>
</style>
… 27 more words
Stackoverflow