Android HTTP Authentication -


मैं एंड्रॉइड में HTTP के जरिए प्रमाणित कैसे करूं?

  यूआरएल यूआरएल = नया यूआरएल ("यूआरएल यूआरएल"); Authenticator.setDefault (नया प्रमाणकर्ता () {@Override संरक्षित पासवर्डअधिकरण getPasswordAuthentication () {System.err.println ("" के लिए उपयोगकर्ता नाम और पासवर्ड का उपयोग करना "+ getRequestingScheme ()); वापसी (नया पासवर्डअटिकेशन (" उपयोगकर्ता नाम "," पासवर्ड ".toचरअरे ()));}}); InputStream स्ट्रीम = url.openStream ();    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -