« first day (272 days earlier)      last day (3711 days later) » 
04:00 - 18:0018:00 - 22:00

6:01 PM
@geo, if it isn't a typed dictionary, then you could use a list/array as the value. At retrieval time, check the type and act accordingly
other than that, you can have only one value against a key
 
@Dante ye bhi parh k kiya ha.... ab tag kahan sa aa gya beech ma
 
@iosLearner, did you add the tag on the client side when calling the second webservice?
 
@radical yar mujhe web service as it is implement kerni ha...
 
you don't need to change anything in the webservice
but you are not sending the required 'tag' param
 
exactly
 
6:09 PM
@iosLearner, did write the test webservice? Do you understand how that email field that you send from the client is linked to the one that you check on the server?
 
han
 
okay.. then in the same fashion pass tag
 
can you give me some example... coz I understand from the test api that it requires an email and password
 
hm if you need to only pass tag: then change this "email=%@&password=%@" to "tag=%@", or just add that to the string
and read about query parameters
see if the above helps
 
@radical i was doing it like that previouslu
NSString *tag = @"login";
if([[txtUserEmail text] isEqualToString:@""] || [[txtUserPassword text] isEqualToString:@""] ) {
[self alertStatus:@"Please enter both Username and Password" :@"Login Failed!"];
} else {
NSString *post =[[NSString alloc] initWithFormat:@"tag=%@&email=%@&password=%@",tag,[txtUserEmail text],[txtUserPassword text]];
 
6:17 PM
can you print that string out, so that you can be sure that tag is not empty
 
yes tag is having the string
 
tag=login&email=... like this?
 
exactly
PostData: tag=login&email=saad@digitalnet.com&password=12345
 
have you tried debugging? did you try to print hte contents of _POST?
 
yes
NSLog(@"tag is %@",tag);
NSLog(@"PostData: %@",post);
i was doing like this
 
6:24 PM
on the server side, _POST
 
and in debugger all outputs are like
PostData: tag=login&email=umairamjad15@yahoo.com&password=12345
2013-12-17 22:27:44.642 ColorPicker[7295:c07] Response code: 200
2013-12-17 22:27:44.643 ColorPicker[7295:c07] Response ==> <br />
<b>Warning</b>: require_once(include/DB_Functions.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/Applications/XAMPP/xamppfiles/htdocs/ColorPicker/index.php</b> on line <b>12</b><br />
<br />
<b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'include/DB_Functions.ph
on server side?
 
!! there is an error there
 
error in web service
hmmm
 
:/
 
ok @radical how can i add tag with other parameters
 
6:27 PM
sorry, i didn't understand
 
if (isset($_POST['tag']) && $_POST['tag'] != '') {
it requires only one value in the url request
like am sending it correctly know?
NSString *post =[[NSString alloc] initWithFormat:@"tag=%@&email=%@&password=%@",tag,[txtUserEmail text],[txtUserPassword text]];
in post
 
not sure what or why you are asking. That webservice looks broken. does that same webservice, on the same webserver work with some other client?
 
the other guy is using it on android
wait let me check his
 
same webservice from the same server? So, the exact same url?
 
6:47 PM
@radical i have sorted out the problem in web service
now i am going to check it w=according to my code
 
7:00 PM
@radical its executing....
 
works?
 
yes
wait i'll paste the response...
2013-12-18 00:02:13.303 ColorPicker[8002:c07] Succeeded! Received 14 bytes of data
2013-12-18 00:02:13.305 ColorPicker[8002:c07] data is: Digitalnet API
2013-12-18 00:02:29.827 ColorPicker[8002:c07] tag is login
2013-12-18 00:02:29.829 ColorPicker[8002:c07] PostData: tag=login&email=umairamjad15@yahoo.com&password=12345
2013-12-18 00:02:29.912 ColorPicker[8002:c07] Response code: 200
2013-12-18 00:02:29.916 ColorPicker[8002:c07] Response ==> {"success":1}success = 1{"tag":"login","success":1,"error":0,"user":{"fname":"umair","lname":"amjad","email":"umairamjad15@yahoo.com","uname":"12345","
 
lesson: pay attention to errors :)
2
 
hmmm sure
whoa!!!
its still failed to login
:P
 
star mila star
 
7:05 PM
sorry, i can't help you. you need to try to debug yourself first
lol
 
@ManishDubey tera kaam kiya maine aaj 2 ghante ..
lkin code nhi bhejoonga :P
 
hahahahaaaa
SBJsonParser *jsonParser = [SBJsonParser new];
NSDictionary *jsonData = (NSDictionary *) [jsonParser objectWithString:responseData error:nil];
NSLog(@"response data after json %@",jsonData);
null why?
 
SBJSon
wtf :D
 
then kya use karun?
 
iOS 5 se NSJsonSerializer hai
 
7:15 PM
Hello All
Need help
 
Shoot your query.
 
I have an issue with MP4 file. I have saved .MP4 file in app Document Direcotry.
I am uploading this saved file on server, While I am accessing file with Path, video starts playing in background.
I don't know why video file starts playing
 
lol
 
Is this for android/iPhone
Hi Dante
 
Apple CEO quote : "You are doing it wrong" :D
 
7:17 PM
iPhone
 
code ?
hi @TGMCians
 
What goings now a days?
I'm seeing traffic here till night..Good Job :P
 
mauj masti hi hai
main to raat me hi jagta hn idhar
 
Don't you go to office now a days?
 
haha
main to office hi nhi jaata
 
7:21 PM
This's the reason, traffic is seen here because you're here
Otherwise till yet all goes to sleep and till Thread.sleep(no_of_hours)
Okay, What you do, doing any course?
or freelance work?
 
@radical UC3 2 baar cancel huyi :D
@TGMCians freelance
 
Great.
How through online bidding?
 
@Dante, wow! get it from flipkart! I got Killzone 3 today
you are freelancing now? exclusively?
 
haha
UC3 was on every site for $20 sold out
 
Dante, how?
 
7:24 PM
now back on stock on flip kart
for $32
with GOTY $30 :D
 
haha
 
@TGMCians yup
 
Great dude
 
great ki kya baat hai
 
Being self employed is a good option. You don't have any other above you.
Which online bidding you prefer to be best?
 
7:28 PM
oO :D
trade secrets
 
Oh...You mean you won't help guys in these
 
elance pe clients zyada ache hai
 
hmm
You also work on odesk?
 
yes
 
Okay
I want to connected with you, If you can share skype id.
 
7:31 PM
baaki to ek job k baad sab direct hi kaam krvaate hai fees bachane k liye
skype to main professional hi rakhta hn
 
Okay
I'm also talk you profession things not vulgar
 
hahaha
 
lol
 
vulgar kisne kaha :D
 
Noone
If you share it would be good for you and me as well
Anways, If you dont wanna let me know, I wont ask
 
7:37 PM
bura to nhi maan rhe na :P
chal yaar sorry
lkin skype to nhi dena
 
No
Dante, I've question I want to ignore the kitkat android. So my app won't run on kitkat
What field I set the AndroidManifest.xml to do so, Don't say no this time
:D
 
maxTarget i think
yaad nhi rehta android me bahut kuch bhara va hai
 
me also thought same,
Anything else apart from this?
 
no
 
Okay
Thanks always helpful to me :)
 
7:46 PM
@radical played Fifa on PS3 ?
 
yeah, with friends.
 
Online ?
 
nope. I'm not a fan of FIFA, but as a group we play that. one ps3, multiple controllers
 
k
main to demo se kaam chala rha hn
 
okok. order it from flipkart, along with Uncharted 3 ;)
 
7:51 PM
haha
tabhi to online ka pooch rha tha :D
demo se dosto k liye kaam to chal jaata hai :P
ab PS4 launch hoga
sab PS3 lenge
 
heh
launching tomorrow, from what I hear
 
india ?
 
yeah
~35k
can't find an official date though
 
35K
fucking prices in india :D
 
ah, okay, press invite sent by sony for tomorrow
yeah
 
 
1 hour later…
8:54 PM
I have a custom UITableViewCell, and I am setting an icon on it. When I click on a cell it takes me to a new controller in the navigationcontroller. When I click back, sometimes some of the cells have switched to different pictures until I scroll them off and then back onto the screen.
I'm guessing it has something to do with the reusability of the cells.
But I don't see how it's getting in the way.
Does anyone have any ideas?
 
9:08 PM
fixed it. i wasn't removing an event
 
04:00 - 18:0018:00 - 22:00

« first day (272 days earlier)      last day (3711 days later) »