[android-developers] QA with Medical Software testing
Hi This is joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP * passport mandatory title :QA Technical Lead- Medical Software testing Location - Sylmar & Sunnyvale, CA • Proven working experience in software development • Working experience in medical device industry • A deep familiarity with software testing life cycle • 3 to 5 years of experience in software testing • Very good understanding of C#. Should able to understand and debug the scripts written in C# • Familiarity with defect tracking tool like clear quest • Familiarity with version control tools like Clearcase, Accurev, Team Concert • Basic knowledge of linux • Very good understanding and working experience with MS Office • The ability to work under pressure and to tight deadlines • The ability to work in a team and as an individual • Excellent written and verbal communication skills • Team spirit with a ‘can do’ attitude – you enjoy testing, documenting and resolving software issues. •Detail-oriented with strong analytical and problem-solving skills Responsibilities include: • Test design and test scripting • Collaborate with cross-functional teams to review software features and test designs • Conduct functional, integration, regression, user acceptance testing. Basic Qualification: • Bachelor's degree or equivalent work experience • At least 3-5 years of experience with designing, planning and execution of software testing strategies and tactics to ensure software quality at all stages of the system life cycle. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T1AYm9xZ%3Dr1h9_aV-8hXNFZrF6yBQkXYHJLLgH7V2UNtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Sr QA Engineer
Hi, This is Joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP *** PASSPORT MANDATORY Location : Minneapolis Minnesota No of Position : 6 Start date: immediate Sr QA Engineer BASIC FUNCTION The QA Analyst for the PVMD Operations team will be responsible for working cross functionality to ensure a high quality product. They will work closely with the QA Manager, Development, Product Management and subject matter experts to analyze and understand feature requirements in order to devise a testing strategy that covers not only the requirements but any ancillary scenarios. Exhibit innovation around driving testing efficiencies to enable more breadth and depth of testing. Primary responsibilities include creating, modifying, and code reviewing automation test scripts. Major responsibilities in building and maintaining test frameworks for Protractor (or Selenium), Unit Test Frameworks and API testing. Weigh in on product design, workflows and user stories ESSENTIAL DUTIES AND RESPONSIBILITIES • Ensure delivery of high quality work according to the quarterly project schedule • Work with scrum team and complete all assigned deliverables. • Ensure all work conducted onsite and at offshore passes onsite quality objectives defined by Quality Assurance Manager and the Validation and Verification QSOP. • Enter & Resolve WIs for identified defects • Complete initial Root Cause Analysis for production defects • Prepare and participate in acceptance testing • Meet project deadlines and milestones. Communicate technical concepts clearly and effectively. • The individual may be exposed to private and confidential information, including personal health information, and is expected to adhere to company policies and all relevant laws regarding handling of such information • Write and maintain end to end API and integration tests TECHNICAL SKILLS • Quality Assurance Engineer profile • Experience with unit test frameworks such as nUnit and xUnit • C#, • JSON, XML and experience with API Testing • Experience building test automation frameworks such as Protractor or Selenium. • Experience with JavaScript • SQL/Oracle Qualifications Education: Bachelor’s degree in Computer Science or related degree preferred or equivalent work experience. Experience: • 6-8 years of IT experience • 4+ years of development experience • Experience with Selenium, Protractor, VBScript and JavaScript • Understands different types automation frameworks and creating and maintain new or existing frameworks as required. • Proficient with Windows Server 2012R2, , Windows 7 • Experience with Citrix & VMware a plus • Experience with SQL and relational databases such as Oracle • QTP experience a plus • Excellent critical thinking and problem solving skills • Effective communication skills required; need to be able to explain technical issues and propose solutions • Experience in Agile methodology • Ability to work effectively internally and externally (vendors, customers) • Able to work both independently and as part of a team Thanks & Regards, *Joshi Anur* Insoursys Inc PH:972-427-1715 E-mail: joshi_a...@insoursysinc.com || www.insoursys.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T2cPNbyjWN%3DgU6tmQnNcBgzafw39fmuZGzXqGVbe4Ov6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] .Net With Angular JS
Hi, This is Joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP * passport mandatory Job Title :.Net With Angular JS Job Type :Contract Salary:52 Duration:6 Months City:Cleveland State:OH Visa:h1b,gc,us Total Experience :8 Interview Type :Online Test + Skype Primary Skills :.Net With Angular JS Description:.Net With Angular JS Thanks & Regards, Joshi Anur Insoursys Inc PH:972-427-1715 E-mail: joshi_a...@insoursysinc.com || www.insoursys.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T2DB%2BThuP1N9uHnQVD1i7hAjJWj2%2BrXmy8m51bg4ksq1A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] ios developer
Hi, This is Joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP * Role:Sr.IOS Developer Location :Columbus,OH *5+ years of experience in iOS App Developement who follows a TDD approach to developing the software. *Coordinate with the Technical Director on current programming tasks. *Collaborate with other programmers to design and implement features. *Quickly produce well-organized, optimized, and documented source code. *Create and document software tools required by artists or other developers. *Debug existing source code and polish feature sets. *Contribute to technical design documentation. *Work independently when required. *Continuously learn and improve skills. *Attention to detail is essential and all tasks must be carried out to the highest standard Thanks & Regards, Joshi Anur Insoursys Inc PH:972-427-1715 E-mail: joshi_a...@insoursysinc.com || www.insoursys.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T0pnCSjpHkH6XLSyU%2B%3DKs4gP_%3Dd_cVxMe7h1Zm1Jj0Q%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Full stack Java developer with Angular JS
Hi, This is Joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP * need 10+ years experience Role: Full stack Java developer with Angular JS Location: Austin, TX Position: Contract Skill: Java/J2EE, Spring, Angular JS, JQuery, JavaScript, HTML/CSS passport manditory Thanks & Regards, Joshi Anur Insoursys Inc PH:972-427-1715 E-mail: joshi_a...@insoursysinc.com || www.insoursys.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T3nqv_5-bv1SZLZefyqYX%2BPt%2BHvioYomW4kf5PFTC2xRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] java developer
INTERVIEWS GOING ON ASSURENCE OF INTERVIEW MAX RATE:$53/HR *Job Title : Java developer* *Project Duration : 6+ months* *Location : **Mclean , VA* *Joining – Immediate* *Positions: Multiple* *Open for C2C and direct hire(h1b competitors)* *PASSPORT IS MANDATORY* Sr. Java developers · 8-10 years of experience in Solution, Design and Development of web applications using the Java EE, Webservices, JMS, XML, Weblogic. · Bachelor’s degree in Computer Science or Engineering or equivalent working experience · 5-8 years of experience in designing webservices, SOA based applications. · Strong hands on experience with Spring, Apache CXF, JAXB and JMS · Experience in designing architecture, reusable components and frameworks. · Integration experience using Web Services and EJB preferably on Weblogic platform · Expert in Object Oriented Analysis and Design using Java and UML · Expert in JEE patterns and ability to use commonly used on in real time situations · Expert in tuning all tiers of applications on JEE platform. · Good knowledge of database concepts with working knowledge on SQL and Stored Procedures. · Strive to constantly improve the application development processes and tools. · Experiences in full life cycle of application/system development · Must have strong communication skills with ability to work with all management levels · Ability to share technical knowledge and clearly communicate technical concepts Thanks & Regards, *Joshi Anur* Insoursys Inc PH:972-427-1715 E-mail: joshi_a...@insoursysinc.com || www.insoursys.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T2mO%3D5Lm5rH0o7Dmy0Mk7EYZyXFLcd9vG-1Hj90%3D%2BQQbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Backend .Net Developer, Schaumburg, IL
Hi This is joshi from Insoursys Inc. This is in reference to the following position. * Please reply with resume, Rate and contact details ASAP * only locals *Job Title: Backend .Net Developer* *Location: Schaumburg, IL* *Duration: 6+Month* * interviews going on hurry up passport mandatory or passport number* *Job Description: * Client Looking for Exp in .NET, SQL Server, MVC, Web Services -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAM_O0T3h-7ByBxdZwHmJXsgRhDBbDfBziv-Q6gjUusV%3D9AQP_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] loading and post a url without displying the page in the mobile screen
hi, can we use a browser object to load and hold the contents in a browser and to post the values to work exactly like a browser so that i can use where i dont wnt to display a browser but i need to load a url and to post the page with cookies, headers. I m thinking of this way because what i need is working fine in a browser, but cannot do by using DefaultHttpClient.execute(); and HttpPost if possible how can i do it? can any one plese help me with some sample code. thanks and regards ANU R --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] posting web pages thru android using code
Hi, I have a login oage which i hve to post with soem user details like user name , passwords, and some hidden values. i need to submit the response page aftr login (its an I agree) to make an API request . I want to do all thse things through code which needs to consider evry aspcts as we are doing the same using browser. I submited the first login page using code and got the resonse page. on submiting the I agree page I m redirected to a some other page.it seems the cookie is not handled while submiting the second page or may be some redirects or so. the same is working well if i make the request through browser the code I used is as follows try{ DefaultHttpClient httpclient = new DefaultHttpClient(); httpclient.getParams().setParameter( ClientPNames.COOKIE_POLICY, CookiePolicy.BROWSER_COMPATIBILITY); ListHeader headers=new ArrayListHeader(); headers.add(new BasicHeader(User-Agent, Mozilla/5.0 (Windows; U; Android 1.0;Windows NT 5.1; nl; rv:1.8.1.13) Gecko/ 20080311 Firefox/2.0.0.13)); httpclient.getParams().setParameter (ClientPNames.DEFAULT_HEADERS, headers); CookieSpecRegistry rw = httpclient.getCookieSpecs(); httpclient.getParams().setParameter(http.useragent, Mozilla/5.0 (Windows; U; Android 1.0; en-gb; generic) AppleWebKit/ 525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2); HttpGet httpget = new HttpGet(https://the url to get the login page ); HttpResponse response = httpclient.execute(httpget); response = httpclient.execute(httpget); HttpEntity entity = response.getEntity(); // Log.d(httpPost, Login form get: + response.getStatusLine()); if (entity != null) { entity.consumeContent(); } CookieStore cookies = httpclient.getCookieStore(); System.out.println(cookies:+cookies.getCookies()); HttpPost loginpostmethod = new HttpPost(https://the url to post the first login page); ArrayListBasicNameValuePair loginnvpairs = new ArrayListBasicNameValuePair(); loginnvpairs.add(new BasicNameValuePair (userid,user_id)); loginnvpairs.add(new BasicNameValuePair(pass, password)); loginnvpairs.add(new BasicNameValuePair(sessid, user_sessionid)); loginnvpairs.add(new BasicNameValuePair(hiddenname1, val1)); loginnvpairs.add(new BasicNameValuePair(hiddenname2, val2)); loginnvpairs.add(new BasicNameValuePair(hiddenname3, val3)); loginnvpairs.add(new BasicNameValuePair(hiddenname4, val4)); // httpclient.setCookieStore(cookies); UrlEncodedFormEntity p_entity = new UrlEncodedFormEntity (loginnvpairs); loginpostmethod.setEntity(new UrlEncodedFormEntity (loginnvpairs, HTTP.UTF_8)); loginpostmethod.setEntity(p_entity); ResponseHandlerString responseHandler = new BasicResponseHandler(); String responseBody = httpclient.execute(loginpostmethod, responseHandler); System.out.println(responseBody); HttpResponse loginpostresponse = httpclient.execute (loginpostmethod); // httpclient.execute(loginpostmethod, responseHandler); entity = response.getEntity(); if (entity != null) { entity.consumeContent(); } httpclient.setCookieStore(cookies); // cookies from login page // System.out.println(responseBody);// response for the first LOgin page, the I Agree Page // get cookies from the I agree Page CookieStore cookies1 = httpclient.getCookieStore(); System.out.println(cookies1:+cookies1.getCookies()); /*Iterator it = cookieslist.iterator(); //System.out.println(cookies1 after:+cookies1.getCookies ()); // SUBMITING THE I AGREE PAGE Log.d(httpPost, SUBMITING I AGREE PAGE); //sandbox HttpPost IAgreePostmethod = new HttpPost(https://url to post the I Agree page);// Posting I agree ArrayListBasicNameValuePair IAgreenvpairs = new ArrayListBasicNameValuePair(); IAgreenvpairs.add(new BasicNameValuePair(hidden1, val1)); IAgreenvpairs.add(new BasicNameValuePair(hidden2, val2)); httpclient.setCookieStore(cookies); // cookies from login page UrlEncodedFormEntity p_entityIAgree = new UrlEncodedFormEntity(IAgreenvpairs); IAgreePostmethod.setEntity(new UrlEncodedFormEntity (IAgreenvpairs, HTTP.UTF_8)); IAgreePostmethod.setEntity(p_entityIAgree); ResponseHandlerString IAgreeresponseHandler = new BasicResponseHandler(); try{ // String IAgreeSubmitresponseBody = httpclient.execute (IAgreePostmethod,
[android-developers] Re: End user IP for android
i got a solutioon form this thread..:) http://groups.google.com/group/android-developers/browse_thread/thread/6b996816446e577c/f041148ce261948f?lnk=raot On Apr 17, 1:57 pm, Jeff Sharkey jshar...@android.com wrote: On second thought, do you have control over the server? If so, you probably already have access to the public IP address of any connecting client. And if any proxies get involved, they usually tack on a X-Forwarded-For header value. j On Thu, Apr 16, 2009 at 10:54 PM, AnuR anura...@gmail.com wrote: hi, I am developing a webservice application for android. I need an End user IP for executing some calls to the server. Is there anything like IP for android phones that as in computers?? -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] End user IP for android
hi, I am developing a webservice application for android. I need an End user IP for executing some calls to the server. Is there anything like IP for android phones that as in computers?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Count Down Timer in list view
Can i have ny solution from any oneee Y is the count down timer showing different time periods if all are set to the same duration in the start??? and thy are ticking in inetrval of 3-4 secs... pls tel me any soultion to fix thisss On Mar 18, 5:15 pm, AnuR anura...@gmail.com wrote: Hi, I want to add a count down timer in a list view. the time duration is got from an xml in the format (PnYnMnDTnHnMnS). I used joda-time.jar for parsing the time from Period. I used long totaltimeinmilliseconds = (H*24*60+M*60+S)*1000; new CountDownTimer(totaltimeinmilliseconds, 1000) { public void onTick(long millisUntilFinished) { mTimer.setText(left: + millisUntilFinished / 1000); } public void onFinish() { mTimer.setText(done!); } }.start(); This code for making the countdown timer display. I put the code just before ll.addView(mTimer, new LinearLayout.LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in which, this linearlayout ll is used for making the list. But my problem is if there is only 1 item in the list , the timer will count down in each sec, but for more than one item, the dislpay wil be in the interval of 3 or more seconds.how can i make it display in each seconds??? Also I want to display in H:M:S format, with H,M,S synchronised. thanx in advance ANUR --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Count Down Timer in list view
Hi, I want to add a count down timer in a list view. the time duration is got from an xml in the format (PnYnMnDTnHnMnS). I used joda-time.jar for parsing the time from Period. I used long totaltimeinmilliseconds = (H*24*60+M*60+S)*1000; new CountDownTimer(totaltimeinmilliseconds, 1000) { public void onTick(long millisUntilFinished) { mTimer.setText(left: + millisUntilFinished / 1000); } public void onFinish() { mTimer.setText(done!); } }.start(); This code for making the countdown timer display. I put the code just before ll.addView(mTimer, new LinearLayout.LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in which, this linearlayout ll is used for making the list. But my problem is if there is only 1 item in the list , the timer will count down in each sec, but for more than one item, the dislpay wil be in the interval of 3 or more seconds.how can i make it display in each seconds??? Also I want to display in H:M:S format, with H,M,S synchronised. thanx in advance ANUR --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate
I was not able to fix the error the error is still there. I tried to disable the cretificate verification using the code from :http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html? l=rel // Create a trust manager that does not validate certificate chains TrustManager[] trustAllCerts = new TrustManager[]{ new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted( java.security.cert.X509Certificate[] certs, String authType) { } public void checkServerTrusted( java.security.cert.X509Certificate[] certs, String authType) { } } }; // Install the all-trusting trust manager try { SSLContext sc = SSLContext.getInstance(SSL); sc.init(null, trustAllCerts, new java.security.SecureRandom ()); HttpsURLConnection.setDefaultSSLSocketFactory (sc.getSocketFactory()); } catch (Exception e) { } // Now you can access an https URL without having the certificate in the truststore try { URL url = new URL(https://hostname/index.html;); } catch (MalformedURLException e) { } and also tried to retrive the cretificate form the help available from the site http://www.exampledepot.com/egs/javax.net.ssl/GetCert.html?l=rel try { // Create the client socket int port = 443; String hostname = hostname; SSLSocketFactory factory = HttpsURLConnection.getDefaultSSLSocketFactory(); SSLSocket socket = (SSLSocket)factory.createSocket(hostname, port); // Connect to the server socket.startHandshake(); // Retrieve the server's certificate chain java.security.cert.Certificate[] serverCerts = socket.getSession().getPeerCertificates(); // Close the socket socket.close(); } catch (SSLPeerUnverifiedException e) { } catch (IOException e) { } but noe of then helped me. please help to fix this issue... thanks and regards ANUR On Nov 21 2008, 1:30 am, Anders Rundgren anders.rundg...@telia.com wrote: Are you using a commercial SSL cert vendor like VeriSign. If not you need to either disable certficate validation or install the trust anchor of the SSL cert. I don't have the G1 som I only know how to do it on the emulator. It wasn't easy BTW since Android does not use the standard SUN format but a BouncyCastle variant. I did a converter since I have so many stores in SUN format:http://groups.google.com/group/android-developers/browse_thread/threa... Anders On Nov 20, 11:13 am, AnuR anura...@gmail.com wrote: Hi, While I am trying to post a web page using DefaultHttpClient httpclient = new DefaultHttpClient(); CookieStore cookies = httpclient.getCookieStore(); HttpPost Postmethod = new HttpPost(https://urltopost;);// Submiting I agree page ArrayListBasicNameValuePair nvpairs = new ArrayList(); vpairs.add(new BasicNameValuePair(name1, value1)); nvpairs.add(new BasicNameValuePair(name2, value2)); nvpairs.add(new BasicNameValuePair(name3, value3)); httpclient.setCookieStore(cookies); UrlEncodedFormEntity p_entityIAgree = new UrlEncodedFormEntity (nvpairs); Postmethod .setEntity(new UrlEncodedFormEntity(nvpairs, HTTP.UTF_8)); Postmethod .setEntity(p_entityIAgree); ResponseHandlerString IAgreeresponseHandler = new BasicResponseHandler(); String IAgreeSubmitresponseBody = httpclient.execute(Postmethod , IAgreeresponseHandler); I am getting an error 11-20 12:36:22.589: WARN/System.err(366): javax.net.ssl.SSLException: Not trusted server certificate. why is it caused ? how Can i solve it? _ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Psssing keys for each value in a list view to another view
hi, I have a list view to list some categories. I need to list the products under each category in a new list. I used arrayList to the adapter, I am able to list the category names . but I cant pass the keys (categoryIds) to the next view for getting the products. Please help me in this regard. For Now I am trying to display the categoryId in the produts page, but i am not suceeding :( the following is the code I tried public class Categories extends ListActivity { ArrayList CatList ; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); CatList= GetCategories(); // this returns an Array List setContentView(R.layout.categories); setListAdapter(new ArrayAdapterString (this,android.R.layout.simple_list_item_1,CatList)); } @Override protected void onListItemClick(ListView l, View v, int position, long id) { // Map map = (Map) l.getItemAtPosition(position); // Intent intent = (Intent) map.get(intent); // startActivity(intent); // super.onListItemClick(l, v, position, id); Intent i = new Intent(this, Products.class); // startActivity(i); i.putExtra(categ,CatList.get(position).toString() ); startActivity(i); // setContentView(R.layout.products); } public static Arraylist GetCategories() { code to get the array List } } /// following is the products.java public class Products extends ListActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.products); TextView CategoryIdtext = (TextView) findViewById (R.id.CategoryId); Bundle extras = getIntent().getExtras(); CategoryIdtext.setText(CAtegoryID:+extras.getString(categ)); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] javax.net.ssl.SSLException: Not trusted server certificate
Hi, While I am trying to post a web page using DefaultHttpClient httpclient = new DefaultHttpClient(); CookieStore cookies = httpclient.getCookieStore(); HttpPost Postmethod = new HttpPost(https://url to post);// Submiting I agree page ArrayListBasicNameValuePair nvpairs = new ArrayList(); vpairs.add(new BasicNameValuePair(name1, value1)); nvpairs.add(new BasicNameValuePair(name2, value2)); nvpairs.add(new BasicNameValuePair(name3, value3)); httpclient.setCookieStore(cookies); UrlEncodedFormEntity p_entityIAgree = new UrlEncodedFormEntity (nvpairs); Postmethod .setEntity(new UrlEncodedFormEntity(nvpairs, HTTP.UTF_8)); Postmethod .setEntity(p_entityIAgree); ResponseHandlerString IAgreeresponseHandler = new BasicResponseHandler(); String IAgreeSubmitresponseBody = httpclient.execute(Postmethod , IAgreeresponseHandler); I am getting an error 11-20 12:36:22.589: WARN/System.err(366): javax.net.ssl.SSLException: Not trusted server certificate. why is it caused ? how Can i solve it? _ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] peer not authenticated while executing DefaultHttpClient httpclient
Hi, I want to submit a web page through my application. for that I am using DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost Postmethod = new HttpPost(url to post);// but on executing the httpclient, that is httpclient.execute (Postmethod), I am getting an error javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. sometimes the submit will work without any error but most of the time this shows an error as follows ErrorIOException httpPostpeer not authenticated javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates (SSLSessionImpl.java:352) at org.apache.http.conn.ssl.AbstractVerifier.verify (AbstractVerifier.java:129) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket (SSLSocketFactory.java:322) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection (DefaultClientConnectionOperator.java:129) at org.apache.http.impl.conn.AbstractPoolEntry.open (AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open (AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute (DefaultRequestDirector.java:347) at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:555) at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:653) at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:627) at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:616) PLease help me to solve this issue at the earliest (posting some sample code wil be more helpful as I am new to even JAVA ) Thanks and regds ANU R --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Cookie not enabled while using HttpPOST
Hi, I wanted to login to a website thru my application, For that i used DefaultHttpClient client = new DefaultHttpClient(); HttpPost postmethod = new HttpPost(the url to submit the login data and related parametrs); //set header for the postmethos and executed the client, but I am getting the response as COOKIE NOT ENABLED IN YOUR BROWSER. I could get all the cookies in ListCookie cookies = client.getCookieStore().getCookies(); But how can I post the cookie to the login url? can I post the COOKIE obj as header , How is it done.? Please Help me with some sample code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] login to a web site from android application.
Hi frnds, my application needs to login to a web site thru the application. How can i do it? for that I need to post the username ,password and some other data to the url. the code is as follows. I am using SDK 1.0 DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost httpost = new HttpPost(my url to submit); List NameValuePair nvps = new ArrayList NameValuePair(); nvps.add(new BasicNameValuePair(user_name, myusername)); nvps.add(new BasicNameValuePair(password, mypassword)); nvps.add(new BasicNameValuePair(hidden_data_to_post, data to post)); httpost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8)); response = httpclient.execute(httpost); if I execute this code , I will get an error: Exception in thread main java.lang.RuntimeException: Stub! with error in the line DefaultHttpClient httpclient = new DefaultHttpClient(); if I use HttpClient client = new HttpClient(); try{ method = new PostMethod(https://my url to post); method.addParameter(user_name, myusername)); method.addParameter(password, mypassword)); method.addParameter(hidden_data_to_post, data to post)); method.setFollowRedirects(false); client.executeMethod(method); the response body will be 405 error if I set the method.setFollowRedirects(false); to be true, the error will be java.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without user intervention So what may be the probelm.If I am wrng pls help me with sample code for logging into a website in SDK 1.0 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Connecting SSL and submitting an XML using 1.0 SDK
Hi all, how can I connect an SSL (htps://) using the SDK 1.0 and submit and an XML file to that https link. I did it using the org.apache.commons.httpclient (commons-httpclient ) library in m5 versions. Now those are not in the new releases. how can I connect it in new version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Connecting SSL using 1.0 SDK
I have conncted an ssl (https site) using org.appache.commons.http.httpclient in m5, but when i updated to the latest version, the org.appache.commons.http.httpclient package is missing. instead I could find org.appache.http.client (it was already there , but now changed code, i think) etc. how can I connect it using the new version. I want to submit an xml file over the https connection. Is there any problem in adding commons-httpclient-x.x.jar for using the classes in the old versions? Or can any one tel me any other alternatives. can any one help with some sample code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---