[android-developers] Phone and F2F : User Experience Designer/Richfield, Minnesota
Position:User Experience Designer Location: Richfield, Minnesota (55423) Duration: 6 months Interview: 30 minute phone interview with HM followed by 1 hour in-person interview panel LOCAL ONLY and MUST be able to perform F2F interview in Richfield, MN Job Description: What are the MUST have skills that you are looking for in a candidate? -Online portfolio required for submission (or PDF of IA samples) -Axure experience required 1 year -Axure prototyping skills preferred -8-10 years experience delivering digital solutions to a variety of industries -Experience working in task/workflow oriented interfacesImportant to have -Touch and mobile first experience including multi-device responsive designImportant to have -Understanding of HTML/CSS (position does not include front-end development) Preferred Qualifications -Bachelors Degree in graphic design, marketing, human factors or similar -Agile/Iterative experience -Adobe Creative Suite Skills Business Overview: Tell me about your department: As a member of the Retail User Experience team, you will join a growing Retail UX Center of Excellence charged with improving and transforming digital products used within our retail locations across the United States. The products we deliver are retail sales associate facing. We are a fast paced, highly collaborative, and ultimately positive group of UX Strategists, Researchers, Information Architects, and Visual Designers. Responsibilities -Produce a variety of Information Architecture documents for mobile, tablet and desktop applications. Must understand mobile first and be proficient in designing exclusively for touch devices. -Ability to work with business product owners, IT developers, business analysts, service architects and other UX resources to drive the definition of a variety of applications. -Ability to translate business requirements, business strategy, and UX strategy documents into simple, concise and compelling Information Architecture documents. -Ability to present Information Architecture documents and findings to variety of audience, including business product owners, IT resources, and senior leaders in the Best Buy enterprise. -Perform UX quality assurance against developed applications and log defects with development teams -Collaborate with other UX resources to deliver the optimal UX solution based on requirements Collaboration is at the center of how we develop experiences and you will be able to hold conversations with, and present to, information architects, strategists, writers, developers, business analysts, business stakeholders, and project managers. You should also be comfortable working in a fast-paced environment and have the ability to self-define tasks, deadlines, and next steps as needed. What would a normal day for this position look like?? 70% heads-down wireframe work 15% collaboration with Team Members 15% meetings Skills Overview: What are the technologies and the depth of the technologies that a candidate must have in order to be successful in this role? 1.Axure-1 plus years experience What are the soft skills that you feel candidates must-have in order to be successful in this role? 1.Must be able to balance multiple projects with different stakeholders 2.Strong ability to collaborate and assert a point of view positively 3.Comfortable with ambiguity 4.Must have good presentation skills Regards, Rajan Mishra |Technical Recruitment | Apetan Consulting LLC | Phone: 201-620-9700 * 154 | Email ID: ra...@apetan.com | Mailing Address: 72 Van Reipen Avenue pmb#255, Jersey City, NJ 07306 Corp. Office: 15 Union Avenue, office # 6, Rutherford, New Jersey 07070 Web link: www.apetan.com Disclaimer: We respect your Online Privacy. This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are not interested in receiving our e-mails then please reply with a "REMOVE" in the subject line at rem...@apetan.com and mention all the e-mail addresses to be removed with any e-mail addresses, which might be diverting the e mails to you. We are sorry for the inconvenience. -- 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/CAC2_GGTvD5oeKrye-U_hs_KKNPKAWmZ0sMm7_UVYdFB1YBUQNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Urgent hiring::Documentum Developer/New Jersey |$55/hr.|
Hi, This is Rajan from Apetan Consulting LLC I have a job requirement which I mentioned below please have a look on this and let me know if you have any consultant for this position *Documentum Developer* *This position is located in Princeton, New Jersey* * MOI: 2 calls and a skype Rate : 55* * 6+ Months* The unstructured data space served by Documentum is growing in scope and importance across client. Continued investment and innovation in electronic records storage and reference document archiving is critical to the client value proposition. As a Software Engineer for Documentum Java development you will play a lead role in designing, building and implementing document management solutions for business units across the client. You will work closely with business unit clients, Documentum delivery teams and other IT partners to ensure those solutions create a positive Customer and Associate Experience. *The Purpose of Your Role * In this role you will be responsible for the creation of quality web based software components that are used by Documentum consumers. You will work closely with the project managers, systems analysts, architects, and other developers to design, build, test, deliver and support the features that make up clients content management applications. This position reports to the Director ESPDS Document Management Technology. *The Skills You Bring * - Your ability to perform independent and complex technical analysis - Your ability to design and build applications and subsystems for multiple platforms - Your ability to support all phases of testing including unit test case creation and execution - Your leadership in support of code deployment processes - Your ability to comprehensively document solutions and transfer knowledge - Your ability to serve as an on-call resource in support of the organization's service model - Your commitment to welcome, value and foster a climate that promotes and fully leverages team diversity - Your willingness to work in a highly matrixed environment - Your affinity toward self-motivation coupled with a healthy work ethic - Your professional written and verbal communication and interpersonal skills *The Value You Deliver * - Design and construction of software solutions that meet or exceed goals and commitments - Acumen in applying software engineering methodologies, best practices and trends Close and trusted collaboration with partners that enables full achievement of business objectives - Analysis of issues and opportunities that help improve ESPDS solutions and solutions delivery *The Expertise We're Looking For * - Bachelor degree in Computer Science or equivalent - 5+ years of experience in Java development - 4+ years of experience with the following technologies: XML/XSLT, REST/Web Services, CMIS web services, multi-threaded JAVA, JDBC, WebSphere and/or Tomcat, JQuery, JSP, Java Script - 2+ years of experience working with EMC Documentum, IBM FileNet or comparable content management software package - Experience with the Agile development methodology [image: logo] *Rajan Mishra |Technical Recruitment | Apetan Consulting LLC |* *Phone: 201-620-9700* ** 154 |* *Email ID: ra...@apetan.com <ra...@apetan.com> |* *Mailing Address:* 72 Van Reipen Avenue pmb#255, Jersey City, NJ 07306 *Corp. Office:* 15 Union Avenue, office # 6, Rutherford, New Jersey 07070 *Web link: **www.apetan.com* <http://www.apetan.com/> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/facebook.png] <http://www.facebook.com/Apetanconsulting> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/linkedin.png] <http://www.linkedin.com/company/apetan-consulting-llc?trk=top_nav_home> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/twitter.png] <http://twitter.com/ApetanLLC>[image: cid:image006.jpg@01D16D8B.24928980] *Disclaimer:* We respect your Online Privacy. This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are not interested in receiving our e-mails then please reply with a "REMOVE" in the subject line at *rem...@apetan.com <rem...@apetan.com>* and mention all the e-mail addresses to be removed with any e-mail addresses, which might be diverting the e mails to you. We are sorry for the inconvenience. -- 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,
[android-developers] QA Lead/Architect | Chicago IL | phone then F2F| Rate: $55-60
Hi, This is Rajan from Apetan Consulting LLC I have a job requirement which I mentioned below please have a look on this and let me know if you have any consultant for this position. *Rate: $55-60* *Mode: phone and Skype (Local candidate will have to attend f2f)* *Location: Chicago IL* *Duration:6+* *What we need for this role:* For this role we need an Overall Senior level Test Architect who is strong with all aspects of testing and test strategy. Strong communication skills is a pre-requisite for this role. Someone who looks into the Holistic testing landscape – performance, functional testing, automation, test data strategy etc. need someone who is seasoned Test Architect who knows testing landscape but at the same time someone who is willing to adapt and change quickly. Need will require constant interaction with the client to make sure client vision is included at all times as part of testing process. Sapient team will put together overall development strategy [image: logo] *Rajan Mishra |Technical Recruitment | Apetan Consulting LLC |* *Phone: 201-620-9700* ** 154 |* *Email ID: ra...@apetan.com <ra...@apetan.com> |* *Mailing Address:* 72 Van Reipen Avenue pmb#255, Jersey City, NJ 07306 *Corp. Office:* 15 Union Avenue, office # 6, Rutherford, New Jersey 07070 *Web link: **www.apetan.com* <http://www.apetan.com/> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/facebook.png] <http://www.facebook.com/Apetanconsulting> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/linkedin.png] <http://www.linkedin.com/company/apetan-consulting-llc?trk=top_nav_home> [image: https://s3.amazonaws.com/images.wisestamp.com/icons/twitter.png] <http://twitter.com/ApetanLLC>[image: cid:image006.jpg@01D16D8B.24928980] *Disclaimer:* We respect your Online Privacy. This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are not interested in receiving our e-mails then please reply with a "REMOVE" in the subject line at *rem...@apetan.com <rem...@apetan.com>* and mention all the e-mail addresses to be removed with any e-mail addresses, which might be diverting the e mails to you. We are sorry for the inconvenience. -- 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/CAC2_GGQy25641gCsxG%3Dg1c2aYMJZWu8tikjjqJaZJZ4YPs%2BFzw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Without lagging how to bind 10 diff. views in listview
I am developing an application which is having one ListView and in that i am binding 12 different views (Custrom_Row.xml) , Now, the problem is that when i am scrolling the listview it is not scroll smoothly.. I am using getView() method for all this views. I am stuck in one issue i'm newbie in android and i want to know one thing regarding listview like : if i am binding 12 different views (12 custom row xml) in a single listview, after that i scroll the listview, but it's not smooth, *what i have done :* - i have use viewHolder pattern, but no luck :-( - i have already read this article http://www.curious-creature.org/2012/12/01/android-performance-case-study/ and that mentioned i have to enable GPU option, but that option is only available =4.0 and i'm using 2.2, so what should i do?? Thanks -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to bind 12 diff. views in listview without lagging
I am stuck in one issue i'm newbie in android and i want to know one thing regarding listview like : if i am binding 12 different views (12 custom row xml) in a single listview, after that i scroll the listview, but it's not smooth, *what i have done :* - i have use viewHolder pattern, but no luck :-( - i have already read this article http://www.curious-creature.org/2012/12/01/android-performance-case-study/ and that mentioned i have to enable GPU option, but that option is only available =4.0 and i'm using 2.2, so what should i do?? Thanks -- -- 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 --- 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. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] GCM not working over wifi
Hello i have create one app in which i use GCM, its work normally over mobile data packet, but when my app is running over mobile Wifi my GCM code not working. Any solution ? -- -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] In-app billing V3 - Error while retrieving information from server. [RPC:S-7:AEC-0]
i have create one app and already published in that app i used in-app billing (UNMANAGED). When i test it using android.test.purchased product id, it will works properlly, but after publishing the app i test it again using live product Id at that time it will not working, means my app redirect to google play store after that it returns this kind of Error in popup message and that message is : Error while retrieving information from server. [RPC:S-7:AEC-0] I Have do all the things like Factory Reset, Removeing Google A/c , Restart the phone etc. but not getting any success. please help me i'm stuck since last 4 to 5 days i didn't get any solution yet. -- -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Problem in larger xml parsing with SOAP web service
see this link : http://stackoverflow.com/questions/1270191/how-to-parse-this-web-service-response-in-android (see: Rooban Abraham http://stackoverflow.com/users/831834/rooban-abraham POST) On Tue, Jan 8, 2013 at 6:48 PM, Krishna Mahadik krishna.maha...@gmail.comwrote: Hi, Give me a days time. I am busy right now, will come back to see ur query ASAP. Thanks Regards, Spike On Fri, Dec 28, 2012 at 5:15 PM, ss04091...@gmail.com wrote: hi spike, As rajan post output of web service when returning dataset. Actual problem: I am creating a web service in net which returns Dataset in XML format. Using KSOAP i am calling web service methods to get dataset which retuns Dataset. Webserice response stored in a string variable. So string Display Output as anyType{NewDataSet=anyType{**Table=anyType{AdSpaceID=423; AdspaceName=Hoarding at football, (Amul); Address=football,(Amul)-**Ahmedabad; }; Table=anyType{AdSpaceID=424; AdspaceName=Hoarding at football, tow. Bhulabhai.(Amul); Address=football, tow. Bhulabhai.(Amul)-Ahmedabad; }; Table=anyType{AdSpaceID=425; AdspaceName=Hoarding at Bhulabhai 4 Road Junction; Address=Bhulabhai 4 Road Junction-Ahmedabad; }; Table=anyType{AdSpaceID=426; AdspaceName=Hoarding at Bhulabhai Park, Tow. S.T. Stand; Address=Bhulabhai Park, Tow. S.T. Stand-Ahmedabad; }; Table=anyType{AdSpaceID=427; AdspaceName=Hoarding at Bhulabhai Park,Tow. Maninagar Shah- Alam; Address=Bhulabhai Park,-Ahmedabad; }; Table=anyType{AdSpaceID=428; AdspaceName=Hoarding at Foot-ball Ground, Tow. Apsara Aradhana Cinema tow. Bhulabhai; Address=Foot-ball Ground, Tow. Apsara Aradhana Cinema tow. Bhulabhai-Ahmedabad; }; Table=anyType{AdSpaceID=429; AdspaceName=Hoarding at Khokhra circle.Shivam foot; Address=Khokhra circle,Shivam foot-Ahmedabad; }; Table=anyType{AdSpaceID=430; AdspaceName=Hoarding at Khokhra circle,Shivam foot; Address=Khokhra circle,Shivam foot-Ahmedabad; }; Table=anyType{AdSpaceID=431; AdspaceName=Hoarding at Khokhra circle; Address=Khokhra circle-Ahmedabad; }; Table=anyType{AdSpaceID=432; AdspaceName=Hoarding at Khokhra Bridge, Rly. Yard,; Address=Khokhra Bridge, Rly. Yard,-Ahmedabad; }; Table=anyType{AdSpaceID=433; AdspaceName=Hoarding at Rly. Yard,; Address=Khokhra Bridge, Rly. Yard,-Ahmedabad; }; Table=anyType{AdSpaceID=434; AdspaceName=Hoarding at O/B Tow.Sraspur; Address=O/B Tow.Sraspur-Ahmedabad; }; Table=anyType{AdSpaceID=435; AdspaceName=Hoarding at Nr. Six road junction,near kalupur darwaja; Address=Nr. Six road junction,near kalupur darwaja-Ahmedabad; }; Table=anyType{AdSpaceID=436; AdspaceName=Hoarding at kalupur circle,; Address=kalupur circle,-Ahmedabad; }; Table=anyType{AdSpaceID=437; AdspaceName=Hoarding at near prem darwaja; Address=near prem darwaja-Ahmedabad; }; Table=anyType{AdSpaceID=438; AdspaceName=Hoarding at law garden circle; Address=law garden circle-Ahmedabad; }; Table=anyType{AdSpaceID=439; AdspaceName=Hoarding at law garden circle; Address=law garden circle-Ahmedabad; }; Table=anyType{AdSpaceID=440; AdspaceName=Hoarding at ritz hotel; Address=opp ritz hotel-Ahmedabad; }; Table=anyType{AdSpaceID=441; AdspaceName=Hoarding at Jawahar chowk; Address=Jawahar chowk-Ahmedabad; }; Table=anyType{AdSpaceID=442; AdspaceName=Hoarding at Jawahar chowk; Address=Jawahar chowk-Ahmedabad; }; Table=anyType{AdSpaceID=443; AdspaceName=Hoarding at Nr. Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=444; AdspaceName=Hoarding at Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=445; AdspaceName=Hoarding at Rambaug; Address=Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=446; AdspaceName=Hoarding at Nr. Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=447; AdspaceName=Hoarding at Nr. Bhulabhai Park,Above Chaitanya Medical Stores; Address=Nr. Bhulabhai Park,Above Chaitanya Medical Stores-Ahmedabad; }; Table=anyType{AdSpaceID=448; AdspaceName=Hoarding at Railway colony; Address=Railway colony-Ahmedabad; }; Table=anyType{AdSpaceID=449; AdspaceName=Hoarding at gautam nagar; Address=gautam nagar-Ahmedabad; }; Table=anyType{AdSpaceID=450; AdspaceName=Hoarding at gautam nagar; Address=gautam nagar-Ahmedabad; }; Table=anyType{AdSpaceID=451; AdspaceName=Hoarding at pushp kunj; Address=pushp kunj-Ahmedabad; }; Table=anyType{AdSpaceID=452; AdspaceName=Hoarding at Maninagar o/b; Address=Maninagar o/b-Ahmedabad; }; Table=anyType{AdSpaceID=453; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=454; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=455; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=456; AdspaceName=Hoarding at 4 road jnc.; Address=4 road jnc.-Ahmedabad; }; Then how i parse it and display data in the listview in android. Plz help Splike . my mail id: ss04091...@gmail.com Are you understand my problem. My main Aim
[android-developers] In app Billing V3 onActivityResult isn't called
I've implemented the new In-app billing in my application, but when I tested it works but did't reply me a signature. After purchasing onActivityResult method isn't called. the very strange behavior that i show in my app is : i got the signature when my activity is recreated (means press button for purchase then after purchasing the product press back button and then again go to the same activity which contain button for in-app purchase. Note : i use Tab and in my app Purchase Item button is available in one of my subActivity. please help me or any suggestion . thank you. -- 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] Need Android Developers
I'm looking for excellent android developers with good knowledge on API's and Framework. Position is for a long term project in the UK region. -- 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] not able to open numpade(soft keyboard) @ activity launched time
i want open a keypade with numpade (number only, just like input type is phone). but problem is : My activity contains one edittext and one button. so when my activity launched at that time i want cursor focus on my edittext and open soft keyboard @ activity launched time. what i have done --- InputMethodManager inputMethodManager=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.toggleSoftInputFromWindow(tabHost.getApplicationWindowToken(), InputMethodManager.SHOW_FORCED, 0); using above code i can able to open qwerty keyboard, but i want to open numpade, how it is possible? thank you. -- 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
Re: [android-developers] Re: Blocked my UI thread by background service
Hello Jonathan, As you suggest me that i have to use IntentService, but after implementing the IntentService and again test my app at the time realize that IntentService's onHandleIntent() method is never ever hold for the time when gps find the current location(lat long). so that i get null location at every time, so plz guide me what can i do to find lat long with in IntentService. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S xfsuno...@gmail.com wrote: Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service through which i have to send latitude, longitude, TAG TAG is kind of ON or OFF text : that can be set on button press event. What i have done = 1. i created one simple service that can be use to get lat long and also use AsynTask inside the service for calling a webservice 2. i have use Time class for ping after every 1 min. 3. now i need to add TAG value inside the background service using on button pressed event : that i have already done [ like : Intent i = new Intent(this, BackgroundService.class); i.putExtra(TAG,ON); startService(i); ] My Problem = it block my UI thread after every 1 min. , means when my time is going to ping a backgroundService for finding a lat long at that time it will block my UI for few seconds. so how can i prevent my UI thread ?? Note : for start stop to the background service, i have use Handler class Message class please help me i'm stuck in this scenario since last 2 to 3 days, i didn't find any single way to prevent my UI thread. thank you. -- 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 -- . -- 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
Re: [android-developers] Re: Blocked my UI thread by background service
Hello Jonathan, Thanx a lot for suggestion to use IntentService, now my app doesn't block UI thread, it works perfectly. again Thank you. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S xfsuno...@gmail.com wrote: Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service through which i have to send latitude, longitude, TAG TAG is kind of ON or OFF text : that can be set on button press event. What i have done = 1. i created one simple service that can be use to get lat long and also use AsynTask inside the service for calling a webservice 2. i have use Time class for ping after every 1 min. 3. now i need to add TAG value inside the background service using on button pressed event : that i have already done [ like : Intent i = new Intent(this, BackgroundService.class); i.putExtra(TAG,ON); startService(i); ] My Problem = it block my UI thread after every 1 min. , means when my time is going to ping a backgroundService for finding a lat long at that time it will block my UI for few seconds. so how can i prevent my UI thread ?? Note : for start stop to the background service, i have use Handler class Message class please help me i'm stuck in this scenario since last 2 to 3 days, i didn't find any single way to prevent my UI thread. thank you. -- 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 -- . -- 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] execute some code just before my application throw force close error
is it possible to execute some code just before my application throw force close error, throughout the app. i know about the broadcast receiver, that can help me out when any changes occur in my phone, but how can i identify @ where and @ which location my app throws force close error. -- 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
Re: [android-developers] Re: Blocked my UI thread by background service
hi, Nitin thanx for the suggestion, but i know 1 min. is very costly for battery life , right now my app is in testing face that is why i used 1 min. after that i'll use 5 to 10 min. On Sat, Nov 10, 2012 at 12:52 PM, Nitin Sethi sethi.5...@gmail.com wrote: You issue aside, listening for GPS fix every one minute is surely going to drain user's battery big time. Are your app user's okay with the battery level going from 100% to ZERO in less than 4 hours? On Saturday, 10 November 2012 01:51:25 UTC+5:30, Rajan wrote: What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service through which i have to send latitude, longitude, TAG TAG is kind of ON or OFF text : that can be set on button press event. What i have done = 1. i created one simple service that can be use to get lat long and also use AsynTask inside the service for calling a webservice 2. i have use Time class for ping after every 1 min. 3. now i need to add TAG value inside the background service using on button pressed event : that i have already done [ like : Intent i = new Intent(this, BackgroundService.class); i.putExtra(TAG,ON); startService(i); ] My Problem = it block my UI thread after every 1 min. , means when my time is going to ping a backgroundService for finding a lat long at that time it will block my UI for few seconds. so how can i prevent my UI thread ?? Note : for start stop to the background service, i have use Handler class Message class please help me i'm stuck in this scenario since last 2 to 3 days, i didn't find any single way to prevent my UI thread. thank you. -- 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 -- . -- 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] Blocked my UI thread by background service
What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service through which i have to send latitude, longitude, TAG TAG is kind of ON or OFF text : that can be set on button press event. What i have done = 1. i created one simple service that can be use to get lat long and also use AsynTask inside the service for calling a webservice 2. i have use Time class for ping after every 1 min. 3. now i need to add TAG value inside the background service using on button pressed event : that i have already done [ like : Intent i = new Intent(this, BackgroundService.class); i.putExtra(TAG,ON); startService(i); ] My Problem = it block my UI thread after every 1 min. , means when my time is going to ping a backgroundService for finding a lat long at that time it will block my UI for few seconds. so how can i prevent my UI thread ?? Note : for start stop to the background service, i have use Handler class Message class please help me i'm stuck in this scenario since last 2 to 3 days, i didn't find any single way to prevent my UI thread. thank you. -- 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
Re: [android-developers] Re: Blocked my UI thread by background service
Thanx Jonathan S, i don't know about IntentService, i have never worked on it. but now i surely work on it and after that i'll show you my output(result). once again thanx for your guidance. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S xfsuno...@gmail.com wrote: Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: What i need to do = 1. I need to get Latitude longitude every 1 min. 2. after getting this lat long, i need to call one web service through which i have to send latitude, longitude, TAG TAG is kind of ON or OFF text : that can be set on button press event. What i have done = 1. i created one simple service that can be use to get lat long and also use AsynTask inside the service for calling a webservice 2. i have use Time class for ping after every 1 min. 3. now i need to add TAG value inside the background service using on button pressed event : that i have already done [ like : Intent i = new Intent(this, BackgroundService.class); i.putExtra(TAG,ON); startService(i); ] My Problem = it block my UI thread after every 1 min. , means when my time is going to ping a backgroundService for finding a lat long at that time it will block my UI for few seconds. so how can i prevent my UI thread ?? Note : for start stop to the background service, i have use Handler class Message class please help me i'm stuck in this scenario since last 2 to 3 days, i didn't find any single way to prevent my UI thread. thank you. -- 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 -- . -- 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] Regarding Intents
Hi im a newbee to android. im unable to understand android concept.i wnet through many sites but i couldnt understand could u please explain what is Intent,Intent Object and what is the use of Intents with clear example. thanks in advance -- 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] Hai im a newbiee
hai frnz i have just started my android developer training..i came across a term called 'register based'..can anyone tell what is register based..and pls explain the difference between stack based and register based -- 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: Video (VideoView) flickering and/or doesn't display on ICS (but works fine on Android = 2.x)
even I am facing same problem as stated by Mathias anyone who know the solution ? -- 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] Stuck in Customized Expandable Listview
hi, i am trying to create customized expandable listview. i have almost completed except one thing describe as follows. *first-of-all what i have :* * * https://lh4.googleusercontent.com/-4mGspOzQX2M/UGrQ95KifAI/AEY/Tjta1vKzHeg/s1600/i+have.png i am able to create this kind of list displayed @ attachment *i have.png* * * *Problem :* * * https://lh6.googleusercontent.com/-68_3BlhxPm8/UGrRJ9DYVSI/AEg/iFUrmcwaHEQ/s1600/i+want.jpg * * but i want this kind of list displayed @ attachment *i want.png* * * as you seen that, i want to change the color of the child record, means change the status indication Red to Green and Green to Red how can i do this ?? b'cos as far as my knowledge is concern we have to set textview style @ the xml design time, and directly that textview id is mentioning in SimpleExpandableListAdapter(). this is my code *1.* All xml file is available in attachment (with drawable/layout_nearby file) *2. TaskLog.java* * * public class TaskLog extends ExpandableListActivity { private static final String NAME = NAME; private static final String CHILDNAME = CHILDNAME; private static final String TOTALVISIT = TOTALVISIT; private static final String STATUS = STATUS; private static final String REMAININGVISIT = REMAININGVISIT; private ExpandableListAdapter mAdapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.task_log); ListMapString, String groupData = new ArrayListMapString, String(); ListListMapString, String childData = new ArrayListListMapString, String(); for (int i = 0; i 2; i++) { MapString, String curGroupMap = new HashMapString, String(); groupData.add(curGroupMap); curGroupMap.put(NAME, Group + i); //curGroupMap.put(IS_EVEN, (i % 2 == 0) ? This group is even : This group is odd); ListMapString, String children = new ArrayListMapString, String(); for (int j = 0; j 3; j++) { MapString, String curChildMap = new HashMapString, String(); children.add(curChildMap); curChildMap.put(CHILDNAME, Child Name + j); curChildMap.put(TOTALVISIT, Child Total Visit + j); curChildMap.put(STATUS, Child Status + j); curChildMap.put(REMAININGVISIT, Child Remaining Visit + j); } childData.add(children); } mAdapter = new SimpleExpandableListAdapter( this, groupData, R.layout.head, new String[] { NAME }, new int[] { R.id.headrow }, childData, R.layout.new_child, new String[] { CHILDNAME, TOTALVISIT, STATUS, REMAININGVISIT }, new int[] { R.id.child_name, R.id.child_totalVisit, R.id.child_status, R.id.child_remainingVisit } ); setListAdapter(mAdapter); } @Override public void onBackPressed() { Log.d(Emp,TaskLog); finish(); } } Thank you. * * * * * * * * * * -- 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?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical TextView android:id=@+id/headrow android:layout_width=match_parent android:layout_height=wrap_content android:background=#00 android:paddingBottom=5dip android:text=Medium Text android:textAppearance=?android:attr/textAppearanceMedium android:textColor=#ff android:textStyle=bold / /LinearLayout?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=wrap_content android:background=@drawable/layout_nearby TextView android:id=@+id/child_name android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentLeft=true android:layout_alignParentTop=true android:text=Medium Text android:textAppearance=?android:attr/textAppearanceMedium android:textColor=#00 / ImageView android:id=@+id/child_arrow android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_centerVertical=true android:layout_marginLeft=10dip
Re: [android-developers] StackOverflow Exception while using TabActivity
Hello, Marina i did'n get what you are saying, can you explain it? please help me if you know anything regarding my question. https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/Multiple$20SubActivity$20:$20facing$20StackOverflowError,$20please$20help/android-developers/nDWpyVOo3nQ/xbD5CZuEtGsJ On Wed, Sep 26, 2012 at 5:05 PM, Marina Cuello marina.ear...@gmail.comwrote: Just a guess, but if you don't think Romain's advice is on spot... could it be that you have a parent adjusting its size to wrap a child which is adjusting to match its parent? I think somebody posted something similar and that was the cause. Marina On Sep 26, 2012 3:50 AM, Rajan r.d.thak...@gmail.com wrote: Hello, Romain Guy i am facing a same issue java.lang.StackOverflowError, i didn't understand what can i do ? i am newbie in Android so please help, i am working on this issues last 1 to 2 days, but i didn't get success. please go through this link, https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/Multiple$20SubActivity$20:$20facing$20StackOverflowError,$20please$20help/android-developers/nDWpyVOo3nQ/xbD5CZuEtGsJ please help me. Thank you. On Tuesday, 21 July 2009 21:13:02 UTC+5:30, Romain Guy wrote: You have way too many nested viewsgroups/layout. Remove some of them :) On Mon, Jul 20, 2009 at 10:04 PM, Dexter#39;s Braincooma...@gmail.com wrote: Hi, I have a TabActivity, there are 4 tabs. In each tab I have put a single Activity. One of the activities contains a Custom List View which uses a CustomAdapter which extends the BaseAdapter. I get this excpetion, when I try to open the tab containing this activity. It seems to be thrown at a point when probably the TabActivity is being re-drawn. Can anybody please suggest some alternatives, or solutions to avoid this problem. Here is the stack trace. java.lang.StackOverflowError at android.text.**SpannableStringBuilder.**drawText (SpannableStringBuilder.java:**1042) at android.graphics.Canvas.**drawText(Canvas.java:1273) at android.text.Styled.each(**Styled.java:119) at android.text.Styled.foreach(**Styled.java:249) at android.text.Styled.drawText(**Styled.java:302) at android.text.Layout.drawText(**Layout.java:1346) at android.text.Layout.draw(**Layout.java:339) at android.widget.TextView.**onDraw(TextView.java:3921) at android.view.View.draw(View.**java:5838) at android.view.ViewGroup.**drawChild(ViewGroup.java:1486) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.widget.AbsListView.**dispatchDraw(AbsListView.java:**1319) at android.widget.ListView.**dispatchDraw(ListView.java:**2820) at android.view.View.draw(View.**java:5944) at android.widget.AbsListView.**draw(AbsListView.java:2121) at android.view.ViewGroup.**drawChild(ViewGroup.java:1486) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.View.draw(View.**java:5841) at android.widget.FrameLayout.**draw(FrameLayout.java:352) at android.view.ViewGroup.**drawChild(ViewGroup.java:1486) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.View.draw(View.**java:5841) at android.widget.FrameLayout.**draw(FrameLayout.java:352) at android.view.ViewGroup.**drawChild(ViewGroup.java:1486) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.ViewGroup.**drawChild(ViewGroup.java:1484) at android.view.ViewGroup.**dispatchDraw(ViewGroup.java:**1228) at android.view.View.draw(View.**java:5841) at android.widget.FrameLayout.**draw(FrameLayout.java:352) at com.android.internal.policy.**impl.PhoneWindow$DecorView.**draw (PhoneWindow.java:1847) at android.view.ViewRoot.draw(**ViewRoot.java:1217) at android.view.ViewRoot.**performTraversals(ViewRoot.**java:1030) at android.view.ViewRoot.**handleMessage(ViewRoot.java:**1482) at android.os.Handler.**dispatchMessage
[android-developers] Re: ERROR/AndroidRuntime(921): java.lang.StackOverflowError (if you have multiple activities)
Hey nika, have you solved this (java.lang.StackOverflowError) problem ? if yes, then please help me b'cos i'm facing the same problem, and i am trying to resolve it since last 2 to 3 days but i didn't get any success. so please if you have any solution reply me as soon as possible. Thank you. On Wednesday, 3 August 2011 20:27:13 UTC+5:30, nika...@ya.ru wrote: Ok, thank you for your full answer. But there is no information about infinite recursive loop -- 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
Re: [android-developers] StackOverflow Exception while using TabActivity
Hello, Romain Guy i am facing a same issue java.lang.StackOverflowError, i didn't understand what can i do ? i am newbie in Android so please help, i am working on this issues last 1 to 2 days, but i didn't get success. please go through this link, https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/Multiple$20SubActivity$20:$20facing$20StackOverflowError,$20please$20help/android-developers/nDWpyVOo3nQ/xbD5CZuEtGsJ please help me. Thank you. On Tuesday, 21 July 2009 21:13:02 UTC+5:30, Romain Guy wrote: You have way too many nested viewsgroups/layout. Remove some of them :) On Mon, Jul 20, 2009 at 10:04 PM, Dexter#39;s Braincooma...@gmail.com javascript: wrote: Hi, I have a TabActivity, there are 4 tabs. In each tab I have put a single Activity. One of the activities contains a Custom List View which uses a CustomAdapter which extends the BaseAdapter. I get this excpetion, when I try to open the tab containing this activity. It seems to be thrown at a point when probably the TabActivity is being re-drawn. Can anybody please suggest some alternatives, or solutions to avoid this problem. Here is the stack trace. java.lang.StackOverflowError at android.text.SpannableStringBuilder.drawText (SpannableStringBuilder.java:1042) at android.graphics.Canvas.drawText(Canvas.java:1273) at android.text.Styled.each(Styled.java:119) at android.text.Styled.foreach(Styled.java:249) at android.text.Styled.drawText(Styled.java:302) at android.text.Layout.drawText(Layout.java:1346) at android.text.Layout.draw(Layout.java:339) at android.widget.TextView.onDraw(TextView.java:3921) at android.view.View.draw(View.java:5838) at android.view.ViewGroup.drawChild(ViewGroup.java:1486) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.widget.AbsListView.dispatchDraw(AbsListView.java:1319) at android.widget.ListView.dispatchDraw(ListView.java:2820) at android.view.View.draw(View.java:5944) at android.widget.AbsListView.draw(AbsListView.java:2121) at android.view.ViewGroup.drawChild(ViewGroup.java:1486) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.View.draw(View.java:5841) at android.widget.FrameLayout.draw(FrameLayout.java:352) at android.view.ViewGroup.drawChild(ViewGroup.java:1486) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.View.draw(View.java:5841) at android.widget.FrameLayout.draw(FrameLayout.java:352) at android.view.ViewGroup.drawChild(ViewGroup.java:1486) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.ViewGroup.drawChild(ViewGroup.java:1484) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228) at android.view.View.draw(View.java:5841) at android.widget.FrameLayout.draw(FrameLayout.java:352) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw (PhoneWindow.java:1847) at android.view.ViewRoot.draw(ViewRoot.java:1217) at android.view.ViewRoot.performTraversals(ViewRoot.java:1030) at android.view.ViewRoot.handleMessage(ViewRoot.java:1482) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3948) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) at dalvik.system.NativeStart.main(Native Method) Thanks, Dexter -- Romain Guy Android framework engineer roma...@android.com javascript: Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this
[android-developers] Multiple SubActivity : facing StackOverflowError, please help
hi, i am facing a problem of *StackOverflowError*, when i use tabhost with multiple subactivity over a single tab, i tried lots of googling but every one say that : try to occupy less layout, but i have use only 2 to 3 layout maximum in each activity.(that are necessary for me) please guys help me what can i do ??? i am working on this problem last 1 to 2 days but i didn't find any proper solution please help me. *Logcat entry* : for more detail. 09-25 19:37:31.395: E/AndroidRuntime(1249): FATAL EXCEPTION: main 09-25 19:37:31.395: E/AndroidRuntime(1249): java.lang.StackOverflowError 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.TextLine.measureRun(TextLine.java:416) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.TextLine.measure(TextLine.java:295) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.TextLine.metrics(TextLine.java:269) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.Layout.getLineExtent(Layout.java:942) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.Layout.draw(Layout.java:405) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.text.BoringLayout.draw(BoringLayout.java:400) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.widget.TextView.onDraw(TextView.java:5038) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.View.draw(View.java:10978) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2887) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.View.draw(View.java:10981) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2887) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.View.draw(View.java:10981) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2887) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489) 09-25 19:37:31.395: E/AndroidRuntime(1249): at android.view.ViewGroup.drawChild(ViewGroup.java:2885) 09-25 19:37:31.395:
[android-developers] converting Text to PDF in android
hello friends , I need ur helphow to convert text into PDF file in android...i already used iTEXT jar but not working. It show error in initiating Document class please help me -- 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] text to pdf in android
hello friends, i want to know how to convert text into pdf file in android while saving the document..pls any one give ur idea with regards, vadivel -- raja..palamedumadurai -- 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] this Custom tab widget is possible ?
hi, i want to create a custom tab widget, here i attached one photo of custom widget. i want to know is it possible, specially middle tab widget. if it is possible than plz give me any link/sample code/idea. thank you. -- 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=enattachment: custom tab widget.png
[android-developers] how to know LAC(Local Area Code) using Cell ID and Mobile Number
HI, I have 2 input : 1. Mobile Cell ID 2. Mobile Number now i want to find Mobile's current LAC (Local Area Code). is it possible...??? is there a sufficient detail to know LAC ? if not, than tell me which detail i have to use for finding an LAC of the current location. thank you. -- 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: how to know LAC(Local Area Code) using Cell ID and Mobile Number
first of all thank you for replay, but my question is i want to get current location of my friend's mobile without notify him/her. for example, i create one app, which accept *Cell ID Mobile Number of my friend, *after accepting this value i am able to get the current location (accuracy is not needed, i just want area name/code) of my friend without notify him. On Monday, 17 September 2012 15:18:05 UTC+5:30, Rajan wrote: HI, I have 2 input : 1. Mobile Cell ID 2. Mobile Number now i want to find Mobile's current LAC (Local Area Code). is it possible...??? is there a sufficient detail to know LAC ? if not, than tell me which detail i have to use for finding an LAC of the current location. thank you. -- 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] in-app billing is possible through Paypal A/c.
hi all, i want to use *in-app billing* as a paid service, but for that i don't want to use Google PLAY (App market) or i don't want to go through Google PLAY. it must be done through the user's Paypal account. is it possible (Programmatically) ?? if YES than please provide me any link or any sample example. i really want to know this things. Guys please help me. -- 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] StackOverFlowError when using multiple SubActivity
i want to start multiple sub activity with-in a single tabwidget. i also tried out some code, but it not works properly. problem : when i switched from MainActivity -- A -- A1 -- A2 and again A2 -- A1 -- A ( i performed this activity switching operation around 2 to 3 times after that it gives me an error *like* *:* *StackOverFlowError * ) how can i resolve it..., Guys please help me... *: this is my logcat entry :* * * 09-13 16:29:21.391: E/AndroidRuntime(786): FATAL EXCEPTION: main 09-13 16:29:21.391: E/AndroidRuntime(786): java.lang.StackOverflowError 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6846) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.view.View.draw(View.java:6743) 09-13 16:29:21.391: E/AndroidRuntime(786): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-13 16:29:21.391: E/AndroidRuntime(786): at
[android-developers] Problem in Android SubActivity : Facing - StackOverflowError
hi, I am trying to use multiple activity into a single TabWidget, but when i moved from activity : 1 -- 2 -- 3 and again 3 -- 2 --1 (after performing this scenario two to three times) i got the error like *StackOverflowError*, please help me what can i do?? i didn't understand how can i resolve it. here i put my logcat entry. 09-11 20:10:32.066: E/AndroidRuntime(1020): FATAL EXCEPTION: main 09-11 20:10:32.066: E/AndroidRuntime(1020): java.lang.StackOverflowError 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.text.BoringLayout.draw(BoringLayout.java:365) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.TextView.onDraw(TextView.java:4050) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6740) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1640) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.drawChild(ViewGroup.java:1638) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1367) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.view.View.draw(View.java:6743) 09-11 20:10:32.066: E/AndroidRuntime(1020): at android.widget.FrameLayout.draw(FrameLayout.java:352) 09-11
[android-developers] creating view programatically
hi friends any one help me my task is creating textview , edittext , buttons and linearlayout programly(only by java code) in android. creating every component as seperate class at last merge with linearlayout. .. i expect reply from u as much as fast.Advance thanks frds.. -- 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] doubt on customview
hi friends help me i just want to create TextView , Button and Edittext using java code and also extends the Linear layout in the class how to do? advance thanks to u -- 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] stuck in custom control
i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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=enattachment: customized control.png
Re: [android-developers] stuck in custom control
Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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 -- . -- 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
Re: [android-developers] stuck in custom control
but how can i get two slider in one seekbar ?? is it possible in seek bar? On Fri, Aug 31, 2012 at 12:19 PM, Parthi K parthisof...@gmail.com wrote: Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.thak...@gmail.com wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- 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 -- . -- 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 -- 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 -- . -- 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
Re: [android-developers] stuck in custom control
thanks parthi, now i got the solution from this site : http://www.quicknews4you.com/2011/05/08/android-seek-bar-with-two-thumb/ On Friday, 31 August 2012 12:46:47 UTC+5:30, parthi wrote: Hi dude otherwise use Do you know canvas draw pragmatically is it possible .. On Fri, Aug 31, 2012 at 12:30 PM, Rajan Thakrar r.d.t...@gmail.comjavascript: wrote: but how can i get two slider in one seekbar ?? is it possible in seek bar? On Fri, Aug 31, 2012 at 12:19 PM, Parthi K parthi...@gmail.comjavascript: wrote: Hi according to your requirements use seekbargive thread condition ...it will load like this On Fri, Aug 31, 2012 at 12:14 PM, Rajan Thakrar r.d.t...@gmail.comjavascript: wrote: Any other alternative idea is also acceptable. i want range specified by user. It is not necessary to use only only this customized control, you can also able to use other control to get the range. On Fri, Aug 31, 2012 at 12:01 PM, Rajan r.d.t...@gmail.comjavascript: wrote: i want to develop one customized control. here i attached .png file that can explain what i want. i didn't have any idea, how to achieve this. so please see this picture and give me your suggestion or any idea. thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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
Re: [android-developers] stuck in custom control
Yes you can use it try this : EditText editText; editText = (EditText)findViewById(R.id.editText); editText.addTextChangedListener(this); so you get @Override public void afterTextChanged(Editable s) { } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } On Friday, 31 August 2012 13:21:42 UTC+5:30, sravanthi dadu wrote: hey... is there any way to give a condition using the softkeyboard that when we enter in edittext .. please help me.. Thanks Sravanthi On Friday, 31 August 2012 13:25:40 UTC+5:30, sravanthi dadu wrote: hey any one please help me regarding this... how to display toast message when we enter keyevent.Keycode_0 through softkeyboard into the edittext.. Thanks, Sravanthi. -- 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] Android Source code Development
Hello, Please Provide the new Updates of source code in Android Mobile Development. -- 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] Getting Error : StackOverflowError, ActivityGroup Problem
hi, i am getting error java.lang.stackoverflow Question --- Activity A (Contains 2 Tab - select second one) -- Activity B (contain one button - when i clicked on button) -- Activity C ((contain one button - when i clicked on button @ that time i want to go back to the Activity B) the above flow is work fine. but, Problem --- Activity A (Contains 2 Tab - select second one) -- Activity B (contain one button - when i clicked on button) -- Activity C ((contain one button - when i clicked on button @ that time i want to go back to the Activity B) Now again i want to go for Activity C after pressing a button which is available in activity B @ that time i am getting Error java.lang.StackOverflowError how can i resolve it ? here i am putting my code - == public class A extends TabActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.adspace_tab_controller); final TabHost tabhost=getTabHost(); tabhost.addTab(tabhost.newTabSpec(tab1).setIndicator(tab1).setContent(new Intent(this, B1.class))); tabhost.addTab(tabhost.newTabSpec(tab2).setIndicator(tab2).setContent(new Intent(this, B2.class))); } } == public class B1 extends ActivityGroup implements OnClickListener { private ImageView iv=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.proposal_list); iv=(ImageView)findViewById(R.id.iv); proposalSearch.setOnClickListener(this); } public void onClick(View v) { if(v==iv) { Intent intent = new Intent(v.getContext(), C.class); replaceContentView(C, intent); } } public void replaceContentView(String id, Intent newIntent) { View view = getLocalActivityManager().startActivity(id,newIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)) .getDecorView(); this.setContentView(view); } } == public class C extends ActivityGroup implements OnClickListener { private Button goback; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.proposal_search); goback =(Button)findViewById(R.id. goback ); goback .setOnClickListener(this); } public void onClick(View v) { if(v== goback ) { Intent intent = new Intent(v.getContext(), B1.class); replaceContentView(B1, intent); } } public void replaceContentView(String id, Intent newIntent) { View view = getLocalActivityManager().startActivity(id,newIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)) .getDecorView(); this.setContentView(view); } } == please help me i didn't understand what can i do. thank you. -- 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
Re: [android-developers] How to get every time new/refreshed Current Location
Just go through this URL http://developer.android.com/training/index.html On Thu, Aug 23, 2012 at 11:45 PM, siddharth sharma siddharth.ind...@gmail.com wrote: friends i am new here, and please help me, i just want to know which tool's and programming is essential for developing and android app/ On Thu, Aug 23, 2012 at 11:38 PM, TreKing treking...@gmail.com wrote: On Thu, Aug 23, 2012 at 2:03 AM, Rajan Thakrar r.d.thak...@gmail.comwrote: can you please provide some code snippet, so i can understand. There is a section in the documentation on finding the user's location. Read it, learn it, love it. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- 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 -- . -- 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
Re: [android-developers] How to get every time new/refreshed Current Location
can you please provide some code snippet, so i can understand. B'cos without using Location location = locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); this line of code how can i get the latitude and longitude ? (Note : I don't want to use getLastKnownLocation() method) Thank you. On Wed, Aug 22, 2012 at 7:52 PM, TreKing treking...@gmail.com wrote: On Wed, Aug 22, 2012 at 2:17 AM, Rajan r.d.thak...@gmail.com wrote: i want accurate refreshed location detail every time (means, @ App start time, @ App resume time, @ restart time etc.) how it is possible? Use the GPS provider and wait patiently for it to find the user's location, handling the cases when it takes a long time or fails completely. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- . -- 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
Re: [android-developers] How to get every time new/refreshed Current Location
first of all you have to find latitude and longitude for both the cities: -- Example : -- City1 latitude : 24.2525697 longitude : 89.9240492 City2 latitude : 24.6081436 longitude : 90.0250385 ok , then according to math formula you can able to find distance between two cities. For Math formula Plz refer this url : http://www.movable-type.co.uk/scripts/latlong.html And ya you can also find latitude longitude for any particular city through Google query string. On Thu, Aug 23, 2012 at 4:15 PM, sree android android.sreeni...@gmail.comwrote: hai friends how can find distance between tow cities in my app,help me plz -- 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 -- . -- 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] Problem : Always getting previous LastKnownLocation
Hey guys i am trying to get the user's current location through GPS but i always get the previous LastKnownLocation. I am trying this since last 4 to 5 hours but i didn't find the refereched current location. can anybody plz tell me how can i remove a listener of the lastknownlocation. i had also try this code : locationManager.removeUpdates(locationListener); but i didn't get success. === this is my code : === Location location=null; double lat1,lng1; LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); LocationListener mlocListener = new MyLocationListener(); mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mlocListener); location = mlocManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); mlocManager.removeUpdates(mlocListener); Toast.makeText(this, previous update is removed, Toast.LENGTH_LONG).show(); mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mlocListener); location = mlocManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); try { lat1=location.getLatitude(); lng1=location.getLongitude(); Toast.makeText(this, lat : +lat1+, lng : +lng1, Toast.LENGTH_LONG).show(); } catch(Exception e) { e.printStackTrace(); Toast.makeText(getApplicationContext(), Your current location is temporarily unavailable - Try Again!, Toast.LENGTH_LONG).show(); } === public class MyLocationListener implements LocationListener { @Override public void onLocationChanged(Location loc) { } @Override public void onProviderDisabled(String provider) { } @Override public void onProviderEnabled(String provider) { } @Override public void onStatusChanged(String provider, int status, Bundle extras) { } } === Please help me what can i do? i didn't understand... -- 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] How to get every time new/refreshed Current Location
Hi, i want to find the user's current location through GPS only. but, my problem is : i don't want to use getLastKnownLocation() method. b'cos some times when i am not able to get the current location at that time it will gives me a previous location detail, that is not acceptable for my app. that is why, i want accurate refreshed location detail every time (means, @ App start time, @ App resume time, @ restart time etc.) how it is possible? -- 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: related to Socket Connection (Bluetooth)
hope this will help you... http://manojprasaddevelopers.blogspot.in/2012/02/bluetooth-data-transfer-example.html www.cs.umd.edu/class/fall2010/CMSC498G/.../*Bluetooth*.pptx (For Concepts) On Wednesday, 22 August 2012 12:38:16 UTC+5:30, surabhi jain wrote: hi all I want to learn socket connection(Bluetooth) in android. so if you have any document or link please send me. Thanks Surabhi Jain -- 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
Re: [android-developers] Re: Problem in larger xml parsing with SOAP web service
Ohh! I am so sorry krishana, i have tried your code and it is working perfectly, but now i got the output that is neither XML nor JSON (output is available in Dataset). so what can i do ? How can i parse the response data. On Fri, Aug 17, 2012 at 11:14 AM, Rajan Thakrar r.d.thak...@gmail.comwrote: hi Krishna, so i am going on wrong track, is it so ?? B'cos i am also trying this code with small xml response at that time it will be worked fine, but when i get that the larger xml at that time i am facing the problem. And yes i have already tried out your code before creating this post, but i didn't get the success that is why i am using this code. Thank you for reply. On Thu, Aug 16, 2012 at 10:30 PM, Krishna Mahadik krishna.maha...@gmail.com wrote: Hi Rajan, If your are looking for hitting .net web service from android application, you need to use an external jar file KSOAP2 at Android end. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login); final String NAMESPACE = http://tempuri.org/;; final String METHOD_NAME = Login; final String SOAP_ACTION = http://tempuri.org/Login;; final String URL = http://ipaddressofwebserver/Dashboard/Service.asmx;; Button login = (Button)this.findViewById(R.id.btnLogin); login.setOnClickListener(new View.OnClickListener() { public void onClick(View arg0) { String [] data = {}; String x = ; String username=null; String password=null; EditText id = (EditText)findViewById(R.id.txt_username); EditText passkey = (EditText)findViewById(R.id.txt_password); try { username=id.getText().toString(); password=passkey.getText().toString(); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet = true; request.addProperty(uname, username); request.addProperty(pass, password); envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); androidHttpTransport.call(SOAP_ACTION, envelope); SoapObject response = (SoapObject)envelope.getResponse(); //we get soap object as response... data = getarray(response); x = data[0].toString(); //u can convert object to string also, but i have passed array object in soap response if(data[0].toString().equalsIgnoreCase(true)) { Toast.makeText(Login.this, Login in successful,Toast.LENGTH_LONG).show(); } else { Toast.makeText(Login.this, data[1].toString(),Toast.LENGTH_LONG).show(); } } catch (Exception e) { Toast.makeText(Login.this,error,Toast.LENGTH_LONG).show(); } } }); } public static String[] getarray(SoapObject soap) { String[] categories = new String[soap.getPropertyCount()]; for (int i = 0; i categories.length; i++) { categories [i] = soap.getProperty(i).toString(); } return categories; } } On Thu, Aug 16, 2012 at 8:09 PM, JP joachim.pfeif...@gmail.com wrote: This looks to me like you're trying to skin existing code over the Android platform? In my experience, DOM (tree parsing in general) isn't so great in the mobile environment as you have to load the tree structure up front to get to that last piece of data that you actually might be interested in. In an ideal world, you would probably want to break this down and implement the web services and SOAP elements on a web server. Your mobile app then queries this web server through small interactions. Using stream parsing and perhaps JSON in place of XML. On Thursday, August 16, 2012 3:46:32 PM UTC+2, Rajan wrote: i am trying to fetch the record from the SOAP web service but due to larger xml size i didn't get the proper output, here i'm putting my code as well as logcat entry. -- 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 -- -- . \\\/// . /\ . | \\ // | . ( | (.) (.) |) --o00o--(_)--o00o- Yesterday is not ours to recover, but tomorrow is ours to win or to lose. ---ooo0--- . ( ) 0ooo .\ ( ( ) . \_) ) / .(_/ -- You
Re: [android-developers] Re: Problem in larger xml parsing with SOAP web service
I am getting this kind of response * - * anyType{NewDataSet=anyType{Table=anyType{AdSpaceID=423; AdspaceName=Hoarding at football, (Amul); Address=football,(Amul)-Ahmedabad; }; Table=anyType{AdSpaceID=424; AdspaceName=Hoarding at football, tow. Bhulabhai.(Amul); Address=football, tow. Bhulabhai.(Amul)-Ahmedabad; }; Table=anyType{AdSpaceID=425; AdspaceName=Hoarding at Bhulabhai 4 Road Junction; Address=Bhulabhai 4 Road Junction-Ahmedabad; }; Table=anyType{AdSpaceID=426; AdspaceName=Hoarding at Bhulabhai Park, Tow. S.T. Stand; Address=Bhulabhai Park, Tow. S.T. Stand-Ahmedabad; }; Table=anyType{AdSpaceID=427; AdspaceName=Hoarding at Bhulabhai Park,Tow. Maninagar Shah- Alam; Address=Bhulabhai Park,-Ahmedabad; }; Table=anyType{AdSpaceID=428; AdspaceName=Hoarding at Foot-ball Ground, Tow. Apsara Aradhana Cinema tow. Bhulabhai; Address=Foot-ball Ground, Tow. Apsara Aradhana Cinema tow. Bhulabhai-Ahmedabad; }; Table=anyType{AdSpaceID=429; AdspaceName=Hoarding at Khokhra circle.Shivam foot; Address=Khokhra circle,Shivam foot-Ahmedabad; }; Table=anyType{AdSpaceID=430; AdspaceName=Hoarding at Khokhra circle,Shivam foot; Address=Khokhra circle,Shivam foot-Ahmedabad; }; Table=anyType{AdSpaceID=431; AdspaceName=Hoarding at Khokhra circle; Address=Khokhra circle-Ahmedabad; }; Table=anyType{AdSpaceID=432; AdspaceName=Hoarding at Khokhra Bridge, Rly. Yard,; Address=Khokhra Bridge, Rly. Yard,-Ahmedabad; }; Table=anyType{AdSpaceID=433; AdspaceName=Hoarding at Rly. Yard,; Address=Khokhra Bridge, Rly. Yard,-Ahmedabad; }; Table=anyType{AdSpaceID=434; AdspaceName=Hoarding at O/B Tow.Sraspur; Address=O/B Tow.Sraspur-Ahmedabad; }; Table=anyType{AdSpaceID=435; AdspaceName=Hoarding at Nr. Six road junction,near kalupur darwaja; Address=Nr. Six road junction,near kalupur darwaja-Ahmedabad; }; Table=anyType{AdSpaceID=436; AdspaceName=Hoarding at kalupur circle,; Address=kalupur circle,-Ahmedabad; }; Table=anyType{AdSpaceID=437; AdspaceName=Hoarding at near prem darwaja; Address=near prem darwaja-Ahmedabad; }; Table=anyType{AdSpaceID=438; AdspaceName=Hoarding at law garden circle; Address=law garden circle-Ahmedabad; }; Table=anyType{AdSpaceID=439; AdspaceName=Hoarding at law garden circle; Address=law garden circle-Ahmedabad; }; Table=anyType{AdSpaceID=440; AdspaceName=Hoarding at ritz hotel; Address=opp ritz hotel-Ahmedabad; }; Table=anyType{AdSpaceID=441; AdspaceName=Hoarding at Jawahar chowk; Address=Jawahar chowk-Ahmedabad; }; Table=anyType{AdSpaceID=442; AdspaceName=Hoarding at Jawahar chowk; Address=Jawahar chowk-Ahmedabad; }; Table=anyType{AdSpaceID=443; AdspaceName=Hoarding at Nr. Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=444; AdspaceName=Hoarding at Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=445; AdspaceName=Hoarding at Rambaug; Address=Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=446; AdspaceName=Hoarding at Nr. Rambaug; Address=Nr. Rambaug-Ahmedabad; }; Table=anyType{AdSpaceID=447; AdspaceName=Hoarding at Nr. Bhulabhai Park,Above Chaitanya Medical Stores; Address=Nr. Bhulabhai Park,Above Chaitanya Medical Stores-Ahmedabad; }; Table=anyType{AdSpaceID=448; AdspaceName=Hoarding at Railway colony; Address=Railway colony-Ahmedabad; }; Table=anyType{AdSpaceID=449; AdspaceName=Hoarding at gautam nagar; Address=gautam nagar-Ahmedabad; }; Table=anyType{AdSpaceID=450; AdspaceName=Hoarding at gautam nagar; Address=gautam nagar-Ahmedabad; }; Table=anyType{AdSpaceID=451; AdspaceName=Hoarding at pushp kunj; Address=pushp kunj-Ahmedabad; }; Table=anyType{AdSpaceID=452; AdspaceName=Hoarding at Maninagar o/b; Address=Maninagar o/b-Ahmedabad; }; Table=anyType{AdSpaceID=453; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=454; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=455; AdspaceName=Hoarding at gor no kuva; Address=gor no kuva-Ahmedabad; }; Table=anyType{AdSpaceID=456; AdspaceName=Hoarding at 4 road jnc.; Address=4 road jnc.-Ahmedabad; }; * - * * * *so how can i parse it...* *===* * * On Fri, Aug 17, 2012 at 12:42 PM, Rajan Thakrar r.d.thak...@gmail.comwrote: Ohh! I am so sorry krishana, i have tried your code and it is working perfectly, but now i got the output that is neither XML nor JSON (output is available in Dataset). so what can i do ? How can i parse the response data. On Fri, Aug 17, 2012 at 11:14 AM, Rajan Thakrar r.d.thak...@gmail.comwrote: hi Krishna, so i am going on wrong track, is it so ?? B'cos i am also trying this code with small xml response at that time it will be worked fine, but when i get that the larger xml at that time i am facing
[android-developers] Problem in larger xml parsing with SOAP web service
i am trying to fetch the record from the SOAP web service but due to larger xml size i didn't get the proper output, here i'm putting my code as well as logcat entry. ** *CODE (SoapHTTPPostActivity.java)* ** public class SoapHTTPPostActivity extends Activity { private XMLGettersSetters data; //private XML_DOM_Parser xml_dom_parser=null; private ListView list=null; private TextView selection=null; private ArrayListArrayListString masterData=new ArrayListArrayListString(); //private String URL = http://pro.bookadspace.com/WebServices/BAAccountService.asmx;; private ProgressDialog dialog=null; private String TAG=SOAP; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); list=(ListView)findViewById(R.id.list); selection=(TextView)findViewById(R.id.selection); FetchRecord fetchRecord=new FetchRecord(); fetchRecord.execute(); } public class FetchRecord extends AsyncTaskString, ArrayListArrayListString, ArrayListArrayListString { String xml = ?xml version=\1.0\ encoding=\utf-8\?+ soap:Envelope xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\; xmlns:xsd=\http://www.w3.org/2001/XMLSchema\; xmlns:soap=\http://schemas.xmlsoap.org/soap/envelope/\;+ soap:Body+ GetAllAdspacesByBusiness xmlns=\http://tempuri.org/\;+ businessID+55+/businessID+ /GetAllAdspacesByBusiness+ /soap:Body+ /soap:Envelope; @Override protected void onPreExecute() { super.onPreExecute(); //xml_dom_parser=new XML_DOM_Parser(); dialog = ProgressDialog.show(SoapHTTPPostActivity.this, Downloading, Loading. Please wait..., true); } @Override protected ArrayListArrayListString doInBackground(String... params) { String request = String.format(xml); HTTPOST httpost = new HTTPOST(); String xmlResult=httpost.getResponseByFile(http://pro.bookadspace.com/WebServices/BAAccountService.asmx,request); InputStream in=new ByteArrayInputStream(xmlResult.getBytes()); try { InputSource is=new InputSource(in); //- SAXParserFactory saxPF = SAXParserFactory.newInstance(); SAXParser saxP = saxPF.newSAXParser(); XMLReader xmlR = saxP.getXMLReader(); URL url = new URL(http://pro.bookadspace.com/WebServices/BAAccountService.asmx;); // URL of the XML XMLHandler myXMLHandler = new XMLHandler(); xmlR.setContentHandler(myXMLHandler); // Facing Exception xmlR.parse(is); // Exception } catch(Exception e) { Log.d(TAG,++ Catch : +e.toString()); } //data = new XMLGettersSetters(); //= return null; } @Override protected void onPostExecute(ArrayListArrayListString result) { //super.onPostExecute(result); dialog.dismiss(); for(int i=0;idata.getId().size();i++) { Log.d(SAX,+-+-+-+-+-+-- Id : +data.getId()); Log.d(SAX,+-+-+-+-+-+-- Name: +data.getAdName()); Log.d(SAX,+-+-+-+-+-+-- Address : +data.getAddress()); } Log.d(SOAP,**+-// Finish Successfully **+-//); //list.setAdapter(new ArrayAdapterString(getApplicationContext(), android.R.layout.simple_list_item_1,result.get(0))); } } } ** *CODE (HTTPPOST.java)* ** public class HTTPOST { public String getResponseByFile(String URL,String xml) { HttpPost httpPost = new HttpPost(URL); String response_string = null; try { StringEntity ent=new StringEntity(xml,UTF-8); httpPost.setHeader(Content-Type,text/xml;charset=UTF-8); httpPost.setEntity(ent); HttpClient client = new DefaultHttpClient(); HttpResponse response = client.execute(httpPost); response_string = EntityUtils.toString(response.getEntity()); //Log.d(SOAP,+ Response : +response_string); } catch (Exception e) { e.printStackTrace(); } return Html.fromHtml(response_string).toString(); } } ** *LogCat* ** D/dalvikvm(1260): GC_FOR_MALLOC freed 10803 objects / 490816 bytes in 63ms 08-16 19:13:38.885: D/SOAP(1260): ++ *Catch : org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0: syntax error* 08-16 19:13:38.885: D/AndroidRuntime(1260): Shutting down VM 08-16 19:13:38.885: W/dalvikvm(1260): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 08-16 19:13:38.895: E/AndroidRuntime(1260): FATAL EXCEPTION: main *08-16 19:13:38.895: E/AndroidRuntime(1260): java.lang.NullPointerException* * * *08-16 19:13:38.895: E/AndroidRuntime(1260): at com.simform.adspacesoapparsing.SoapHTTPPostActivity$FetchRecord.onPostExecute(SoapHTTPPostActivity.java:113) * * * *08-16 19:13:38.895:
Re: [android-developers] Re: Problem in larger xml parsing with SOAP web service
hi Krishna, so i am going on wrong track, is it so ?? B'cos i am also trying this code with small xml response at that time it will be worked fine, but when i get that the larger xml at that time i am facing the problem. And yes i have already tried out your code before creating this post, but i didn't get the success that is why i am using this code. Thank you for reply. On Thu, Aug 16, 2012 at 10:30 PM, Krishna Mahadik krishna.maha...@gmail.com wrote: Hi Rajan, If your are looking for hitting .net web service from android application, you need to use an external jar file KSOAP2 at Android end. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login); final String NAMESPACE = http://tempuri.org/;; final String METHOD_NAME = Login; final String SOAP_ACTION = http://tempuri.org/Login;; final String URL = http://ipaddressofwebserver/Dashboard/Service.asmx;; Button login = (Button)this.findViewById(R.id.btnLogin); login.setOnClickListener(new View.OnClickListener() { public void onClick(View arg0) { String [] data = {}; String x = ; String username=null; String password=null; EditText id = (EditText)findViewById(R.id.txt_username); EditText passkey = (EditText)findViewById(R.id.txt_password); try { username=id.getText().toString(); password=passkey.getText().toString(); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet = true; request.addProperty(uname, username); request.addProperty(pass, password); envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); androidHttpTransport.call(SOAP_ACTION, envelope); SoapObject response = (SoapObject)envelope.getResponse(); //we get soap object as response... data = getarray(response); x = data[0].toString(); //u can convert object to string also, but i have passed array object in soap response if(data[0].toString().equalsIgnoreCase(true)) { Toast.makeText(Login.this, Login in successful,Toast.LENGTH_LONG).show(); } else { Toast.makeText(Login.this, data[1].toString(),Toast.LENGTH_LONG).show(); } } catch (Exception e) { Toast.makeText(Login.this,error,Toast.LENGTH_LONG).show(); } } }); } public static String[] getarray(SoapObject soap) { String[] categories = new String[soap.getPropertyCount()]; for (int i = 0; i categories.length; i++) { categories [i] = soap.getProperty(i).toString(); } return categories; } } On Thu, Aug 16, 2012 at 8:09 PM, JP joachim.pfeif...@gmail.com wrote: This looks to me like you're trying to skin existing code over the Android platform? In my experience, DOM (tree parsing in general) isn't so great in the mobile environment as you have to load the tree structure up front to get to that last piece of data that you actually might be interested in. In an ideal world, you would probably want to break this down and implement the web services and SOAP elements on a web server. Your mobile app then queries this web server through small interactions. Using stream parsing and perhaps JSON in place of XML. On Thursday, August 16, 2012 3:46:32 PM UTC+2, Rajan wrote: i am trying to fetch the record from the SOAP web service but due to larger xml size i didn't get the proper output, here i'm putting my code as well as logcat entry. -- 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 -- -- . \\\/// . /\ . | \\ // | . ( | (.) (.) |) --o00o--(_)--o00o- Yesterday is not ours to recover, but tomorrow is ours to win or to lose. ---ooo0--- . ( ) 0ooo .\ ( ( ) . \_) ) / .(_/ -- 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
[android-developers] Re: problem in SOAP - asmx web service
Yeh finally i got the solution, this is my code -- public class HTTPOST { public String getResponseByXML(String URL, String request) { HttpPost httpPost = new HttpPost(URL); StringEntity entity; String response_string = null; try { entity = new StringEntity(request, HTTP.UTF_8); httpPost.setHeader(Content-Type,text/xml;charset=UTF-8); // httpPost.setHeader(Content-Type,application/soap+xml;charset=UTF-8); httpPost.setEntity(entity); HttpClient client = new DefaultHttpClient(); HttpResponse response = client.execute(httpPost); response_string = EntityUtils.toString(response.getEntity()); Log.d(request, response_string); } catch (Exception e) { e.printStackTrace(); } return response_string; } public String getResponseByFile(String URL,String xml) { HttpPost httpPost = new HttpPost(URL); FileEntity entity; String response_string = null; try { StringEntity ent=new StringEntity(xml,UTF-8); //entity = new FileEntity(new File(Environment.getExternalStorageDirectory()+File.separator+request.xml), UTF-8); httpPost.setHeader(Content-Type,text/xml;charset=UTF-8); //httpPost.setHeader(Content-Type,application/soap+xml;charset=UTF-8); //httpPost.setEntity(entity); httpPost.setEntity(ent); HttpClient client = new DefaultHttpClient(); HttpResponse response = client.execute(httpPost); response_string = EntityUtils.toString(response.getEntity()); Log.d(request, **---*** Response : +Html.fromHtml(response_string).toString()); } catch (Exception e) { e.printStackTrace(); } return response_string; } } -- public class SoapHTTPPostActivity extends Activity { private String URL = http://stage.simformsolutions.com:55109/WebServices/BAAccountService.asmx;; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); String xml = ?xml version=\1.0\ encoding=\utf-8\?+ soap:Envelope xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\; xmlns:xsd=\http://www.w3.org/2001/XMLSchema\; xmlns:soap=\http://schemas.xmlsoap.org/soap/envelope/\;+ soap:Body+ GetAllAdspacesByBusiness xmlns=\http://tempuri.org/\;+ businessID+3+/businessID+ /GetAllAdspacesByBusiness+ /soap:Body+ /soap:Envelope; String result=null; try { InputStream is = new ByteArrayInputStream(xml.getBytes()); result=convertStreamToString(is); //xml = convertStreamToString(getAssets().open(request.xml)); } catch (Exception e) { e.printStackTrace(); } String request = String.format(result); HTTPOST httpost = new HTTPOST(); httpost.getResponseByXML(URL, request); httpost.getResponseByFile(URL,xml); } public static String convertStreamToString(InputStream is) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(is)); StringBuilder sb = new StringBuilder(); String line = null; while ((line = reader.readLine()) != null) { sb.append(line+\n); } is.close(); return sb.toString(); } } END - On Wednesday, 1 August 2012 19:09:43 UTC+5:30, Rajan wrote: i am trying to get the response from the SOAP asmx web service but it didn't give proper response --- here i putting my logcat entry - 08-01 19:08:06.891: W/System.err(1994): org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT ? ? ' ?...@1:18 in java.io.InputStreamReader@44e9c180) 08-01 19:08:06.891: W/System.err(1994): at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.error(KXmlParser.java:269) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushEntity(KXmlParser.java:787) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushText(KXmlParser.java:855) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.next(KXmlParser.java:1385) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1415) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:127) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.Transport.parseResponse(Transport.java:100) 08-01 19:08:06.901: W/System.err(1994
[android-developers] Re: problem in SOAP - asmx web service
Hello RichardC, First of all thank you for the reply i didn't find out my solution so here i am putting my code as well as web service live url also. so can you please check it out and guide me where i'm wrong. -- import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.PropertyInfo; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; public class WebServiceDemo extends Activity { private TextView response; private static String SOAP_ACTION = http://tempuri.org/GetAllAdspacesByBusiness;; private static String NAMESPACE = http://tempuri.org/;; private static String METHOD_NAME = GetAllAdspacesByBusiness; private static String URL = http://pro.bookadspace.com/WebServices/BAAccountService.asmx?op=GetAllAdspacesByBusiness;; int masterID=98; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); response=(TextView)findViewById(R.id.response); try { String resp=callService(masterID); response.setText(resp); Log.d(Web Service,Response : + resp); } catch (Exception e) { response.setText(Exception : +e.toString()); e.printStackTrace(); } } public String callService(int masterID) throws Exception { SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); PropertyInfo info = new PropertyInfo(); info.setName(businessID); info.setValue(new Integer(masterID).toString()); request.addProperty(info); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet = true; envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); androidHttpTransport.setXmlVersionTag(?xml version=\1.0\ encoding=\utf-8\?); androidHttpTransport.call(SOAP_ACTION, envelope); SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyIn; return resultsRequestSOAP.getProperty(0).toString(); } } -- OUTPUT -- I am getting this kind of output, *** anyType{schema=anyType {element=anyType{complexType=anyType {choice=anyType{element=anyType {complexType=anyType{sequence=anyType {element=anyType{}; element=anyType{}; element=anyType{}; } ; }; }; }; }; }; }; diffgram=anyType{}; } *** But this is not a proper output, so what can i do ?? -- On Wednesday, 1 August 2012 19:12:53 UTC+5:30, RichardC wrote: Print the stream instead of trying to parse it, and look at it, I guess @1:18 is line 1 position 18. On Wednesday, August 1, 2012 2:39:43 PM UTC+1, Rajan wrote: i am trying to get the response from the SOAP asmx web service but it didn't give proper response --- here i putting my logcat entry - 08-01 19:08:06.891: W/System.err(1994): org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT ? ? ' ?...@1:18 in java.io.InputStreamReader@44e9c180) 08-01 19:08:06.891: W/System.err(1994): at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.error(KXmlParser.java:269) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushEntity(KXmlParser.java:787) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushText(KXmlParser.java:855) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.next(KXmlParser.java:1385) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1415) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:127) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.Transport.parseResponse
[android-developers] Re: problem in SOAP - asmx web service
i am follwing this tutorial http://translate.google.com.ua/translate?hl=uksl=rutl=enu=http://mobile-developer.ru/uncategorized/rabota-s-soap-web-servisami-v-android-prilozheniyax/ On Tuesday, 7 August 2012 15:38:25 UTC+5:30, Rajan wrote: Hello RichardC, First of all thank you for the reply i didn't find out my solution so here i am putting my code as well as web service live url also. so can you please check it out and guide me where i'm wrong. -- import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.PropertyInfo; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; public class WebServiceDemo extends Activity { private TextView response; private static String SOAP_ACTION = http://tempuri.org/GetAllAdspacesByBusiness;; private static String NAMESPACE = http://tempuri.org/;; private static String METHOD_NAME = GetAllAdspacesByBusiness; private static String URL = http://pro.bookadspace.com/WebServices/BAAccountService.asmx?op=GetAllAdspacesByBusiness ; int masterID=98; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); response=(TextView)findViewById(R.id.response); try { String resp=callService(masterID); response.setText(resp); Log.d(Web Service,Response : + resp); } catch (Exception e) { response.setText(Exception : +e.toString()); e.printStackTrace(); } } public String callService(int masterID) throws Exception { SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); PropertyInfo info = new PropertyInfo(); info.setName(businessID); info.setValue(new Integer(masterID).toString()); request.addProperty(info); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet = true; envelope.setOutputSoapObject(request); HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); androidHttpTransport.setXmlVersionTag(?xml version=\1.0\ encoding=\utf-8\?); androidHttpTransport.call(SOAP_ACTION, envelope); SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyIn; return resultsRequestSOAP.getProperty(0).toString(); } } -- OUTPUT -- I am getting this kind of output, *** anyType{schema=anyType {element=anyType{complexType=anyType {choice=anyType{element=anyType {complexType=anyType{sequence=anyType {element=anyType{}; element=anyType{}; element=anyType{}; } ; }; }; }; }; }; }; diffgram=anyType{}; } *** But this is not a proper output, so what can i do ?? -- On Wednesday, 1 August 2012 19:12:53 UTC+5:30, RichardC wrote: Print the stream instead of trying to parse it, and look at it, I guess @1:18 is line 1 position 18. On Wednesday, August 1, 2012 2:39:43 PM UTC+1, Rajan wrote: i am trying to get the response from the SOAP asmx web service but it didn't give proper response --- here i putting my logcat entry - 08-01 19:08:06.891: W/System.err(1994): org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT ? ? ' ?...@1:18 in java.io.InputStreamReader@44e9c180) 08-01 19:08:06.891: W/System.err(1994): at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.error(KXmlParser.java:269) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushEntity(KXmlParser.java:787) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushText(KXmlParser.java:855) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2
[android-developers] Re: Take photo and get detail according to the captured photo
On Monday, 30 July 2012 12:02:56 UTC+5:30, Rajan wrote: Concept : Take one photo of any place via your Android Phone (for example : Eiffel Tower) Now, when i clicked for capturing the picture at that time, that picture is searched on google and get back some detail about the captured picture. My Question is : 1. Is it possible? 2. If Yes, then which query i have to fire on google, so i get the detail about the captured image. What i know is: --- 1. How to take a photo. 2. How to upload a photo. 3. I also know about parsing -- 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] problem in SOAP - asmx web service
i am trying to get the response from the SOAP asmx web service but it didn't give proper response --- here i putting my logcat entry - 08-01 19:08:06.891: W/System.err(1994): org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT ? ? ' ?...@1:18 in java.io.InputStreamReader@44e9c180) 08-01 19:08:06.891: W/System.err(1994): at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.error(KXmlParser.java:269) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushEntity(KXmlParser.java:787) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushText(KXmlParser.java:855) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.next(KXmlParser.java:1385) 08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1415) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:127) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.Transport.parseResponse(Transport.java:100) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:214) 08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:96) 08-01 19:08:06.911: W/System.err(1994): at com.simform.soapparsing.MainActivity.onCreate(MainActivity.java:61) 08-01 19:08:06.911: W/System.err(1994): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) --- i also use google for finding this problem but it gives me a rply like : In your xml file there are some closing tag is missing. e.g item form 123 /item BUT my xml is ok and i also validate on W3C So, what can i do, i didn't understand help me Thank you. -- 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] Take photo and get detail according to the captured photo
Concept : Take one photo of any place via your Android Phone (for example : Eiffel Tower) Now, when i clicked for capturing the picture at that time, that picture is searched on google and get back some detail about the captured picture. My Question is : 1. Is it possible? 2. If Yes, then which query i have to fire on google, so i get the detail about the captured image. What i know is: --- 1. How to take a photo. 2. How to upload a photo. 3. I also know about parsing -- 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
Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude
Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- . -- 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
Fwd: [android-developers] Problem : Compass Direction with 1km far latitude longitude
thanks, thanks a lot lbendlin -- Forwarded message -- From: lbendlin l...@bendlin.us Date: Fri, Jul 13, 2012 at 10:45 PM Subject: Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude To: android-developers@googlegroups.com here's a pointer to get you thinking http://www.movable-type.co.uk/scripts/latlong.html On Friday, July 13, 2012 7:37:37 AM UTC-4, Rajan wrote: Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. --**--** --**--- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- . -- 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 -- . -- 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: Web Service
As far as my knowledge is concerned it is stable, i also use this and i didn't get any problem On Wednesday, 11 July 2012 14:42:39 UTC+5:30, rahul kaushik wrote: HI, I am calling java web service from my app 1. is AndroidHttpTransport stable or should i use some thing else RK -- 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: Dear all
// -- write in onCreate() Method -- ListView ls; ls=(ListView)findViewById(ls.id.YOUR_LISTVIEW_ID); ls.setOnItemClickListener(this); // @Override public void onItemClick(AdapterView? adapter, View v, int position, long viewId) { Intent i = new Intent(this,CLASSNAME.class); startActivity(i); } -- 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] get 1km lat. long. according to user's direction
i want to get the user direction, and when i press the Get Direction button at that time i want 1. user's direction 2. user's current location (latitude longitude) 3. 1km (latitude longitude) from the user's location but it must have to go, according to the direction (the user stand at whatever direction) so, my problem is the 3rd requirement, how can i find the specific lat. long. of 1km long according to user's direction path. -- 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] Android App Development in Scheme
I have been able to develop android apps using the Kawa - Scheme language framework. I have created a tutorial for people interested in the same. The tutorial has two examples. 1) A basic button event handler example. 2) A more intricate Text to Speech example. You can find the tutorial here. http://androidscheme.blogspot.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] Re: Android phones
Hope this helps. http://androinica.com/2010/08/05/nexus-one-is-the-new-android-developer-phone-available-for-sale-by-google/ On Oct 27, 9:25 am, kypriakos demet...@ece.neu.edu wrote: Do most of the Android developers on this list use their own phone for testing? Or there are ways to obtain Android phones that are unlocked and require no contract? Any advice on that? Thanks -- 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] Android Development in Scheme
For those interested in developing android apps in the Scheme language, I have posted a tutorial with two examples. It uses the same Kawa Scheme Language used by App Inventor behind the scenes. 1) A basic Button event handler. 2) A more intricate Text to Speech app. Here is the link. http://androidscheme.blogspot.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] Sports Actress
Sachin Tendulkar cracks 45th Test hundred - Top Stories - India in ... Asin| Actress Asin| Tamil Actress Asin Latest Pictures | Hot Asin ... More info : http://123maza.com/50/rashers/ -- 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] Movies
Iswarya rai - wallpapers, photos and iswarya rai videos, songs ... MORE info : http://123maza.com/50/rashers/ -- 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: Google wave invitations...?
Can I get one pls. On Oct 16, 5:16 pm, Auguste Lunang legraphi...@gmail.com wrote: Can i get one too ? Thx 2009/10/16 Jrperiod lbaile...@gmail.com I'll take one On Oct 15, 11:41 pm, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---