« first day (258 days earlier)      last day (3217 days later) » 

11:00
ohhh , kon che
@chintankhetiya Jash dholakia naam che..but mane address nathi khabar..hu puchi laish ene.
@Pratik okay
Well, catch you guys around again :)
@icedwater byee
Maybe one day I will learn a bit more than aab khase hei
Or however you spell it in English :P
11:06
@icedwater hahaha nice try buddy
@icedwater lolz...:)
I never had the chance to learn Hindi, might be interesting :P
...but not in a Java channel ;)
@icedwater I'll. be connected with us
yup u r right..
@PeterSmit Hey!
11:10
@chintankhetiya are you there?
yeah dear
@Harish
@chintankhetiya can you please describe what are the 3 parameters of AsyncTask how can we use that?
Param the type of the parameters sent to the task upon execution. (you can pass single param using this task) Progress, the type of the progress units published during the background computation.(will show progress status )**Result**, the type of the result of the background computation.(type of result which you want to return)
@Harish
@Harish AsyncTask<Integer, Void, String> u can pass any no of Integer values in first parameters in doInBackground() and second parameters is return type of doInBackground().....third parameter is string which is passed as a param to onPostExecute() method.
@Pratik <Integer, Void, String>how we use these parameters
11:24
@Harish don't see that param
@Harish it is just an example..it depens which type of params u want to pass.
now think how you will pass param in async class ?
@Harish
then you can pass using first param it could be int , Boolean, string any thing ,is it okay ??
@chintankhetiya so first parameter belongs to doinBackground and second belongs to onprogressupdate and third belongs to onpostexecute.
@Harish no no no , don't think that way
@hello android developers
plzz help yr
11:27
@chintankhetiya ok
@JellyBean hii u r back.
@Pratik yes m back bro
@Pratik i have my task
undo and redo
sory i have done my
so now new problem create
@JellyBean u have to post ur queries not whole code.share link here.
-2
Q: Undo and redo button not working

Jelly Beani am making app in android with paint .the full code is working perfectly but when i paint soomething wrong and i want to go back then i want undo button which is not working perfectly .this is my code tell me wher i am wrong.please help. package com.example.paint; import java.io.File; impo...

@Pratik
Example if i want to pass some param which will use while doing some background task or after completion that task then we can use tat variable , Now if i want to show progress dialog with number like 70% 75% ... then you can pass that param last return result type like after completion of b_task we want that result in string then you can pass last param as string or int ot it could be any.
if you don't want to show progress dialog status, no result data type and no param then you can pass all three as void
11:31
@JellyBean edit ur question and explain ur question properly.
@Pratik actully i m doing paint app
@JellyBean lol edit ur question not post it as answer.
3
Q: Undo and redo in Canvas for Android

kikosoI am using a customized version of FingerPaint for Android with some other features, like inserting images and moving them. I decided to implement an Undo&Redo, since it will make life just easier. In order to implement it, I finally decided to use a Stack where I push the Drawing Cache of the vi...

@JellyBean
check it
@Pratik check it again i edit my question
@chintankhetiya thanx for help bro
but it not working properly
11:41
@JellyBean where r u from?
me chandigarh brother and u?
@JellyBean i haven't worked on it yet..but 1 thing i can say to u that if u want solution on SO then u have to ask only questions with few line of code where u got stuck..not whole code...otherwise u will get down votes..
@JellyBean i m from Gujarat.
@Pratik thanku
what i do now @Pratik
have u read tutorials?if no then post 1 question and ask for tutorials...i will find for u as well.@JellyBean
@Pratik ok ..thanku
now i will try something diifrent
11:51
@JellyBean r u f?because both jelly and bean sounds girl.
@chintankhetiya Yeah
stackoverflow.com/questions/17809404/… @chintankhetiya this is for u
@Pratik yr please insult mt kr bhai
main punjabi boys hun
@JellyBean i m not insulting..just kidding..
Ved
Ved
:D
11:54
actuall i belongs to patiala
in punjab
:d
haahaha
yes
@Pratik ok
@test u cannot chat here until u will earn 20+ reputation.
Ved
Ved
@test is testing, how to test
@Ved u from?
Ved
Ved
@JellyBean Planet Called Earth
@Ved :D
12:00
@Pratik i told that man but don't know he is not getting my point
Osa
Osa
when a website returns something like this :
java.lang.NullPointerException
com.ish.getserver.GettUtils.getMe(GetUtils.java:157)

what was the website coded with ? java ? any other language ?
@Ved oh yeh
i don't know abut it
Ved
Ved
@Osa anything can be, but the code which threw exception is in java
hi @Kumar @JellyBean @Osa @Ved @Harish @Pratik
12:01
@chintankhetiya because his ratio of questions:answers is 470:35..lolz
Ved
Ved
@Joan helo
@Joan hii
@Osa we can't guess base on that , but nullpointer is exception of java
12:02
@Joan Hey! buddy :)
please check this and tell me how to Convert it Innert text of html
>?
@Osa java.lang.NullPointerException means JAVA exception.
Osa
Osa
its an error return, the page is kinda grey part of the contents :
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception
has something to do with java right ? i think only java returns those kind of errors
Ved
Ved
HTTP protocol is independent of any server side tech.
Osa
Osa
guess its jsp
12:09
who wants to earn 100 bounty?
Ved
Ved
@Pratik :D me NOT
0
Q: Changing the color of a currently selected item in an Android alert-dialog

Bart KiersI'm creating a dialog in Android with a custom style: new AlertDialog.Builder(new ContextThemeWrapper(context, R.style.CustomAlertDialog)) .setSingleChoiceItems(keys, selectedIndex, new DialogInterface.OnClickListener(){ @Override public void onClick(DialogInterfa...

Ved
Ved
n also dnt knw ans :P
@Ved but we can achieve this by making custom dialog easily.
Ved
Ved
@Pratik ok. u answer that que
12:13
@Ved he has 63k reputation and if i post then he will advice me to give his que's answer..not mine..:)
@Pratik what happen
check above conversations.
@chintankhetiya
Hi. How to run url and get json response in Java? Has anyone seen a simple snippet for this?
12:31
@Pratik @chintankhetiya How to change the text size and color of spinner. (Not item's text.)
@Kumar use it as custom
@Kumar yup customize it.
@chintankhetiya Plz give me a reference. I never did it bro @chintankhetiya @Pratik
see this and if you want to change the default then just use different image and use that as background
@chintankhetiya I can change its background directly. What I need is to change the text size only.
let me see this link
12:35
@Kumar this is good check it once and follow it
@chintankhetiya Ok bhai :)
@Pratik :P :D
@chintankhetiya I dont want that bro
12:41
@Pratik kyathi goti avyo avu
@Kumar to phir kesa chahiye ?
@chintankhetiya ek blog mathi..but mari pase link nathi..biji pan mast images che.
@chintankhetiya bhai dekho jab spinner dikhta hai na bina click kiye us time item1 dikhta hai usme. usi time mjhe uska text size aur text color change krna hai
@Pratik I like the smiley skull and crossbones at the start :)
@Neil yup creativity.
@Kumar ho to esa karo ki simple ek image lo as button , think hai use per tun text rakh do, now us text ki style bando and apply kar do now jab tum change karo ge tab usper replace kar do
12:45
@chintankhetiya bhai nahi samajh aaya
:(
@Kumar ek spinner lo thik hai
@chintankhetiya han
fir
user ka background set kardo
?
@chintankhetiya kar diya
fir?
@Kumar use ki text ko hid kardo ya uski text color ko transperant kardo
12:48
@chintankhetiya okay
fir?
abe spimple run karo program
hey guys
@Rashmi.B hii
i m getting nullpointer everytime for getDrawingCache() for bitmap
i tried every possible solution on SO
no lucj
and dekho ki tum jo item select karto ho uski text visible hai ki nahi
12:50
i am extending ImageView for a class. and creating its object
i want to convert this customimageview to Bitmap
luck
@chintankhetiya han me usko hide kr dunga
but mujhe wha likha hua dikhana hai ku6
item1 nahi likha hua
dikhana hai
@Rashmi.B where is ur code?
@Kumar brb
@chintankhetiya bhai jaldi aana
@Neil Ciao! there?
@Harish Hey!
12:54
@Appu hello
sup!
@Appu use what's up because 1 guy in this chat room having name sup...;)
jasebeard.setDrawingCacheEnabled(true);
jasebeard.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED),
MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
jasebeard.buildDrawingCache(true);
jasebeard.layout(0, 0, jasebeard.getMeasuredWidth(), jasebeard.getMeasuredHeight());
convertedBitmap = Bitmap.createBitmap(jasebeard.getDrawingCache());
jasebeard.setDrawingCacheEnabled(false);
I wrote this piece of code for ImageView and it worked perfectly
when I replace jasebeard with a customimageview, it crashes
@Pratik Oh! Okay. but he had gone :P
@Rashmi.B What do you mean by custom imageview?
I have class by name CustomImage extends ImageView
so when I am creating object of this and trying to convert to Bitmap it failes
13:09
I never extended imageview, what's the strack trace?
@chintankhetiya ,@Pratik
nullpointerexception at
convertedBitmap = Bitmap.createBitmap(customImg.getDrawingCache());
gud evening bro
byeeeeeeeeeeeeeee
tc
@JellyBean byee..:)
@Kumar i am back
@JellyBean you too
13:10
@chintankhetiya bhai ab kya krun .. hide kr diya
@Kumar don't hide whole spinner just hide that text
and add one more text above that button
@chintankhetiya Yes I hided the text only
okay now set that text as dynamic while click on spinner item
Bye guys @ALL
@Harish bye
13:13
@chintankhetiya but it should show the text when the activity's view created.
@Kumar you are not getting my point dude
wait
Bitmap icon;
relativelayout.setDrawingCacheEnabled(true);

Framelayout relativelayou ;Bitmap icon = Bitmap.createBitmap(relativelayout.getDrawingCache());
Bitmap bitmap = icon;
relativelayout.setDrawingCacheEnabled(false);
@Rashmi.B
try this
@chintankhetiya okay bro
@chintankhetiya I am going to create an image for that.and set spinner's background with that. will it be good.?
but i am here for few min only
I tried to hide the text with changing its color to white. but the text still black?
@chintankhetiya
13:16
@Appu Oh hey
@JellyBean I am using a customimage inside a relativelayout
I dont want all the contents
i just want the contents of iamgeview not the entire layout
yuor code will return to me all the other button data too right
@Kumar sorry today i am going but will help tomorrow sure
@chintankhetiya you can help me with hiding only if you have time otherwise tomorrow is ok. :)
@Rashmi.B take customimage in diffrent framlayouy
sory layout
12
Q: How to Change spinner text size and text color?

kaluwilaIn my android application, i am using spinner and i have loaded data from the sqlite database into the spinner and its working properly.here is the code for that. Spinner spinner = (Spinner) this.findViewById(R.id.spinner1); List<String> list = new ArrayList<String>(); ArrayAdapter<String> da...

@Kumar
13:23
@chintankhetiya wah ..@Kumar got it?
@Pratik kem wah ?
@Pratik Nope bro.
:(
@chintankhetiya link is appropriate.
@Pratik now explain
@Pratik okay
bye
to all
@chintankhetiya Bubye bro. thanks :P
@Pratik Yeah! got it now. :D :)
13:26
good
@Pratik You know i have found that link already, but thought it's not of my use. But you said it's appropriate then I looked into it. And find it useful. thanks.
:)
k dude now time to go home...byeee@Kumar
@Pratik Okay! buddy!
Bubye
tc
:)
Bubye Everyone, see you tomorrow, take care. @chintankhetiya @Pratik @Appu @Neil @rekire @ ALL
HI everbody
I'm starting to get a little code blind and I was wondering if anyone had any idea why this code is only deleting the first of some selected elements and not the one selected?
public void deleteQuestion() {
    for (Question current : selectedQuestions) {
        //log.debug("deleteing: " + current +" OUT OF: " + selectedCategories.toString());
        questionRepository.physicalDelete(current);
        categories.remove(current);
    }
}
13:44
bye @Kumar
By the way I'm not sure if I will be online the next days
14:15
hi
14:29
HI, Is it possible to get json(response) from url using only standard java library?

« first day (258 days earlier)      last day (3217 days later) »