« first day (715 days earlier)      last day (2535 days later) » 

11:00 AM
32 @DroidWormNarendra :p
 
4 or 5 i guess why
 
Dev
@praneethkumar alarm mamge rme aa raha hai?
 
@dev bro nhi thi hata di hi
 
Dev
event trigger ho raha hai?
@Amit clean refresh kr fir
 
11:01 AM
@PoonamKukreti Okay, then the approach I am having is great
 
Dev
chl jayga
 
@dev yess
 
@Rahul i'm good
@curiousMind haan
 
@Sayyaf stackoverflow.com/questions/19630160/… check this you have to implement in code as well
 
you @Rahul ?
 
11:02 AM
@DroidWormNarendra okay tell me what is the approach
 
Dev
@praneethkumar to bha wha se ek broastcast bhej na
 
@AnshulTyagi kuchh samajhh hi nahi aa raha h yaha
 
Dev
dynamic bna le
 
kya question chalu h
 
@Rahul sab lage hai apne me
 
11:03 AM
kse du?
 
user6043117
@Rahul hi
 
@curiousMind text message :P
 
@curiousMind hi
 
Add this in your application class
http://paste.ofcode.org/JHWK5GuLd2LcxvffJPuaLt
 
@PiyushGupta hi
 
11:03 AM
-___-
hi
@Rahul
 
@curiousMind usko bol de
 
and this in your activities - paste.ofcode.org/fwvxwCkJ2smVZeJqazQUk3 @PoonamKukreti
 
user6043117
@Rahul Me libs project bana raha hu. Jis me me inbox k sare msgs read karta hu. Ab muje only bank transaction related messsage hi chahie. Like Dear customer your A/c CRedited with 10,000Rs. to ye wale messagehi chahie. To iske lie kya solution he
 
and wherever you need to check if your app is in foreground or not
use -
if (App.isActivityVisible()) // returns true = foreground , false = background
@PoonamKukreti
 
@PiyushGupta kuchh static h
 
11:06 AM
this is a service right
 
user6043117
@Rahul static like?
 
@PoonamKukreti to me?
 
i have to do this for push notification
 
email address
 
@PoonamKukreti yes, I have done for the same
 
user6043117
11:07 AM
@Rahul nahi kuch b nahi
 
subject
 
user6043117
Ha message ka bosdy milta he
 
@PoonamKukreti whats your exact requirement - to check at the time of the push that app is in foreground or background, in order to display status bar notifications, right?
 
message body static rahegi
tum regex pattern se kar sakte ho
 
@Rahul chandigarh se kahi se call aya
?
 
11:09 AM
magar that will not be most accurate
@nawaabsaab resume nahi bheja
ek aya tha
 
when app is in background that time push notifications should come
 
@Rahul ok
 
@PoonamKukreti are you using gcm
 
there one service that has onMessageReceive method
 
PRB
11:10 AM
@NehaTyagi GD EVNG JI :)
 
@PoonamKukreti yes, I did the same
 
PRB
@DroidWormNarendra What is the difference between Bitmap and Drawable in Android?
 
there you can do what ever you want do
 
@curiousMind kahaan gayi
 
paka gya so se bhi
 
11:12 AM
26
A: What is the difference between Bitmap and Drawable in Android?

Ted HoppA Bitmap is a representation of a bitmap image (something like java.awt.Image). A Drawable is an abstraction of "something that can be drawn". It could be a Bitmap (wrapped up as a BitmapDrawable), but it could also be a solid color, a collection of other Drawable objects, or any number of other ...

 
PRB
@DroidWormNarendra i tht u ll gv ur own ans :P
 
ok lemme explain my requirement
 
okk
 
ok
 
@PoonamKukreti please
 
11:13 AM
@curiousMind tum android ho kya
 
PRB
@Rahul LOL
 
@Rahul you don't knw man? :p
 
;)
 
when App is active Gcm message should come as pop up like toast and if it is inactive then push notifiactions
 
11:14 AM
muchhe kuchh nahi malum
 
@AnshulTyagi bol diya usko
 
kaun kya h
 
@PoonamKukreti got it
try, what I told
 
@Rahul nhi
 
okay trying that only
 
11:15 AM
kya ho raha hai
 
@curiousMind ok
 
@PoonamKukreti okay, I am sure it will work, for every versions
 
rahul kuch bol rha h kya mujhe samjh me nhi aya
 
let me know then
 
PRB
11:16 AM
kaise conversation chal rahi hai bhai very much confusing.....
koi mujhe mere ques ka ans dega???
:(
 
ha bolo
@PRB
 
@PoonamKukreti can onMessageReceive pe message milata h
na
to vaha notification dikha do
 
user6043117
@Rahul ha but uske lie konsa regex he
 
PRB
@curiousMind What is the difference between Bitmap and Drawable in Android?
 
@PiyushGupta pattern rahate h
 
11:17 AM
@PRB drawable aur bitmap wala?
 
PRB
haan ji
 
user6043117
@Rahul ha mene use kiya but not working
 
@PiyushGupta regex kiske base pe lagaya h
 
user6043117
INR , RS k base par
 
@PiyushGupta aur baki ke word
@DroidWormNarendra tu curiousMind h
 
11:19 AM
don't know much, but I guess, we normally use drawables for static images and bitmap for dynamic images
I am not much talented :p
 
PRB
OK
 
kya ho gaya bhai
peechhe hi pad gaya tu toh :p
 
@DroidWormNarendra how do i get to know app is inactive
 
kuchh nahi
 
peechhe hi pad gaya tu toh :p
 
11:20 AM
techotopia.com/index.php/… @Rahul done this example what more advanced one i can add ?
 
PRB
@DroidWormNarendra WHO?
 
user6043117
@Rahul uske lie jyada nahi pata. can you help me pls?
 
@PRB Rahul
 
@PiyushGupta ek kam kar Bhai contains method use kar le string ka
 
PRB
ok
 
11:21 AM
jukhaam ki tarah piche hi pad gaya
:v
 
@PoonamKukreti use - if (App.isActivityVisible()) // returns true = active , false = background / inactive
 
user6043117
@Rahul kiya he
 
user6043117
{
}
Log.e("matchedValue= ", "" + amount);
resSms.add(smsDto);
} catch (Exception e) {
e.printStackTrace();
}
} else {
Log.e("No_matchedValue ", "No_matchedValue");
}
}
 
user6043117
if (smsDto.messageContent.contains("debited") ||
smsDto.messageContent.contains("purchasing") || smsDto.messageContent.contains("purchase") || smsDto.messageContent.contains("dr")) {
} else if (smsDto.messageContent.contains("credited") || smsDto.messageContent.contains("cr")) {
}
 
@PoonamKukreti will try that
 
11:22 AM
 
@NehaTyagi that is in android
 
@AnshulTyagi :D
 
@PiyushGupta then no idea dude
 
chutki na lo kaam karo be
 
@DroidWormNarendra if (App.isActivityVisible()==true)

{
Toast.makeText(getApplicationContext(),"HEllo Poonam",Toast.LENGTH_LONG).show();


}else {

Toast.makeText(getApplicationContext(),"HEllo inactive",Toast.LENGTH_LONG).show();
}
only inactive shows when splash comes
 
11:24 AM
if (App.isActivityVisible())

{
Toast.makeText(getApplicationContext(),"HEllo Poonam",Toast.LENGTH_LONG).show();


}else {

Toast.makeText(getApplicationContext(),"HEllo inactive",Toast.LENGTH_LONG).show();
}
when you are calling this? @PoonamKukreti
 
@Rahul: what??
 
@NehaTyagi xml one
 
@Rahul: yup
 
you can use okhttp
plus gosonxml
 
onCreate
 
11:26 AM
can you show the code, that you implemented?
Application class, Activities
 
@Rahul: yaar already code laga hua hain..cant make much chnages..so jitna max kam change kiye ho skta hain m doing that
 
@NehaTyagi ok
 
@Rahul: is that ok??
 
@NehaTyagi yes
 
11:28 AM
@PoonamKukreti don't put in onCreate(), as we are calling App.activityResumed(); in onResume()
 
@NehaTyagi are you getting any error
 
then where
 
Hi grds i m unable to sync that build gradle file what can i do ... It shows something like this , help

No toolchains found in the NDK toolchains folder for ABI with prefix: llvm
frds
 
and they were sending the data returned from this to DOM parser @Rahul
 
11:29 AM
@PoonamKukreti just put it where you need to implement, that is where you receive push
 
@Rahul: dont know making changes..abhi check nahi kiya kuch bhi
this is xm url
 
@PoonamKukreti have you added this as well in your activities? paste.ofcode.org/fwvxwCkJ2smVZeJqazQUk3
 
@NehaTyagi I see there is HttpPost
what format they using to post data
 
yeah those methods are depreciated na
 
yes you can use okhttp
just 2-3 line
 
11:31 AM
but if i do it the way i showed u..it shd work right??
 
Dev
yes
 
yes on splash
 
Dev
sorry, i was away from my desk
 
OkHttpClient client = new OkHttpClient.Builder()
                    .cache(getCache())
                    .retryOnConnectionFailure(true)
                     .addInterceptor(interceptor)
                    .readTimeout(READ_TIMEOUT_MILLIS, TimeUnit.SECONDS)
                    .connectTimeout(CONNECT_TIMEOUT_MILLIS, TimeUnit.SECONDS)
                    .build();
            RequestBody body = RequestBody.create(XML, inputData);
            Request request = new Request.Builder().url(baseUrl + requestURL).post(body).build();
 
@PoonamKukreti need to add in all the activities
 
11:32 AM
RequestBody body = RequestBody.create(XML, inputData);
here input data in xml format
String responseXml = response.body().string(); this is xml reponse
 
ok than i can extract it right
 
MediaType XML = MediaType.parse("text/xml; charset=utf-8");
RequestBody body = RequestBody.create(XML, inputData);
this is for the post
 
@curiousMind dekha
 
wait
downloading
 
107
kar lena fir bataaunga
 
11:38 AM
@Rahul: ok phir DOM se extract???
 
@NehaTyagi yes
 
okk
 
@PoonamKukreti try kiya?
 
@Rahul: ok chalo dis is fine..but jese main send kiya vese bhi to theek hain na
 
@NehaTyagi ha
 
11:40 AM
ok
:)
 
urlConnection se na ?
 
hmm
 
ok means no need to change
@Dev: dekha tune
 
hmm okhttp just optimization
 
Dev
11:43 AM
ni dekhna
he can help you
 
:D :D @Dev
chidku
@Rahul: okh right got it :)
thanks
 
Dev
not chidku, its all about time
 
np
 
@Dev: no problem.. i got the solution
 
@Dev Bhai tere ko kya batayu
 
Dev
11:44 AM
kuch nhi
ho gya
 
tere pass already solution rahate h
dekha
I know
 
Dev
tuje ni kha bhai maine kuch
 
ok
TVF dekh Bhai tu
 
@Kaushik tere whatsapp me bug? :v
 
@Dev Zindabad yaariyan sahi song h yaar
 
Dev
11:48 AM
tbi tu sb ladkiyo ka haal poochta hai
 
bahut seriously leta h tu yaar
 
@Dev hw ru :)
 
Dev
hahha
 
Dev
mai serious nhi leta, bs ye sochta hu ki jb bhi koi ladki aati hai tu kai bar makhi ki trah chipk jata hai ping pr ping
ek-do or bhi hain tere jaise
 
11:50 AM
@Dev he he, bhai sabki help krta hoon, aur leta bhi hoon
par tu notice nhi krta
 
Dev
mai yha bhut kum time hota hu bhai
jb aata hu tu ladki ko pingkrtey dikhta hai bs :P
 
hmm...chal koi ni...galatfehmi hui toh hui :p
 
Dev
chal njy kr, i was just pulling your leg :P
 
ab usako komadi bana do
 
Dev
11:54 AM
suna hai tu bhi bhut gaane ga raha hai aj kal
 
hahaha sahi suna h
I knew that :D
some tricks always work
 
haan @AnshulTyagi
 
hame bhi sunao yaar gaane :p
2-4 me bhi gaa doon fir
 
Dev
trick lgakr kya krna tha tuje
 
kuchh nahi
 
Dev
11:57 AM
ye kahani tu nhi smj paayga
 
nahi smjhana
 
Dev
tbi ungli kr rha hai
 
i want date month and year in different picker is it possible to do so? if so how?
 

« first day (715 days earlier)      last day (2535 days later) »