« first day (360 days earlier)      last day (596 days later) » 
03:00 - 10:0010:00 - 16:00

3:05 AM
hello
 
 
1 hour later…
4:25 AM
@0gravity good night :)
 
hey
:D
good morning :D
 
are you in Android?
morning :)
 
what do you mean
 
means working on Android?
 
yea
 
4:28 AM
great :D
 
are you an experience android developer?
 
yeah
more than a year experience you can say that :P
 
nice, I which you live close by. :D to ask some questions
 
didn't get you.
yeah sure you can ask me if I know I will answer you :D
 
Hey guys. Would either of you guys mind having a look at a bit of code and giving me some advice?
 
4:32 AM
how long is it?
 
@LalitPoptani I'm looking at you ;)
 
@0gravity whats long?
@rascuache don't look at me I will be shy ;)
 
Haha!
 
@LalitPoptani that message was for rascuache
 
The code in question isn't too long..
Let me explain:
 
4:35 AM
fire it!!!
 
I've followed the randommusicplayer example from the android sdk examples, and I've tried to create my own. Almost everything is working great.. The problem is that when I call next or previous, it changes the path to the song and starts playing it. I want to check to see if the player was paused, and if so, if next is called it should just load the song, and not play it
It's not as complicated as it sounds I swear!
But I don't know what to move out of my playSong() method, so that I can have one method to prepare the path and display it, and another to go ahead and play it.
I fear that asking on SO will get my question closed as it's too specific..
 
@rascuache If you question is appropriate it won't get closed.
 
Anyhow, if you do want to have a look, the code is here: pastie.org/4196928
and if it helps you to help me, I can try to guide you through the important bits..
 
The default behaviour is when we click next it plays next song, why you want to only show the song?
 
If the song is paused, and then you click next, it should load the next song, but not start playing.
If the song is paused and the user wants to play the next song, they should click next, and then click play..
@LalitPoptani the thing is I think this question won't help others, so it's not good for SO..
 
4:41 AM
ok so what is happening in current situation?
 
But I don't wanna waste your time either, so let me know if you don't want to have a look
 
55 secs ago, by Lalit Poptani
ok so what is happening in current situation?
@rascuache why it won't help others? It will.
 
@LalitPoptani in the current situation, when next is called it starts playing, regardless of whether the mediaplayer was playing or paused before.
 
can I see the next button snippet?
 
and the reason I think it won't help others, is because I think this is more a concept question.. Not a specific issue with coding.. I'm a beginner, and I'm just looking for the right way to do it.. I would have to post a lot of code, and the only people who will look at the question would be the ones trying to answer it. I've been in trouble for such questions in the past1
@LalitPoptani although if you think otherwise, maybe I should post it... The problem is I need a bit more help than usual..
 
4:46 AM
57 secs ago, by Lalit Poptani
can I see the next button snippet?
 
Yep, here or in pastie?
Pastie!
 
pastie for sure
 
I looked at "Don't make chats messy with Long Lines of code." lol
 
playSong() does the work of playing song?
 
Yep, which is where I guess I need to check whether the mediaplayer was already paused or not..
 
4:49 AM
I can give you some logic - set a boolean when the song is paused.
 
But, I was thinking I should have one method for prepare, which sets it up and gets it ready to play, and another for play.. But I'm struggling in separating the stuff out of the playSong method..
 
So, when the next button is pressed load the next song, check the boolean and set it to pause if the boolean is true.
 
@LalitPoptani sorry, I have to refresh my browser to read your messages, so I miss them sometimes.
 
no problem
1 min ago, by Lalit Poptani
So, when the next button is pressed load the next song, check the boolean and set it to pause if the boolean is true.
 
@LalitPoptani that's a good idea, the only thing is I'm having trouble implementing it. At what stage in playSong should the flow path change depending on that boolean?
*I don't "miss" your messages, sorry, I just don't always see them till after I've posted ;)
 
4:52 AM
well you need to load next song for sure everytime.
 
But not if the mediaplayer is just paused, and the user wants to resume the song..
right?
 
just you have to check is that is_song_paused.
 
hmm.. I agree with your logic, I have come up with the same idea myself. I just can't seem to implement it!
I think I should just keep trying..
 
Just create you logic on paper and then implement else experimenting on your code will be messy!!!
 
I wish you told me that a week ago!!!!
I have killed my app so many times by experimenting in the code haha
@LalitPoptani I think that's the best advice you could give me. I'll draw it up on paper, and then I'll be able to see what's going on, and what I need etc..
Thanks!
 
4:58 AM
hello all good morning
Lalit Rocks
Kolor
 
@jeet good afternoon (australia)
 
@rascuache thank you
to correct me
 
@rascuache welcome :)
 
Good afternoon @rascuache
 
@jeet hey good morning
Can I know the reason for rocking ^_^
 
5:01 AM
@LalitPoptani Cause you are Rockstar
hehehe
 
Color chalu tere subah subah.
 
@LalitPoptani mere ko jo laga so bol diya, if anyone disagree with me, can object, its a fundamental right of every indian citizen, that he/she can protest against anything, he understands wrong
koi he
 
LOL!!!!
 
@LalitPoptani see, no one here is going to be against me
 
I am against you :P
@SheikhAman morning!!
 
5:06 AM
Morning!
 
@LalitPoptani Coz you are Rockstar(A big Color)
 
I forgot which room I was in yesterday where I met Bella :P
 
@SheikhAman Its Android People
 
ahh :)
thanks! :)
 
kya baat he Bella is also Rocking
 
5:07 AM
:D
 
you know what makes my day?
hearing that MIG-29 passing above my head :D
@jeet yeah..
 
@SheikhAman Color
 
color?
 
you will get to know soon :P
as of now accept it!!! ;)
 
I can't until I know what it is about
 
5:11 AM
hehehe :D
 
@SheikhAman Mughal-E-Ajam is now in Colors
 
okay, so?
its an old news, isn't it?
 
@SheikhAman White Color has all the colors
a rainbow has
A Red Color Attracts your eyes in less time then other colors
 
i don't know whats going on
 
@SheikhAman I am trying to help you in getting, what a Color mean
 
5:22 AM
I know what a color is, but why would you use it here?
 
okay, when we had Mughal-E Ajam in BnW why we need to make it in Color
 
@SheikhAman just skip/ignore as of now don't take it too much seriously. Its just a funny word to enjoy!!
 
@LalitPoptani good idea
 
@SheikhAman plz let me know, when I would irritating you
 
@jeet abey color kaam kar Mugal-E-Ajam leke baith gaya hai :P
 
5:25 AM
me meri teaching power test kar raha tha
 
@jeet you were
 
@SheikhAman I know
:)
but I cant tell directly
coz each person need to make some efforts to understand this word
hehehe
@SheikhAman I am sorry
 
Colors Hiii
 
@Abhi hey
 
How are you?
 
5:34 AM
@Abhi do you got any link about the issue that we talk about yesterday
?
 
@SheikhAman are you there?
 
@Venkat i said already download image to SD card
 
@Abhi I am good, what about you?
 
Hmmm Good :)
 
No@Abhi we can also store in local db i am trying to get that solution @Abhi that's it
coming to sd card we can save it
 
5:37 AM
@jeet can we store image in internal memory?
 
@Abhi yes
 
Can you tell, how?
 
Yes I am
 
but what do you mean by internal memory
@SheikhAman I am sorry, I was kidding only
 
@jeet directly in phone memory not in SD card
 
5:40 AM
Its okay..
 
@Abhi we have convert image path into byte[] and then save in sqlite DB
 
@Venkat This is what i am telling from yesterday.., you can save image as BLOB.But it is not recommended
 
@Abhi no, you cant
upto my knowledge
but you can consult more android developers
 
@jeet are you telling to me?
 
@Venkat no, to Abhi
 
5:48 AM
ok @jeet
 
@jeet you are saying about SQLite or internal memory?
 
yes i am also talking about internal storage @Abhi
 
@Abhi phone memory
 
hmmm @jeet
 
@Abhi what do you concluded
?
@jeet
 
6:00 AM
13 mins ago, by jeet
but you can consult more android developers
 
6:22 AM
@Abhi hiiii dude.
 
@NJOY Hoyyyyy :)
 
@Abhi :).
 
How you doing man
 
ohhkkk can anybody help me regarding this.
0
Q: Mopub Ad failed to load in android

N-JOYI have integrated Mopub Ads sdk in my application. I have created an account at Mopub and got an AdUnitId for my aplication. I have followed all the steps mentioned in the mopub tutorial, though steps were very simple, i failed to display ads in my application. I always keep getting the follo...

going nice.
what about you.
howz you doing?
 
Me too good..., is it different from ADmob?
 
6:27 AM
@Abhi ya different from admob.
it covers many other ad networks.
 
Good Morning All
anyone have idea on pogo plug in android
 
6:52 AM
hiii @all
 
yaar remove this "Feed Items" things please.. its quite annoying!
 
Adjust
 
@RobinHood you can better add it as a chat message rather than a flying pop-up
Explore
 
changed
 
7:03 AM
@RobinHood hello
 
hello @all
 
Hi
 
@RobinHood are u experinced with activity group?
 
RobinHood has stopped a feed from being posted into this room
 
@RobinHood Thanks, but the link of the feed is still incorrect
 
7:07 AM
incorrect?
 
does anyone knows why startManagingcursor() is giving surpress warning in sdk 4.03??
@Sheikh Aman
@Robinhood
@andrian
 
@Venkat which version is it available from?
 
i am using sdk 4.03
 
@Venkat I am asking which version this particular method is available from?
 
since api level1
 
7:15 AM
Good Afternoon
 
@SheikhAman now correct?
 
@Dharmendra Hi buddy,
 
I want to start an application which stores the downloaded items such as books,music,movies in my application since downloading an app from google play wont support with security constraints is it possible to approach?

The Items like books,music,movies will be downloaded from GOOGLE PLAY..those should be stored in my application..Please suggest me is it possible or not?
 
@Dharmendra Afternoon, how are you?
 
Hi, I'm fine
 
7:16 AM
Bahot mar padne wali he tumko
 
What about you?
 
why not replying/
 
Kyu bhai ?
 
@Dharmendra I am fine thanks, yourself?
 
Hello all
I want to start an application which stores the downloaded items such as books,music,movies in my application since downloading an app from google play wont support with security constraints is it possible to approach?

The Items like books,music,movies will be downloaded from GOOGLE PLAY..those should be stored in my application..Please suggest me is it possible or not?
 
7:16 AM
@MKJParekh Hi tereko hi bola :P
 
to ye color kyun, reply kar raha he
 
@RobinHood wait..
 
okay
 
@RobinHood the link still shows http:/// and nothing more
 
/o
 
7:18 AM
 
http://stackoverflow.com/?tab=interesting
this?
 
I am not sure about the exact link
can't even explore, I am not an owner
 
I am not able to get what to append?
confused/
 
@Dharmendra Hajam mera reply kaha hai? :P
 
7:25 AM
RobinHood has made a change to the feeds posted into this room
 
Done
 
11 mins ago, by Dharmendra
Hi, I'm fine
 
@RobinHood Now you got it
 
In this after "Hi" text was for you :P
 
11 mins ago, by RobinHood
@Dharmendra I am fine thanks, yourself?
 
7:28 AM
@Dharmendra kabhi bolta hai Mayur ko reply diya kabhi mujhe, HAJAM :P
 
Any one good in c# in here
??
 
Okay fine to all Good Afternoon
@RobinHood What are you doing with feed ?
 
bastard, where is your mind/
I will punch you :D
 
Come on
Let's see who win
 
yupp @sindhu
 
7:32 AM
Hulk smack
 
yeah @sindu
 
@SheikhAman Hi
@MKJParekh Status?
@AdilSoomro I'm fine thanks. What about you?
 
@Dharmendra haah..!! I'm too good :p
 
Lunch Time
 
Same here.
 
7:35 AM
@Dharmendra hey..
 
@RobinHood I don't know but some times I can't see imges on SO
@Venky: hi..
 
@AdilSoomro Hello mate , how are you?
 
@Venky I'm cool, what about you?
 
hi all
 
I am great thanks
 
7:41 AM
@AdilSoomro that is because of proxy settings in your network
 
0
Q: why app_ appears while creating directory using ContextWraper.getDir

AnshumanIn my app i used this code File DirectoryPath = cw.getDir("custom", Context.MODE_PRIVATE); while creating directory, and it returns /data/data/com.custom/app_custom. So my question is why this app_ appears along with directory name. I know its default, but what actually it means, and secondly...

 
@Venky I recently received an email from facebook having content same like this so what I'm suppose to do.
 
ANY ONE OF PHONEGAP HERE?
 
@Mihir yea.. proxy setting which is on country level :p
 
7:43 AM
@AdilSoomro Lemme read it
 
@LalitPoptani do u know why this app_ appears.
 
might be app == application?
 
@LalitPoptani that i know, but what actually it signifies, and what its importance in file system
 
@AdilSoomro i think it will be @ your company level.
 
@Mihir no, They have no restriction at all :) they are open to us :p
 
7:46 AM
@AdilSoomro I will check it and tell yaar.. No idea about this..
 
@Anshuman It might be generally for knowing that its from your app. I don't think it might have much to do with file system.
 
@AdilSoomro hmm then may be @ country level :P
 
May be we need to shown some Policy page for user, not sure
 
@LalitPoptani ok..one more thing, using getDir i am able to create a directory, but not able to get any clue regarding how to create subDirectory using getDir..it is given in my question, if u know can u show me how that can be done
 
@Anshuman where you want to create directory inside data/data/package/ ??
 
7:53 AM
@LalitPoptani Actually at first i create one directory using getDir() method which will give me /data/data/com.myproject.in/app_custom, Now inside this i want to create another directory.
@LalitPoptani have u got my question
 
@AdilSoomro i need your help, again
@LalitPoptani busy?
 
@Anshuman answered on your question, check it.
@adrian not so, but its time for lunch ;)
 
ok
 
@LalitPoptani ok....thanks....i will check and let u know...........
 
8:52 AM
0
Q: onBackPressed() gets called automatically in ActivityGroup

adrianI have a question about ActivityGroup. Let say I have within the same tab two activities. For developing this structure I used and ActivityGroup like this: http://pastie.org/4197603 In the class extending the ActivityGroup I have the following method: @Override public boolean onKeyUp(int ...

 
hi
i need help with opengl on android
my app works on some phones (galaxy nexus, xperia play) but doesn't on others like galaxy S any ideea why?
0
Q: Why does OpenGL run on some phones but not on others?

rosu alinI have the following code for my Renderer: package hello.project; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.content.Context; import android.opengl.GLSurfaceView.Renderer; import android.opengl.GLU; public class HelloOpenGL...

 
9:06 AM
1 message moved to bin
 
@Dharmendra can you contact PiedPiper?
 
Hi guys, can anybody tell me how to stop pushing up my layout when soft keyboard open up?
 
Nope.
 
why?
 
I am at different place
We are not at same place now.
 
9:07 AM
@Dharmendra look at this please stackoverflow.com/questions/11325591/…
@Dharmendra do you have his email?
 
Yes but office email not his personal and office email is restricted for personal use.
 
@Dharmendra ok
@Dharmendra any idea or you are busy?
 
@Dharmendra hii
@ABhi hi
 
@adrian No idea :)
@nikki Hi
 
hello
@Dharmendra do you have any idea about GCM
?
 
9:23 AM
No hearing first time
 
Actually in my app i was using C2DM now i have to migrate c2dm to GCM
okay no issue
 
WHat is GCM?
 
Google Cloud Messaging
released on 26 june update of C2dm
 
Ohh
 
yes
 
9:27 AM
@Dharmendra hiiii
any idea about this.
0
Q: Ad failed to load in android

N-JOYI have integrated Mopub Ads sdk in my application. I have created an account at Mopub and got an AdUnitId for my aplication. I have followed all the steps mentioned in the mopub tutorial, though steps were very simple, i failed to display ads in my application. I always keep getting the follo...

 
@nikki Have you read this?
 
yes
i am reading this
many things i got
from this link
 
Hmm
 
okay
good and today i saw
 
9:35 AM
You are working on GSM now?
 
@Anshuman did you check?
 
yes @Abhi
 
@nikki teach me also ;)
 
@Abhi are u busy?
 
@Abhi yes sure
 
9:40 AM
@adrian i have seen your question, I never experienced that,anyway i will check and tell after
 
@Abhi please do
 
@adrian Hmm okay but cant right now i am in work pressure
 
@Abhi good luck
 
9:53 AM
@Mihir Hi
 
Hi
 
Have you get my mail yesterday night ?
 
hmmm
 
Now its okay?
 
..
but not tested
but it think its perfect :))
 
9:55 AM
Hmm okay :)
 
hey can you explain your game?
 
Explain ?
 
hmm what are you doing in your game? that cocos2d game
 
Nothing much its for study purpose.
 
ohkk
 
9:57 AM
You had developed in android right?
 
Creating folder and saving image, but folder doesn't appear in gallery/
 
@LalitPoptani Hey color!! what are you doing?
@RobinHood Hahaha
 
03:00 - 10:0010:00 - 16:00

« first day (360 days earlier)      last day (596 days later) »