« first day (679 days earlier)      last day (171 days later) » 

4:45 AM
GM :)
 
Adi
hii.. gm @ChiragPatel @TopCat @JaiSoni
 
Vgm Adi
 
Mrng all
 
@Adi hi :)
 
@ChiragPatel @Adi @TopCat @PiYusHGuPtA Good Morning
 
Adi
4:52 AM
kem cho @ChiragPatel
welcome @PiYusHGuPtA
gm
 
@Prince
 
any one can help me with broadcast receviver
 
@DIVA whats the problem?
@Adi tx.
 
m try to register receviver on service
and it fires network broadcast
will only registering will fire broadcast?
@PiYusHGuPtA
 
5:03 AM
@Adi majam tame ko ?
 
@DIVA tare e joie chie k taru net off hoy ane programmatic ally tu on karav tyare braod cast receiver on thay
 
@PiYusHGuPtA yar gujrati nahi aate
 
Adi
@ChiragPatel hu pan majja ma
 
gd mrng !! @all
 
@DIVA tumhe ye chahie ki jese abhi net off he or programmatically on karo to uske lie tum receiver register karvana chahti ho
 
5:06 AM
@PiYusHGuPtA no m finding out reason that when i do registerReceiver(networkStateReceiver, filter); it called BroadcastReceiver networkStateReceiver = new BroadcastReceiver() { in code above
why that way?
will register call that method? is it default behaviour of android?
@PiYusHGuPtA
 
Obviously registerReceiver method is a default method for android to register broadcast reciever so when you pass or call object of ur BroadcastReceiver with the method of registerReceiver () then it will be sured register ur receiver.
 
@PiYusHGuPtA :( no
u still didnt understoood my issue
i know its default method
i m asking fireing of networkStateReceiver
is it called when registring every time?
 
Yes it is called everytime
 
but y registering calls it? when it wifi changes then it should call na
how to avoid this then?
 
It will registerd when your wifi network state changed
 
5:15 AM
how to avoid?
 
@DIVA it is registered in service so whenever ur app start it will be registered.
@Adi kem che?? hu ahi 6u ho.
 
Good Morning
 
@DIVA got my point?
 
Adi
mast tu bol @PiYusHGuPtA
 
@Adi su bolu. kale net taru slow hatu?
 
5:20 AM
yes but can u tell me any doc which tells
registerReceiver callls onReceive
@PiYusHGuPtA
 
Adi
@PiYusHGuPtA arey i have net problem in my area runs too much bad@PiYusHGuPtA
 
@Adi su yar hu kale msg kari ne thaki gayo D:
@DIVA Only specific you want to register onRecieve() method
?
 
Adi
hahah @PiYusHGuPtA su karu thay aau no option
Prince kya che @PiYusHGuPtA @ChiragPatel
 
@Adi khbr nai. nathi haju SO room ma
 
Adi
hmm
ok
 
5:28 AM
no idea
 
@DIVA Would you want to again register ur receiver in onReceive() method?
 
8 messages moved to Trash
 
@PiYusHGuPtA no actualyy m trying to find out the is really registring on service will call noreceive method m find android doc for same
 
@ErumHannan Hi
@DIVA Oh. Okay
@DIVA yes its call onreceive method
 
5:35 AM
piyush can u tell me how handler works with async task in android ?
and is handler a thread ?
 
@PiYusHGuPtA any doc plz?
 
@DIVA If u know hindi then u can ask question on hindi also so i can give you any answer of it
@ErumHannan If u r using AsyncTAsk then why need to use Handler in it??
@DIVA Ok lemme check..!!
 
@PiYusHGuPtA actually mujhe i mean n not sure ke wo har bar onrecevice kyo calll krata hai so google it
 
can u pls help me what is handler ? and why we prefer to use ?
 
my manager is eating my head
 
5:38 AM
@PiYusHGuPtA
 
since he dont hv it
 
@ErumHannan In thread you can use handler for execute ur opration in onHandleMessage() method of Handler
 
but whats the purpose of handler its just to execute thread ? and what is runnable ?
 
@DIVA Wo hoga hi kyo ki ek to tumhari service chal rahi he background me plus tum net wala check kar rahi ho to jese hi tumhara network state change hoga usse pehle wo registerd to ho gaya hi hoga or jab wo register ho damm sure tabhi onReceive call hogi
 
@PiYusHGuPtA
but whats the purpose of handler its just to execute thread ? and what is runnable ?
 
5:55 AM
@DIVA hua?
 
@PiYusHGuPtA kya?
 
@DIVA wo check kar rahi thi wo.
 
@PiYusHGuPtA still readin doc
 
@DIVA ok but do you feel that is possible. I don't think so yar
 
@PiYusHGuPtA hey u only said na it will definatly call onreceive..u forgot my question kya?
 
6:01 AM
@DIVA ha wo to registered hoga to onRecevice to hoga hi call
 
@PiYusHGuPtA ha but dost asha kahi mention to nahi ke on registring broadcast will trigger onReceive ...so but asha sabhi broadcast ke kiya to nahi hota na
 
@PiYusHGuPtA reading that ony
 
gm
 
Sun
0
Q: How to show Zoom In - Zoom Out Image Animation

SunWhat is the best way of showing Zoom In and Zoom Out Images Either by using .gif image or zoom in/out animation ? <ImageView android:id="@+id/image_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true"...

 
6:18 AM
@DIVA There???
 
@PiYusHGuPtA yess
 
@DIVA Dekho tumhari onReceive tabhi call hoti he jab koi specific action di hui ho. Or tumhare code me action he so har bar register hone pe onReceive() method call hogi hi. Agar koi action tm pass ni karte to hi onReceive() trigger nahi hoti
 
@PiYusHGuPtA ohh any more code or realted thing on stackoverfloew or android site?
 
@DIVA for which one?
 
@PiYusHGuPtA i have studied handler now if i want to use loop because i have 100 images in my json data so can i use handler in for loop so that after every time interval it will show that image on my Ui thread
 
6:27 AM
@ErumHannan No for that u need to use Timer or count down timer
 
@PiYusHGuPtA stating ur above comment of action wala
 
what will it do ?
count down timer ?
 
@DIVA ha wahi to action specific hogi to wo call hogi
@DIVA abhi tum kya samji. tum abhi samja sakti ho ku6 apne TL ko?
 
@PiYusHGuPtA yes i got the point but one more doubt i hv is suupose aur koe action like say battry low agar mai yo sepecif karu action se to wo onrevceive call karega ? if yes i need some doc stateing that or atleast some question on stackoverlow
@PiYusHGuPtA suppose mai ek broadcast likte hu say battery load and register it via action ok? and in onreceive i say delete my inbox msg ...so when i register receiver accoring to u it should delete all msg that time only? woith knowing battery is really low or not?
 
6:47 AM
@DIVA Yes it will be.
 
:( really ok let me try a demo may be
 
@DIVA Ok try it and let me know then
 
@PiYusHGuPtA sure
 
@PiYusHGuPtA what will it do ?
count down timer ?
 
6:57 AM
@ErumHannan For ur specific time your 100 images will display with some time interval.
 
no actually i want to download a single image then my handler should update UI thread for this change and will display image in imageview similarly when my handler get update about 2nd image then it will update my UI thread
how this can be achieved ?
 
qwr
Hi
Did anyone encountered such problem. My program is using android speech recognition. On some cell phones it works well. But on phones with default recognition it always recognize one language despite of what language was chosen
 
7:23 AM
@PiYusHGuPtA acccording to u for this code :pastie.org/pastes/9503426/text
what showuld be result when i run the code
should it print "Inside on the_receiver123N1" ???
@PiYusHGuPtA
 
final answer?
 
Ha final hi he
ha but tum bologi ki ni ho raha he .@DIVA
 
no its not priting :(
 
@DIVA final answer?
 
7:31 AM
yes it is not printing while running
it only printing when changed into airoplane mode
 
@DIVA Ha to wo activiate nahi hoga to kese print hoga. wo to sahi he. Jab tum change karogi tabhi hoga. Tumhare Intent filter me bhi action wahi use kiya he tumne
 
@PiYusHGuPtA then y it is printing with
    IntentFilter filter = new IntentFilter(
            ConnectivityManager.CONNECTIVITY_ACTION);
    registerReceiver(the_receiver, filter);
 
network on he tumhara???
 
yes
 
off karo or bad me check karo
or batao ki tab print hota he?
 
7:35 AM
ok
still its printing
:(
 
Ok means something goes wrong there
 
i thing its only with wifi
isnt it ?
 
@DIVA Yes it is. i have used wifi .
for register broad cast.
 
so what is conculsion?
 
What i have used. Look here.
Intent intent = new Intent((Settings.ACTION_WIFI_SETTINGS));
startActivity(intent);

registerWifiReceivers();
Then see this pastie.org/9503446
 
7:40 AM
ok so doent it enter onReceive?
 
no it is entered. working perfectly. see pastie code
 
"no it is entered. " means -->YES it call onReceive?
with knowing what wifi state is?
 
Yes it is call perfectly when particular actions triggered
 
and how abt action aother than wifi?
 
If wifi not available then my network action triggered for change state of wifi
 
7:44 AM
no no i m asking like action other than wifi like airoplane more ...batery low etc
 
@DIVA for that i have to check. will discuss. Lunch Time here. Sorry.
 
@PiYusHGuPtA ookkaayy
thx for efforts
 
its. Ok nope.
 
8:00 AM
hi i m getting this error when trynig to start emulator mulator: WARNING: Requested RAM size of 2048MB is too large for your environment, and is reduced to 1536MB.
while i have set my Device target api level 11
@PiYusHGuPtA
i have reduced my RAM size of Device to 1500 but still but my device is not going to be started
 
 
1 hour later…
9:23 AM
LUNCH OVER
 
mine too :D
 
Adi
yup
 
Installing Android L SDK. Eager to start work on it
 
ha ha..
 
Adi
good good
 
9:33 AM
good afternoon @Adi @TopCat
 
@AliAshiq Good afternoon
 
9:51 AM
Hi guys, I'm not an android dev by any means but I had a quick question regarding webviews. I'm trying to load a website inside of a webview but the javascript for said site isn't firing at all. When I check the site inside browsers on an android device there are no issues but once inside the app it's not working at all. I'm just wondering is there something fundamental I could me messing up with? Cheers
 
hi
@PiYusHGuPtA
i have used asynctask and inside loadBackground method i have used handler
now when i m trying to execute my Async class then i m getting error
whats the issue ?
may i need to post code ?
 
Adi
@AndrewCaulfield enable java Script
 
@ErumHannan check both these links stackoverflow.com/questions/6531950/…
0
Q: Android download multiple images

user903772I need to download 6 images from server and display on a table in android. What is the fastest way? Should I just store image on my phone instead?

 
@Adi That is something that I have to set inside the webview? It's not something that is default enabled?
 
Adi
no u have to set it if ur website is using jsp
try it
and den see if u get any errors
@AndrewCaulfield
 
10:03 AM
hello
@Adi
 
@Adi Cheers. Will check it out.
 
Adi
ok :) @AndrewCaulfield
yes @stackhoss
 
@Adi :D
 
Adi
never worked with this yet need to check it thoroughly and m busy mate. sorry plz ask some one else@stackhoss
yes @TopCat
 
10:10 AM
@Adi ok :)
 
@Adi busy?
 
@Adi got message?
Hmm. I M crying my installation failed because low space on Disk.
 
10:27 AM
OMG :O
 
Adi
open the disk and clear it :p
@PiYusHGuPtA
 
Na bahu badha data neccessary che etle
ene clean kari ne unnecessary file pan delete kari didhi but space j nathi D:
 
@Adi
 
Adi
arey kholi ne clean kar na badhi wire circuits kadhi nakh
@PiYusHGuPtA
yes @AliAshiq
 
10:34 AM
@Adi how could i store form values in on string
 
@Adi pan baka full pack che. ane mare only 1 GB ram che
 
pastie.org/9503790 i am able to get text in string now i want to savve in a variable @Adi
 
Adi
par variable mei kyu save karna hai
use string jaha u want to use variable@AliAshiq
 
ok ok String ageto = et_search_maxage.getText().toString(); like this
 
Adi
yes
 
10:38 AM
@Adi su karie tame intelligent j advise apo e to amare levi pade ne
 
Adi
kai pan @PiYusHGuPtA
 
here i want to send values to server and values get by user now how could i do this
 
@Adi ha Adi.
@Adi message check kar
 
Adi
any one have good java basic concepts help me with sql exception
 
@Adi database mate?
 
10:40 AM
@all any body aware of parse.com?
 
@Adi NewTask.iq = new CustomIQ("<matchsearch xmlns='naseebsearch' searchtype='quicksearch'><gender>here values comes from user </gender><agefrom>here values comes from user </agefrom><ageto>here values comes from user </ageto><country>here values comes from user </country></matchsearch>");
@Adi String c = country.getSelectedItem().toString();
rbtFemale = (RadioButton)view.findViewById(selectedId);
String agefrom = et_search_minage.getText().toString();
String ageto = et_search_maxage.getText().toString();
 
@Adi requirenment bol SQL mate su karvu che exactly?
 
@Adi Whats problem?
 
Adi
@TopCat @PiYusHGuPtA problem solved
now new problem but first trying to find out where i m getting it
 
@Adi tu etli intelligent che ne k amen question kare tya sudhi pote j solve kari de che
 
10:54 AM
LOL :) U can Adi
 
hii all
i am getting "Tick here if using email address instead of username" this while trying to post in fb.
@TopCat
 
In FB sdk?
@Venu
 
yes.
i am able to post the message from the app registered user only
 
Not worked yet buddy
sorry
 
@JaiSoni hi
 
10:57 AM
:)
 
ok no problem @TopCat
 
@TopCat
 
yes
 
i am able to get values from widget like this String c = country.getSelectedItem().toString();
rbtFemale = (RadioButton)view.findViewById(selectedId);
String agefrom = et_search_minage.getText().toString();
String ageto = et_search_maxage.getText().toString();
now i want to send this values on server using this xml NewTask.iq = new CustomIQ("<matchsearch xmlns='naseebsearch' searchtype='quicksearch'><gender>"+ rbtFemale + "</gender><agefrom>" + agefrom + "</agefrom><ageto>" + ageto +"</ageto><country>"+ country +"</country></matchsearch>"); @TopCat
@TopCat i going on right way or not tell
 
@Adi only 7 lines na.. :D
 
11:06 AM
sorry @Adi i am extremely sorry
@TopCat tell me
 
I dont work with xml. I use and like JSON
 
@TopCat
 
u sending value to server?
 
yes @TopCat
 
using AsyncTask ?
i am doing like this oly :D
 
Adi
11:11 AM
show me ur code @AliAshiq
 
11:28 AM
@Adi hy
 
Adi
hii @HarshBhavsar
 
@Adi i want to add data in my sqllite database using rest api from app.
how can i achieve this
 
@Venu hi
 
i am trying to post a message using fb sdk.
but its working for app registered user only
@JaiSoni
 
Adi
sorry dint worked with rest api @HarshBhavsar
 
11:39 AM
@Adi class ka object kese banantay hain dosrii class mie :)
 
Adi
ask @ChiragPatel
 
@Adi ok thanks..
@ChiragPatel i want to add data in my sqllite database using rest api from app.
how can i achieve this
 
Adi
us class ka name obj name;
@AliAshiq
 
@JaiSoni mere bhai wt r u doing?
 
NewTask class ka object kese banao mai apnii QuickSerch Class mie tell me @Adi
private NewTask NewTask; like this @Adi
@Adi
 
Adi
11:50 AM
new task new task= new newtask
simple
@TopCat
need help
 
@Adi Fire :D
 
Adi
i m sending u one query dont know y I m getting null pointer exception
 
wat r u trying or doing?
 
Adi
see it u will understand
 
@Adi check result has "ProspCustCode" result.getString("ProspCustCode"). print each results and try
 
Adi
11:58 AM
yes it has
it is printing told u
@TopCat
 
what about abject row?
it should be null :D
@Adi
 
@Venu sorry no idea
@PiYusHGuPtA bahi stuck on BLE
 
@JaiSoni BLE ??
 
code that was working in demo...not working after implement in app
@PiYusHGuPtA yes BLE (Bluetooth Low Energy )
 
Adi
ho gaya solve @TopCat
thanks
 
12:02 PM
@JaiSoni Oh strange yar. same thing applied thoguh?
 
:D
 
@PiYusHGuPtA I hv copy past my service class
 
@JaiSoni So just cehck bro may be u have missed something
 
Hi guys
I am using textview for showing the text but text is very big show how to manage>
I dont want to use scrolling
I want next activity
please help me
 
@PiYusHGuPtA bhai wo hi check kar raha hu..
 
12:08 PM
@TopCat
 
@Navdeep use ellipse for that.
 
@PiYusHGuPtA
yes
 
@Navdeep
 
yes @AliAshiq
 
will u help me
 
12:11 PM
which type of help?
 
pastie.org/9503967 have a and when i debug no values comes from fields in xml
@Navdeep
 
Hello
 
Hello
 
Bye All TC Good Night :D
 
12:26 PM
any one can help me ?
0
Q: i want to restart player if stopped

stack hossI am anew android developer and i made ashoutcast radio player and work good but when i open app it work for afew time but suddenly stop and need to press stop and play again but i need Handling android player errors to automatic restart on errors ackage com.test.test; import java.io.IOExceptio...

 
12:45 PM
@DIVA problem solved??
 
Hello everyone. can any one tell me how to resolve issue of localization string editor charset issue?
bcz i am getting unusual charector for japanese language in string.xml
 
Adi
1:01 PM
m leaving guys bye bye bye all take care and enjoy coding :)
 
@PiYusHGuPtA
The CONNECTIVITY_ACTION broadcast seems to be sticky on some devices (even though the documentation implies that it is not). This means that when you register the receiver it will immediately call onReceive() with the most recently sent broadcast. Since you are registering and unregistering in onPause() and onResume() you will get a lot of calls to onReceive(). You might want to do this in a different way.
 
@DIVA Hua solve??
@DIVA Ahh!!!
 
Hence conlucion hai ke code se mai receiver register nahi karugi ...i will register from manifest staticly
 
@DIVA Ok good. good approach.
 
thx for help
 
1:04 PM
@DIVA Kaha meri wajah se to solve bhi nahi hua tha
 
@PiYusHGuPtA np will ctach u next time for more big issues
 
bye bye @Adi
 
@DIVA Oh okay. nope. on GTalk in my SO profile
 
i know
 
@DIVA Ok. How much expe in android?
 
1:06 PM
2.2
 
Great!!!
 
Bye @All
i dont know where is @prince....
 

« first day (679 days earlier)      last day (171 days later) »