Duke Special at Sage, Gateshead on 19th April 2015

Originally posted on nemmblog:

15044998

There are no two words in the English language more capable of striking fear into the heart of the repressed English man (and woman) than ‘audience’ and ‘participation’. At most gigs you can witness the odd extrovert who is prepared to sing along (usually at an embarrassingly loud volume), be the first to dance (usually badly) and provide spirited clapping (almost always outrageously out of time), but most are happy to sit or stand quietly and clap politely between songs, and generally hope that they’re never called upon to sing, dance or clap.

Imagine then the shockwaves that ran through the audience when Duke Special, at Sage Gateshead hall 2 last Sunday night, announced, somewhat sheepishly, that his voice is “wrecked – like a broken trumpet” and invited audience members, by way of self-nomination, to join him on stage to provide vocal duties on any of numbers that they so wished.

View original 480 more words

Android – Default Activity Not Found

Check you AndroidManifest.xml has the correct name in the Activity

Another option:

File -> Invalidate Caches / Restart...

http://stackoverflow.com/questions/15825081/error-default-activity-not-found

I couldn’t find this:

In Android Studio, right click on the project and choose Open Module Settings. Then go to theSources tab in your module, find the src folder, right click on it and mark it as Sources (blue color).

http://stackoverflow.com/questions/18828654/default-activity-not-found-in-android-studio

Another error that went away with the above suggestions:

Gradle signing app with packageRelease “specified for property ‘signingConfig.storeFile’ does not exist”

Android – Update Icon

Hold down Alt when dragging into the ‘drawable#‘ folder

app
src
main
res
drawable#

Programmatic Button Gradient

I’m programatically creating buttons and I’m using an image as a background, I’m no designer and got a bit bored of making a new one for each button, I’ve not even got to the different sizes yet, so thought why not use a gradient.

http://www.wmdeveloper.com/2012/01/uibutton-with-gradient.html

Other tuts
http://www.raywenderlich.com/33330/core-graphics-tutorial-glossy-buttons

Change Android SDK

In Android Studio

Right click the App Folder

Open Module Settings (⌘↓)

Compile Sdk version (x)

Build Gradle

CompileSKDVersion

Doesn’t change  other version.

Build errors for theme, was showing 21 since it was originally built with this.

Change the version here:


dependencies {
compile ‘com.android.support:appcompat-v7:19.0.0′
}


UIAppearance – System Wide Font

Set an app wide font
[[UILabel appearance] setFont:[UIFont fontWithName:@"YourFontName" size:17.0]];

Add it to the .plist
Fonts provided by application –
Item 0: “FontName.ttf”

Pull To Refresh

Wanted to add the Pull To Refresh capability.

Useful Blog:

http://www.intertech.com/Blog/ios-6-pull-to-refresh-uirefreshcontrol/

Follow

Get every new post delivered to your Inbox.