« first day (188 days earlier)      last day (3287 days later) » 

01:12
@All GM
02:07
hey people
03:01
@Neil @SheSmile @DevZer0 @thwildfire Hello, Morning!
@Appu Morning :)
04:03
hi any one there ?
Hello @Appu
I have a List of objects that contains a field with a timestamp. What would be the best approach calculating the average delta of the time stamp between each object sequentially. i am thinking looping through the array and getting each delta and adding it to a variable and then dividing it by the size of the list - 1 is there another approach?
@DevZer0 Why -1? size() gives the number of elements. So, you can divide that with directly size if I am not wrong.
@ramesh Yeah?
@Villan Oh! Not again.
04:29
because for example u have 3 time stamps but u will only have 2 intervals
@all good mrng mates..
Hi any one help me to how to handle its failure state ?

AsyncHttpClient client = new AsyncHttpClient();
client.get("http://www.google.com", new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String response) {
System.out.println(response);
}
});


http://loopj.com/android-async-http/

Plz help
@DevZer0 Oh! Okay.
I thought you were calculating the average of all elements instead of intervals.
@Appu wat?
@Appu can u help please ?

Hi any one help me to how to handle its failure state ?

AsyncHttpClient client = new AsyncHttpClient();
client.get("http://www.google.com", new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String response) {
System.out.println(response);
}
});


loopj.com/android-async-http

Plz help
04:35
@ramesh @Override
public void onFailure(Throwable e, String response) {
// Response failed
}
oh thanks let me chock
@appu
include this method too along with onSuccess. So whenever it is failed the control comes into onFailure method instead of onSuccess.
@Villan You have changed the pic again.
Rolls eyes.
@Appu yes
@Appu but different one
But I am not sure I understand why do you change pics and names always :P
@Appu i just convey my mood and work status through dp's
04:40
Then what does this pic represent? You changed name to villan, so you are now villan?
Work is going like a battle and i am the warrior (villan) to work and time
@Appu :P
does anybody know how to set the backround on an app?
@Nathvi Yo! Were you the one who used to chat in Java room?
yes, Nice to see you again @Appu
@Villan villan doesn't mean warrior I guess.
04:42
@Appu i mean that i am opponent to the work and time
@Nathvi Same here. Nice to have you back. How are you doing?
@Appu you seems to be free today
@Appu, doing good, have a java final on wed, and I'm starting my app :)
I just need to figure out how to dev for multiple devices
anyone here work on ffmpeg for android
@Villan But villan fails at the end after a battle with hero. So keep hero.
Not at all. I am frustrated with my app changes.
So completely left working.
He has been keeping on telling me the changes after I completed which is definitely difficult to change entire design.
04:44
@Appu lol
@Nathvi Great. What's your problem? BTW why have you changed your pic?
give it to him ask him to change one:P
He asks me then I am not needed anymore and can go out :P
@Appu, I need to figure out how to set the background for the app,
@Appu, idk, it was weird
@Appu it is better you might good job which you deserves it..
04:47
Lol... Yeah. It was crazy as far as I remember, but a good one. Just set android:background to your parent layout in xml file. @Nathvi
@Villan But I am not trying and you know my limitations, don't you?
@Appu yes but you can get good one man.. just give a try outside
hello guys
good morning
good morning duffer @chintankhetiya
@Villan Okay. Let me finish this app, so that I can seriously start trying. BTW do you find any requirements?
@chintankhetiya Morning!
i am seeing 2+
04:49
But I have 2+ overall.
Not only on android :P
hmmm iknow
@Appu, is there a specific file type that works best?
@Nathvi What do you mean by specific file type? BTW @Villan @chintankhetiya can also take you from here. Show your layout code.
04:52
@Appu @Villan hey buddy :P
like jpg, png, for background pics
@Appu
@chintankhetiya hi
@Villan Chintan also copies you. He changed his pic.
@Appu but he looks like hero
@Nathvi Okay. In your layout file, for your parent layout Keep android:background = "@drawable/bgpic"
04:53
I got it :)
@Appu, thx
@Appu i never copy anyone , i have my own style :P
@chintankhetiya we know it..u are unique duffer :P
and you are compering me with @Villan OMG :p
@Nathvi NP. Don't be a stranger. You know washu has become a stranger now a days.
@Appu, that's too bad, i miss talking shit on java
:v
04:56
@Nathvi You can talk here. Because java is love and war relationship.
:P
@Nathvi hello , new dev for this room ?
@chintankhetiya, I'm not a dev for this room, I am developing an application though, if that's what u mean :D
what's difference between dev & developing an application ?
:P
@chintankhetiya, you asked if i was a dev for this room, and I don't develop for this room.
lol
my mean that you are new member (developer) for this room. or visit first time :)
@Nathvi
05:07
@chintankhetiya clarity
@chintankhetiya, this is a first time visit yes :)
@Villan you are too sharp about my statement :)
im going to bed
nice talking
Hi All, I am karthick
@Nathvi BTW ,intro yourself , not compulsory
05:12
Hey! then why Suraj?
@Appu you remembered?
this is my another name
@Surej then why your user name is surej ?
@chintan This is my nick name
@chintankhetiya :P
05:13
@Villan What?
@chintan s
@Appu who down voted your questions?
@Appu ignore him , he is duffer
:P
@chintankhetiya x-(
05:14
Okay. I remember. But I don't think he is him.
@Appu but i think both were same
@Surej Karthick, is this first time to chat?
@Appu cool this guy is different to other cause he is since 2 years
@Appu yes
@Villan Yeah. I have seen just now.
@Surej Okay.
05:16
@Appu i 2..
@Villan its I20
:p
hi al
Hey!
@All Good Morning!! :)
(:
05:21
@Kumar Morning!
@blue ??
@Appu blue is smiling
@Appu :)
but you reversed it :P
@chintankhetiya @Villan I am stuck with simpleCursorAdapter or now with arrayadapter.
@all
@Appu blue is smiling after rotating face
Appu rolls eyes.
@blue Have you ever used simpleCusorAdapter or ArrayAdapter to show the data from the sqlite?
05:25
@Appu no :(
@Appu any error?
Okay. NP.
@Villan No. I need a suggestion.
I can reflect data changes by reinitializing the cursor, but not with notifydatasetchanged or changecursor.
4 months back i played with sqlite using arrayadapters
This is my problem.
@Villan Okay. I have done in both ways now. To put the better one.
notifydatasetchanged is best approach but y not working for you?
05:28
@Villan It doesn't work on SimpleCursorAdapter.
On ArrayAdapter I need suggestion where to keep that.
See, suppose I have data in sqlite db. So whenever I first started an activity, it should show the contents in a listview.
Down to that listview, I have add delete buttons.
7
Q: Difference between Array adapter and Cursor Adapter in Android

ShaneWhat is the difference between Array adapter and Cursor Adapter in Android?

So whenever the user clicks on add, it goes to another activity and there when the user clicks on add, I finish the present addition activity, so the listview screen would become visible now.
@Villan No. I don't need difference. I know them both.
Did you see my above pings.
reading now
@Appu what happen
Please follow above conversation.
05:37
so your mean that notifydatasetchanged its not working while you are fetching from SQLITE,
@Appu
@chintankhetiya doens't work with simplecursoradapter. Now I recoded everything with arrayadapter, but can't get my head around on how to handle it.
not good in SQLITE , because haven't more idea about that
:/
@Villan there?
@Appu sorry was about to go to meet .. ne ways where are you calling notifydataset for sqlite?
were you? or are you?
05:45
where are you"?
afteradding items right
??
Yeah.
are you sure all the items were fetching from db before calling notify
??
@Appu
I didn't call notify yet in arrayadpater. Wait I will show you my code.
k
@Appu you better post it on SO forum
No way. It's a simple one I am missing. Might be my brain is not working due to the changes he has been saying to me time to time. @Villan
05:48
hehe @Appu
guys do you have work on bucket list adapter ?
@Villan Yeah. Because it is okay if he says everything before. But after completing it, he says changes.
I have been thinking it would be finished in a week for more than a month.
Here is my activity code. First tell me whether you understood this, then I would show you adapter code.
@chintankhetiya You too.
@Appu where you are calling your asyn ?
06:04
@chintankhetiya That is what I am confused with.
Please see it once
0
Q: Twitter4j: java.lang.IllegalStateException: Access token already available

Er. Nikhil AgrawalI am using Twitter4j for creating twitter client with jsp and servets. So when I am requesting for access token I am getting the following exception. java.lang.IllegalStateException: Access token already available. Then I searched on stackoverflow. I got this post Twitter4J Access token alread...

I previously called that asynctask in onResume() when I used simpleCursorAdapter.
why in resume();
?
@Appu
@chintankhetiya Because to reflect changes and execute it even when the addition has been done.
@Appu okay now tell me which will call first ? resume or create ?
sorry i am not getting your coding way
06:16
@chintankhetiya when? When the activity is freshly started, onCreate is called and then onResume. When the activity is in backstack, only onResume will be called.
but why you are doing this , because asyn will not damage your main UI thread. then why don't you call in same OnCreate() and update in resume while fetching a freshly data from db
then it will be called twice.
when the activity is freshly started. Understood?
what is your issue ? you are getting blank array or list ?
@chintankhetiya Hi,I have one Problem that my application Screen Elements ImageButtons,ListViews etc.. are varying Diferent Sizes in Different Mobiles?
@Appu
Has anybody worked with viewpagers and page adapters
06:30
have you create a as per size of ldip - mdpi - hdpi , @String
@Er.NikhilAgrawal sorry ,:(
ya created
@chintankhetiya
@chintan
new pic hmmm
then check out your layout view in eclips editor
@String
@Er.NikhilAgrawal yeah :)
ok,i will check and let u know
@chintankhetiya
@chintankhetiya I am confused where to use it perfectly? I mean calling asynctask.
@chintankhetiya I am disappointed, because you are throwing an asynctask tutorial which I know well about.
:/
06:38
1 message moved to recycle bin
@Appu now is it okay ?
:P
as i have done in my app, i am calling in onCreate and notifiystate in resume if needed.
@chintankhetiya You used asynctask exactly as in my requirement?
yeah , but inverse , fetching data from web service (se per provide link) using interface i am getting update each time , so no need to add in resume also ,
@Appu
Hi @Appu @chintankhetiya
Any on tell me how i can use interstitial AD_UNIT_ID in admob .
06:54
Sorry, no idea.
hello,@appu @ck
Hey!
@AnilMetatagg hey , where are you from ?
ahmedabad
@Rank no admob :(
06:58
@chintankhetiya Can you show me your outline code on how you used it?
@Appu pastie.org/7905937 , i have used as i post a link before some time and its good
Oh!I think it is no way related to my scenario.
lake of faith :P @Appu
@YadavChetan hey buddy :P
07:05
Hello all
chintan
Do you know how to implement left/right swipe
om ListView items
@Er.NikhilAgrawal @Villan have a example and he knows about it , i have tried that but due to client changes i have move on
@chintan where can I find him
here , just shout :P
@Villan are you there buddy ?
hi out there
i am here :P
welcome
@rekire
late (what's your time) ?
07:13
@chintankhetiya hii
@chintankhetiya what's up?
@chintankhetiya ?
not bad :P
07:16
@chintan it's now 9:16
@Appu @AnilMetatagg @Neil @rekire @Rank hii
hi ;)
@Pratik Ciao
does someone know a way to get the scale factore of user defined font scalling?
then you are so early compare to me , i has at 10:10 :p and right now 12:47 pm @rekire
07:18
well I'm on working since 8:25
@Pratik Howdy!
@rekire Yo!
@Neil buongiorno! Come stai?
I had a talk with a apple fanboy about the HTC One and the Samsung Galaxy S 4
BRB.
@Appu Busy week :(
@rekire Oh? That must have been an interesting conversation
well it seems he will buy the HTC One while I may buy the S4 (but I am a official Apple Haterâ„¢)
07:28
@rekire why?
@Pratik which part?
@rekire Why don't u like apple?
why I hate apple? I have not enough time for listing all points :D
basically I hate the kind of they work and their idea of support and in general I don't like their software
@everyone hi
@rekire ok.:)
@mystery hii
07:30
@rekire lol
the only good point of apple is marketing that is the only what they really can
@Pratik i have a question and need help
I cannot understand why sooo many people buy that trash
@mystery ?
@rekire what are you think about android ? :P
07:31
So and now I have to figger out that scalling factor
@chintan different ;)
@Pratik i want to make a video from lots of photos and a sound how can i do it in android
I like the open source idea so you can check what the system does and you can if you like modify it like you want
@mystery before you start , introduce yourself (not compulsory ) :)
@rekire yeah , control goes to our hand and we can modify if we need
@mystery sry to say i have not worked in it yet..but i will give you useful links
@Pratik thanks
@chintankhetiya i m a android developer in turkey =)
07:35
properbly every user in this room is from a differnt country
@chintan you life in which country? I forgot it
@chintankhetiya yes
sir
@rekire i think that is uniqueness of this room ,
@Villan hii
@Pratik hi
@Villan buddy , help to Mr. @Er.NikhilAgrawal about view pager
07:37
@chintankhetiya whereis he?
27 mins ago, by chintan khetiya
here , just shout :P
@chintankhetiya i already did it .. do you heard?
then what is the use of shouting here @chintankhetiya duffer boy
:P
@Er.NikhilAgrawal
@chintankhetiya going to lunch bye
@mystery i m searching link.wait
07:39
@Villan bu bye
@Pratik i m waiting thanks
@Villan
Hello
are you here
@Pratik thanks i will try it
6 mins ago, by Villan
@chintankhetiya going to lunch bye
@Er.NikhilAgrawal
:(
07:45
@chintan
@all bye guys i m also going to take lunch
wher is villan
he is away for launch will be back in half an hr
okkk chintan I amslo going for luch
When you are goint to take your lunch
tata ,
at 2 pm
07:49
chintan please look at this query once
4
Q: Observing changes in android content observer for Audio.Media.EXTERNAL_CONTENT_URI

Er. Nikhil AgrawalHello everyone , Sorry if you think that this question is repeated but I am asking this question because seriously I am not getting the solution for it. Actually I am developing an android app in which I have to detect changes in android sd card for audio files with the file name , file path an...

08:06
@chintankhetiya hello brother, kaise ho
fine aap bolo
great
pic achi lag rahi hai bhai
@chintankhetiya
hmmm
@chintankhetiya bhai sahab i want to sync google account on emulator
0
Q: How to Sync a Google Email Account on Emulator

Chulbul PandeyI am trying to sync google mail account in Emulator, but after filling account details i am getting below screen and whenever i do click on Sync Now not Syncing my account... before asking here i searched a lot, but did not get anything helpful..

08:22
@chintankhetiya @Er.NikhilAgrawal hi
08:33
@Villan @Appu Hi ALL
Hey!
@villan hi
I think you are back from lunch
@villan
where r u buddy
08:50
@Er.NikhilAgrawal yeah bit busy
please give me your id so that i can mail you a demo
Thank you villan
I wanna know one more do you some good tutorials for ViewPager and page adapters for beginners
@Er.NikhilAgrawal check it out
@Harish @chintankhetiya there?
08:53
the one i sent you is [email protected]
Okkk Thnak you villan
Thanks
@Appu Yes
@Neil @rekire there?
@Appu What's up!
@Harish Did you implement the idea to apply a counter in onResume()?
to call notifydatasetchanged.
08:57
@Appu what? i didn't get you?
I told you once to set the counter boolean to check whether the update has been made. If it is true then only execute asynctask in onResume().
@Appu okk
Have you?
I am stumped to apply.

« first day (188 days earlier)      last day (3287 days later) »