« first day (1062 days earlier)      last day (2413 days later) » 

5:09 AM
Good Morning guys :)
 
5:39 AM
good morning guys
 
@rekire vgm
 
Good morning all
 
@TheLittleNaruto @Harish vgm
 
@rekire i'm unable to perform action on buttons in notification
 
lol, I was starting a code search and saw that I searched that already the last time :D
@Harish Try adding this to your intent: intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME)));
 
5:56 AM
always it is performing last action on the notification only
 
boy use my code, they override each other as long you don't make then very offensive unique with setting them data
 
Hi @rekire
0
Q: How to get SMS ID from SmsMessage in OnReceive Method

osimer potheHi I have the following broadcast receiver so my activity is told when I receive an sms message. The only thing I haven't been able to figure out is how to get the id of the new sms. How can this be done? I know how to get the phone number and message but I don't need that I need it's id any help...

please help me with this question
It is very urgent
 
I should sleep
 
@TheLittleNaruto can you please help me with this question ?
 
6:06 AM
Hi @ all
how to stop analytics in particular activity
 
@Washu , I have seen this questions
But there is no way to retrieve sms id from this questions .
 
@osimerpothe sorry i have no more info about that... i havent worked with it :S
 
@Rre
@rekire , can you please help me ?
@Washu , please help me
Its very urgent
 
@osimerpothe how to stop analytics in particular activity
 
@rekire tried with the code what u said but it is not working
 
6:12 AM
@osimerpothe No idea dude
 
hi @all
good morning
 
@Washu I have got some warm up for you : superuser.com/questions/981956/…
 
need one help @rekire @TheLittleNaruto
 
@ChintanRathod hey
 
have you used GSON?
 
6:23 AM
yes
 
for example i have response like {"id":"1234"}
 
So my class will be like
public class response{ @SerializedName("id") String id; }
right?
 
more or less like this : hastebin.com/qeposizaho.java
@ChintanRathod ^
 
yes absolutely right
but what if my json response change to {"Id":"1234"}
will that cause any problem with parsing?
 
6:27 AM
No
 
you sure?
coz i am currently facing that issue
 
Sure
what issue ?
 
like if your key is initial caps then GSON is not parsing that object
its also not firing any exception but also not parsing any thing and returning me back null object
Gson gson = new Gson();
Example response = gson.fromJson(json,Example .class);
i am parsing like this
 
Where "json" is a json string response, right ?
 
yes
but currently facing a serious issue
because we have created all pojo classes with lower case initial letters
and now response is change with initial caps
 
6:30 AM
posted on October 05, 2015

New Cyanide and Happiness Comic

 
Can you show me the variable declaration part of that variable which starts with caps letter ?
 
so whole application is crashing everytime
 
Then change just the pojo class
 
@Harish can you show the updated code?
@ChintanRathod what is the issue?
 
i have created with jsonschema2pojo.org site
so i simply paste my response and it creates a classes for me.. i guess
@TheLittleNaruto you have also created example with same
right?
 
6:32 AM
As you're saying the response got updated with caps letter for each name-value pair, you need to update the pojo class too
Yes
 
@osimerpothe I never worked with sms so no idea
 
@rekire i am facing issue with response json
i have response like {"id":"1234"} before
and now its changed to i have response like {"Id":"1234"}
and i created pojo classes with jsonschema2pojo.org
 
oh, I don't know but I can write a little unit test to check it
however this is a good question. I would guess that the id field won't been filled out
 
how can i do that
@rekire
 
@ChintanRathod writing a unit test?
 
6:34 AM
i never done that before.. but how that can help me to sort it out
 
@ChintanRathod Just change in "Serialized" value for each variable
For example :
@SerializedName("Id")
@Expose
private String id;
 
ha ha.. man.. i have thousands of object for 15 methods..
isn't there any alternative..
 
@ChintanRathod you could write a custom serialization to make all fields lower case that may fix it for furture renamings regarding cases
 
Ask your web-dev team to to revert the changes
 
@rekire Question : HOW?
@TheLittleNaruto a good suggestion
:)
 
6:36 AM
searching in my code
28
Q: Gson custom seralizer for one variable (of many) in an object using TypeAdapter

MountainXI've seen plenty of simple examples of using a custom TypeAdapter. The most helpful has been Class TypeAdapter<T>. But that hasn't answered my question yet. I want to customize the serialization of a single field in the object and let the default Gson mechanism take care of the rest. For discu...

 
@rekire Wow! nice approach there.
 
in afterRead(JsonElement deserialized) you could search all subnodes and remove + insert them again with lower case
 
Anyone wants to help me here : superuser.com/questions/981956/… ?
 
@TheLittleNaruto sounds like a bsod issue, search of a tool called "BlueScreenView" and take a look if it finds something
 
@rekire Do you think we can solve it ?
@rekire No No No....
It's not that issue
Whenever I shut it down, the notebook restarts
 
6:42 AM
oh "Sadly this doesn't work. Then I tried another way which I found on YT." okay :/
 
@rekire okay.. let me take a look at that
 
did you try shutdown -s -t 0 -f?
 
No, The problem is with my home notebook. I'll try after office.
 
-1
Q: item is not appearing in list in android

osimer potheI have an listview of SMSItem objects . When any new sms arrives , it is showed in the list . But after clicking the list , the item is disappearing . The item is not showed in the list . My arrayadapter is as follows : public class SmsArrayAdapter extends ArrayAdapter<SMSItem> { List<SM...

@rekire , can you please help me ?
 
6:47 AM
15 mins ago, by rekire
@osimerpothe I never worked with sms so no idea
 
@rekire how to write in afterRead part
i am not getting what should i write there
 
@rekire , this question is associated with list
-1
Q: item is not appearing in list in android

osimer potheI have an listview of SMSItem objects . When any new sms arrives , it is showed in the list . But after clicking the list , the item is disappearing . The item is not showed in the list . My arrayadapter is as follows : public class SmsArrayAdapter extends ArrayAdapter<SMSItem> { List<SM...

 
@Harish it must be the last line before setting it to the pending intent
@osimerpothe oh my fault
 
@rekire ok
@rekire i have two pending intents na so i set it for two
 
.-.
 
7:13 AM
@rekire , have you seen my questions ?
-1
Q: item is not appearing in list in android

osimer potheI have an listview of SMSItem objects . When any new sms arrives , it is showed in the list . But after clicking the list , the item is disappearing . The item is not showed in the list . My arrayadapter is as follows : public class SmsArrayAdapter extends ArrayAdapter<SMSItem> { List<SM...

 
 
1 hour later…
8:21 AM
@TheLittleNaruto nice early bird example: stackoverflow.com/q/32065160/995926
 
You have got 11 12 upvotes already.
;)
 
hehe
 
wtf
 
8:31 AM
I'm currently waiting for the 100k dl badge on the play store
 
Well you could have done a little SEO for that.
 
that wasn't me but my company
 
I know, I am talking about that 4 downloads left only...
 
lol, not I did nothing we got 145 downloads anyway on Saturday and that was the weakest day since end of august
 
8:56 AM
2 hours ago, by Harish
@rekire i have two pending intents na so i set it for two
 
@Harish apply it on both?
 
you did not. right after this line is the wrong place: Trace.i(TAG, "Looptype Archive loop");
 
@rekire hi
 
@Harish it has to be before this line PendingIntent pArchiveIntent = PendingIntent.getActivity(this, 0, archiveIntent, PendingIntent.FLAG_UPDATE_CURRENT);
@senti hi
 
9:05 AM
 
@rekire I print the text value via bluetooth printer.
how to print one layout or drawable image
 
@senti cool, I don't know that since I do not know that api
@Harish strange try to use another request code
however I also do not use that flag, try the flag FLAG_ONE_SHOT
 
0
Q: Android ShareAction big size and dark color after adding it in toolbar

mandevI'm trying to add beautifull shareaction on toolbar and here is my try: <item android:id="@+id/shareac" app:actionProviderClass=".ShareActionProvider" android:icon="@drawable/ic_share" android:title="@string/share" app:showAsAction="always" /> Java: @O...

:|
 
@rekire for both need ti change flags ?
 
9:15 AM
@Harish try to use just that flag no other
 
@rekire You mean no need this deleteIntent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME))); and where ever i have used the PendingIntent.FLAG_UPDATE_CURRENT need to replace with PendingIntent.FLAG_UPDATE_CURRENT YES
 
@Harish no that setData is still required AFIK
 
@rekire if i keep for both FLAG_ONE_SHOT the first button is only working in notification second button is not working
 
I do not understand your issue anymore :/
 
9:31 AM
@rekire please help me dude
if u worked this kind of scenario please share your sample
 
you guys love these GIFs it seems:)
 
:-?
@TheLittleNaruto - she wasn't there, i can't see her anymore i guess :/
 
@AndroidDev This is bad news. :(
 
damn it, exactly like my driving training
 
9:42 AM
Ohh boy! I know that feel.
 
i had to change the trainer with somebody else who's have a car without hidrolic and airbag...it's a fucking bad news after 2 weeks waiting :(
 
@AndroidDev
i create google login in my app
but when i run my app got crash
can any one tell me
 
@Lakhan java.lang.ClassNotFoundException: com.nummero.balloonations.AndroidGooglePlusExample
 
yes i know that
but why i am getting that error
 
when you get ClassNotFoundException ?
 
9:47 AM
when i run aap
 
@AndroidDev Did you try to contact someone who knows her ?
 
:D dude, this is iran, we can't talk about girls
 
Jesus! :D
How could I forget that ? :D
 
we are following islamic rules :D
:)
 
lol
Sometimes rules suck.
 
9:51 AM
hey any one working with printer
 
not sometimes :D fucking always
 
hahaha :D
 
Here's a rule that doesn't suck: don't use flags
 
@AndroidDev
can you tell
 
@Lakhan - if i can, sure i will
 
9:53 AM
ok
 
Mar 25 at 13:40, by TheLittleNaruto
Note for other users: Do not flag unnecessarily.
 
.-.
 
@Lakhan What is ClassNotFoundException can you tell me defination
 
why this happening ? i can't find out
everything is good
but this..!
 
class is not defined with same package andall
may be
 
9:55 AM
@AndroidDev Screenshot ?
 
i dont know abt that
 
@Lakhan then google it
 
hmm
 
@TheLittleNaruto
^
 
@AndroidDev Where did you find those icons ?
 
9:58 AM
with android studio plugin
or materialdesignicons.com
it was good
but after this :
Bundle extra = getIntent().getExtras();

String title = extra.getString("title");
shareIntent.putExtra(Intent.EXTRA_TEXT, title);
it's like above
 
Strange
 
and of course with this: shareIntent.putExtra(Intent.EXTRA_TEXT, "Hello");
same result :-?
and i've followed this of course:stackoverflow.com/a/30854279/4960200
 
@Rahul
 
alternative for multipart entity?? okhttp or any other lib?
@ChintanRathod
 
@Harish I use a huge abstraction layer for that tasks I cannot share it. however I do it very similar
 
10:15 AM
@rekire if you have any samples can u please share me
 
@droid_dev okhttp is good enough
if still want alternative.. you can also implement your own with base classes
its not too hard
 
@AndroidDev That's not the issue. the issue is with the image
 
so, let me add it again :-?
 
Add via Right click on app module -> New -> Image Assets -> Click on Clip Art -> Select desired image and fill background and foreground for the image -> name it and press next and ok.
@AndroidDev
 
doesn't work :-?
 
10:26 AM
Is it same as it was before?
 
hi @ChintanRathod
 
@Harish hi
 
yes:-?
i don't know why
 
Can I have your PC access ?
 
sure
teamviewer?
 
10:27 AM
Yes
paste id n pass and delete immediately. I can read deleted messages. @AndroidDev
 
@ChintanRathod have u worked on notification with addAction
 
wow, damn you stackoverflow:D
 
@ChintanRathod i have two buttons in notification after clicking on it i need to perform action for that i'm trying with this but it is always performing action with the last button how can i perform action on first button also
 
10:36 AM
@AndroidDev I have there a tickle in my fingers to copy and past some numbers ;)
 
Hi Guyz , please help me with this questions
-1
Q: item is not appearing in list in android

osimer potheI have an listview of SMSItem objects . When any new sms arrives , it is showed in the list . But after clicking the list , the item is disappearing . The item is not showed in the list . My arrayadapter is as follows : public class SmsArrayAdapter extends ArrayAdapter<SMSItem> { List<SM...

 
how often do you want to ask it? :/
 
@rekire
It is very much urgent for me
Please help me
 
I have to do my own job sorry. I get also no help since nobody tried that crazy stuff I'm doing
 
I cant determine list's behavior
Please help me
 
11:02 AM
@TheLittleNaruto - + a lot :D
Jesus
 
@AndroidDev :D
 
is it have a problem guys? No adapter attached; skipping layout and of course, it's working good
@rekire - i can't say that :D
my beautifull guys :D
where is this hans?
 
@AndroidDev Did you do all that design all by yourself ?
 
yeah
it's need more than this
was it nice?
@TheLittleNaruto ^
 
hi guyz can anyone give me a advice. I am newbie to android development. Anyone has worked on adaptive paypal payment gateway. Is parallel paypal payment now supported for android sdk. Shud i go for paypal mobile sdk or any reference. Pls do suggest anything. Ur expert suggestion is very imp for me thanks in advance
 
11:37 AM
@AndroidDev Well it was very nice.
Considering your work experience.
brb
 
@Harish don't have any idea :(
 
@ChintanRathod oh!
 
11:55 AM
@Michel hi bro
 
12:22 PM
/o\
|
/\
hello
 
12:38 PM
hey
 
i have 3 tabs with viewpager when i click on notification how to i can redirect to the particular tab in @rekire
 
with a flag (extra)
use intent.putExtra("showTab", 42); so you will know that you should show tab 42, you still need to do that when handling the intent but this should be oblivious
 
@rekire Hi i have issue in launch the application in android studio
 
12:55 PM
@Pans which kind of?
 
I newly create a material design menu project in like below link
in my project no error by i try to run the app than force quit
i dont know y i am getting this error
 
@rekire not showing hiding. moving back from other fragment like our contacts
 
but i can run some other project , but this material design is not working
 
1:21 PM
in on backpress the view pager fragment is blank i'm using FragmentStatePagerAdapterhow to solve this issue? @ChintanRathod
 
 
5 hours later…
6:14 PM
posted on October 05, 2015 by Cassandraclark-Oracle

Join the OTN at Oracle OpenWorld group on the OTN Community Platform!  This group is designed to keep you in the know about all the GREAT activities and events that the Team OTN is planning/organizing for Oracle OpenWorld in San Francisco this October (24th to 28th). Some of the events/activities to look forward to - Community Events - RAC Attack and Blogger Meetup.

 
6:59 PM
@TheLittleNaruto - yes, it was my first project;)
 

« first day (1062 days earlier)      last day (2413 days later) »