« first day (903 days earlier)      last day (2572 days later) » 

4:22 AM
Hello room!
 
5:06 AM
hi @Appu
 
posted on April 29, 2015

New Cyanide and Happiness Comic

 
5:41 AM
yolo!
 
Good Morning Guys
 
@Harish Hello!
 
6:28 AM
good morning guys
@TheLittleNaruto the fb login works fine for me
@TheLittleNaruto haha great one
 
@rekire vgm. Yeah, now for me as well. :)
 
Sun
7
Q: ListView Holder Small Issue with dynamic data

Sun int globalPosition ; .............. buttonAllData.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub new UploadBulkData(globalPosition).execute(); } }); ........ clas...

 
pap
7:04 AM
Anyone here?
 
maybe
 
pap
Hey!
 
hi :)
 
pap
Do you know maybe about converting json to string?
 
myJsonObject.toString()
 
pap
7:06 AM
good but it's not only that let me tell you :P
 
oh...
 
pap
So I am sending to wcf service some variables and I am getting back a very very big json object
which has arrays
 
okay... wcf nice framework :)
 
pap
So!
I am getting back this big json string
and I want to take one table per time from the json object
 
if you use JSONObject you have those get/put JSONArray calls
 
pap
7:08 AM
status_db=json_response_holder.getString("LookUpTables");
In the LookUpTables, there are all the tables
and row
so if I return status_db I am getting every table
json_response_holder is my jsonobject
So my question has two parts how to get each table
and clean :P
do you know maybe, how to do that @rekire?
 
let us change the question in a different direction. what do you want to know and can you show the structure to get your desired value?
you can also censor all non related values by dots since they are also not related at all
 
pap
oh okay, next time I will know
sec!
"a":{"a1":{"a2":[{"Description":"d","ID":"123"}]
so in an object a, I have another object a1
which contains a2 the table with rows
how do I clean this and get only the table and each rows?
 
pap
(about clean I have an idea, to use .replace())
@rekire
 
@pap that json example is not valid it has to start with { or [
 
pap
7:18 AM
oh sorry
{"a":{"a1":{"a2":[{"Description":"d","ID":"123"}]}
 
in that case this should work:
status =json.getJSONObject("a").getJSONObject("a1").getJSONArray("a2").get(0);
desc = status.getString("Description");
id = status.getInt("ID);
I didn't checked it but it should give you the right idea
 
pap
you mean the code?
 
yes
 
pap
So status is a String?
 
no it is a JSONObject
 
pap
7:22 AM
okay
also json is a JSONObject
?
 
right
you should catch JSONException and NullPointerException since if some fields are missing in that chain a NPE will happen
 
pap
Type mismatch: cannot convert from Object to JSONObject
 
okay that could been related with that get() call
it should be a getJSONObject() call
JSONObject status = json.getJSONObject("a").getJSONObject("a1").getJSONArray("a2").getJSONObject(0);
 
pap
yeah now I saw that
 
7:27 AM
that seems to compileable
 
pap
yeap no problem in code
 
I want to add my app in share option in gallery
how can i do this?
5
Q: Android add my app to "Share" button in gallery

phcazeI succeed to add my app in the "share" button in the Android gallery, so if I click on it, my app will start. Can I choose which activity of my app to start? Now it starts the "main" one. Here's my code in the main class: ..... Intent intent = getIntent(); Bundle extras = in...

 
@pap basically when you grep the next level check the first char if it is a " call getString if it is a [ call getJSONArray if it is { call getJSONObject
 
@TheLittleNaruto I have added intent filter in manifest file
 
still my app is not apperaing the share options why
 
No idea, but that should do the trick anyway!
@Neetu
 
pap
@rekire thanks for the proper explanation :)
 
@rekire Do you idea about this?
Do you any idea about this?
 
well it is just a intent filter thing with the right mine type filters
you could check a manifest viewer app to see what other apps have done
 
pap
7:42 AM
@rekire it worked, thank you! You can't believe how much trouble this thing gave me!!
 
@pap I'm happy to help
 
It is working
 
Ago
can I somehow forbid certain keyword usage in java? for example, I want to have an exercise where "for" and "while" is not allowed.
 
8:03 AM
How to remove all rows except headings in a tablelayout @rekire @TheLittleNaruto
 
Never worked on TableLayout.
 
8:52 AM
HEllo to all : anyone idea about this
1
Q: Issue in open application in Gmail body part button click android

Harshal Kalavadiyai want to show dialog form Gmail body part button click as below In above image is my Gmail application mail image and inside that there are one confirm your e-mail button when user click that button form his android phone one dialog should be open like whether he want to open it in browser or ...

 
hi everyone! can anyone tell me how to control the speed of a marquee within a textview?
 
 
1 hour later…
10:17 AM
@TheLittleNaruto heya, i tried it , n now its working, wooopppyyy. thnks buddy
 
@Gul :)
 
@TheLittleNaruto but yes, one more thing i want to ask is that i have one bitmap varibale in my model class, n parceble is not proving method for bitmap. so what should i do for that ?
 
@GulnazGhanchi Why bitmap ?
 
@TheLittleNaruto Your wish. Sorry for the late reply, was busy
 
I m sending bitmap value also in model clas, from one fragment to another fragment
 
10:21 AM
@GulnazGhanchi Better send image path.
@Appu lol, It shouldn't be my wish. I am asking you guys. That's all. If you guys will allow then only.
Also if you think, it is right thing to do. I asked @rekire as well, But he din't give his opinion till now. :)
 
@TheLittleNaruto ohhh yeah , i think thats good idea,
 
@GulnazGhanchi :)
 
@TheLittleNaruto one more thing i need to ask is that , I m showing list of bitmap of video from url which is my device, now, i have my base adapter, n i m recycling it also.
 
@TheLittleNaruto ehm I just forgot to answer since I was busy too. I'm fine with that
 
@Ago Seems you want to tweak the language itself.
 
10:24 AM
@TheLittleNaruto now, i have one problem is that, it takes a lot time to load,
 
@GulnazGhanchi Those are videos, Ain't those ?
 
those are videos , i want to show bitmap of videos in list
 
@TheLittleNaruto I am fine with either of the things. Go ahead.
 
@GulnazGhanchi showing bitmap ? That you can't do without using some library like ffmpeg.
and may be I don't know if we can.
 
@TheLittleNaruto yeah, actually when i m using FFMPEG, it takes much space
 
10:28 AM
 
i am using socialauth-android lib for Foursquare login but it giving me error that "Callback url is not valid for this consumer". can anyone suggest solution?
 
any one can tell me draw 3d graph in android free library or api
?
 
@TheLittleNaruto it increasing my source code size, can u suggest something abt it
 
@Gul Well! rendering multiple videos is time taking thing. So you can't help it.
 
but when i click on button to load list of bitmap of videos so that it sometime stick screen, n it makes my app look like slow . n i dnt want that impression for my app
@TheLittleNaruto
 
10:34 AM
Instead of doing that altogether
Do it one by one.
@Gul
 
@TheLittleNaruto okie, i will let u know if something will come in my mind
 
@GulnazGhanchi Okay :|
 
@TheLittleNaruto yeah :)
 
11:25 AM
can anyone provide solution for issue?
 
 
2 hours later…
1:25 PM
Can anyone help me with my Android program? I have a class extending View but after onDraw the canvas is always blank. Important bits of code are here
 
1:56 PM
posted on April 29, 2015 by Google Blogs

Would you enter your email address and password on this page? This looks like a fairly standard login page, but it’s not. It’s what we call a “phishing” page, a site run by people looking to receive and steal your password. If you type your password here, attackers could steal it and gain access to your Google Account—and you may not even know it. This is a common and dangerous trap: the most

 
 
1 hour later…
3:51 PM
can someone help me
0
Q: Canvas drawBitmapMesh stretch corner of bitmap

HeixssI'm trying to recreate the "drag corner" feature from this IOS Lib https://vimeo.com/95383807. on android. I found this code: http://sakef.jp/blog/2011/02/android04_image_translation/ which changes the "verts" array at runtime through onTouch and the bitmap would be recreated also at runtime. At...

 

« first day (903 days earlier)      last day (2572 days later) »