« first day (1431 days earlier)      last day (3518 days later) » 
00:00 - 18:0018:00 - 00:00

lol
I have a game idea that I'm excited for
still planning things about, but will hopefully get into coding it soon
don't have much spare time though :/
 
code through it on the weekend
just shut yourself off from civilization
and power through in 48h
 
lol, weekends are my video game time :P
will have to make time I suppose
I'll also be doing it in either NodeJS or PlayFramework, so need to learn those as well
 
don't do node if you've never done node :|
it can get really messy
 
why? it looks fairly simple
 
6:10 PM
most code I've seen in nodeJS is really bad
 
lol
 
granted, it was all on github from "startups" aka highschoolers and pre 20-somethings
so that might be the problem
 
I'm no javascript pro
so I'm sure my code at first wouldn't be great
but all the tooling I should be able topick up quickly
 
are you planning to do an android game with a backend in nodeJS or just a web game?
 
ahmad, the node code you've seen was crappy because node is crappy or because of who wrote it?
 
6:14 PM
something from both
 
it will primarily be a web game, however it's kind of unique
and I'll provide a native android experience
 
sounds good
viral-going-material?
 
it's mostly a data-driven game that you check once per day
and then build up your account over time
 
I LOST THE GAME!
 
lol
sounds interesting
 
6:15 PM
I played a similar game ~5 years ago or so
 
this reminds me of this stocks game I played once
 
and thought of ways to modernize and improve it
 
you could trade stocks for their real prices and had 50k in your depot at the start
I managed to double the money in a month lol
 
lol
yea basically this will be an empire building game
where you grow the amount of money you receive each day
and can attack other people, etc
 
oh cool :D lol
 
6:17 PM
can I steal someone elses money?
 
you could partially in the old version I played
if you were at war with someone each of your attacks stole a % of their reserve money
 
@MDroid Welcome. Please read the room rules (especially 3&4) and follow them.
 
o/
 
\o
 
6:38 PM
Hey All...
Thanks ...
 
what's with the dots?
your keyboard got stuck?
 
typo style! there is no any specification for this in the room rules :p so you have to manage with that
 
Well, it's a very bad typing style
 
well... I don't know... about that...
 
Plus, I AM THEM RULES
It always feels like the other person is insulting one
 
6:43 PM
@Ahmad its none of your business with my typo style :P
 
it does sound sarcastic
 
ikr?
the "Thanks ..." for example
 
okie
 
it's like office space
thaaaanks...
 
as in, dude, okay you let me in, now let me alone
 
6:44 PM
what's the mean of I AM THEM RULES ? @Ahmad
 
it was a joke
 
Ahmad is the owner of the room
he makes the rules
 
and this^
lol
 
:) :D well nice to meet you all!
 
delighted to meet you as well.
I was talking about bad node code earlier
 
6:48 PM
o/ <--- this is how we wave
 
o/
 
@Guilherme I hate you, I had like a year streak of not losing.
 
\o
 
Hey guys, I've started a new religion called "Don't feel like exams today". student.unsw.edu.au/sites/all/files/uploads/group47/forms/…
 
6:49 PM
lol
 
well, this is indeed strange
 
Why would you want a website constructed through sms, isn't that what 4g is for?
 
@DaveS hate the game, not the player
 
I do hate the game, now I gotta text a few people and make them lose too
 
ahmad, why android studio not showing my moto g 4.4.4 ?
 
6:54 PM
TGM restart adb server and try again
also make sure debugging is enabled
 
it's showing genymotion devices
 
unplug and plug it again
 
afaik adb server restarts automatically when you restart android studio again
 
dave: because data is not available everywhere, but SMS, practically is
 
that I did many times
 
6:55 PM
in africa and so on
 
or last resource, add the vendor ID to ~/.android/adb_usb.ini
 
Ahmad: ah yeah i suppose so, would definitely need unlimited texting though.
 
ok
 
I have a ListView with variable width. Its content view has a fixed width. how can I make it appear centered in the ListView?
gravity is already set to center
 
i'd suggest setting the layout of the row to match_parent, then using layout_gravity center_horizontal for the content
 
7:05 PM
@DaveS yeah
but for emergency internet it's pretty good
 
0
Q: Develope Application for interior Design in Android

MDroidI want to develop and Android Application for Interior design like Greenlam application and many more apps available on App store. Requirment : There will be one image of Living room with furniture. now I need to apply different types of design(These design will be different images) on that furn...

 
yea
 
thanks Dave, perfect!
 
np
 
the scroll bar crosses the list dividers. my OCD doesn't like that :(
 
7:08 PM
i have a solution for that too lemme look up the variable
 
don't worry
I'm the only one with OCD here...
boss won't even notice
 
android:scrollbarStyle="outsideOverlay"
puts the scroll bar outside the padding for the element
default is inside the element
 
hmm that's quite simple, lemme try
 
there's also outsideInset i believe that adds it as part of the padding
 
the first one didn't work
outsideInset did! thanks
 
7:11 PM
np
 
apparently someone from the UK logged into my gmail account O_o
 
probably banksy
 
I hate the fact that the app I spend less time thinking on good UIUX is the one that looks best ¬¬
 
lol
 
Moto 360 is back in stock, but they've managed to block shipping forwarders :(
 
7:16 PM
lol
change your pw dude
 
I have
Just seems weird that it doesn't come up in my google security history
And both accesses were exactly 30min apart
 
probably some service you've linked your account to
 
don't recall allowing anything access to my mail...
 
I hate when I find a lib I like, but I can't add it via Gradle
 
I hate that when working in xml my eclipse sdk parser will fail 1/2 times a day and I have to restart eclipse, clean then build.
 
7:25 PM
I have countless reasons to hate Eclipse
 
o/
 
hey Noé o/
 
I just don't want to switch ide's mid project
I'll prolly try out AS eventually
 
yeah, mid project might not be a good idea. but you really should try AS
 
7:26 PM
Yea....
 
^
Sure, you'll have some problems with AS
 
how can I make a .jar from a project?
 
but it's nowhere near the problems you have with eclipse
 
well I'm working on this project into Jan, then maybe the next thing we do I'll bust out AS and go through the learning curve
 
problems with AS are solvable
 
7:27 PM
from an android project gui?
 
you can't
you can however
create an aar or an apklib
 
import as a module
 
the latter looks like it's deprecated in the favor of the former one though
 
@Guilherme after restart the system, everything is working ok now thanks :)
 
7:29 PM
nice TGM
 
if you want to create an aar
you just have to build your project and then look into the build folder
 
that simple?
 
yeah
 
i knew there was a catch
I hit Build > Make and nothing happens
there's no build folder
 
there is lol
look at your project outside the android studio view
 
7:32 PM
nope, there isn't
 
AS doesn't display it
 
i am looking!
 
LOOK HARDER!
 
use your eyes harder
Is that the root of your project?
 
7:33 PM
yes
 
Like if you go up another level there will not be any other files related to your project?
 
I can't use my eyes harder since they haven't fully recovered from the surgery yet
 
nope, Noah... only the other libs
 
well I have one :P
 
Well..........
Thats odd
 
what did you run?
./gradlew build or assembleRelease?
 
Build > Make Project
 
see, make project just runs assembleDebug iirc
maybe that's the problem
 
bash: ./gradlew: No such file or directory
 
7:37 PM
ಠ_ಠ
you don't have a gradle wrapper? lol
 
there's no Gradle tab on the right side
i've just cloned the repo
 
if there's no gradle tab then it might not be a gradle project… lol
 
you might wana have one of those
 
since AS allows ant builds as well now
didn't it prompt you to convert it to gradle?
 
7:39 PM
Doesn't gradle use ant a bit?
 
no
 
Hmm, thought so.
 
it's an entirely different build system
 
I think I'll try to Import Project rather than Open
AS asks for a gradle home path, wat?
 
It should magically find that if you hit some buttons.
 
7:45 PM
Gradle version 1.10 is required. Current version is 2.0
2
 
makes sense
 
I use 1.12
 
-10
Q: I want to ask about the creative ideas to develop a new software or android application? problems in softwares?

Zeeshan SardarI am student, I need some ideas for my final year project to make it one of the level best project in my university.

lol look at the comments
user image
4
 
Ha ha ha
 
7:53 PM
lmao
 
gave up. I'm adding as a new module
is it possible to add a view on top of whatever layout is being displayed?
 
Like a dialog?
 
yes
 
yeah use a Dialog or DialogFragment
 
You could make a fragment that is match_parent
 
8:08 PM
if you want to fill the screen just set minWidth and minHeight to 1000dp
for a dialog
 
I want to display a nice progress dialog
 
do you want to update the progress or just show an animation?
 
an animation
 
simple Dialog then does the trick
 
I only need to override the view, right?
 
8:12 PM
if you use a DialogFragment then something like this
FragmentManager fm = getSupportFragmentManager();
SetDurationDialog setDurationDialog = new SetDurationDialog();
setDurationDialog.show(fm, "fragment_set_duration");
in the onCreate just inflate the view, do whatever you need
 
what about this?
Dialog dialog = new Dialog(this);
dialog.setContentView(R.layout.progress_dialog);
 
then dialog.show();
 
yes
 
yeah should work
if you want to get away from the terrible android dialog styling
you might need to make a custom class
 
why? the way I did will add the view inside the default "frame"?
 
8:14 PM
setStyle(STYLE_NO_TITLE, 0); // remove title from dialogfragment
getDialog().getWindow().setBackgroundDrawableResource(R.drawable.gmg_dialog_bg);
can't do either simply in xml
well you can remove the title
but i found changing the background of a Dialog to be tricky
 
good night
 
night tgm
 
anyone know any tricks to get the drawing cache of a surfaceView?
 
8:56 PM
I can't see my progress dialog... I don't know if it's because of some error or the task is just being executed very fast
 
debug it
throw a break point after the show
 
or just dont dismiss it :P
 
that too
 
evening
I've £10 google play voucher, any apps worth getting?
 
Tasker
if you like podcasts: BeyondPod
 
9:01 PM
has been quite a while since I bought any apps
or actually even downloaded some free ones
 
already got Tasker :)
 
will scotland be on this map soon?
when is the referendum? on thursday right?
 
We were one of the first. We're trend setters
 
lol
 
9:19 PM
gotta respect the UK man
thats a tiny little island and they had so much of the world dominated
 
ikr?
crazy
 
We did our best
 
ugh, trying to debug custom widgets can be such a pain in Android
it doesn't give me any meaningful stacktrace
 
go crazy with log statements
 
debugging through android source code right now to try and narrow it down
I think it's an attribute I use in xml
 
9:33 PM
what's the best way to open all files with a specific ending in a folder?
I'm currently doing open *.js -a "Sublime Text"
but this just opens the ones in the current dir, I want to open the ones in the subfolders as well
 
what command prompt is that? does open have a recursive flag?
 
posted on September 16, 2014 by Android Developers

Today, we’re excited to introduce the latest version of Google Play services to help you easily build on the newest features from Google and optimize your apps. Google Play services 6.1 adds Enhanced Ecommerce analytics support from Google Tag Manager and offers new improvements to the Google Drive Android API. With the latest release, we’re also including a refresh of the Google Fit deve

 
yeah that's what I'm trying to find out
but apparently it doesn't
the only way I found to do what I want to do is by doing it with find
 
yeah probably need to do a find, then open on the results
you could write a script that does it
 
hmm yeah I could place it in my .bash_profile
since I end up doing that a lot
 
9:40 PM
 
nope, not using vim :/
 
Jeeeessuss, cloning the chromium source takes forever!
 
patching those nightly-build-bugs yourself now, eh?
 
yep
:)
Its nice that they have their own toolset so you don't have to run 100 commands to build it
Although you do need 4+ gb of ram to build...
 
WOW, so I just spent the last 30 minutes hunting down this bug
the problem was a null pointer exception in one of my custom widgets
I forgot to set it with findViewById
 
9:46 PM
Ha ha, The NPE strikes again
 
but Android being Android ate my exception and spit out some useless crap
making it impossible to find the exception
 
lol trevor. You clearly need ButterKnife.
 
So yea
11 min in and still goin..
 
yea that would be nice
 
17...
 
9:53 PM
Ah. found an easy way.
Forgot that I could open stuff in ST with subl <file>
so this'll do it
find . -type f -name "*.js" -exec subl {} +
 
nice
 
Man this better be some really epic code(23 minutes)
 
it takes several minutes to clone our git repo at my work
for our main site that is
 
Probs all the history
 
well our site is huge too lol
all the assets are checked in too I believe
 
10:02 PM
Ahh yes
> you can add a --no-history argument to fetch, as in fetch --no-history chromium, and get a shallow checkout.
he he, should of done that
 
having history is useful and worth the wait imo
 
Right, Well off to PSat prep, homefully done by the time I get back(35 minutes)
 
o/
 
10:58 PM
good night
 
11:43 PM
Good day
 
Not bad for my first time posting something on reddit
 
00:00 - 18:0018:00 - 00:00

« first day (1431 days earlier)      last day (3518 days later) »