« first day (1063 days earlier)      last day (2412 days later) » 

3:44 AM
@rekire @DroidDev @TheLittleNaruto @MukeshRana @berserk \o/
 
4:41 AM
@All VGM:)
 
5:14 AM
posted on October 06, 2015

New Cyanide and Happiness Comic

 
5:42 AM
good morning guys
 
@rekire HELLO CHECK THIS
1
Q: RecyclerView Endless Infinite Scrolling

OreoI am following this tutorial to show progress bar to load more data at the bottom of the screen I have made a small change in my code, instead of sample data i am fetching data from web server using json, I have 60 records in my JSON and I have successfully populated these records into RecyclerV...

 
6:00 AM
Good Morning Guys :)
@rekire vgm
 
@TheLittleNaruto vgm
 
6:21 AM
@berserk @TheLittleNaruto @MukeshRana @DroidDev @rekire
 
?????????
 
?????????
@rekire "dekh bhai" means "See/Hey brother"
@maveň I am not using instagram.
 
ah
 
hello everyone, I am having an issue regarding opentok api
getting following issue
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: org/apache/commons/collections/ArrayStack.class
 
never worked on opentok api
 
6:35 AM
actually this is android issue ithink some dependencies related
 
8
A: duplicate classes in commons-collections and commons-beanutils

Lee MeadorIn this case, the problem isn't maven or exclusions (which usually is the issue) but you are using the wrong version of beanutils most likely. There is a version of the beanutils jar that has bean collections included and one that does not. The maven dependencies for the beanutils with bean coll...

@FaisalShaikh
@rekire How many weeks are left to get that T-shirt ?
 
Already tried this link but not helpful @TheLittleNaruto
 
Do you have Google play services dependency ?
Can you show me your app module's gradle script ?
 
see this stackoverflow question. I have mentioned everythink
 
You never linked a question ?
 
6:43 AM
Sorry. check now @TheLittleNaruto
 
@TheLittleNaruto 18.09.2015 was the letter send + 6-8 weeks -> 23.10.-6.11.
 
@FaisalShaikh Checking...
@rekire Actually my company will shift to different office but in the same campus.
That is why I wanted to know.
 
@TheLittleNaruto thankyou. @rekire your help is also will apreciate
 
@TheLittleNaruto so you send it to your work place?
 
@rekire Of course! As I won't be available at home in working days.
 
6:49 AM
@FaisalShaikh oh you are working with legacy libraries
since I do not know that libs I cannot give you a proper solution
 
yes @rekire. @rekire and @TheLittleNaruto I am very new in android programming. any help will apriciate
 
just as idea this code my help you:
/*androidTestCompile('org.robolectric:robolectric:2.3') {
// avoid warnings
exclude module: 'commons-logging'
exclude module: 'httpclient'
}*/
@TheLittleNaruto why does that not work?
replace(method(PendingIntent.class, "getActivity", Context.class, int.class, Intent.class, int.class)).with(
new InvocationHandler() {
public Object invoke(Object object, Method method, Object[] arguments) throws Throwable {
System.out.println("Proxy of PendingIntent.getActivity called");
PendingIntent pi = PowerMockito.mock(PendingIntent.class);
when(pi.toString()).thenReturn(((Intent)arguments[2]).toUri(Intent.URI_INTENT_SCHEME));
return pi;
}
});
 
@rekire int.class ? Is it valid ? I would use Integer.class (the wrapper one)
 
like this:
configurations {
exclude module: 'commons-logging'
exclude module: 'httpclient'
}
 
 packagingOptions {
       exclude module: 'commons-logging'
      exclude module: 'httpclient'
    }
 
6:56 AM
should I have to add these lines in build.gradle
 
In your app module's build.gradle and inside android DSL
 
now getting following issue after adding those lines:
Error:(188, 0) Gradle DSL method not found: 'packagingOptions()'
Possible causes:<ul><li>The project 'CometChat' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
 
Where did you put that ?
I said inside android DSL
 
@TheLittleNaruto bad boys :3 cc @berserk , @MukeshRana , @rekire
 
after dependencies
 
6:59 AM
2 mins ago, by TheLittleNaruto
In your app module's build.gradle and inside android DSL
@maveň Thanks
 
@TheLittleNaruto ._.
evil owners
how to kill them ullz
 
where is android DSL?
 
android {

    compileSdkVersion 22
    buildToolsVersion "22.0.1"
   // and rest config thing

}
 
so I have to add following lines after buildToolsVersion "22.0.1"
packagingOptions {
exclude module: 'commons-logging'
exclude module: 'httpclient'
}
 
after all config thing defined
At the end...
 
7:06 AM
now getting following issue
Error:(149, 0) Gradle DSL method not found: 'exclude()'
Possible causes:<ul><li>The project 'CometChat' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
my packingOptiones:
packagingOptions {
        exclude 'META-INF/DEPENDENCIES.txt'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/dependencies.txt'
        exclude 'META-INF/LGPL2.1'
        exclude module: 'commons-logging'
        exclude module: 'httpclient'
    }
@rekire @TheLittleNaruto
 
Can you show me your complete gradle script ? Hide application ID
 
sure
see this file @rekire @TheLittleNaruto
 
@FaisalShaikh Use paste.ofcode.org to paste long code/script and share URL over here.
 
@TheLittleNaruto sorry
 
No problem!
 
7:14 AM
@TheLittleNaruto now see the code: paste.ofcode.org/nc5fRL3DTX4kE3QGDmWD79
 
That's placed correctly.
 
but I am facing an issue
after adding the code
this is my issue:
Error:(149, 0) Gradle DSL method not found: 'exclude()'
Possible causes:<ul><li>The project 'CometChat' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
 
I see
The problem is coming from the bottom of the script.
Remove :
/*androidTestCompile('org.robolectric:robolectric:2.3') {
// avoid warnings
    exclude module: 'commons-logging'
    exclude module: 'httpclient'
}*/
/*
packagingOptions {
    exclude module: 'commons-logging'
    exclude module: 'httpclient'
}*/
 
so should I remove and try again
after removing those line getting an same issue:
Error:(149, 0) Gradle DSL method not found: 'exclude()'
Possible causes:<ul><li>The project 'CometChat' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
 
.-.
i just learned that driving methods today:|@TheLittleNaruto
with one session
after one week training :|
 
7:29 AM
@TheLittleNaruto sorry I am disturbing you. are u looking
 
@AndroidDev Great! :)
@FaisalShaikh No! I am working now..
 
tommorow is the exam
 
Good Luck Kid
 
final exam .-.
 
@TheLittleNaruto great. what do you think what can be issue
 
7:39 AM
1
Q: RecyclerView Endless Infinite Scrolling Issue

OreoI am following this great tutorial to show progress bar to load more data at the bottom of the screen I have made a small change in my code, instead of sample data i am fetching data from web server using json, I have 60 records in my JSON and I have successfully populated these records into Rec...

 
@rekire how can call this on page load paste.ofcode.org/aiHVUh2dQSAvmdgzcw2a7f
 
@Rahul <script>
window.onload = function() {
var mobileDevice = navigator.userAgent.match(/ipad|ipod|iphone|android|windows ce|Windows Phone|blackberry|palm|symbian/i);
if ( mobileDevice ) {
location.href = '/';
}
};
</script>
 
@Oreo from where
?
 
8:02 AM
@FaisalShaikh thanks
 
welcome
please up vote for this question stackoverflow.com/questions/32962239/…
 
8:45 AM
Hola!
 
 
1 hour later…
9:48 AM
lol I was just putting my wearable into the cradle when it started to shut down
 
10:03 AM
o/\o
 
\o/
 
'suuuup ?
 
\o\
/o/
nothing much
a little bit sick
just a cold
 
Ohh
Drink chicken soup
 
10:06 AM
under the weather
they say in the US
 
and Oats
 
:)
i eat alot of fruits
and drink alot of water
 
No No
When you catch cold, You should drink soup
 
yeah maybe i will
later on
 
@Hans For you:
 
10:10 AM
:)
nice rabbit
mean bird
lol
 
@Hans1984 Have you watched the movie Despicable me 2 ?
I laughed so much in one scene :
 
no
 
Ohh
You must watch the first and second part
 
10:26 AM
but those minion guys are very trendy i ve heard
:o
alot of people like them
 
Well That's obvious.
they're so freaking crazy.
 
loool
:p
:p d:
haha funny indeed
thats a hard to gues password
 
haha
Yeah
Did you watch the movie "the Martian" ?
@rekire You should watch this movie. ^
You'll like I am damn sure.
 
no
i didnt even start in germany
oct 8th
 
@Hans1984 What do you mean ?
 
10:38 AM
the martian
in cinema
 
yes
haha
:D
 
hello everyone
how to zoomin one image in android ?
i tried some code it perfectly works.
 
@TheLittleNaruto , can you please help me with this questions ?
http://stackoverflow.com/questions/32967872/how-to-change-background-color-in-multiple-item-delete-in-listview
 
but how can we zoomin image by touch on image?
 
10:44 AM
0
Q: How to change background color in multiple item delete in ListView

osimer potheI am selecting multiple item in listview for delete . I can delete multiple item . The code is as follows : smsListView.setMultiChoiceModeListener(new MultiChoiceModeListener() { @Override public void onItemCheckedStateChanged(ActionMode mode, ...

 
@osimerpothe minimum API ?
 
19
@RamMansawala
 
@Hans1984 ;)
 
@TheLittleNaruto I know the minions
 
2
Q: ListView Item changing color issue. Multiple items change down the view

user2905526lv.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) { if (selectedCourses.contains(courseNames.get(position))){ selectedCourses.remove(select...

 
10:48 AM
@rekire
time for lunch
 
@osimerpothe or You can use listselector
 
Can you give answer at my question ?
 
@Hans1984 I'm done with lunch
 
sehr witzig
weißt scohn dass das pic gemeint war
hier noch wa szu tun für dich während ich esse
->trash
 
10:52 AM
lol
@Hans1984 nein war mir nicht bewusst
 
:)
 
@RamMansawala , give answer at my question
 
check ur answer
 
@rekire Ah Okay, But I am talking about "The Martian"
 
if it helps you ple vote up
 
10:57 AM
@TheLittleNaruto I saw yesterday the first reference I do not know anything about it
I guess it was on the nasa twitter feed
 
@RamMansawala ,What is selectedIds variables ?
What is R.color.result_image_border ?
 
R.color.result_image_border is color that you want to display
 
What is selectedIds variables ?
 
selectedIds consists ids of list to identify items which you have selected.
 
11:02 AM
@Hans1984 Do you do Unit Testing ?
 
@osimerpothe got your answer?
 
No .
I cant understand selectedIds variable .
Why do I declare this in getView method ?
 
@rekire Which framework do you use for unit testing ? JUnit or Roboelectric ?
 
I have mSelectedItemsIds variables of SparseBooleanArray type
Can you please write code in terms of SparseBooleanArray type ?
@RamMansawala
 
where you have this variables?
 
11:11 AM
in arrayadapter
Do I give arrayadapter code ?
 
no @TheLittleNaruto
 
@TheLittleNaruto right now powermock
 
@rekire That's because of your mocking test ? Isn't it ?
 
@TheLittleNaruto right
 
11:14 AM
Otherwise what do you use ?
 
The question is updated . @RamMansawala
 
I still don't understand it absolutely but I can check now really much
@TheLittleNaruto it depends I guess Roboelectric would be my favorite if it would work for me
 
Thanks :)
 
for some parts I will continue using JUnit I guess
 
That's all I wanted to know.
@rekire And that part is specifically ?
 
11:16 AM
@osimerpothe see that link. i commented on your question
 
I have followed this link .
@RamMansawala
But my selection color is not blue .
 
okay wait
 
Infact , the selection color is none .
 
@TheLittleNaruto algorithm
 
@rekire algorithm as in a lot of Maths ?
 
11:20 AM
@RamMansawala . OK I am waiting .
 
@TheLittleNaruto more or less partial fuzzy logic
 
Alright Thanks :D
 
let's say I have discrete results
 
Okay.. ?
 
hello my friends
im back
;)
 
11:29 AM
@Hans1984 welcome back
 
@Hans1984 welcome back
 
nm
i doesnt belong here
 
@RamMansawala , are you there ?
 
@osimerpothe yes
 
11:32 AM
What can I do for changing selected item rows color ?
 
i am trying to solve this
 
11:46 AM
brrrrr
its getting cold
winters coming soon :o
we only have 5° at night right now @TheLittleNaruto
 
hello how to use the html format text print via bluetooth
 
@Hans1984 Is it winter already ?
 
@(removed) lol^^ cc:@Hans1984
 
no
but its quite cold at night already
winter is usually from nov-feb over here
 
11:50 AM
sometimes even longer
 
@Hans1984 my watch shows me the last week only 5°C but that is wrong :/
 
alot of removes hehe
just in time
was still able to delete all of it :D
it was 5° at night
thats correct
 
@Hans1984 how to use the html format text print via bluetooth
 
i dont know @senti
im not familiar with bluetooth
 
@Hans1984 Me work the print
I want seleceted text bold and size increase
programatically
 
11:53 AM
i CAN'T help you
maybe @rekire or @TheLittleNaruto can
;)
 
String msg2 ="nextprint";
mmOutputStream.write(msg2.getBytes());
 
or someone else
 
How to bold and increase the size in string
 
well i know its <b> in html
xD
 
user3742480
Hello i have a quick question:
How do i implement a class in java wich stays alive?
For example i have an application and it starts with the Main.java, where a sql connection gets initialized, but if i switch into my Login.java, how can i keep the sql connection (or any other object from Main..) alive?
 
12:08 PM
@Hans1984 i write that but cant print the printer
 
 
1 hour later…
1:32 PM
bye
 
@osimerpothe hey i have edited my answer. please check. hope it helps.
 
 
4 hours later…
5:19 PM
@TheLittleNaruto - see this:i.imgur.com/fm3IQaq.png is there any Customlist View Or RecyclerView example like this? i've already tryied every examples and each of them has a problem...
 

« first day (1063 days earlier)      last day (2412 days later) »