« first day (796 days earlier)      last day (2679 days later) » 
04:00 - 13:0013:00 - 14:00

4:39 AM
@PiyushGupta morning busy boss :D
 
@maveň Very good mrng
 
@PiyushGupta HB is old now busy boss new one
 
@maveň Yes seems good
 
;)
 
good morning @PiyushGupta
good morning @maveň
 
4:46 AM
mrng
 
good morning @all
 
@PiyushGupta need one help
0
Q: how to set listview in half screen on Map view in android

Edge<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <RelativeLayout android:id="@+id/contact_relMainHead...

how to set listview half in the screen
please tell me
 
means want to listview below the map?
 
gm @Edge
 
@TheLittleNaruto Yeah, I used to. I had drawn one this weekend :P
 
4:58 AM
now it should display only 2 item but it will like transpernet
wait am showing screen
@PiyushGupta
look this screen @PiyushGupta i want like this
i just want diusplay only 3 item and then it should screlling
 
5:16 AM
yo guys
 
@berserk morning & UNITED
 
:) morning
 
@berserk good morning
 
GM all :)
 
please chec my issue
 
5:17 AM
morning
little busy atm
 
@iAnum gm
please check my issue
 
@Edge I think you have to give equal weight to listview and map then it will work
 
how @maveň please tell me
i have puted code
 
Equal weights? Don't think so maven :\
have u used frame layout edge?
 
@iAnum :(
 
5:20 AM
yes @iAnum u telling right i think coz list is transperent
 
u have option of frame and relative layout
i think frame layout is ok
 
@iAnum please tell me how
 
what should I tell u?
 
i have puted linear layour
u telling i should set frame layout
 
@TheLittleNaruto heya :)
 
5:22 AM
?
 
linear layout will never work as per the picture
well I can tell u technique in my mind right now
 
should is replace frame layout ?
insted oflinear layout
 
use frame layout as parent. first put mapview, then listview
set height of listview 25-50 % of the screen height programatically
set background transparent
it should work
do u know frame layout manages elements by overlapping, just like stack @Edge?
 
ok
i have to display full screen snag.gy/5HLqw.jpg and ovaer map i have to set listview only half
u see my given screen i have to create like this
while currently its coming like this i.stack.imgur.com/tbTQy.png
according to given code
@iAnum
 
yes. I have already told u how u can achieve it. show me ur code
 
5:27 AM
its coming trnaspernet according to given code i have only set listview half screen
 
that's not half screen. Have u called requestlayout method, so it can reset bounds?
 
no
how i can call request bound
how to call requestlayout
 
google!
 
yourView.layout(left,top,right,bottom) using like this
@iAnum
 
@PankajSharma gud morning sir :)
 
5:37 AM
gm sir @maveň
 
@PankajSharma sir? o-O
 
hehehe
 
:P
@PankajSharma sir have you worked on twilio
 
@maveň nope.its for clould messaging and voice calling?
 
@PankajSharma hmm
 
5:50 AM
@Appu hehe what about showing me that ?
@iAnum Heya ^^ Long time no see ?
Good morning Guys :D
 
hey
 
yup. was busy in some other stuff
 
@berserk - sama
Okay @iAnum -chan
 
:)
 
@TheLittleNaruto It's very odd because of low quality colors. I had drawn that with whatever I had at home to check my level. Have to buy some good stuff.
 
5:57 AM
curious if @devil will talk to me today :)
 
@Appu lol, it's okay. I am not going to judge you :P Also you have just started.. ^^
 
baby-kun!
 
:P
 
Nice :D
 
hopefully will soon show sophisticated painting ;)
 
hahah. Well I'll wait for that ;) @Appu
@DroneDev Nicely designed
Is it for tablets only or for phones as well because I can see only Tab screenshots ?
 
6:25 AM
both
for phone it is in portrait mod eand for tab lancscape
 
i made callblocker app
in this i setup broadcastreceiver
onreceiving of call
i get numbers from database
arranged them in array
n match each n every single item with the incoming call number
if match occurs then i firstly saved the ringermode, silent the phone, n then
i disconnected call
but it makes ring the phone for around 300-500 ms
any soln for this?
 
in Smart Developers' Lab, 7 mins ago, by qɘɘbɒɿq
my application works offline and on-line mode, whenever user records are inserted in offline mode that will sent to server when user gets internet connection, for example if 10 records which are inserted in offline mode that all record need to send to the server using the jsonarray which is working fine but if url length is too long it should be an issue, if i send single record at a time it will take more time what should i do?
 
good morning guys
 
mrng
 
@rekire vgm :D
 
6:27 AM
@TheLittleNaruto vgm ;)
I'm first in office... again^^
 
lol, You should be rewarded as a most punctual employee in your company :P
@rekire
 
^^
 
@PankajSharma @PiyushGupta there?
 
Yay!
and who can propose?
@rekire @TheLittleNaruto @berserk @Unihedro @all please follow it if you can, so that the site will be moved to next phase ;)
 
@Appu I was never active on area51 (even if I know it) I don't get the point of that possible site
 
6:41 AM
@rekire no problems just click on follow of those arts and crafts. As you can see on the right side it needs 8 more followers
27 more questions with a score of 10 or more
 
done including upvotes
 
Thank you :)
 
@Appu tried to, it asked for my email id, and when I entered, it said, your email id is already set.
 
@Appu Eh, I do follow a lot of proposals, but I'm not really interested in arts and crafts.
Alo, isn't there already an origami proposal that got closed?
127
Woodworking

Proposed Q&A site for proposed Q&A site for professional and amateur woodworkers.

Currently in commitment.

^ Your proposal also overlaps with this one
 
So, one can propose only one at a time?
@TheLittleNaruto why? you were already into it before?
 
6:53 AM
@Appu Done, The problem was I wasn't logged in :P
 
Thanks :P
 
0
Q: Reduce Processing time in android

Android RockssI am making a app, In this I am giving a feature to block calls In this I setup a broadcast receiver to let know for incoming call, on receiving incoming call I get numbers from database, arranged them in array, and match each and every single item with the incoming call number if match occ...

 
mrng @all
 
7:11 AM
paste.ofcode.org/Mxm6UvzBEyUnscxJdkswtV @MukeshRana can u pls tell mw
why i m failed to register this reciever inside onResume of my activity
 
morning Swordsman -sama @muk :D
 
mrng @TheLittleNaruto baby-kun :P
 
You can say hello to me ^^ @Stella
 
@ErumHannan what's the problem you are getting ??
 
@MukeshRana ping ping! Too loud! :D
 
7:13 AM
my reciever is not registered while onResume is called due to this issue my values of batttery is not updated
 
lol @berserk ;)
 
@MukeshRana check this updated code paste.ofcode.org/bVa57f7QR6Gddh3pfusJA9
 
@TheLittleNaruto @berserk one question for you ??
 
@MukeshRana lol Sure.
 
7:17 AM
@ErumHannan when you are checking for updated values ?? your activity is in foreground at that time while receiving broadcast because there might be possibility that you are unregistering your receiver on onPause()??
 
yes i m unregistering it in onPause but i m checking updted values before calling onPause
 
@berserk @TheLittleNaruto Do we have something for textsizes in android that works perfectly for all devices??
why you are using these context for registering receiver although we can register simply by calling registerReceiver() might be they are causing you the problem
 
my reciever is registering first time when i run app very first time but after that if i go to any other tabs then again this reciever is not registering inside onResume
i m using tabhost to navigate from one tab to another i want to register it in onResume then when user press any other tab then it should unregister this reciver in OnPause and then when user again come back to the same tab then it should register it again @MukeshRana can u pls help me in this
 
@MukeshRana @dimens :P
 
@berserk so you mean to say i should specify the values in sp in dimens??
 
7:22 AM
Yes
 
I have already tried and results are out of the world :P
 
@ErumHannan there might be problem with you contexts why you are not using simply registerReciever() /?
 
ok wait i m trying
 
@TheLittleNaruto why
 
7:26 AM
is this because i m using two methods one is async task and other is reciever ? but my async is working
 
@MukeshRana use android style for text appearances :)
 
@TheLittleNaruto didn't get?? will you please elaborate??
 
@Stella How rude! How rude! Nobody talks like that to a baby.
 
oh
@TheLittleNaruto didn't get?? will you please elaborate??
 
7:30 AM
After building AOSP, I get four targets which located in different directories. For example
./out/target/xx/obj/lib/libgui.so
./out/target/xx/obj/SHARED_LIBRARIES/libgui_intermediates/LINKED/libgui.so
./out/target/xx/symbols/system/lib/libgui.so
./out/target/xx/system/lib/libgui.so
what's the difference between them?
 
@MukeshRana style="@android:style/TextAppearance.DeviceDefault.Medium"
 
are you a baby ? @TheLittleNaruto
 
@Stella Yes ^^
 
hello baby
 
Heya Stella :P
 
7:31 AM
what's up
 
Nothing much, You say ?
 
same here
 
Studies or Job ?
 
Studing job :P
 
@TheLittleNaruto Actually i have to support textsizes in different devices and i have to give them the value too since there may be probability that the text sizes that i'll gonna assign may not lie in the range of DeviceDefault.Medium etc
 
7:33 AM
hi, I am studying Android. Have someone noticed my question?
 
@Stella lol
 
@DarkHorse yes noticed
@TheLittleNaruto so, what you do?
 
@MukeshRana if i m calling without context.getApplicationContext then again its not working
 
@Stella Any answer for it?
 
@MukeshRana Hmm, you have a point, Even though I would suggest to use existing style only. Otherwise only one option remain i.e. use dimens for various screen sizes
 
7:36 AM
@DarkHorse what is AOSP
 
@Stella Just like you studying job ;)
 
which one can be used if I need to link the library in some project?
 
thinking my knowledge is not sufficient enough to answer your question
@TheLittleNaruto lol
 
@TheLittleNaruto existing style won't solve my problem since client is graphics specific, he needs exactly the same size as in graphics for all devices and dimens I have tried with no results
 
@Stella AOSP means Android Open-Source Project
 
7:37 AM
working on Android Studio ?
you are naugthy baby :P
 
posted on January 12, 2015

New Cyanide and Happiness Comic

 
@MukeshRana dimens doesn't work ?
@Stella Oh I am sorry dint noitice
@Stella Well what can I say, I am ^^
@Feeds lol
 
@TheLittleNaruto it is fine
@TheLittleNaruto oh
 
Good Noon All
 
@TheLittleNaruto how do i specify size in dimens I mean in sp??
 
7:43 AM
@Stella your avatar is Android girl, right?
 
@PiyushGupta can u help mw in services ?
 
lol
 
8:40 AM
@Stella lol =D
 
9:03 AM
@MukeshRana Seriously you're asking that? Swrodsman-sama
 
@TheLittleNaruto lol actually the problem is if i specify say 5sp in dimens then it will give different results on different devices as expected but the problem is that difference is too much and it seems almost impossible to find a common value of text size for all devices
 
@Stella well that requires understanding spanish... I just understood that hello and a What^^
 
hello all :)
@ItachiUchiha hii dear...
 
9:23 AM
@MukeshRana lol You need specify different value for different screen sizes
 
9:33 AM
that is what i was asking from the very beginning @TheLittleNaruto how can i categorize my devices
 
@MukeshRana The same qualifier, we use for layouts :)
 
so what are the most common qualifiers @TheLittleNaruto that I must include??
 
@MukeshRana The base qualifiers : mdpi hdpi xhdpi and xxhdpi
 
lol i was asking for values folder??
 
values-mdpi
 
9:40 AM
bcoz by default we have three folders for values
do you think that will work values-mdpi ??
 
sure??
 
okay will try :)
 
\m/
 
9:48 AM
@TheLittleNaruto @berserk check my code
stuck with position when playing with visibility in custom listview
 
@DroneDev why are you use "notifydatasetchanged" when u setvisibity in TogglingActions() ???
this is not right conventions!
 
can you suggest me what i have to do ?
 
and what is the problem ? that you should define!
 
M J
hi guys
 
when i click on postion 3 it chnge the visibility of position 10
 
9:58 AM
@DroneDev requirement and your problem!
 
try this
 
@DroneDev The way you're doing, wont work. Maintain a flag for toggeling..
 
this!
and let me know!
reply quickly!
 
still same
 
10:02 AM
which pastie have you check ?
 
means
i check 1 and view visible hua 4 ka
@MDroid
 
M J
how to design android layout which supports all devices
 
yo naruto
 
Yo Kaushik
 
how was your week end?
 
@MJ is that the whole layout you have to design ?
 
@DroneDev remove HolderClass holder = null; from the top
 
Was good, Yours ? Kaushik
 
good
 
M J
@MDroid ya
@kaushik yup
 
10:10 AM
@MDroid checking 2 min
 
M J
@kaushik give me some guidence .
 
0
Q: add custom imageview on particular x position in linearlayout

MunimJii am adding imageview on selection of item from suggestion list of edittext. below is my code: edt1.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { ...

 
@MJ use images for different resolution and use RelativeLayout or LinearLayout with weight
don't use height and width in dps
 
@DroneDev return rowView;
 
use match_parent or wrap_content
 
M J
10:12 AM
@kaushik could you guide how to design it with relative Layout ??
 
@MDroid bhai smj ni aaya kiya kya hai
 
Solve hua ki nahi ?
let me inform if it works! and any issue thn ping me!
 
bhai holder ka install global ni bnaunga to
use kaise krunga
method me
@MDroid
 
tell me one thing ! why are you makin its method ? you can do in getView() also
AFAIK should not make Holder instance globally
no need for call TogglingActions() method
 
done
thanks
 
10:21 AM
great!
 
now have to maintain state
thati'll do
 
@MJ is it only for supports in Landscape mode or there will be potrait also ?
 
M J
@kaushik landscape alone
 
ok
have u created diff resolutions image
 
M J
@kaushik ya . for all i created
 
10:28 AM
for both phone and tablet ? @MJ
 
M J
@kaushik ya
@kaushik are yo there?
 
yup
 
M J
10:44 AM
@kaushik i need to seperate my layout into two halves. then i need to fix it those with certain images
right?
 
yes
 
M J
ok i will try it
 
I'm creating it
 
M J
@kaushik oh thanks. could you send me
 
when it will be done I'll post it
 
M J
10:52 AM
@kaushik sure thanks
 
M J
11:09 AM
@kaushik may i know how long it will take?
 
left portion is done
 
M J
@kaushik okay thanks.
 
M J
11:29 AM
@kaushik i will check and let you know , anyhow thanks at first
 
welcome
 
M J
@kaushik thanks great .prefect my dear
@kaushik are you there?
 
yes
 
M J
@kaushik greats work. may i know where are you from?
 
kolkata nd u ?
 
M J
11:40 AM
@kaushik tamilnadu
 
great
 
M J
@kaushik don mind could you give your mail id?
@kaushik @???
 
kaushik1502.imps@gmail.com @MJ
 
powerTimeTextView.setText("Remaining " + Html.fromHtml("<b> "+ hr +" </b>") + Html.fromHtml("<b>h</b>") + " "+ Html.fromHtml("<b> "+ min +" </b>") + Html.fromHtml("<b>m</b>"));
here i want hr is a variable whose value should be in bold
but this is not happening
 
@ErumHannan define it in string.xml inside CDATA tag
 
11:53 AM
its value is dynamic how can i assign in string.xml
?
 
12:08 PM
I am making a music player. I have a list view of musics. when I click on any music it starts a new activity and play music. go back and click another music it also starts to play without stopping previous one.

private void stopPlaying() {
if (mp!=null && mp.isPlaying()) {
mp.stop();
mp.release();
mp = null;
}
}
how to solve it,,,
I have tried in may ways but no solution,,,
anyone any idea?
 
whats the issue now ?
 
u asked me?
 
yes
 
12:25 PM
 
issue is i need to stop the music what is already playing and start the new music which is clicked from list view,,,,
this is my list view click listener:
lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
//String songId = "" + id;
TextView tv = (TextView) view;
String songId = tv.getText().toString();
Intent i = new Intent(getActivity(), player.class);
i.putExtra("id", songId);

startActivity(i);
}
});
this is my player class
 
hi
every one
I am making app which get data from sqlite and show in list view. and i used sqlite helper library i want a .db extension file. I install sqlite studio but when i make database and export it then its extension is .sql
so i need .db extension sqlite file. Any one who have idea please
 
Hits @berserk with sage mode rasengan
 
New Avtar @DroidDev :)
 
yo! @Sweet
 
12:40 PM
Joker :)
 
talking the same o_O
 
@SweetWisherシ well...its somewhat with a message. I just found one without the message written on it
 
@berserk mute mode @MukeshRana mutest mode :P
 
chng ur name to Two-face :P
 
@SweetWisherシ well...ya, since my last avatar was also like that
 
12:44 PM
@DroidDev half heath ledger half joker
 
after device restart my service stopped its working
 
@SweetWisherシ jup
 
and as well as when i clean memory using clean master my service also stopped working
 
don't use clean master simple
 
@ErumHannan used BOOT ?
Lolz Maven
 
12:47 PM
yes already done coding for boot and as well as onDestroy of myService class i ahve restarted service as well
but its not working
 
8
A: Android BroadcastReceiver, auto run service after reboot of device

Dixit PatelFirst do this 1) In your <manifest> element: <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> EDIT : Simple and smart solution: --> Autostart Service on Device Boot

 
that was easiest solution for the prb
@ErumHannan
 
i already have code
done
 
@DroidDev reanimated by baby-kun
 
i just restarted device but my service not started
@maven
 
12:50 PM
@maveň lol
 
@berserk he knows that jutsu?!?!
 
@MukeshRana now assigned to be dead :D
 
@DroidDev Okay! :-(
 
@ErumHannan check the sol^ suggested by SweetWisherシ
@MunimJi almost going to be invisible from the list
 
@maven lol am alive :P
 
12:56 PM
@maveň OMG me too
 
Hey Reki :)
 
accidentally we all four are united @DroidDev @MukeshRana @berserk @maven
@rekire heyy :)
 
K K manen :P
 
@SweetWisherシ i also want to restart service whenever some cleaner app killed my service then i have done coding in onDestroy of my service class if service not running then restart service right ?
 
@maveň jup, all black and white :D
 
12:57 PM
no ping received @SweetWisherシ
 
@maveň lol
 
@DroidDev now u understood
 
lol
 
@SweetWisherシ hey ;)
 
hws ya
 
12:59 PM
@maveň @Sweet is also united somehow because of that
 
most liked room by maven these days
 
BYE ALL
 
@devil bye :)
 
I'm fine... I'm just building a new release
 
12:59 PM
@DroidDev all mama sama O_O
 
04:00 - 13:0013:00 - 14:00

« first day (796 days earlier)      last day (2679 days later) »