« first day (1194 days earlier)      last day (2789 days later) » 

01:16
hi, anyone did study about sdlpal?
 
3 hours later…
04:43
@Phantomazi Hey man can I ask you a quick question.
05:37
Hey. Anyone know anything about AVAssetWriter, or understand it?
05:59
Hello Avassestwrite is in field of iphone is class whose description is like this :-
You use an AVAssetWriter object to write media data to a new file of a specified audiovisual container type, such as a QuickTime movie file or an MPEG-4 file, with support for automatic interleaving of media data for multiple concurrent tracks. available here developer.apple.com/library/ios/documentation/AVFoundation/…
any body use mortar and flow libraries from square
 
7 hours later…
13:50
Hey guys
My animations are working beautifully. The problem is that when I transition to another activity, I call up my service to stop and reset my mediaplayer right before I transition but my error listener method gets called before it transition and what it simply does is reset the mediaPlayer. The reason I stop and reset the mediaPlayer is so I can change it to a new song.
My point is why is there an error if all I'm doing is stopping and resetting the mediaPlayer?
Surely if the media player was playing, then it would be valid to stop and reset right?
/musicChannel
/awake
@RicardoAlves Bot Awaken
/musicChannel
Now we have a music channel for us, join at plug.dj/chaosoverflow
/suspend
14:51
@RicardoAlves Affirmative, proceeding to standby.
/goodbye
15:08
hehe
hey @RicardoAlves
Who ever created The plug.dj channel did a good job.
yo anybody working in freecharge here?
@ankitagrawal Hey man I want to ask you a simple question regarding the mediaPlayer.
@ankitagrawal if I set my mediaPlayer properties to something like setLooping(true) and then reset it, Would I have to do setLooping(true) again?
I would say yes
15:23
YES
they did
playing lol, so not focused in here xD
@ankitagrawal cool. I also found out that is was an error for me to create a new MediaPlayer and then immediately set its properties. I had to wait until my mediaPlayer was finished preparing.
16:06
@ankitagrawal Hey man, do you think can figure out why my media player calls my onError method every time I move from one activity to another?
@ankitagrawal Here are the two relevant gists BackgroundMusicManger.java gist.github.com/LuisAverhoff/d6f6a2f85af6093e56c66abd7e5e7a3b WhoWantsToBeAMillionaireMainMenu.java gist.github.com/LuisAverhoff/3cc7c2f81453d10076bc5f1b99c65dac
is Anyone around?
I've got a bunch of questions on picking up correct physics engine
I am trying to build something similar to apple music genre selection control
Something like this - youtube.com/watch?v=n5bLOyowW-g
@LuisAverhoff yes
it's already there on iOS. but i am trying to build it on Android, and looking for correct path to start with
16:13
i am working on something give me some time
@ankitagrawal Alright take your time.
Do you have any idea how to approach this?
@RenoJones Sorry man I woudn't know what would be the correct approach. I'm not experience enough with that kind of stuff.
@RenoJones Maybe some one else around here can help you.
@LuisAverhoff Ah okay, No problem.
Thanks.
16:38
@ankitagrawal I think I have fixed my problem but dont quote me on that.
@ankitagrawal My problem with the mediaPlayer. I'm running some tests
Guys , I've been reading a lot of pdf books on android : are there any app that for example I highlight specific english word then it would translate the word (online or offline). My english is bad so i need translator on text highlighting . Is there such app??
16:59
@ankitagrawal Is it a good idea to deactivate the back button(The button on the left side of the home button) until my animations finish?
you can do reverse
on back pressed cancel the animation
or do what you asked
@ankitagrawal Ok how would you deal with this situation. The user presses a button to go to another activity, some animations occur but suddenly the user presses the back button. What would you do?
if animation is short i will restrict the user
if animation is long cancel the animation
@ankitagrawal but wouldn't that mean that the activity you came from is now is gone if it is the main activity?
if you simply let the user press the back button, it will take them to the next activity while destroying the main activity.
Or I could override the onBackPressed method without the super and create an exit button.
Which means that the only way to exit my app is either if you press the exit button or if the OS kills my app.
17:19
@LuisAverhoff no
back press finishes the acitivity
and not start the new activity
@ankitagrawal No I'm talking about pressing a button that goes to a new activity, but then the user presses the back button.
@ankitagrawal This starts the next activity but finishes the main activity if it is(or the activity before it).
ohh i see
@ankitagrawal now you see
override backpress
@ankitagrawal exactly
17:22
and cancel animation
and both activity
@ankitagrawal Tell me if you like or dislike this solution.
@ankitagrawal I override the back button without the super and create an exit button.
Guys, I'm porting some existing Swift 1.2 code to Swift 2.0 and I've got a small issue. I'm pretty new to Swift at all, so I can't get wrap my head around something.. I'm getting the error: type of expression is ambiguous without more context

Code:

var uuidRegex = NSRegularExpression(pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", options: .CaseInsensitive, error: nil)!
Any ideas?
17:23
user will be annoyed
@ankitagrawal Ok then I know how to cancel my animations but how do I cancel my activity?
finish()
@ankitagrawal right
@ankitagrawal Here is a thought to entertain. Suppose we have 5 activities in our app and we are in the third activities. Now we have the same scenario. User presses a button to go to the fourth activity but the user presses the back button. Would the ideal solution be exit the app completely or finish activity 3 and 4 and go back to activity 2?
3 and 4
dont finish the app
anyways i think you are overthinking things
generally activity animation are super fast
@ankitagrawal Well mostly because I haven't dealt with these things.
17:33
you wont get this scenario 99.(%
as soon as user press a button
a new activity will be started
so even if user pressed back at lightening speed
I think I'll take a look at other peoples app and see how they deal with it.
back pressing will still finish
the 4th activity
there wont be delay that user can press button and back and still activity wont be started
@ankitagrawal It seems like the way that other apps deal with it is by ignoring inputs for the backbutton if there is a transition to another activity. And only when the transition is finish do they respond to the backbutton again.
which app link?
@ankitagrawal I testing it on the play store.
17:42
yes playstore app link
you mean play store app?
yes'
yes the app itself
@ankitagrawal It looks that way to me.
@ankitagrawal Though the problem is how do I ignore the back button up until the activity has finish setting up?
18:07
keep a boolean for that
@ankitagrawal Maybe instead of the back button in the main activity finishing its own activity and the next activity, we could have it simply revert back to the home screen. That way they return to the next activity and can also return to the main activity if they want to.
@ankitagrawal if not, how about a dialog box that asks them if they would like to quit?
18:28
hy every one
hi @ArifNoumanKhan
how are you
fine. just about to finish work for today
thats great
what are you working on ?
always same app XD
18:33
which one
:D
an app for chinese travelers when they go to england
this app will translate restaurant menus and let them order from it
also make reservations
that is nice app
thx :)
been working on it for half a year already
thats long time
its a huge project
18:36
yes looks like huge
are you working alone ?
only iOS dev yes
a friend of mine is doing web app
and the rest of the team does marketing/web services/contact clients
and translation
we are a multi cultural team XD
2 Portuguese, 1 English, 2 Malayan
wow
great
only ios app ?
the app? yes
web app for android
web app ? means web view ?
no no
web page
18:41
then
not in android store
cause in china they don't have android store
no playstore in china ? :o
yes, also didn't know about that
then how they install apps ?
:o
18:56
@ArifNoumanKhan hey man
hi
sup Luis
@ArifNoumanKhan Not much. Just working on my app.
Well I'm off for now. Bye everyone.

« first day (1194 days earlier)      last day (2789 days later) »