« first day (159 days earlier)      last day (2029 days later) » 

4:20 AM
GM ALL..!
 
mornings friendz
 
Good morningsss
 
Good morning to all
@PankajArora how are u
 
where r u from guys..I m from Baroda,Gujarat,India
 
@Anil I am fine thanks,how about you?
 
4:37 AM
am also fine bro
whats going on
 
2 messages moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
7 messages moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
4:55 AM
there swapnil
@swapnil
 
i can see twins
 
@swapnil
how r u rtyring to lock ur device via rest request?
@swapnil
can u plz expain in more details what extactly ur requirement?
 
5:46 AM
@adcom I have developed one application where I authenticate user and on web portal it shows who have device at the moment. But, I want user to get authenticated first and then he/she should get access to that device only.
 
@swapnil k u hv got answer. i was already knew the answer so was helping
 
6:20 AM
@adcom Oh? really. Please plz answer to my question, I have to give 50 credits to somebody as I can't revert it.
 
6:49 AM
@swapnil i m trying to undertsand u rquestion but u r busy somwwhere else plz revert when u hv time...since i m working on device poliycy app so i may help u
 
I'm free now
@adcom Can we talk now ?
 
@swapnil ok
1. how u r auth user?
on web?
on app?
u r sending json to lock command?
 
yes
@SuppressLint("NewApi")
public void postData(String empName, String operation, String email,
String password, String unique_id, String mac_add, String os)
throws JSONException, ClientProtocolException, IOException,
URISyntaxException {
DeviceTrackerApp.REGISTERED_EMPLOYEE_NAME = empName;
DeviceTrackerApp.REGISTERED_EMPLOYEE_EMAIL = email;
HttpClient client = new DefaultHttpClient();
HttpPut post = new HttpPut(REGISTER_EMP_URL);
List<NameValuePair> paramsValue = new ArrayList<NameValuePair>();
paramsValue.add(new BasicNameValuePair("email", email));
 
@swapnil just tell me requirement not code
i wanna undertsand requirment first
user is getting login credentials from web right?
 
Basically I send email n password to Rails Server and using LDAP we do check Username Password is correct or not and always show notification bar on top that this device is assigned to that person
So, I first make a request to Server that fetches all employee email ids and they have to choose their mail id and have to enter password Done.
User get assigned to that device.
But now, requirement is that, I want user should get authenticate before start using android device ?
 
7:31 AM
I'm looking at this repo github.com/swapnilvkotwal/LockScreenApp. I just have to change slider images to password text box.
@adcom ?
 
1min
will be back
 
7:50 AM
@swapnil so image is problem for u now?
 
8:22 AM
@swapnil
 
8:41 AM
Yes, I'm trying to remove image and add text view to get password
@adcom :- Sorry I was AFK for lunch
@ad
@adcom :- I almost reached to my rquirement :-)
 
9:11 AM
@swapnil ok solved?
do i need to post my answer?
 
9:21 AM
Yes please post, as I solved my problem but our community needs your answer. Please share it with world
@ad
@adcom
 
@swapnil i mean i will share what i hv written for lock command
btw i like ur question so +1
but i would like to share my code ttoo and will detail explainantions
 
@adcom :- if possible please share all your code coz i need to maintain user session . so our app should not ask user to login again. I'll give you +50 :-)
 
@swapnil means reauth?
ok i will post complete source for u
 
@adcom :- Thanks man :)
 
@swapnil m girl
@swapnil reauthetication but client side or server side command
 
9:28 AM
@adcom Oh Sorry. Thanks to you
@adcom :- give your best answer but I think server side is good so if phone switched off or something can be avoided.
 
@swapnil ok will be back with my super answr
 
@adcom :- Thanks
 
@swapnil so meant say suppose for 30mins device is inactive so lock device? and passwork wll change or not from server side
 
@adcom :- No just lock device after 30 minutes(give me access to change this time) and keep the password static as I want password constant. please don't change it
 
@swapnil ohh u mean session time u wanna change from web right
 
9:36 AM
@adcom :- Are you planning to give me web app too >?
@adcom :- I'm basically fetching employee data(email n pasword) from our company server to authenticate user. We don't need server side change, just use shared preferences or sqlite db to track user is logged in and until he is not logout, he should have access to device?
 
@swapnil i can but i dont wanna share url will give scipts
@swapnil let me post answer and watch it and incase of any more question i will help u out
 
@adcom :- ok cool. I'm waiting. What time should I expect for your answer ? As I might be away from desk for meeting :-(
 
@swapnil m in office for now will u back by end of day with answer..u can watch 2moro morning
 
@adcom :- can you let me know your location ? it will help me to reach to you if I hv further queries :D
 
9:51 AM
@swapnil hehe sure mailid?
 
10:11 AM
@swapnil ok remove from here
 
yes
thanks
 
remove ur id
its public chat here'
@swapnil
 
Yes trying...
give me a sec
@adcom I'm not able to remove it . cld u plz help me ?
 
:(
leave it
thats only 5 mins editable
 
ohk :(
I requested moderator to remove it for me
 
10:17 AM
budy finish ur work first.. we are missing an expert web application developer @Justcode
 
1 message moved from ASP.NET with C#/VB/MVC
 
that's why i call him expert
 
1 message moved from ASP.NET with C#/VB/MVC
 
@Corbo152 u missed another line that has been removed by Justcode just above ur message
 
10:38 AM
1 message moved from ASP.NET with C#/VB/MVC
 
@Justcode let me hack your account and change your profile name to Web Expert.. then i will see that how u will move that to trash
 
1 message moved from ASP.NET with C#/VB/MVC
 
 
10 hours later…
Sam
8:38 PM
!!cupcake
 
~ Don't hammer me...
 
Sam
!!coffee
 
~ 418 I'm a TEAPOT
 
Sam
!!cupcake
 
~ new cupcakes can be ordered in 6 to 8 minutes...
 
Sam
8:39 PM
6 messages moved from The SO Tavern (General)
 

« first day (159 days earlier)      last day (2029 days later) »