« first day (524 days earlier)      last day (4438 days later) » 

12:34 AM
Welcome @AndrewD
 
 
7 hours later…
 
1 hour later…
8:45 AM
Hi guys, any ideas ?
1
Q: Handling a core project and multiple derived from it in Android

AlinI've searched around SO for this and found a few things, but I'm still not sure I fully understand, so I ask you for clarifications. Here is what I need: Have a project that has specific function: interrogate web service, display results in different views Have a second, third and forth projec...

 
Can anybody help me in my issues ?
1. How to find the angle of the camera ? Will I have to use sensor or just camera can help me ?
2. How to find the distance between camera and the object?
3. How the zoom level is associated with the distance between object and the camera ?
 
Hello
 
9:36 AM
miaow
 
Hey can you help me out ?
 
Payday. Woohoo!
 
@Dharmendra it's simple trigonometry ... you should be able to work this out yourself
 
Ya done lots of surfing, applied trigonometry, created formulas but now I want to find the angle of the camera that I am not able to find.
 
Hi Merlin
 
9:53 AM
hey graeme ... how's you today?
@Dharmendra use the built in sensor on the phone to get the angle ... keep the zoom set to 1.0
 
Can I get angle using Accelerometer ?
 
The Gyro probably
 
2
Q: Determine angle of view of smartphone camera

GobiasKoffiI'm trying to determine the degree size of the field-of-view of a Droid Incredible smartphone's camera. I need to know this value for an application that I'm developing. Does anyone know how I can find out/calculate it programmatically?

That answers all your questions I think.
There is a usually a roll, pitch, yaw position (gyro) and rate of change (accelerometer) ... they're probably all part of a standard package nowadays, but as Reno says ... technically it's a gyroscope
 
10:12 AM
I seen that answer but could not understand, let me try again.
 
I'm alright - excited but also drained
Going away camping for the weekend but my parents flew back to spain this morning and I won't see my bf till Sunday.
 
10:25 AM
Hi guys
Any help on this ?
1
Q: Handling a core project and multiple derived from it in Android

AlinI've searched around SO for this and found a few things, but I'm still not sure I fully understand, so I ask you for clarifications. Here is what I need: Have a project that has specific function: interrogate web service, display results in different views Have a second, third and forth projec...

 
10:39 AM
Hi @Graeme Hi @Reno
 
@Alin Answered, I feel like I might have misunderstood your question though.
 
@Graeme Ahaaaa
this a very good answer
 
I think i'm right in thinking on final variables, if you leave them unintialised you can initialise them during program execution? Might be wrong and you might have to remove the final variable.
 
aha
thanks a lot.. I was tinking of using strings.xml but I wasn't sure it was a good idea
 
Yup, completely reasonable
 
10:51 AM
@Graeme what phone do you user for development/testing ?
 
lots
Nexus, Nexus S, S2, Prime
 
@Graeme Galaxy Nexus ?
 
uhm... others
Oh yes, not the Nexus Prime anymore is it. Yes, Galaxy Nexus
#o.o#
 
how does it perform ? I am thinking of getting one for myself
@Graeme ah one more thing... from my question: I have Core project and Proj1 and Proj2. Each Proj1 and Proj2 have a screen spash image. This means in each project drawable folder I get a image resource
 
Yup
 
10:55 AM
What about the Core project ? I simply add a dummy 1px drawable ?
 
If you have a Core project which is never set to be released (Usually, a software house will have a demo project which they use for trade shows which have their own images and corperate identity)
 
the Core project is the Library
 
Oh, duh,
Sorry
Set the images to be all #FFFF0000 but the same dimensions as what you'd expect from the projects that inherit
and set all colors as #FFFF0000, set all strings as "###################################################################"
Basically, make sure the default resource that should never be see stand out like a sore thumb. This should mean you catch any resources which aren't overridden.
 
@Graeme great, thanks
I need to have some variable used all around the app, on different activities. Is it a good practice to make a class like
public class Global extends Application
{
and add it in my manifest file
<application android:icon="@drawable/icon"
android:name="compackage.Global
in Global I should have getters and setters for different objects
What I mean is something like this
54
A: Android: How to declare global variables?

ebuprofenCreate this subclass public class MyApp extends Application { String foo; } In the AndroidManifest.xml add android:name Example <application android:name=".MyApp" android:icon="@drawable/icon" android:label="@string/app_name">

 
I've never done it
I prefer to have a separate class with static variables then you know your referring to a static global variable.
 
11:06 AM
ok
:D
is it worthy to spend my money on it '?
@Graeme you didn't mentioned how dows Galaxy Nexus feel
 
Having instance variables in scope across your whole application can (I imagine) lead to some pretty strange behaviour when you have an enterprise level app and several threads all over the place
It's great :D
 
@Graeme :)
 
11:20 AM
@Graeme Actually your idea sounds better
I used it a few times myself
 
Banana phone is the only dev tool for the job
 
@Merlin lol
actually Nexus kinda looks like a banana
 
desperately tries to resist the temptation to download the bananaphone ringtone
 
11:39 AM
I'm resisting the urge to go to Tesco go buy some alcohol for the weekend...
 
 
1 hour later…
12:49 PM
@ereOn Welcome.
 
@OctavianDamiean: Thank you. Hi.
 
Welcome to the channel @OctavianDamiean :)
 
I will have to work on some Hybrid application (HTML5 embedded in a native Android app) in some time. Has any of you already done that ?
 
The most popular app on the Windows Phone marketplace, and the developer decides that it's not worth supporting
That's gotta sting
Basically says that even if you're the best app in the market, it's not worth your time.
 
1:05 PM
wow....
someone got an alpha of ICS running on a N9 ♥
 
Yep, runs decently too
 
yeah watching the video, it's smoother than my Galaxy Nexus!
 
N9?
 
Lumia
 
"the most beautiful phone we've ever laid eyes upon" according to Engadget (or something along those lines)
 
1:15 PM
it's a sweet combination.
 
but not the crappy Windows Phone 7 one, the MeeGo one :P
lol
 
participates in parthenogenesis
 
Google Dictionary's "pathenogenesis"
 
Parthenogenesis () is a form of asexual reproduction where growth and development of embryos occur without fertilization. In plants, parthenogenesis means development of an embryo from an unfertilized egg cell, and is a component process of apomixis. Gynogenesis and pseudogamy are closely related phenomena where a sperm or pollen triggers the development of the egg into an embryo but makes no genetic contribution to the embryo. The rest of the cytology and genetics of these phenomena are mostly identical to that of parthenogenesis. The word parthenogenesis comes from the Greek παρθένος...
 
wow....
 
1:21 PM
I know, I'm talented right.
Although if it was true that someone participated in parthenogenesis it really would make jerking off the same as mass murder...
shrugs I'm down with that.
 
XD
I should read up on this, never know when it might come in handy in an essay :P
gotta stay top of biology in the school somehow :D
 
1:40 PM
Galaxy Note is awesome !!!! Just got one to play with in the office
4 samsung devices on my desk :))))
 
hahaha, very nice
 
Yeah, the note is win
 
We're rolling them out to our field engineers
 
lucky them!
 
It has Crayon physics installed on the ROM :))) Not much dev getting done today
 
1:44 PM
Angry Birds Space is win
much better than the original
 
Crayon Physics: what a win game to play with a pen
 
UX could be better on the note software and the character recog isn't as accurate as ipad3 though ... but still a great device for work and especially gaming
 
Anyone familiar with specifying the sort order of children in expandable lists?
3
Q: How do you specify the sort order for children in an expandable list?

colabugI'm working on a conference application where we want the sessions to be first grouped by time and then by room location. I have successfully sorted by one or the other in my ExpandableListActivity, but have been unsuccessful with both the primary and secondary sort. Set up Custom content pr...

 
2:11 PM
wish you all a happy weekend ..enjoy
 
I have no idea what an ExpandableListActivity is...
 
get an idea
 
o.O
 
ExpandableListActivity - An outdated control I will kill with the next version of the app.
 
Creepy creepy creepy creepy...
@colabug I'd ignore that if I were you o.o
 
2:24 PM
I flagged it an insappropriate
inappropriate
 
OMG
 
@Sameer No, you didn't have to ping her ...
Validated the flag.
 
But yeah, I'd get rid of most of Androids "Help" functionality and write it yourself. If you want to do anything even slight customisable then roll your own
 
But for appreciation i did it
@OctavianDamiean
 
>.< Stop randomly pinging
 
2:27 PM
I am replying to his comment
 
This is your first and last warning. Either you behave in here or ... well ... you know what.
 
@OctavianDamiean Cannibalism again!?
 
Ssshhhh!!!
 
You keep an eye on him.
 
2:32 PM
I don't want to eat him! Although I do like spicey food...
Going LARPing in 20 minutes! Woo
 
What was that inappropriate thing >_>
 
Hitting on the lady coders instead of answering their technical questions
 
Dang I always miss anything even remotely controversial in this nearly dead room
Very stereotypical sadly. This happens on every effing social networking website.
 
Yeah :(
 
To be fair, I haven't worked with a Lady coder for ... 8 years?
You can see why sad lonely men who don't socialise outside of their work would instantly get it in their heads that any women they encounter they should hit on.
... At this point I would like to point out I knew you all for months before I asked for your pictures so I could judge how good looking you were.
 
2:46 PM
Are you camping somewhere in the country side?
 
Behavior like that ensures that they will always be sad lonely men in the workplace and personal life.
Adios, if you come across an answer for the expandable list question, let me know!
 
Did you see the code of the ExpandableListThingy?
 
@colabug Add it to SO - you should get a better response
@Reno Yeah :D It's 30 minutes further away than I thought but it's in woodland in the center of the UK - meant to be beautiful sunshine and 19 degree all weekend too! :D
Just right for hitting people with plastic sticks
And drinking while talking in funny accents
 
does Australian count as a funny accent?
 
@ProfSmiles It does if it's spoken badly by english people.
Right, I'm off - catch you turkeys later! Wish me luck!
 
2:53 PM
enjoy!
 
@colabug try this: public static final String SORT_ORDER = TimeSlots.QUALIFIED_TIMESTART + " ASC," + Locations.QUALIFIED_NAME + " ASC"; // timeslots.timestart ASC, locations.name ASC
Maybe it is a bit silly of me, the only thing I've changed is: removed a space in --- " ASC,"
Iterate thru your cursor and see what it fetches yo.
 
3:18 PM
sup
 
3:31 PM
hi
 
bye ;)
 
 
2 hours later…
5:09 PM
hi
 
5:28 PM
Hello
 
user457812
5:38 PM
Pantsephut must have his sacrifice
 
5:50 PM
heya\
 
user457812
Oh good, I can finally move my chair again
 
user457812
The cat has retreated
 
9:49 PM
Evening everyone!
 
10:39 PM
If anyone comes here, then theres a small question. Don't think, that there is need no to create separate on SO. I'm working on QuizManager app and I would like to hear thoughts about displaing quiz as a list where every question with answers will be represented as a inflated row.
 
user457812
I have no idea what you're asking there.
 
@nil you know what is quiz?
 
user457812
I know what a quiz is, but you haven't asked anything.
 
@nil and you know have usually a listview with custom rows is made on android
@nil so here is the question. Would that be a good choice to display quiz or there might be something better?
 
user457812
There's always something better.
 
user457812
10:46 PM
It's more a matter of trying things out and seeing what works.
 
user457812
You might find that a list is inconvenient or there's some other mode that makes it much more interesting.
 
Okey.
 

« first day (524 days earlier)      last day (4438 days later) »