Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A22B19912 for ; Wed, 16 Mar 2016 16:55:42 +0000 (UTC) Received: (qmail 56778 invoked by uid 500); 16 Mar 2016 16:55:37 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 56750 invoked by uid 500); 16 Mar 2016 16:55:37 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 56687 invoked by uid 99); 16 Mar 2016 16:55:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 16:55:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6F232C0316 for ; Wed, 16 Mar 2016 16:55:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nsL5rFFOsXlJ for ; Wed, 16 Mar 2016 16:55:35 +0000 (UTC) Received: from mail.metalexmfg.com (mail.metalexmfg.com [66.42.197.62]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 6F8385FB99 for ; Wed, 16 Mar 2016 16:55:34 +0000 (UTC) Received: from EXCHANGE3.exchange2.metalexmfg.com ([fe80::4d44:ea20:4125:b9f3]) by Exchange3.exchange2.metalexmfg.com ([fe80::4d44:ea20:4125:b9f3%13]) with mapi id 14.02.0342.003; Wed, 16 Mar 2016 12:55:27 -0400 From: "Murphy, Mark" To: 'POI Users List' Subject: RE: How to open word document in android studio Thread-Topic: How to open word document in android studio Thread-Index: AdF/ODJwCF16iVtjTt2RRK373+jSZwAamrJA Date: Wed, 16 Mar 2016 16:55:26 +0000 Message-ID: <4CBBBDD7FB566C4DB70EB7A04E0B466FC430B2@Exchange3.exchange2.metalexmfg.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [132.0.5.109] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 This all makes sense up until the point that you say: However this code is = working in eclipse...=20 What code is working in eclipse? The app you are trying to create? Code you= wrote (using the POI API) to retrieve the contents of a word doc and print= it to the console? Or are you talking about going into eclipse, finding th= e document, and opening it from the project tree like you would open a sour= ce file? If the latter, then it looks like Eclipse is actually using Word a= s an external editor to open the document, and rendering it in a window wit= hin the eclipse workspace. You are going to have to talk to the Android Stu= dio guys to see how Android Studio handles that, if indeed Android Studio i= s able to use Word as an external editor at all. I would be willing to bet = that this only works on Windows for Eclipse, though Eclipse may be able to = use some other editor like Open Office on Linux. So bottom line, what exactly are you looking for? Such as: I am doing _____= , or I am executing the following code: ______________, and _______________= _ happens, but I expect ______________ to happen. Be as specific as you can= . Include code or navigation paths. Then maybe someone here can help you. -----Original Message----- From: Pratibha Mache [mailto:Pratibha_Mache@symantec.com]=20 Sent: Tuesday, March 15, 2016 11:59 PM To: user@poi.apache.org Subject: How to open word document in android studio Thank you for your quick response! Yes i'm trying to create an app, which actually view the doc file contents. But,as below you said that Apache POI doesn't provide any library to view = the doc file. So,now I'm trying to only read the doc file content and print on console in= android studio version 1.5. I want this to work in android studio version 1.5, but whenever I'm trying = it is giving me an error which I am not able to understand. However this code is working in eclipse so maybe this problem is specific t= o android studio. I just want to know if this library is compatible with an= droid studio or only eclipse. If it is compatible with android studio then please tell me the steps for r= eading the doc file. Awaiting your response. Thanking you, Yours faithfully, Pratibha Mache --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org