« first day (680 days earlier)      last day (2795 days later) » 
01:00 - 14:0014:00 - 16:00

1:49 AM
Anyone alive?
 
 
2 hours later…
4:15 AM
0
Q: How to combine overlapping ImageView, FrameLayout & RelativeLayout programatically?

gautambibi need to combine 3 layouts the bottom is ImageView, above it there is a FrameLayout and above it there is a RelativeLayout. The ImageView takes the picture from camera. The FrameLayout is used to draw lines(PaintView). The RelativeLayout is used to drag small images to the screen from the side...

can someone respond to this question
 
good morning to all
 
4:47 AM
yo
 
5:01 AM
@ErumHannan Hi
 
@ErumHannan your parent layout is FrameLayout so it's all the vides for card type. Your purpose add one by one so i think the parent layout RelativeLayout or LinearLayout.
@ErumHannan if you used RelativeLayout you can follow the steps
 
i have used relative layout
but on saving image its not working fine
 
@ErumHannan what your problem UI part or Function
 
function
i m getting difficulty to save both surface holder capture image with its overlay
 
5:13 AM
@ErumHannan Share your code
 
@ThirumoorthyMoorthy
 
@ErumHannan i understand . u try to capture image from camera and overlaying another image right.
 
yes
 
@ErumHannan you try to canvas that is better
 
right the captured image and overlay image both should be saved right now its only saving captured image when trying to merge ttwo images then it throwing error
how ?
my problem is how will i make single bitmap using two images
and then save that bitmap
right now its displaying overlay image but not saving overlay imag
 
5:23 AM
good morning guys
 
yo
 
@ErumHannan you can wait i try it ok.
 
ok thanks
 
@ErumHannan welcome
 
I want one suggestion related AsyncTask in Android...
@Shubhank, I want to Cancel AsyncTask so I am finishing Activity with AsyncTask.cancel(true), so is this fine ??? or do i need to do anything else also ???
@Erum, I want to Cancel AsyncTask so I am finishing Activity with AsyncTask.cancel(true), so is this fine ??? or do i need to do anything else also ???
 
5:33 AM
this is fine
 
@ErumHannan r u there?
 
yes
 
@ErumHannan i shared answered.
 
where ?
pls post pastie
 
@ErumHannan check your Q
@ErumHannan it's ok
 
5:47 AM
@maven yo
 
@ThirumoorthyMoorthy my problem is i m changing overlay image on every button click then how will i handle that
 
@berserk yo yo
 
sup?
 
@berserk hola
@rekire
@ItachiUchiha
 
heya
 
5:58 AM
@ErumHannan very easy you set click event that the overlay image and choose image from gallery
 
how's u man @ItachiUchiha
 
good
hbu ?
 
@ErumHannan vote my ans
 
no not choose image from gallery i m hard coding every image on click of button
 
@ItachiUchiha m Owesome
 
5:59 AM
ok i will see and will vote
 
@ItachiUchiha @rekire morning
 
@ErumHannan Please clearly asking
 
on every button click i m inserting overlayimage on imageview
so that it will act like effect on live camera
got it
 
@ErumHannan inside of the button click event set image to imageview

imageview.setBackgroundResource(R.drawable.image);
 
yes
now how will i save captured image with this imageview on Top this is my question
right now its saving only my captured image
 
6:07 AM
@ErumHannan you followed shared example please
 
1
Q: Release AudioRecord android when other app request for recording

berserkI have an audio recording service in my app which will record the sound continuously. So, it will always occupy the AudioRecord. It means no other app can use audio recorder as it is already occupied by the service. Is there any way to notify that other app is requesting for audio recorder(so tha...

 
@all
hello
 
yo
 
how to update handler seconds or reset the handler seconds and set again in android
0
Q: Update postdelay seconds for runnable when page scrolled in viewpager android?

Maheshi am displaying images using viewpager and that images will be automatically change after 20 seconds automatically changes images every 20 seconds work perfectly but i want to reset handler postdelayed time if user manually scroll pager and next image should be display 20 seconds Current Workin...

 
@maven @Shyildo @ItachiUchiha vgm!
 
6:18 AM
@Shyildo mrng !
 
I have too much open tabs I missed your messages until I got a notification from stackoverflow^^
 
@rekire morning :P
same here
 
any one idea about admob integration in android here is my code and error log pastie.org/9566667 here menifest file pastie.org/9566722 i don't know why it not show ads.
 
look into the logcat the ads are on debug builds quiet talkative
 
can somone tell me how to use handler to start timer lets say i put values 10 then my handler should run for 10sec and update my textview with timer values in android
 
6:24 AM
@rekire not getting ur point can you please explain little bit ?
 
I'm using the PublisherAdView and that control writes many debug informations about the ad states in the logcat so look into there it meight be helpful
 
@rekire ok i will but if have any demo please mail if possible becoz i don't no why it not work it may be key problem or other i try to do this last 1 day ..
 
6:39 AM
@NarendraPrajapati I don't use admob directly so I cannot say anything about it
 
@NarendraPrajapati u can use AdView directly in xml. pastie.org/9567366
 
I have a edit text with et.setError("Message").Now if I put any character into edittext,I want that error message disappear automatically.HOw can it be
 
@rekire thanks
 
@Anjali still ni hua?
 
@berserk hmm i will try do have any working example becoz i have dout my key is may be wrong
 
6:50 AM
Maybe.
As @rekire mentioned, check your logcat.
 
It will tell you where the problem is.
 
@PG_Android nhi ho rha wo
 
@Anjali try using TextWatcher
 
yeah sure thanks @berserk
 
6:51 AM
@berserk already told her
@Anjali pls show me that code
 
oh lol ok
 
@PG_Android textwatcher ka use nhi kiya kvi.
sendButton.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {

if (feedbackEditext.getText().length() <= 0) {
feedbackEditext.requestFocus();
feedbackEditext.setError("Please Enter Feedback");

}


if ((feedbackEditext.getText().length() > 0)) {
feedbackEditext.setError(null);
new Feedback().execute();

}


}
});
 
@Anjali Not on button click . you should use for edittext
you should use this
edittext.addTextChangedListener(new TextWatcher()
{
public void afterTextChanged(Editable edt){
if( edittext.getText().length()>0)
{
edittext.setError(null);
}
}
 
Use www.pastie.org for codes.
 
@berserk too small this one
@Anjali done now?
 
7:11 AM
@CapDroid Its been a while since I saw you here.
 
@berserk yeah, came after many days, busy with work :)
 
oh, wb :)
 
@PG_Android thanks ,Its done
 
@PG_Android thanks ,Its done
 
lol?
 
7:14 AM
@berserk how's you? how going your work?
 
I m fine
The work is going good.
 
great ++
 
The schedule is little tight.
How abt you?
 
all izz well here..
 
good :D
 
7:16 AM
@berserk where all room owners?
 
Idk
Naruto is probably roaming in Mumbai.
 
ohhh..
he changed job ?
 
rekire is here
Yea
Ita was here a little while ago.
ok :)
 
@CapDroid wel come back mere bhai.
@Anjali good
 
@PG_Android thanks bro
 
7:20 AM
@CapDroid where were you yar?
 
@PG_Android too much busy with work
how going your work ?
 
@CapDroid oh nope. bas same as you bro
 
@PG_Android hmm
 
@CapDroid how are u
 
@Edge fine bro and you?
lunch time will back soon
 
7:26 AM
@PG_Android hello how is u
?
 
me fine
 
7:39 AM
@Anjali @PG_Android @PankajAndroid good afternoon
 
someone familar with the delete intent on notifications?
 
7:52 AM
@rekire what do you think of this answer stackoverflow.com/questions/25892695/tooltip-on-line-chart/…
 
@ItachiUchiha give it a bounty^^
 
haha
Thanks :D
 
@rekire i think that question doesn't get much attention
 
@maven which one?
 
the question u both r discussing
 
8:05 AM
i want to show textview for 5 secs after button click but this code is crashing
 
8:16 AM
@rekire i am working on notifications using xmpp openfire server
 
@maven Possible indeed
@AliAshiq I'm working on notifications on wearables
 
@rekire
i am not able to see google play service lib in avd
 
hello frnd
 
so that i can update
hi @NeetuShrivastava
 
does anyone know any rich open data interesting places ?
 
8:29 AM
Did you integrate AdColony in android?
 
@Edge use a google api avd and no for android L is that one missing
 
I have a student pojo class from that i'm getting the name adding it to the textview it is ok.But i want to retrieve another string called studentpicture then i want to add that string to image view in this way but it is throwing NPE @rekire @maven @ItachiUchiha
 
Multiple markers at this line
- The static field Notifications.notificationitems should be accessed in a
static way
- Syntax error, insert "AssignmentOperator Expression" to complete
Expression
what does it means
 
8:46 AM
@rekire how to see that
 
@Edge when you create it under target that are the lower options, you also need to install them btw
 
@PG_Android there?
 
@Anjali yes
@Anjali what happen?
 
I have saved the selected radiobutton id in shared preference,Now in adapter class I have to comapre the id to the items id of list .I don't understand how to do it.
 
oh its too simple
@Anjali in adapter constructor did you get id from SP?
 
9:03 AM
in constructor??
 
yes do you have custom constructor?
 
@PG_Android pastie.org/9569829 .....my code of adapter
 
public SirenAlertAdapter(Activity activty, Vector<SirenSound> getAllSounds)
{
this.ctx=activty;
mInflater = activty.getLayoutInflater();
this.sirenList=getAllSounds;


}
here get your Id from SP
got it??
 
yes
 
Ok. So now compared it?
 
9:31 AM
1
Q: Release AudioRecord android when other app request for recording

berserkI have an audio recording service in my app which will record the sound continuously. So, it will always occupy the AudioRecord. It means no other app can use audio recorder as it is already occupied by the service. Is there any way to notify that other app is requesting for audio recorder(so tha...

offering bounty
 
sry but little busy
i will check later
 
Hi anyone know about android studio gradle.
 
9:47 AM
My answer depends on your question ;)
 
hi guys ,
please help me by suggesting any thing on this..
0
Q: Custom Listview : span listitems on selection

ShrutiFirst of all I apologize for not posting any code on what I have done.But I am not getting the point from where and how to start customize listview. Question : I have to create a listview in which based on the selection adjacent listitems shall merge. I googled but couldn't find any relevant i...

 
@Shruti means wanna merge two rows??
 
@rekire
 
10:02 AM
@rekire, @PG_Android, @ManishSrivastava, stackoverflow.com/questions/25908626/…
 
 
1 hour later…
11:08 AM
@rekire
 
@Möbius
@AliAshiq
two pongs I hope you are happy now :D
 
need help @rekire
 
really? How surprising ;P What's the matter?
 
I have image and I want to show some text on it even I want click event too, so which view shall I use?
Actually when there is view with text I used textview, rarely I used button, its good practice?
Just for knowledge!
live? @rekire
 
so you want something like a tooltip on the desktop?
I think I would use a toast together with a longclick
 
11:17 AM
na na
 
you want a clickable lable on the imageview?
 
does it make difference to you?
Both generate same output, but one is textview and another is button.
 
well yes I would use in that case indeed a button with the transparent button style to give the user click feedback
that's a little about UX nether than which element should I use... in general multiple elements can been replaces by each other e.g. I replaced one time a toggle button with a radiobutton^^ the result looked still the same :D
 
wait, in which case are you using button?
so does it effect on performance or something else?
 
if you use a "burn in" label on a picture I would use a transparent button
no the performance does not matter for static non fast changing content, well even in a listview that would not metter as long you use viewholders
however the whole picture should give feedback on touch events...
 
11:24 AM
Basically I don't like to use button*, normally I use Text-view which act like button, so bit confused does ignoring button whether effect on app performance?
anyway! thanks
 
11:52 AM
@Möbius
 
yes
 
@Möbius nothing bas ese hi
 
@PG_Android there
 
@PG_Android Please speak in English only
 
12:06 PM
@Shyildo always
 
@Möbius no that does not really matter. from the semantic point of view prefer using that borderless buttons :)
 
@PG_Android Thanks Sir :)
@rekire Howz germany environment now ?
 
cloudy sky, a little wet, not cold
Wohoo I can add more wearable features to my app :D
 
@rekire i have one question.. and having less time.. :P
 
@rekire hello bhai give some Point for other Question so that i can unblock my Question asking and from next time i will keep in mind about Question format
 
12:19 PM
@ChintanRathod me too ;)
 
lol
 
@berserk @rekire
 
209
Q: What can I do when getting "We are no longer accepting questions/answers from this account"?

ArjanDo not repost the question you were about to ask until you have READ EVERYTHING WE ARE ABOUT TO TELL YOU. While trying to ask a question, one could get: We are no longer accepting questions from this account. See the Help Center to learn more. Likewise, for answers: We are no longe...

 
209
Q: What can I do when getting "We are no longer accepting questions/answers from this account"?

ArjanDo not repost the question you were about to ask until you have READ EVERYTHING WE ARE ABOUT TO TELL YOU. While trying to ask a question, one could get: We are no longer accepting questions from this account. See the Help Center to learn more. Likewise, for answers: We are no longe...

@rekire
 
@rekire shall i ? @berserk
 
12:21 PM
Yes, ask @ChintanRathod
 
in autocomplete text view, searching is done with "startwith" functionality, but i want it "contains" with
ex.. i have data 0001, 0002, ...
if i press 1 it is not going to display any dropdown
i have to write 0001
@berserk
 
hmm
In autocomplete text view, we pass the array right?
 
is there any way to do so
yes right.
@TheLittleNaruto hi dude
 
Then u need to update the arraylist using textwatcher i guess
by picking elements from arraylist that contains the string
 
12:25 PM
@TheLittleNaruto
 
@TheLittleNaruto hhey
 
Heya @Edge @Michel
 
autocomplete textview displays whole list we pass, right?
@ChintanRathod
 
do u know me @TheLittleNaruto
 
No, and I dont want to know you either.
 
12:27 PM
lol
 
@berserk
Why
man
 
Sorry.
Someone come and chitchat with me in Trash.

Trash

Chat Dustbin (Ignore kar Ignore)
 
@TheLittleNaruto I hate u X(
btw howz Mumbai?
 
You cant hate me. xD @berserk
It's crowdy
too much
 
12:31 PM
Hmm, I expected.
And new job?
0
Q: Flagging in trash

berserkI just went into the trash section and post some messages there. And I saw that the messages moved to trash could be flagged. So, is the flagging system works in trash too?

 
@TheLittleNaruto Man
 
@Karl Greetings.
 
Greetings
How are you Berserk?
 
Im fine :)
 
@berserk yes you are right
 
12:33 PM
wbu?
 
array list
 
@ChintanRathod Then you need to filter the list each time the TextWatcher runs
take a new arraylist and add the elements which contain the string in Autocomplete TextView
 
I just saw how bad Winders can kill HDD performance...
 
Come on! Someone come and chitchat in trash -_-
I am feeling lonely there :'(
 
I did a speed test on my HDD and it was slower than USB2!
 
12:35 PM
:O
 
My worst test told me 12 MB/Second!
MOST were at 14. Booting off a USB, I got a whopping 62!
 
:O
 
@TheLittleNaruto you changed the job ......congrats
 
USB 2 gives that much speed?
 
Because it's running off the USB, no Winders overhead of the swapfile [I'm guessing] to the HDD.
 
12:37 PM
@ChintanRathod good evening bro
 
@Edge yes? I linked that already for you
 
Hey Rekire.
 
@ItachiUchiha :D
@Anjali Thanks :D
@rekire I am back xD
 
@TheLittleNaruto hi ;)
 
Greetings TheLittleNaruto.
 
12:39 PM
hi @Karl
 
Hey Karl
 
I can implement now a full wearable support :D
 
Congrats!
 
gZ ! @rekire
 
can any body tell me....how to insert values where [where] condition is in list...
 
12:41 PM
Party ! Party !
@anupamaJ what ???
@anupamaJ Do you need to insert values at a particular location in a list ?
 
Just like.....Insert into table where value in(list)....
 
database query ?
 
yes my sql...
and list is..................List<String> list = new ArrayList<String>();
 
Use a batch insert
 
You made it , rekire xD
 
12:45 PM
@ItachiUchiha please can you give some sample...
 
Connection connection = new getConnection();
Statement statement = connection.createStatement();

for (String query : queries) {
    statement.addBatch(query);
}
statement.executeBatch();
statement.close();
where queries is a List<String>
 
@ItachiUchiha got it but any other simple way...
 
xD
This is too much :D
 
@TheLittleNaruto in the list of radio button if I select new one then old should unchecked But its not happen,...... How to uncheck the last one?List is created dynamically
 
@ItachiUchiha i mean isn't it bulky...
 
12:50 PM
@anupamaJ DB operations are bulky, depending on how many times you are trying to open connections. if you use insert statements 1000 times, it opens connection 1000 times, which is considered as bulky !
Here the executeBatch opens the connection just once
if you don't like the code and have the flexibility of using JPA/Hibernate , you can do it using one single line of code
 
@Anjali Is your arraylist is a class type ?
 
@ItachiUchiha so here i am using spring....jdbctemplate....
how can i do it using one single line of code
 
@anupamaJ getHibernateTemplate().saveOrUpdateAll(queries);
 
@ItachiUchiha Thank you.....very much...
 
12:56 PM
@TheLittleNaruto yes
 
Guys how to retrieve db from device without writing code
 
If it is, then add a integer flag variable in the model class which value will be either 0 or 1. by default set it 0. and in case of clicked on any radiobutton of a particular item , set its flag value 1 and for rest set 0 and update the adapter by calling notifyDataSetChanged @Anjali
 
@TheLittleNaruto Hey changed job again
?
 
@TheLittleNaruto
 
@Shyildo Yeah! ;)
 
12:58 PM
@TheLittleNaruto Now in which city ?
Congrats :)
 
@Shyildo Your previous city ;)
Thanks
 
@TheLittleNaruto Ohh Great :)
 
@Harish Only way that I know is to make device rooted.
@Shyildo Yeah!
 
@TheLittleNaruto In which company ?
@TheLittleNaruto Not read once again ?
 
@Shyildo :)
 
1:02 PM
@rekire
 
ok
 
@TheLittleNaruto what to do to root the device
 
@Shyildo need help
 
@AliAshiq yes
@TheLittleNaruto Hey bro if any problem in my previous city then tell me anytime .
 
@Harish I dint do yet. But you can find many blogs
@Shyildo I need your help bro!
 
1:08 PM
@PG_Android good evening brother
@berserk ok got it
 
@TheLittleNaruto yeah tell me
 
@Shyildo Will tell you in hangout!
 
@TheLittleNaruto OK
 
1:33 PM
@ChintanRathod bye
 
01:00 - 14:0014:00 - 16:00

« first day (680 days earlier)      last day (2795 days later) »