mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-30 02:44:59 +01:00
Added 280 Char Support
Bugfix
This commit is contained in:
parent
593b1eb842
commit
5c4862db71
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -24,7 +24,7 @@
|
||||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
@ -15,11 +15,6 @@ android {
|
||||
release {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
zipAlignEnabled false
|
||||
}
|
||||
}
|
||||
productFlavors {
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,8 +23,9 @@ dependencies {
|
||||
compile 'com.android.support:appcompat-v7:26+'
|
||||
compile 'com.android.support:design:26+'
|
||||
compile(name: 'colorpicker', ext: 'aar')
|
||||
compile files('libs/twitter4j-core-4.0.4.jar')
|
||||
implementation files('libs/picasso-2.5.2.jar')
|
||||
implementation files('libs/twitter4j-core-4.0.6.jar')
|
||||
implementation files('libs/twitter4j-core-4.0.6-sources.jar')
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
Binary file not shown.
BIN
app/libs/twitter4j-core-4.0.6-sources.jar
Normal file
BIN
app/libs/twitter4j-core-4.0.6-sources.jar
Normal file
Binary file not shown.
BIN
app/libs/twitter4j-core-4.0.6.jar
Normal file
BIN
app/libs/twitter4j-core-4.0.6.jar
Normal file
Binary file not shown.
@ -100,6 +100,7 @@ public class TwitterEngine {
|
||||
ConfigurationBuilder builder = new ConfigurationBuilder();
|
||||
builder.setOAuthConsumerKey(TWITTER_CONSUMER_KEY);
|
||||
builder.setOAuthConsumerSecret(TWITTER_CONSUMER_SECRET);
|
||||
builder.setTweetModeExtended(true);
|
||||
AccessToken token = new AccessToken(key1,key2);
|
||||
twitter = new TwitterFactory( builder.build() ).getInstance(token);
|
||||
}
|
||||
@ -369,7 +370,7 @@ public class TwitterEngine {
|
||||
public void retweet(long id, boolean active) throws TwitterException {
|
||||
if(!active) {
|
||||
twitter.retweetStatus(id);
|
||||
}//TODO remove Retweet
|
||||
}
|
||||
else {
|
||||
deleteTweet(id);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user