« first day (416 days earlier)      last day (4531 days later) » 

user457812
12:08 AM
I wonder if it's odd that I don't have any problems giving a 25 minute presentation, but I stutter and have trouble when giving a 5 minute presentation
 
now I need to get this file in sdcard and send via HttpPost. any idea? I dont need to compress it
becaus its like 15kb
 
yea
here is how i do it
 
@JMRboosties so I need to do is, get the file from sdcard, set the HttpPost entity and send it.
 
sorry, you will need to get a Uri from a file first
 
@JMRboosties like this? Uri.parse("file://"+ file)
 
12:20 AM
indeed
i dont think you need the file:// but you might
 
Hi! Does anyone have any experience with localization by any chance?
http://stackoverflow.com/questions/8393771/android-not-using-finding-my-hebrew-localization
 
@isep answered your question
 
@rogcg It works!! :D
 
@isep set as the answer. =)
 
12:35 AM
@rogcg Much obliged!
 
@isep You`re welcome.
 
now can anyone tell me WHY it is iw
 
LOL HebrIW!! LOL
 
I guess that makes sense considering its a language read in the opposite direction but then it should be wi :P
 
which is weird since its 'he' according to the standard its documented as... loc.gov/standards/iso639-2/php/code_list.php
 
12:38 AM
Just raise to 1000 in my reputation!! YEY!!!
 
not bad!
 
@Pyrodante lol heck yeah
 
@Pyrodante lol, well there you go...
 
what is the problem with mallformed url exception. what is the format I should pass it?
im passin it like http://www....
and it says malformed exception
 
12:55 AM
OK, now that I finally have time again, time to start working on my achievement app again =D
 
Well I am off. Have a good one
 
later
 
@JMRboosties that example u showed me. where does it send the file to cloud?? I just see it reading the file
@JMRboosties this example. pastebin.com/a1QaHCzA im testing it
 
1:55 AM
Why the hell is my app crashing when I scroll my listview?
 
2:06 AM
How would I update a ListView in another Activity from a Service?
 
morning
 
-.- my service isn't even starting
 
2:37 AM
so funny, and I'm in office... can't read them
not office safe
 
So onKey isn't being called.
Any idea why?
0
Q: Android: OnKeyListener implemented Service onKey not being called

NexionSo as the title says, I have a Service which Implements OnKeyListener to receive keys in the background to increment some values in my achievement database. My problem is onKey isn't being called (the service is being created and started and everything) http://pastebin.com/ne6mV7zs Am I going ...

 
 
1 hour later…
3:51 AM
Has anyone used Android's Compatibility Package, I am trying Loader, LoaderManager and CursorLoader, just not getting the instance of LoaderManager's getLoaderManager() in the onCreate() of Activity.
 
 
2 hours later…
5:24 AM
1
Q: Wroking with Android Support Package on 2.2

Lalit PoptaniAndroid Support Package has included many new classes(Loader, LoaderManager, AsyncTaskLoader, CursorLoader,...). I am interested in using these four classes and their use. So can anyone give me some reference how they can be used with lower version. I want to use them with the class that extends ...

 
user457812
6:01 AM
@LalitPoptani You should probably double-check your spelling when you post a question...
 
user457812
Also, why'd you post a screenshot instead of just pasting code into the question?
 
So that the reader can get clear idea about the error.
 
user457812
Your screenshot doesn't contain any errors, it's just code, so you may as well just paste code (in the question, with proper formatting)
 
By this the user will get clear idea that getLoaderManager() is not supported here.
About which spelling are you talking, let me know so that I can correct it. :P
 
user457812
I'm editing your question to correct it.
 
6:07 AM
Ok Thanks. :D
I just edited Working.
 
user457812
Alright, submitted a revision, don't know when that'll get approved or not
 
I think you should edit this aforementioned, in your edit so I can approve it.
 
user457812
What?
 
aforementioned
 
user457812
What about it?
 
6:15 AM
what is the meaning of it?
 
user457812
Did you try a dictionary?
 
No, I didn't.
 
user457812
Are you going to try a dictionary now that I've asked if you tried a dictionary?
 
hehe ok let me try, but you should use simple words rather then tough ones.
 
user457812
Aforementioned is pretty simple. Consider what "fore" means and what it changes to when you prefix it with "A."
 
6:17 AM
Mentioned previously.
Ok thanks for that.
Approved. :D
 
user457812
Hm, laundry should be done soon
 
sometimes it may take time, good to have patience.
 
user457812
*Patience
 
user457812
If I had patients, I would be a doctor
 
Its good to be a doctor without MBBS degree. :P
 
user457812
6:25 AM
I wouldn't go anywhere near a doctor without a degree
 
7:25 AM
@Reno Hi, any answer for my question?
you just edited the answer. :D
 
user457812
The Killing horizon is not near as awesome as its name makes it sound.
 
8:11 AM
1
Q: Get current view of ViewFlipper while it is flipping

GabrielleThere is any way to know want view is displayed on ViewFlipper while it is flipping? I have this problem : my ViewFlipper contains some images and one video. I want that when viewflipper display the Videoview with video, ViewFlipper to stop flipping and Video to start playing. This works only whe...

please help...
 
9:10 AM
Morning :D
@Gabrielle We get asked that question all the time in here
... One of these days i'm going to remember the answer so I can tell people in future who ask...
 
Mornin
can you please take a look at this?
0
Q: Content Provider commons

Marek SeberaFew interesting questions about Content Provider mechanism Should we use Content Provider, when data are not meant to be shared accross applications? Content providers store and retrieve data and make it accessible to all applications. They're the only way to share data across applications...

 
Morning Marek - Seems like a bit of an open ended question for SO?
 
in title maybe, but these questions are QA for sure
I just felt like I shouldn't use three questions as they are tightly related
 
Oh no, there is another site on the stackexchange group where questions like this are answered... just can't remember which one it is now.
@Reno will know
 
if it is better, i'll vote for migration
 
9:19 AM
Maybe, ... but I think it has a lot to do with Android, so Programmers won't do it justice.
I think you should put a bounty on it.
I mean ... If you think it needs more attention.
 
i think it's bountable in 2 days
 
btw, have you heard of CouchDB ?
 
yes
but not in relation to android
 
@Reno thanks, i'll take a look
 
9:22 AM
I've not worked with it tho, I've only heard it's good stuff.
 
I do use JSON API, so I think it can be useful a lot
 
Morning.
 
Mornin
 
@Reno CouchDB is awesome!
Go for it.
 
@OctavianDamiean you have experience with it on Android platform?
 
9:28 AM
I have only played around around with it so far but I'll have the pleasure to work with it soon.
 
looks very interesting
but ooks like it is still in hard development
 
Which is nothing bad.
 
i don't need to use couchbase on server side for use it on client, isn' it?
 
Well to make use of its biggest strength you should use it on the server side as well but you don't have to.
 
because of current project, i can't use it, so thats why i ask
 
9:35 AM
Well yea, you don't have to. You just store whatever you want on the phone in a couchdb and send it to the server via JSON or XML. The backend will have to take care of parsing and storing the data.
 
I'm looking here and it says "This of course only works for applications that have a resizeable area that can be reduced to make enough space". Can you specify an area to be resizeable?
or am I reading it wrong...?
 
Can't follow you.
 
@OctavianDamiean thanks
 
Trying to make the view resize when you open the keyboard, so i changed the windowSoftInputMode="adjustResize" in the AndroidManifest... but nothing happens when you click the keyboard, it still overlays everything.
And the documentation says that the resize area is reduced... as if "resizeable area" is a thing we know about.
Do you know what a "resizeable area" is?
 
hey peeps
 
9:45 AM
Morning @Glitcher
Do you resize or pan your view when you open a keyboard in Lux?
 
user457812
I'd pan if I were handling it
 
user457812
Resizing might result in layout being recalculated (panning could too, but seems less likely in a decent setup), so I'd go with panning.
 
I want the layout to be recalculated. Since my edit text's are in the center of the screen they are being overlayed. There is a enough room for the screen to resize around the edittext.
I just can't get it working :P
 
user457812
Tried a crowbar?
 
Thinking about it
 
10:04 AM
Only disadvantage I found about CouchDB on Android is it's size and memory usage
 
0
Q: `android:windowSoftInputMode="adjustResize"` doesn't make any difference?

GraemeI have a faux dialog which uses this layout: <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent" android...

 
and plus, it stores all data on SD, so It isn't sure that it will work on all phones
 
In case any of you know the answer and want some points!
Hmm.. backticks don't help in question titles apparently!
o.O Within seconds it was edited...
By the evil @MarekSebera !
 
@Graeme just makes me think that by resizable area they mean wrappin the content in ScrollView or something
and sure, sorry for that edit ;-) :D
 
The problem is, since the content is using gravity="center" it's gone tonnes of unused space which could be reduced if only the window size was recalculated...
The dialog's don't need resizing.
I hate these problems where it /should/ be easy and just work
 
10:11 AM
Like everything related to the Maps API?
 
Just like that @OctavianDamiean :)
 
Hi
 
Hi @CSchulz
 
I think I've come up with a way to make Lux easy to use without losing functionality
basically, there's no reason to ever tell the user the lux/luma value
instead I'm going to abstract it into a single "ambient level"
 
Seems reasonable :)
 
10:18 AM
so now there's no linking backlight to lux, instead you link brightness to a particular ambient level
 
Sounds good!
 
If my calculations are correct, most phones will range from 0-18 levels
so that's 18 possible links
 
hates Android with passion right now
 
what's it doing to you?
 
That one gets a star for being so very true.
 
10:21 AM
It makes my life unnecessarily tougher.
How hard can it be to foresee that developers may want to add pins to their map that show a company logo which needs to be downloaded from the internet first?
 
breaking Google's flagship phone because they can
 
But why do I wonder ... they didn't even manage to create a MapFragment yet.
 
10:43 AM
when using REST API, should I create ContentProvider or I'm fine with AsyncTask and some SQLiteOpenHelper ?
 
Did you dump CouchDB?
 
bangs head against desk over and over
 
@OctavianDamiean dump?
sorry, but don't understand your question
 
Did you decide to use SQLite instead of CouchDB?
hates Java A LOT
 
not very, but as the development is in time press, i can't use couch
without further documentation
 
10:52 AM
I should totally dump Java and write my applications in Scala.
 
I've made some tests, and asked for what I need to solve
but there is not such active community support, so I can switch so fast
I can't use Couch if it can't be installed without having external SD and I need to find out how to implement it together with REST API
 
Where did you ask about CouchDB?
 
their IRC, Community Forum on couchbase.org, Android in here and on IRC
maybe wrong time to ask as I'm GMT+1 and others GMT-8
 
11:07 AM
Anyone good at translating AsianEnglish to English?
 
Asia is huge :)
 
what is it "AsianEnglish" ?
 
What do you want to translate ?
 
@MarekSebera The wrong platforms to ask. You should ask on Stack Overflow, not here. ;)
 
;)
ok, i'll do
 
11:10 AM
When I say "AsianEnglish" I mean English as written by someone who's native language looks to be maybe Indian?
0
Q: android:windowSoftInputMode="adjustResize" doesn't make any difference?

GraemeI have a faux dialog which uses this layout: <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent" android...

Don't understand the comment on my question.
 
It is close to impossible to find a more active community given that Stack Overflow gets around 16 million unique visitors a month (not day).
 
@Graeme hehe, it's cool unreadable :D
 
Why do you have a FrameLayout inside of another FrameLayout?
 
Who? Me?
 
11:14 AM
Inner framelayout is a container for a fragment :)
 
Oh.
is a bit outdated when it comes to fragments and stuff
 
Fragments are awesome :)
And what the hell is up with ScrollViews?
 
That's South Indian English : "Use a EditText to check: Tap the EditText to display the soft keyboard. Now, you can see the use of android:windowSoftInputMode=“adjustResize”. If you use adjustNothing, even if the keyboard pops up, your layout shouldn't change"
Or at least this is what I think it means
 
@Graeme What's wrong with them?
 
@Reno As I put in the question, the layout doesn't change no matter what you put as a windowSoftInputMode :)
So, not that useful a comment.
@OctavianDamiean Put one as the root of my layout - it's children with "match_parent" might as well of had "wrap_contents".
 
11:18 AM
How can a thing match the height of something that is not defined in height? :D
 
Assuming that ScrollView is a wrapper for a FrameLayout.
@OctavianDamiean Root element with "match_parent" set as the content of a view should be width/height of the screen. With ScrollView that's true, giving it a background color proves it takes up the whole screen.
But it's children don't grow to fit the same dimensions when given "match_parent".
 
Well they can't get the dimension since their parent is of such a type that it can expand as much as it wants vertically or horizontally (not sure about horizontally).
 
Even manually setting it's width/height doesn't change it :P
 
I started kind of wiki post on CouchDB and Android
 
I'm going to learn every Malcolm Tucker insult/quote ever. They are just beautiful
 
11:21 AM
0
Q: CouchDB on Android device

Marek SeberaMaybe you can help me decide whether I should use CouchDB on Android instead of SQLite First, few links about CouchDB on Android: http://www.couchbase.org/get/couchbase-mobile-for-android/current https://github.com/couchbase/Android-Couchbase (Example app) https://github.com/daleharvey/Android...

 
ScrollViews == Broken
 
we'll see if anybody gets interested
 
Split it up in a question each.
 
@OctavianDamiean should I?
 
I'm not sure there is anything to do about ScrollView's being crap. I'm not using them wrong - they just don't fit the rest of the UI guidelines.
 
11:23 AM
@MarekSebera Yes.
Stack Overflow is not a forum where you start a thread. It is a Q&A platform where you ask a question and get an answer.
If you have more than one question ask more questions. ;)
 
Oh I know that, but I feel I should put these questions together as they are tightly connected together
 
@OctavianDamiean "Why is android good generally but shit specifically?"
:D
 
Why is good shit generally specific to Android?
 
@MarekSebera You could rephrase the question though. Make it What are the requirements to use CouchDB on Android?
 
11:28 AM
yeah, better way , thanks
 
@Reno any news on when you could possibly get a GN?
 
@Glitch GN -> Good Night ?
:D
 
I'll be traveling sometime after Christmas, I'm not sure when ... It may be a while...
 
@MarekSebera Ginger Nyan
@Reno That's ok, I can wait. They go for $800 in Australia O_o
 
Oh OK :)
 
11:31 AM
You'll need a really good developer who worked with CouchDB on Android to answer them all ... Either way it is a good question, I'm sure it will be answered in the future.
 
@Reno yes, in future for sure
and that means I have to return back to sqlite and that awful style of doing things on Android DBs for now
 
RRRRRRRRRRAAAAAAAAAAAAAAAAAAAAAGGGGHHHH
takes a run up and kicks android in the face
WHY ARE YOU SO RUBBISH?!
 
/me swimmin' in developer guide
 
You literally cannot set the height of a child inside of a ScrollView?! And you can't make the screen resize on opening a keyboard without a ScrollView?
Are they fricking kidding?
</nervous breakdown>
Fine, that's it, I'm cheating.
 
11:50 AM
@MarekSebera Rewritten your question.
 
@OctavianDamiean oh, sure, it's interesting how we do think about laying the question right
 
The problem is that how it was written you were risking to have it closed as too broad.
 
The moderator tools are great, it's nice to see the big picture :)
 
ooooh god....
What do you think of this:
Me creating a frame which is 0px height containing the keyboard, which is resized to wrap_content when the keyboard should be shown....?
Which would resize everything else on the screen.
i can't think of any other way to fix the problem :(
 
12:15 PM
If anyone is keeping track, ScrollView.scrollBy() and ScrollView.scrollTo() don't work either.
 
12:33 PM
Someone made money from an app that doesn't actually work
 
1:15 PM
@Reno Congrats!
 
Can you please help me migrate stackoverflow.com/questions/8397239/content-provider-commons to programmers?
 
Why?
It is spot on here.
 
somebody here recommended me to do it
@Graeme i think
 
Yup
Because originally it was an open ended discussion rather than a Question & Answer.
 
It wasn't every edited
*ever
 
1:33 PM
oh, then it still is an open ended discussion :)
 
heh, @OctavianDamiean tells it's right way i did put it here (both place and style), maybe i don't understand the difference between discussion thread and QA afais
 
Q/A happens on Stack Overflow; and discussions threads, here in chat.
 
@MarekSebera Your main problem is that you ask a question with more questions in it.
You should break it down to one question.
The way you create your questions they are indeed more like a forum post. Hey, let's discuss the Content Provide use.
That kind of questions are not appropriate on any SE site.
Stack Overflow is for a problem you face that has a practical solution.
 
I personally think that a bunch of similar question about a very specific problem are okay. When the questions start becoming broad, people lose interest in answering them. (unless they have a bounty)
 
Programmers is for a higher-level problem you face that has a practical solution as well. The level of abstraction doesn't even matter, it is the pattern that matters.
Problem-Solution, not Doubt-Opinion.
 
1:46 PM
@OctavianDamiean ok, i get it, so you still think i shouldn't migrate the question to programmers?
 
No. I always think that such questions are salvageable by rephrasing them.
I don't mean rephrasing only the title but the entire question to match the Problem-Solution pattern.
should write a blog post about this pattern thingy
should first get his blog done before writing blog posts
@Reno Generally this is not wrong. I think so too but the problem is with searching. It is easier to find information based on a title than on the actual content.
That is only if the title is meaningful of course.
Also I may have the same question as he has but only his third sub-question. In such a combined question I have to parse way more information to get to my problem solution.
Breaking it down in separate questions, if the questions are really not that related makes it easier to find information.
It is a bit like the Java vs. Python example of structure code necessary to open and read a file. In Python you need 2 LOC to open and read a file in Java you need about 12 LOC.
quits Python fanboism
 
2:48 PM
twitches
The good news I know what the problem was.
 
Bad news, it was human stupidity? :P
 
The bad new is that I have to quit my job and track down one of the Android team and then... do things to him.
 
Sounds kinky
 
twitches
0
A: android:windowSoftInputMode="adjustResize" doesn't make any difference?

GraemeI created a new project in order to try and get the basic features working for window resizing and the slowly moved it towards the target peice of my project. Doing this I tracked the problem down to this: In my theme hierarchy I had this property: <item name="android:windowFullscreen">tr...

 
Have an upvote!
 
3:01 PM
Thanks!
Now to get the hell on with what I was supposed to be doing after this "quick fix" this morning.
 
I wonder how hard it is to animate a seekbar
 
seekbar?
 
^ one of those
 
Oh, ok - So you can move it 3/4 of the way across for 75 sort of thing?
How'd you want to animate it?
 
Hello :)
 
3:09 PM
well when the user hits refresh on the dashboard, it adjusts the brightness and thus the seekbar needs to change to reflect this
but I want it to slide to the new value instead of a sharp jump
 
Sounds like a fun thing to do :)
Should be pretty easy, translation animation dealy.
 
yeah that's what I was hoping
 
Be cool if a whole page of the animate together at the same rate.
 
I was planning to do something like that too
my sample editor has several progress bars that represent brightness
was going to have them slide into position when opened
 
hehehehehe...
 
3:14 PM
if possible, with a slight delay between each one
so it's like a trickling effect
 
Sounds good ^-^
 
3:29 PM
supporting old OS versions sucks
Animating seekbars is easier on Android 3.0+
I don't think an animator will do this for me, at least not on Android 2.1
I need to use a Handler and time it myself :/
 
Animation is version 1 isn't it?
 
sure, but animating the thumb of a seekbar sounds really painful
so instead I'll just alter the value quickly with exponential decay
 
 
1 hour later…
4:47 PM
morning
 
Hi @Pyrodante :)
 
how goes it?
yay 0 errors since noon yesterday
 
5:06 PM
Good - got shafted by a stupid bug in Android (as far as i'm concerned), looking forward to a fresh start tomorrow.
 
5:17 PM
good morning
does anyone know the program people use to have those nice screen captures of their apps on a device
 
not so much for me but glad it is for you :D
I get my screen caps from my emulator
 
still having break in troubles?
 
no
just a very ruff morning :P
 
sorry bout that
i broke our bug tracking databse yesterday
been spending all morning trying to fix lol
 
5:45 PM
@JMRboosties u there?
 
sup
 
well Im trying to send a .csv file to my server
but that example u showed me yesterday, I cant see where u set the entity and where you execute that sending operation
 
let me show my entire method
 
ok.
 
5:56 PM
ok. lemme check.
@JMRboosties yeah. this is the code I have. But where is it sending the file?? got it?
 
whatever your URL is
so if you set the URL to www.yoursite.com/files/mycsv.csv it would go there
 
I mean don t it have a method that call e.g. execute()
so it will call a method, and I'll pass the file as an entity in the parameter of this method. so there this method can receive this file and read it. got it??
 
you should pass the Uri of the file
not the file itself
i dunno i find that easier
 
but this way you will store the file in the server right??
isnt there a way that I pass the file as an array of bytes to a method in my server, and it will read this array of byte and read the content in the file??
 
i dont know about that
 
6:04 PM
@JMRboosties maybe I have to do something like that
6
Q: Android Multipart POST to Google App Engine not working

RobertI'm developing an android program that shares data via POST with an App Engine program, all in java. When I POST using MultipartEntity the appengine program is unable to see any of my POST variables for some reason that I can't figure out! Appengine Code: public void doPost(HttpServletRequest r...

 
posted on December 06, 2011 by Dirk Dougherty

[This post is by Eric Chu, Android Developer Ecosystem. —Dirk Dougherty] One billion is a pretty big number by any measurement. However, when it’s describing the speed at which something is growing, it’s simply amazing. This past weekend, thanks to Android users around the world, Android Market exceeded 10 billion app downloads—with a growth rate of one billion app downloads per month.

 
6:21 PM
is there anyway to set a File object in NameValuePair??
 
 
1 hour later…
7:41 PM
Welcome @KyleWiens
 
 
1 hour later…
9:05 PM
Anyone have any experience with RTL text in textviews? :)
http://stackoverflow.com/questions/8406744/text-view-not-handling-hebrew-roman-characters-in-same-string
 
 
3 hours later…
11:54 PM
OR statements always evaluate both sides, AND statements evaluate in order and will stop evaluating as soon as it hits a false. This fact seemed very odd when I was in college, and has become the foundation of much of my Database interaction design. That said, you all can go back to ignoring the nerd in the corner.
 
I have a File object. I want to set its Enctype before sending it to server. But the only option I see is to set the mime type. Any Idea of how to set this enctype??
 

« first day (416 days earlier)      last day (4531 days later) »