« first day (403 days earlier)      last day (4534 days later) » 

5:38 AM
Morning
 
Hi Lalit
@nil Are you here?
 
Hi Judy, how are you?
 
I has to search some information about Apple AirPlay
 
I heard about it from you only last time. :P
 
:D
There is few information about it not like the DLNA
 
5:46 AM
might be, I haven't googled yet. :P
 
:)
 
6:02 AM
GRRRR I hate the android rating system
you shouldn't be allowed to rate an app unless you leave a comment
 
user457812
@Judy Am now. Sort of.
 
user457812
Assuming my connection doesn't die yet again.
 
nil, Are you familiar with iOS?
 
user457812
Somewhat.
 
how about multimedia?
 
user457812
6:07 AM
What does multimedia mean?
 
user457812
That's way too general to say yes or no to.
 
Did you write some app about “video or audio playback"
 
user457812
No.
 
Do you know some information about Airplay?
 
user457812
Nope.
 
6:08 AM
I am trying to study Apple Airplay.
 
user457812
Documentation would probably be a good start.
 
but this is how to use "Airplay function" in applications.
 
user457812
I don't think anything about it looks particularly difficult to use, but whatever. Either way, this isn't the room to discuss it in, and I'm not the person to discuss it with.
 
@nil Do you approve of the logo on this? i.imgur.com/qgg3yl.png
 
user457812
Gradient looks subtle enough that it's not annoying
 
user457812
6:18 AM
Probably works
 
yay
good thing too, because I had already replaced the drawables in my app :P
took me a week to make that logo (after going through a dozen different designs)
 
nil OK, I see
 
Hello all
Morning
0
Q: java.lang.StackOverflowError while adding new activity in activity group

DharmendraI am getting stackoverflow error My layout structure as below <TabActivity> <tab1><Activity name="home"> <tab2><Activitygroup><activity name="XYZ"> <activity name="options"> <activity name="thankYou"> &...

 
6:36 AM
21
Q: Why was this election so (relatively) unpopular?

NullUserException อ_อFrom the election page: Previous Current Increase Voters eligible 43,778 72,908 66.5% Visited 14,130 17,866 26.4% Voted 4,970 5,004 0.68% (!!!) There's a significant increase of eligible voters compared to last time aroun...

Also results are out.
 
Do you know what can be the reason of my problem @Reno ?
 
7:02 AM
The answer by Adil is correct.
 
7:22 AM
Yeah right it was the problem of multiple hierarchy of the ViewGroup
 
 
1 hour later…
8:30 AM
somebody here?
 
9:01 AM
Yes
Morning everyone
 
good morning
 
Morning @Gabrielle, how're you?
 
fine...i'm tring to solve a faimos error : OutofmemoryError
 
Sounds like fun
 
yes it is...but today is my birthday and i want to not solve this kinds of errors :D
do you know some solution for this error?
 
9:16 AM
Yup - don't run out of memory.
 
9:27 AM
More seriously - you either have a substantial memory leak, or you're trying to load too many things at the same time and not destroying them.
 
what do you mean "not destroying them" ?
how to destroy them ?
 
An Object will get destroyed (more or less) when there are no references to it.
 
on Iphone you can call release for release objects...but here ?
 
2 mins ago, by Graeme
An Object will get destroyed (more or less) when there are no references to it.
:)
 
9:43 AM
People have to you what you're problem is
You're using too many & too large Bitmaps.
 
good morning
 
morning
 
10:00 AM
@Gabrielle Answered.
Morning @safari
 
morning !
Does anyone know if it's possible to customize layout element when the layout is in pressed state ?
 
@Graeme I tried this with recycle() many times but i don't see do effect...it work the same
 
Ah, then do the first part of my answer. Smaller or less bitmaps.
It may not be the answer you want, but it /is/ the answer.
@AsTeR Usually a background/src of a layout is a reference to it's background/source image in every state. You need to specify an XML resource which is a selector element to specifiy the selected/disabled/focused/normal background images.
Hope that helps.
 
10:18 AM
@Graeme I already did it, my point is to highlight some textview inside that layout
 
Then set the TextView background?
 
10:30 AM
hey everybody :)
 
I have a difficult question for y'all
 
what is it?
 
How can one make a button with a background image, which also has text? The text must be on the background. The background must not scale.
 
so the image allready has text on it?
 
nope, I want to just put text over the top
 
10:33 AM
@Glitch Custom component - Want me to just give you the custom ImageTextButton I've already made? Save you the time?
 
Sure, that'd be nice.
I would have thought this was doable with standard Views
But this is Android! Of course not!
 
i've got a question myself... :p
why does setting a background that's bigger than your view cause the view to expand?
 
@Graeme I would like a mecanism inside the xml (to avoid code)
 
@AsTeR you can specify android:background="@drawable/somexmlfile" in a TextView
@Glitch Don't be silly. You have my custom component now. You'll need to do your own images but that should be 90% of the work for you.
 
yes but if I set a state_pressed on this view I assume it won't switch with the global layout ? Am I wrong ?
 
10:43 AM
I don't know what you're talking about
try creating a question
 
@Graeme How am I being silly? It seems like a trivial thing to do. Also I don't see your component?
 
@Glitch Being silly thinking that Android would just give you one that worked :)
And it's in your dropbox
attrs.xml, .java and a layout.xml
 
ahh, thanks
 
What you needed?
 
10:59 AM
anybody?
 
@mars Because that's the way it was programmed to work?
 
is there a workaround?
 
Well,.. no it's not a bug.
 
coming from webdevelopement i'm really not used to backgrounds stretching the container
 
You're trying to set the background of a view, and the background image your using is 100x100 (per say) and you don't want the view to expand to at least 100x100 ?
 
11:02 AM
correct
 
You can set a flag if I remember rightly...
 
@Graeme I think it's what I want, I can't try it until tomorrow (I have to get a stack of uni work done >_<)
 
kay - well its a really a basic custom component so you can turn it into anything you like without much effort.
@mars Sorry, I would be more helpful if I could be. Can't remember running into the problem before. Have you tried instead having an ImageView behind your other View in a FrameLayout ?
 
no I haven't yet but won't the imageview cause the framelayout being set to wrap_content to expand too?
 
@mars Getting your head around Android layout's take a while. I take it the view you want to have the background is set to wrap_content too?
 
11:10 AM
yes it is why?
 
Because otherwise it makes the whole process much easier.
 
hmm... i really can't know what the size of the view will be beforehand...
 
What sort of background are we talking about?
Like, a button background?
Or a photograph?
 
more like a photograph
can't turn it into a 9patch
 
ah, i see you've already gone that way.
Right, so, you may not be able to do this in XML
(which, you're right, is ridiculous)
 
11:17 AM
if I do it in code, won't everything be laggy? if i'm going to use it in a listview
 
I would suggest that there must be a way of knowing if not the View with a background's size, you know it's possible limits. That means you can specify the ImageView's dimensions.
Won't the image you're using be horribly stretched if the View can be any size?
@mars This is what I was thinking originally: androidblogger.blogspot.com/2009/01/…
 
I've set it to be tiled in the xml
 
Ah, so, there's no problem then as long as you're tiles are small enough!
problem solved :)
 
yeah:p but that way the photograph part of the background gets lost :(
 
So, the solution as I see it: Rethink what you want the output to look like - or use onFinishInflate() to define the ImageView after the parent's dimension has been defined.
gtg, wasting too much time in here - have my own work to do.
 
11:23 AM
ok thanks for the help :)
 
 
1 hour later…
12:34 PM
hello guys, it's possible to draw text with background ?? using canvas ?
 
You mean a TextView with an Image bg?
 
1:12 PM
@Reno is there a way to restrict calling onItemSelected() when we set setSelection() attribute of spinner from another spinner?
 
What is Lint ?
 
From that page.
> Lint is a tool which looks for common bug patterns in your Android projects.
More on Lint for Android.
2
Jeez, that is awesome!
 
ah, sounds good
 
Preventing bugs and helping developers resolve those bugs is a huge step forward.
 
Seems nice stuff.
 
2:11 PM
Will give it a spin once it's released
 
2:22 PM
 
 
2 hours later…
4:00 PM
good morning
 
Morning
 
ever worked with popupwindows
 
yup
 
theyre so awesome
much better than toasts for a lot fo things imo
my question: is there a way to launch them without referencing a view?
 
4:29 PM
without referencing a view... in what way?
 
basically, if i try to launch a popup in oncreate i get this: Unable to add window -- token null is not valid; is your activity running?
because even though the view has been initialized it has not been technically created yet
because we are still in onCreate()
 
morning
 
im trying to have an activity where the popup launches along with the activity
 
When you say "popup" - what do you mean?
Morning @Pyrodante
 
popupwindow
 
4:37 PM
Ah ok
yes ive used them and since moved on
 
 
1 hour later…
6:04 PM
welcome @solairaja
 
6:32 PM
i have a member variable making itself null for no reason ='(
 
6:55 PM
this is frustrating
 
I wish the rainy day wasnt "test the GPS" day
 
7:34 PM
do you have question posted on SO JMRboosties? whats the link?
 
im gonna make one now
ive given up on figuring this out on my own
 
post the link when your done, please!
 
will do
 
im sorry i know this is off topic. but where on SO is a good place to just chat and bs with other developers. i know these chat rooms are very specific
 
there are some lounge rooms
i think the c++ lounge is pretty popular
 
7:40 PM
I bs in here quite a bit :D
 
we talk about random stuff here all the time tho
 
thats cool
any restrictions? like if i say ios > android
will i get booted
 
we find you and burn your house down
or something
 
muhahahaha my house is made of stone
u can huff and puff but no blowing my house down
 
lol
almost done with the question
 
7:51 PM
9mins till i leave for thanksgiving vacation. sorry guess i should have mentioned that sooner. ill still look though
well it was 20mins ago technically
 
lol
 
post link!!!!!!!!
 
almost done
0
Q: My Android camera Uri is returning a null value, but the Samsung fix is in place, help?

JMRboostiesSo I am aware of the camera's issue on Samsung devices. You need to create a Uri before calling the camera intent like so: Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); ContentValues values = new ContentValues(); values.put(MediaStore.Images.Media.TITLE, m_u...

@owengerig posted!
 
errrr, ya i read it over, but dont see an immediate answer. ill look at it again later if it doesnt get answered by someone else. im sorry
 
welcome @NPike
 
8:04 PM
np
 
have a good holiday everyone!!!!!!
 
any thoughts @Pyrodante
 
my first thought is your checking if the intent is null not the uri
the intent wont be null, it just wont have a uri
 
the intent is null, however
my log files reveal that it is
 
so the real problem is today is not a slow day so I wont have time to dig into it
 
8:29 PM
np i understand
 
 
1 hour later…
9:49 PM
fixed it. the activity is destroyed during camera in one of the activities but not the other, lol
 

« first day (403 days earlier)      last day (4534 days later) »