« first day (550 days earlier)      last day (1157 days later) » 

11:00
@chintankhetiya i hope this will work ;)
it could be alternative but yet that is not perfect solution for error :)
have a good day ahead
@PiyushMishra
@chintankhetiya its a good solution :P
you too man
Hi all,
anyone have an idea, how to share post more than one person in fb?
@naresh share with group :D
like that
11:15
@Piyush my problem is in network
not in gps..
Hi! I've got my question closed, but I really don't agree with it and some other people also upvoted and asked to reopen. Can you please check the question and if you agree, vote to reopen it? As it is about a new subject (Google Play Games), there isn't much information about it yet! stackoverflow.com/questions/16607032/…
@PiyushMishra there ?
@thiagolr did vote.
@thiagolr only those developers can re open your question who's reputation is more then 3000
But when it gets 5 reopen votes, it will appear for them to review, right?
11:32
yes you need at least 5 reopen tag
:9532104
@chintankhetiya yes
need bit help
@thiagolr it'll be re-opened after 5 votes automatically.
@AdilSoomro oh, i thought it needed to be reviewed!
11:38
@thiagolr hmm, 2 to go..
@LalitPoptani bhai zara idher aana..
@PiyushMishra pastie.org/7938581#5
please check it once
hi guys .. anybody here used System.exit(0) to exit android application ??
Yeh
Why?
@chintankhetiya create static method instead static prefrence
to set the value
set get methods
but prefrence object should not be static
non of that is static
:9532409
11:44
gud eve all.. How to access the apk file downloaded in the internal memory., i am getting "cannot parse the package"
:D
ohh yah
but can do that
this is also fine
so are you agree to my code , then show something strange :P
@PiyushMishra
haha
was expecting this
;)
please go ahead
let me run with one more time :P
i don't like Context :P
@chintankhetiya then you are clue-less :P
11:48
ha ha lol
:p
:9532517
@chintankhetiya when @AdilSoomro is here not to fear :)
@PiyushMishra you gandi fish, saary talaab ko ganda kr rhi hy :p Android me reh kr Android walo se dushmani..
@Shruti issue?
@RobinHood me ju to koi nai puch raha tha issue k bare me ? :P
@AdilSoomro you are shark :P
@chintankhetiya mene bhi kale chasme phene he :P
11:52
Oooppsss :P
:9532589
:9532589 [ write here ] @chintankhetiya
@AdilSoomro no some times it take a time to load user name so , :P
@chintankhetiya but we are seeing these user ids only..
@RobinHood : m unable to exit whole application on calling System.exit(0);
only current activity finishes
11:55
@Shruti why would you want to do that?
@AdilSoomro so , user didn't get my Text Message , is it ?
@Shruti why would you want to do that?
@Shruti why would you want to do that?
@chintankhetiya yup!
@AdilSoomro , @Abhi ,@Shyam its the need of application
11:56
5
A: What will happen when System.exit(0) execute?

Android KillerYou can do one thing: Donot use System.exit(0); instead you can just use finish() as follows: Intent intent = new Intent(this, Activity2.class); startActivity(intent); finish(); Here data will not be loss.HTH :)

@AdilSoomro Ohh,, that was the reason, because some other developer ask me about that random number and i tell that it was your text message row id, i never knows that he/she didn't get my message :) LOL
Even you have maintain activity stack and then finish activities as which is not in use simply calling finish() instead @Shruti
@Shruti use System.exit(1)
@Shruti okay, have you read this discussion. I'm not convincing you to not exit the application, but to read some expert opinions
@Shyam what difference this will create?
@Shruti if u want to exit from app on a button click then you have to kill every activity before going to next activity. like youractivity.this.finish();
12:00
@Shruti A result code of 1 is seen as an expected exit by the Android system. Also using System.exit() is considered bad practice on Android.
@AdilSoomro
@RobinHood ittne sare ek saath help kar ne ke liya aa gaye :P
@RobinHood
@PiyushMishra
@chintankhetiya aapko promote kar rahe bhai :P
@chintankhetiya :D attraction and its natural :P:D
@Shyam Good Luck :d
@RobinHood sarkar
12:03
thanks fr the instant response
i will try
@chintankhetiya haha thanks for putting me in that list, i thought i am doing the reverse :D
@Hardik yes
@PiyushMishra Ooppss , could i change ?
lol
@RobinHood How are you sarkar ?
@Shyam : yes i know it is nt recommended to use system.exit .. bt its the requirement :(
12:04
@chintankhetiya haha sure :P
@Hardik fine thank you
@Shruti then use System.exit(1)
tried System.exit(1) is also nt working
@PiyushMishra public boolean isTwitterLoggedInAlready()
{
// return twitter login status from Shared Preferences
try
{
return f.RDS_Preferences.getBoolean(PREF_KEY_TWITTER_LOGIN, false);
} catch (Exception e)
{
// TODO: handle exception
Log.e("TW", "" + e);
}
return false;
}
is it long code ? or should i use pastie.org
return f.RDS_Preferences.getBoolean(PREF_KEY_TWITTER_LOGIN, false); here its null
12:07
no no fine
0
Q: how to apply Next and previous button according to id

user2372154public class AndroidJSONParsingActivity extends ListActivity { // url to make request private static String url = "http://api.androidhive.info/contacts/"; // JSON Node names private static final String TAG_CONTACTS = "contacts"; private static final String TAG_ID = "id"; ...

please help me in this
@Shruti what exactly is your requirement, what scenario asks you to do that? may we know that?
@chintankhetiya setting the value or not :)
@PiyushMishra but default value is false then why its giving me null?
12:09
then check your object
i think you are not creating
prefrence and asking for prefrence
RDS_Preferences
inside the constructor of the class
create prefrence and use that object
every where
@PiyushMishra it's good to see you replying to everyone's answer :) but if possible, try to type whole sentence at a time... this will reduce the troll length and later it will be useful to search stuffs from the history...
@Pallavi ji madam :)
@Pallavi hey how's you ?
@PiyushMishra :) cool :D
@chintankhetiya i am good.. how are you?
12:13
@chintankhetiya and you are calling this f.set
method
@Pallavi good as always :0)
before calling the value
better you call set_prefrence inside the constructor and pass the context at the time of creating the object
@Joan what do you want to do exactly? like- on click of next , it should show you the next list item's content???
in that textview??
12:19
1
Q: Android-Thumbnail showing currect picture but Original showing different Picture

AalokaI am using camera API in my app now, I have two issues in the app: I am saving the image to a folder in the sdcard, the problem is after capturing and looking to the folder the thumbnail is showing correct image so after selecting the photo it will display previous taken photo in fullscreen. Ev...

any idea
yes
@piyu
@Pallavi
@Joan yes?
if clcik on Next Button it should disply next list view item name
if clcik in previous it should dsiplay previous item name
@Pallavi
12:22
1. throw some piece of code in the question
2. log the file names and check, some variable must not be getting updated sooner...
I want to make an custom calendar so that i can add,delete,edit the events in it. For this i have to use calendar API.? or another way for it? pls help
@Joan in your code, the previous, next button onClickListener's are blank!
@Aaloka please provide more code
yes i dont know how i will do this @Pallavi so am asking from u
and you need to close the flash
its not linked with camera
12:23
how
?
@PiyushMishra I want to make an custom calendar so that i can add,delete,edit the events in it. For this i have to use calendar API.? or another way for it? pls help
1. make the textview a global object, like you have "next" or "Previous"
2. do the "lblName = (TextView) findViewById(R.id.name_label);" right after "next = (Button) findViewById(R.id.button2);"
3. just setText, in this label the value of the corresponding list view's text
@Aaloka you googled ?
you need to stop the preview
then release it
@PiyushMishra i ve added code
@Aaloka wrote by you?
12:29
yea
saving and capturing
@AdilSoomro I want to make an custom calendar so that i can add,delete,edit the events in it. For this i have to use calendar API.? or another way for it? pls help
why is it so difficult to stop Android from following a link in Chrome?
@Aaloka better to use thread
where
?
12:31
previously it was fine you can call the asynctask inside onclick
@David overridden the Chrome client?
@AdilSoomro yes boss, leaving have to go sorry bubye :0
@PiyushMishra i need to take foto in different time intervals and i need to crop some part of the images
@LalitPoptani okay. bye bye. tada..
12:33
@AdilSoomro : in my app as per the design a close button is given on top right corner if user presses that then application shud exit
remove that button :P
@David it's a website which opens in chrome browser on android phone or an android app where you are using the chrome browser?
@LalitPoptani bye :)
@Shruti exactly.. remove that button.
@Pallavi It's a website in chrome browser. Not an app.
@Aaloka create an object of asynctask inside onclick
12:36
@David oh in that case, i am sorry, i can't help you... :(
then.?
@AdilSoomro lol
Jun 6 '12 at 7:30, by Abhi
Fish are friends not food
and do the capture and save part inside the doinbackground and inside onpostexecute you can display your image
12:37
:( damn. Despite it appearing to be a rather simple idea, it's a rather difficult one to do.
@abhi I want to make an custom calendar so that i can add,delete,edit the events in it. For this i have to use calendar API.? or another way for it? pls help
Calendar API is there in android? If yes use that :P
@PiyushMishra. then wot about flash . and can you please write it as answer You dont need to write code . just steps
@Aaloka lot of things are missing
where you are opening the camera
and where you are setting the parameters
12:43
hi everyone
okies @AdilSoomro and @RobinHood .. it will force me to face a heavy discussion with my managers :P
Hi
@Aaloka ?
camera.startPreview();
inside writing the data
:O
@PiyushMishra i have an another class called preview
@Shruti yeah, go for discussion, tell them the android framework structure, convince them and tell'em the UX of mobile users. since I've never seen any app with close button on it.
12:48
@Aaloka yah can see that preview.camera
so inside your constructor you are opening the camera?
but didnt find any button to stop the camera or preview?
@PiyushMishra i ve added my preview too
@Aaloka fine but where we can stop the camera
any button or
inside ondestroy()?
yea
inside ondestroy() i want to turn off my flash
ok
then camera.stopPreview and camera.release
will work there
yea
but flash doesnt off
12:58
Camera.Parameters.FLASH_MODE_OFF
set the parameter
@PiyushMishra Sir, its already been requested to you to send all the message in single line, if you can.. so nice of you!
@AdilSoomro sir ji i am trying, purani adat hai jatey jatey jayegi :)
Omi
Omi
@AdilSoomro let @PiyushMishra explain his way. don't disturb him :) you might break his concentration. you will have some good explanation to do to Aaloka then :P
@Omi +5 :D
@Omi I just want him to troll the room ;) but less :-|
13:04
@AdilSoomro +10 :D
@PiyushMishra If you got a backup. I've more than you can dream :p
Omi
Omi
let's play backup backup :P
My app get crash when exception is thrown..i want to show a dialog or toast message without making it crash ..plz help
@AdilSoomro +20 :D
Bye @all
13:13
@sabya use a try catch block... set a flag = false initially, in crash, set the flag = true. after the catch block, check the value of flag, if true, show the dialog!!
@AdilSoomro ? @PiyushMishra is interpreter and we are Compiler :P
@chintankhetiya :D
19 mins ago, by Adil Soomro
@PiyushMishra Sir, its already been requested to you to send all the message in single line, if you can.. so nice of you!
@chintankhetiya yah lot of people are asking so many things :D
helo everyone
13:25
@PiyushMishra where are you from ?
@AndroidKiller hello
42 mins ago, by Abhi
Hi
@AndroidKiller
ha ha
@Abhi
Dubai ?
@PiyushMishra
last 3 year
spelling mistake ? :P
@PiyushMishra
13:30
Hello there!
who "?
:9535262
@Appu: kise dhund rahe ho bhai??
@MahaveerMuttha Might be a guidance/solution which I haven't been getting around my head on? Would you be free to chip in some suggestions? :P
@Appu: are you kidding me ? bhai me aap se solution mangata hu me to abhi sikh raha hu aap se..
@Appu: whats issue BTW?
@MahaveerMuttha issue solved.. how??
13:36
@MahaveerMuttha No. I am serious. You might be knowing which I don't know and I might be knowing which you don't know. That's it.
@Pallavi: Dont know just came to office today and started ADT and run app and belive me it was working fine... might be some updates were not adopted by eclipse
I have been looking at using AsyncTaskLoader.
@Appu: yaah ok bro
Bwahaha. That update is always messy. Even I had to wait one day and then errors went off automatically.
@MahaveerMuttha had you restarted eclipse after the updates??
13:38
@Pallavi: yes many times ...
@Pallavi Worked on AsyncTaskLoader?
@Appu: i never worked on it bro...
@Appu nope.. what is the issue?
NP.
@chintankhetiya @Abhi can we pass a value and sound file inside one httppost request ? is yes how ? any example ?
or anyone can say
?
13:39
@AndroidKiller Multipart entity i think
yes right
@Abhi but we need one external jar for that
can we do with default apache http
@Pallavi It's not an issue I am unable to port my code from present asynctask to AsyncTaskLoader. It's a kinda hard to understand, I think it has to be revised :/
@AndroidKiller External we need to use
@Appu oh ok...
@Abhi that way we can i know but i was curious if we can do without using that.
13:42
@Pallavi Do you remember that I had implemented previously Commonsware solution instead of configchanges in manifest to avoid crash when orientation is changed while the doInBackground goes on?
@AndroidKiller Sending bytes is another possibilty i think
bye guys got to go.. Good Night.. :)
@Abhi using that we can send audio files only i think not the values
13:47
Values?
Bubye Friends. @AndroidKiller Leaving time yaar
14:38
@Abhi i will go for that Mutipar
bbye
tc
i neeed to send an audio file and value pairs
15:17
Hi guys, I have plugged in my htc desire via usb cable on windows 7 machine and i can see android composite adb interface in device manager. however, even after tyring adb kill/start server, adb devices commond shows no device! any help?
@Yoda HTC drivers installed?
if drivers are installed and USB Debugging mode is on, try dis-connecting and re-connecting the cable...
15:50
@Pallavi I am able to usee htc desire usb device in USBDeview app
but its device type is unkown!!
see*
Hi everybody!! I have a quick question, I´m reading info from an XML file and it works in Android 2.3.6 but not in 4.2.2. Any idea about it?
@Ivan what are u using to ready the xml?
@Yoda It forces the close in Android 4.2.2 and I have no idea why
sorry but i can't try atm. but this is the link with a sample to see developer.android.com/training/basics/network-ops/xml.html
@Yoda thanks a lot
I´ll check the sample
16:02
:) thet concept should be same. give it a go...
the*
@Yoda how do I import the sample? as existing code?
u using eclipse?
if yes then file> import> android> existing code into workspace
ok
thanks again
no worries

« first day (550 days earlier)      last day (1157 days later) »