« first day (678 days earlier)      last day (2797 days later) » 

4:37 AM
Good Morning All
 
4:53 AM
boom boom good morning to all
 
F4z
Hello
is anyone able to help me with something? hopefully it wont take too long
 
can somone pls check this how can i change text size and color of tabbar android
pastie.org/9557782
 
hello @PG_Android
there]
 
@PankajAndroid can u pls check my question
 
@ErumHannan yes pls
 
5:25 AM
have mentioned the pastie pls check this @PankajAndroid
 
good morning guys
 
Hi
@rekire
 
@Anil vgm
 
0
Q: Unable to apply funcation on Listview item button clcik and inset data in database

Anil@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { // TODO Auto-generated method stub String notifcationtype = notifies.get(position).getNotificationType(); String nOtifcationMessge = notifies.get(position) ...

check @rekire help and suggest man
@rekire u got issue
 
5:42 AM
I try to fix your formatting first^^
Please add your stacktrace. I do no full code review
 
any drawing techniques where in I can draw thousands of points in a second without any lag on android?
 
@zIronManBox I think that should be no problem a full hd screen has 2073600 pixels which are refreshed at 60fps without lags
 
@ErumHannan what exactly you are doing and what u required?
 
i m trying to change tab bar font size and color in initializeTabHost method but there is nly one error u rmust call removeParentView from
the view
 
5:58 AM
I've noticed, a lag on even NExus 7 @rekire
 
@zIronManBox the more interesting part is how do you draw the points?
if you cause havy calculations on the drawing process it will lag... if your image does not change between draws you can put it into a bitmap and just draw that one again that is much more efficient
 
@navya
morning
 
@rekire how do I that, putting into bitmap? And all heavy calc is done in saperate thread.
 
@PankajAndroid salam bhai
 
6:06 AM
@zIronManBox basically you write with canvas an bitmap. does this help? skoumal.net/en/android-how-draw-text-bitmap
 
I'm having a look at this post: stackoverflow.com/a/12033638/3176433 @rekire But i'm not sure where to put in these lines. Is it inside draw() or outside it?
Another problem I've come across, is by calling invalidate() multiple times to redraw the points I receive. And this causes to trigger onDraw(), which causes to slow done. I was thinking can we use hardware accelerator would help or any other work around. @rekire
 
Interesting aspects I think too that the hardware acceleration should help but the renderer should know that nothing has changed. you could try to make that view to an independend layer (you need to google that). that bitmap generation should been outside of the normal flow e.g. in your existing thread where you do your calculations
 
@rekire even if i were to generate bitmap outside the thread, how will i invoke during draw()?
 
@navya I know
 
@zIronManBox in the ondraw method you will paint that bitmap on the canvas a one liner :)
 
6:23 AM
Hello . How are you ?
@all
 
@rekire everytime, I get a new set of thousand points, I need to do Bitmap.createBitmap() and this Bitmap should be passed to ondraw() right? But another problem I face is during createBitmap() GC_FOR_ALLOC keeps triggering, how do I overcome this?
 
@PG_Android gud morning
 
@zIronManBox just replace the content and do not creat a new image, the dimensions should not change only the content
 
@rekire how can I change the content without creating a new bitmap?
 
overdraw it ;)
 
6:28 AM
@Anil @PG_Android gmm.
 
@rekire any example or stack overflow post?
 
I have a imageview And a button and 2 images
 
@navya gm 4got
 
just draw a rect with your background color or if you use a transparent bg clear all pixels
 
I have a imageview And a button and 2 images .
clicking the button causes toggling the images in imageview .
But the load time is huge\
What can I do ?
The size of the image is 1 MB
 
6:29 AM
@rekire I didn't get that?
 
113
A: Android, canvas: How do I clear (delete contents of) a canvas (= bitmaps), living in a surfaceView?

MobistryDraw transparent color with PorterDuff clear mode does the trick for what I wanted. Canvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR)

 
@Anil @PG_Android gmm.
no frgot
 
@navya good morning b y
 
@navya not for GM. u know it very well D:
@navya now got it navya?
 
is there a way to read the current notifications of my app?
 
6:55 AM
@Anil
@rekire u also working on Android Notification
 
@AliAshiq right now in this moment
 
ohh u are using GCM
i am also start working on notifications using open fire server
 
I'm writing an notificationbuilder for normal (pre 4.1), extended (aka big view), wearables and L-Style notifications
@AliAshiq GCM is not yet a topic for me I'm working on our offline notification strategie
 
will u please refer me a a good tutorial
i am also developing chat base application in android using xmpp
 
@AliAshiq some other dev implemented that stuff yet
 
7:05 AM
are u using xmpp in android : @rekire
 
@AliAshiq not yet but we push our messages also via xmpp, but I don't know that push server code
 
if u need help regarding chat implementation, roster friends, online friends and search i will help u i have done this already, and chat is implemented with bubbles :)
@rekire
 
thank you but I guess that will take long until I can ask you ;)
 
hello guys... i am new in java
i have a doubt in java inheritance... why we use inheritance we can achieve this concept through public class and method
if any body have any good doc or java ebook .. please let me know
 
7:22 AM
I have no books about that, but if you have a questions simple ask it :)
 
why we use inheritance, suppose there is one class "A" it has few Methods M1, M2 now i have two other classes B & C. now we want to use both M1 & M2 in our classes B & C. according to inheritance we will extend class A in class B & C and we can use both methods. but this scenario can be achieve like: if we create M1, M2 method in both classes.
no need of class A
 
@KeTaN ketu
 
@Andy Yes, you can still create M1, M2 methods in both classes, but it will be reptative code and not abide to OOPS concept. Inheriting will avoid repetative code and above that we can add more functionalities to M1 & M2 as well.
@Andy For example a CAR can be a parent class, every car has 4 wheels, a steering, and can move. Now take AUDI & BMW if you inherit these to CAR, then you get the properties of a CAR to these classes. Now you can Override the methods in car like topSpeed(), handling(), fuelCapacity() etc.
 
thanks @zIronManBox, but when we are overriding M1 & M2 or other methods in class B & C we are defining these methods definition every time .
 
@Andy Yes, you can custom define the methods to a appropriate functionality you would need, rather what is already there.
 
7:39 AM
hmm.. got it...
@zIronManBox there is one more concept abstract method we use it in overriding ..
what is its real use
 
8:07 AM
@Andy You have been a member in SO for ovr 4 years and your first post was on Android in Mar 30 '10. How can you be new to Java ?
 
indeed a little strange^^
 
^^ Strange world
 
@ItachiUchiha i know android but on pure java kind of project i never worked... and i am not very strong in java
 
How were you working on android without the knowledge of Java ?
 
i know concept and use, but there are few things which make me confuse
it may be silly for u guys :(
 
8:21 AM
everybody asks sometimes silly questions don't worry
 
already closed when I clicked on close :(
 
haha
you are late :P
next time
 
:(
 
we close a lot of questions :)
 
8:35 AM
are you familar with notifications on wearables?
I want to hide the ContentIntent on the wearable when I set a custom action
 
never worked on android. I am planning to learn it this winter with Naruto and you as my mentors :P
 
:D
 
hi @ItachiUchiha @PG_Android @PankajAndroid @all ...i need to get intercept notification data created by other apps to make backup ..is it possible n android? ..any idea?
 
well you didn't ask me but is is possible as device admin, or as input method (aka tts or talkback), or with the 4.3 notification reading api which is also used by wearables
 
8:39 AM
@ItachiUchiha I love closing ios questions. in such cases I don't even review it :P
 
haha
yeah ! you did it !
 
:D
 
Now our names stay in History :P
 
I want to check something on the next cv^^
 
alright
let me dig it out for ya !
 
8:40 AM
if you find a qustion with 4 votes please inform me before closing it
 
how to zoom image in ImageGetter android ???
@navya, dear good afternoon... :)
 
thx I guess it does not work anymore :(
oh I'm online for 395 consecutive days :D
 
:D
Man ! I have tried to keep up, but it always slips away on weekends
@rekire what doesnt work ?
 
@ItachiUchiha I wanted to flag question as offtopic etc to get more helpful flags^^ but on questions the flag is casted to a cv
 
8:49 AM
ahh
I guess, to do this, you will have to go through the questions :P
 
I think flagging is now only relevant for users without the cv previlege or for answers and comments
 
@rekire is it possible to intercept notification data of other app..have u any link.please send me..thank you...
 
@rekire Well, pending close vote reason flags and close votes are considered to be in table PendingFlags in SEDE..
 
@ItachiUchiha wow I did not dig so deap in that tables
 
9:02 AM
@rekire even I didn't, I was enlighted by my friends who keep hanging out in meta.SE
 
hi everyone :)
 
@ItachiUchiha good to know I'm not anymore active at meta.se it is too hard to get rep^^
 
haha
I just asked one question on meta.so
and it got bombarded with downvotes
 
that's what I'm talking about^^
 
how to set onclicklistener in ImageGetter only if it contains Image and get source of that Image ???
 
9:11 AM
@rekire Just to understand, do you own a android wear? if so which one?
 
@zIronManBox I don't own one but my company. it is the gear fit
 
@rekire Good to know.
Also another thing, The heap memory is limited for java layer in android about 24MB to 32MB on a device and can't be extended. But the bitmap allocation that I do, is more than what is needed. How can I optimize the bitmap allocation on heap. Which is best way: do it on java heap or move to native layer where memory is unlimited?
 
@zIronManBox I don't know I got it yet always managed to keep my memory usage so low that I did not get any probelms
 
@rekire have you any time worked on native layer for bitmap manipulation?
 
no
 
9:23 AM
Hi buddies
I have got a prob with adapters, I am using drawableLeft for setting the image on some condition so that some list item will show it and some doesn't... It works good .... But after scrolling all item shows the drawableLeft Image
Help Me
Code is here
 
F4z
9:40 AM
Why is it that when i use ".split("\\s+")" in a editText to get the words count, It shows 1 when the EditText is Empty? it's supposed to be 0 not 1. What's up with that
 
???
 
F4z
sorry bud, not related to your question but yea. Rather weird error
 
any body did work on Signal R
?
 
@Anil JaiSoni implemented it
 
ok have u worked on GCM Notifcation
?
 
9:51 AM
@Anil Neah
 
XMpp ?
 
Neah. I have to learn still
 
@PG_Android yaar thoda Layout me help karo
 
@Anil i will but not now yar because i am also working on my major issue point
 
10:30 AM
Greetings
 
@PG_Android hi
 
@PG_Android have u designed keypad
?
 
@Shweta yes but in my training. so long time it was.
 
@PG_Android can u tell me how to design customise numeric keypad with different different background
 
10:42 AM
 
@PG_Android Hi
 
why i am having black area in bototm?
 
@PG_Android ?
 
@Shweta for that you can use different image background or you can make button array and according to position set background for it or you can use gridview also and position wise implement it
@Abhi hi
 
@PG_Android can u provide a simple demo
@PG_Android Actually I was trying to design from TableLayout
but it is not 100% identical
 
10:47 AM
@Shweta Suppose in your keypad has nine buttons . So just set nine items in gridview with three columns and make custom adapter for it and in getView() method check if(position==0) convertView.setBackgroundResources(R.drawable.xyz) and same for others eight items
 
@PG_Android ok
 
@Shweta understand my concept very well or not?
 
yes
but how to fix height of grid view
 
@Shweta match parent
@Shweta is your gridview in full screen?
 
@rekire still CVing questions :P
 
11:01 AM
I'm implementing notifications which should work on Andorid L and Wearables
 
11:41 AM
can somone tell me how can i apply background colors on live camera in android ?
i m talking about custom colors or images ?
 
Greetings Rekire
Opps…My bad… Greetings @Rekire
 
@PG_Android there
 
hi @Karl
 
How are you today?
 
I'm fine I improving my notification api... It is now Android L and Wearable ready
 
11:56 AM
@rekire there
 
not for a long time I have a meeting in 3 minutes
 
Nice to hear!
What is Android L?
 
@rekire how to pass value from Popup to to Fragment can u please tell
 
12:20 PM
Question: WARNING NON-JAVA material: While trying to separate the heat sink from my AMD CPU, the CPU got ripped out of the motherboard's locked socket because the thermal grease, pre-applied at purchase, and included with the CPU, turned to a solid I think it's AMD's fault the CPU got damaged, and not because of abuse. [I had to take the CPU to a pro to separate the two, and he said he's never seen a grease do that.] Am I wrong for thinking that?
 
@Anil
 
hai, how to make this type postimg.org/image/6v3fqh4g3 custom buttons
please help :)
 
12:37 PM
@Angel i have found somewhere with code
@Angel its a satellite menu
 
@PG_Android yaar wanna show custom layout on click of contextual view
 
@Anil there is no way for that
 
@Rekire can you comment on my off-topic question?
 
@Angel ur image has been broken
 
I put just one time a cpu on a mainboard so I have not really enough experiance with that
 
12:43 PM
Fair… [I don't like answer, but understand why. :P ]
 
however I think it should not demage the processor to remove it from the mainboard and to put a new heat sink on should be no problem if you are grounded...
 
@rekire
 
@AliAshiq
 
hi @all
any one worked on viewpager with lazyloding ?
 
12:59 PM
no
 
k
 
 
1 hour later…
2:25 PM
I am hungry
 
how to check calendar app is available and is it updated or not in android
 
 
2 hours later…
4:02 PM
I'm teaching a group of people string manipulation and file I/O today. Is there anything cool I can do or cover in 10-15 talk?
 
 
1 hour later…
5:06 PM
Dance while you talk!
 
5:52 PM
Hey.. Anybody there ?
Need some help!
on this
-1
Q: Develope Application for interior Design in Android

MDroidI want to develop and Android Application for Interior design like Greenlam application and many more apps available on App store. Requirment : There will be one image of Living room with furniture. now I need to apply different types of design on the furniture available in that image(These desi...

@Anil @rekire @ItachiUchiha @Abhi
with one minus vote :( :(
 
 
1 hour later…
7:00 PM
@Karl ROFL :D
 

« first day (678 days earlier)      last day (2797 days later) »