Android :: Read OpenOffice Document Spreadsheet From Application?
Oct 1, 2010
I want to read a Open Office Document spreadsheet (.ods file) from my android application. I need to basically loop through the first two columns & store them in a SQLite database. I am able to do this by reading a regular text file stored in res/raw using the following code:
InputStream is = context.getResources().openRawResource(R.raw.my_text_file);
But no clue how to do the same for an .ods file. I searched through SOF & found a reference to jOpenDocument . But they talk about libraries that are not part of the android SDK & I don't know what to do with these.
View 2 Replies
Jan 1, 2010
i'm probably going to be getting a droid at the end of january (staying on verizon cause they're the only carrier with 3g in my area). Just got a couple questions i'd like to ask. 1. how integrated can your google account be on a droid? i'd like to at least be able to view my google docs, for example, and i'd actually be a little disappointed if i couldn't edit them from the phone aswell. 2. i know that you can view word files from the phone. can you view excel spreadsheets? also, is there an app i can download to edit office files too? 3. how will my work email play with my droid? i just got hired on and i haven't even visited my email so i don't know if its exchange or what. Again, i'm definately staying with verizon so my choices are just the droid and the droid eris for right now.
View 1 Replies
View Related
Jul 20, 2010
I'd like to allow my Android app to upload a spreadsheet document to Google Docs. Using a simple Uri request:
Uri uri = Uri.parse("http://docs.google.com/DocAction?action=updoc&hl=en");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
And this page appears as blank on a phone (must use code not compatible with phones).
I've looked into the Google Docs procedures for uploading from a Web Service. They require first authenticating the user and retrieving an AuthSub authorization to be used in a following POST request (including the AuthSub token) to actually upload the doc. This is easy from a Web Service that can guarantee a URL to return the AuthSub to, but how about on a mobile phone? Currently thinking that I'll use UrlConnection, use getHeader(String) to grab the AuthSub, then build the entire document dynamically like this:
POST /feeds/default/private/full HTTP/1.1
Host: docs.google.com
GData-Version: 3.0
Authorization: <your authorization header here>
Content-Length: 73612
Slug: test.xls
Content-Type: application/vnd.ms-excel
<?xml version='1.0' encoding='UTF-8'?>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="4" ss:ExpandedRowCount="4" x:FullColumns="1" x:FullRows="1">
<Row>
<Cell><Data ss:Type="String">IN</Data></Cell>
<Cell><Data ss:Type="String">OUT</Data></Cell>
<Cell><Data ss:Type="String">TIME</Data></Cell>
<Cell><Data ss:Type="String">SUBTOTAL</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="String">Value</Data></Cell>
<Cell><Data ss:Type="Number">123</Data></Cell>
<Cell><Data ss:Type="String">Example</Data></Cell>
<Cell><Data ss:Type="String">Example</Data></Cell>
</Row>
</Table>
</Worksheet>
View 1 Replies
View Related
Feb 6, 2010
there is an article in android document(Dev Guide/Publishing/Signing Your Applications/Signing Strategies)
"Application modularity - The Android system allows applications that are signed by the same certificate to run in the same process, if the applications so requests, so that the system treats them as a single application. In this way you can deploy your application in modules, and users can update each of the modules independently if needed."
in this article, what does "module" mean? is it an apk or something else? and if module is apk, how to install & update an apk by main apk without user operation?
View 2 Replies
View Related
Sep 20, 2010
I am developing an android application at the moment, and i'm facing a problem that i have no idea how to solve. My application communicates with a Tomcat Server, and i'm using ObjectOutputStream to send a Document object to my application from my servlet. There fore, i'm importing org.w3c.dom to my project. The problem i'm facing is, that I can't read the Document object with ObjectInputStream on my android device. I'm getting the following exception.
CODE:..................
I can send and recieve any object i want without any problem, but when I try to send an object refered to the com.w3c.dom package I get this exception.
View 1 Replies
View Related
Jun 28, 2010
I can't figure out how to attach a document in the Gmail app but it only gives me the option to attach photos from my gallery and not anything else, for example an excel spreadsheet or pdf on my sd card.
View 2 Replies
View Related
Feb 19, 2010
I am looking for a way to have a spreadsheet that is a time sheet. I need it for work and it needs to be able to export to PDF.
View 11 Replies
View Related
Dec 4, 2009
Are there any good spreadsheet applications that are free?
View 8 Replies
View Related
Apr 9, 2010
I implemented sqlitedatabase using content provider in one application. And created some tables and some data in that. By using another application how to read those database. I am doing in second application as a sql query by using Content uri what i used in application one. But it is throwing exception that read permissin is required. How to give those permissions is it in application1 or 2.
View 21 Replies
View Related
Aug 17, 2010
I've noticed lately that some app recommender programs seem to get data off the android market. I'm wondering how I could retrieve information, such as screen shots, description, developer, number of downloads, rating, etc...
I've done many searches and I haven't found any solutions. It would be nice to be able to use that info to be able to see a rating for an app inside an app chooser, for example. Or perhaps be able to track changes and rating over time and version history, etc...
Is there an API to access that information? Is there a way to parse the data from a website? Or is there a complicated hack involved?
View 2 Replies
View Related
Apr 16, 2009
I want create a new SMS Manager (replace Messaging application in android). On default, when have a new incomming sms, a notification will display and if click on it, this sms will be opened by "Messaging" application. How to set my application (SMS Manager) is default that will open when click on Notification new sms?
View 2 Replies
View Related
Nov 12, 2010
Haven't found a single app that could do it in Russian. There a very good russia tts engine by SVOX, but almost no andoid apps that would support tts.
View 1 Replies
View Related
Aug 30, 2010
I want to set up a table layout that scrolls like a spreadsheet. The top row of column headings should scroll horizontally but be pinned when scrolling vertically. The left-most column of row labels should scroll vertically but be pinned when scrolling horizontally. The number of rows and columns is not known in advance. Does anyone know of an example of this? Are there settings in TableLayout that can turn on this scroll behavior? Is there, perhaps, a more advanced widget than TableLayout that can produce this type of scrolling? Are there some tricks I can do with a ScrollView to get this behavior?
View 8 Replies
View Related
Jul 15, 2010
I'm trying to implement some basic functionality for Google Spreadsheets,using the protocol specification with requests.The reason i'm doing this because it is for Android, and gdata-java library doesn't really work and the alpha android one doesn't really cut it.I managed to implement authentication, and get for lists, and delete, but for editing updating a row i can't really wrap my mind around it.For example i want to change the contents of a cell here is the specification for the protocol From my understanding of it, i have to send some sort of atom or xml formatted request to the edit URL. I never sent such type of requests. I also found this, which gives a clue on how it should be done (also an unanswered question on a forum), but didn't really managed it.Here is my authentication function if you need it, so you don't implement it again, if you want to try and code it.
/*** Logs in to the Google service using the ClientLogin HttpRequest API and returns an authentication token */ private String getAuthToken() {HttpClient httpclient = new DefaultHttpClient();HttpPost httppost = new HttpPost(CLIENT_LOGIN_ADDRESS);
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("accountType", "GOOGLE"));
nameValuePairs.add(new BasicNameValuePair("Email", "username@gmail.com"));
nameValuePairs.add(new BasicNameValuePair("Passwd", "password"));
nameValuePairs.add(new BasicNameValuePair("service", "wise"));
nameValuePairs.add(new BasicNameValuePair("source", SERVICE_NAME));
try {httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));This currently gives a 400 Bad request.Also I'm trying to achieve this using Apache HttpClient. Does anyone have any idea on how this might be achieved implemented how what request i should send?
View 2 Replies
View Related
Aug 31, 2009
I am trying to display a SpreadSheet in the Android application with auot adjustable columns and each columns should surrounded by lines.I used the Table Layout the data are displayed in the Table format but i don't know how to surround each column with lines, auto adjustment.
View 2 Replies
View Related
May 3, 2010
I have an application that can read and write txt files to the phones sdcard. By using this code for reading files:
@Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); mFileNameOpen = files.get(position);
String st = null; mVector.clear();
notepad.mNewEmpty = false; try { File f = new File(Environment.getExternalStorageDirectory()+"/ notepad/"+mFileNameOpen); FileInputStream fileIS = new FileInputStream(f);
BufferedReader in = new BufferedReader(new InputStreamReader(fileIS));
do { st = in.readLine();
mVector.add(st);
}while(st!=null); in.close(); ...
} catch (FileNotFoundException e) { e.printStackTrace();
} catch (IOException e) e.printStackTrace();
and this to write them:
try { File root = Environment.getExternalStorageDirectory();
File fileCheck = new File(root, "/notepad/" + fileNameSave + saveExtension);
boolean exists = fileCheck.exists();
if (!exists) { if (root.canWrite()) { File textFile = new File(root, "/notepad/" + fileNameSave + saveExtension);
FileWriter textWriter = new FileWriter(textFile);
BufferedWriter out = new BufferedWriter(textWriter);
out.write(SAVEAS); out.close(); written = true;
} else { written = false; else { written = true; showMaybe = 1; showDialog(DIALOG_SAVE_EXISTS);
catch (IOException e) {Log.v(getString(R.string.app_name), e.getMessage());
This has been working fine on my Tattoo and all the emulators I've tried this on. But it does not seem to be working on moto droid. Is there something different to consider with moto droid? Or have I missed something in the manifest maybe?
View 11 Replies
View Related
Dec 6, 2009
Anyone know what providing an application access to "Phone calls: read phone state and identity" actually does?
View 5 Replies
View Related
Mar 3, 2009
Is it possible to build a spreadsheet-like grid? I would like to select single cells, or one row at a time,like a database viewer.
Or would it need to be implemented at the framework level?
I'm thinking of a UI equivalent of something like this AJAX control, which may be opened in the WebView: http://www.hisdigital.com/misc/flexigrid/.
View 2 Replies
View Related
Mar 25, 2013
Google spreadsheets allow hyperlinks to be placed within cells, such as explained here: How to Make a Hyperlink Work in Google Spreadsheets | eHow.com
This works fine with my pc, where clicking cell offers prompt to click to go to hyperlinked page.
When same document is viewed via my Nexus 7 tablet, I can see the kyperlink text in the cell, but it does not respond to single tap, or touching and holding etc.to activate the link.
I believe this is a commonly used feature and anticipate it's a feature that google should if anything be better at than excel to encourage the migration to cloud computing.
Upon googling for info, I can't find other's having problem and I did find a website with known issues with google spreadsheets ( only ahandful listed) but no mention of the above problem.
So, is there a non-obvious way to activate the link or is it a problem or known bug?
View 2 Replies
View Related
Sep 26, 2010
is it possible to extract (and read records) SQLite Database out of Android application/.apk file/...)? Because I have some important information in it, so I wanna be sure it's pretty secure (only application has access to it)?
View 9 Replies
View Related
Apr 29, 2010
I have two published apps that are pretty targeted to the user collecting their personal medical data (like Blood Pressure, etc.) and then, eventually sending it somewhere, if they choose.
I decided to put Read/Write permission on my ContentProvider, so if another app comes along that wants to the access that content, the user will be warned. The permission that is required is declared in my apps.
When the user installs my apps, they are also given a warning that the app requires that permission (even though it's the one that declares it), and it shows up in the Marketplace also.
The question is: Is it possible that the permission acceptance part of installing my app could be putting customers off? I don't know what other's acceptance rate is, but mine is around 50% of customers who download it have active installs.
View 5 Replies
View Related
Sep 26, 2010
I was curious how to read the available memory in the process manager screen. I don't know what the x+x in x also x in x means. I don't want to install an app that eats up memory to see how much memory is being used. I'm not trying to control how it uses memory but, I do like to see how much memory there is available after I install and run new apps and/or widgets so I can try and only use lighter apps when possible.
View 1 Replies
View Related
Dec 17, 2009
How do you view an attached spreadsheet in an email? I only have OpenOffice.org Calc to try and figure it out, but when I receive the email, it won't let me "click" on the attachment to recognize it/open it. I downloaded Documents to Go (menu doesn't llist any email program to open) and Spread Sheet Lite (can't "find" the file) but don't know how to find the email/open the attachment.
View 2 Replies
View Related
Oct 22, 2010
Just spent 20 minutes searching for this to no avail, so sorry if answered elsewhere. I am rooted. I need a good battery app that will also read my extended battery. Maybe one that has two profiles, and accurately reads both. I'd also prefer percentages in all numbers, not just 10s, but not a deal breaker. Anything out there? The descriptions on the apps themselves are not very in-depth and don't want to keep installing and taking off.
View 3 Replies
View Related
Mar 17, 2009
I'm developing an application to read signal strength of 3G, GSM, Wifi.
Is there any classes that provides us with the RSSI of 3G signal and GSM signal?
The WifiManager Class provides the RSSI for wifi, but I can't find any for 3G and GSM. If there is no classes provided, is it difficult to start from scratch?
View 9 Replies
View Related
Mar 20, 2010
I saw that amazon kindle has an app for iPhone. Anyone know if I can buy ebooks from Amazon that I can read on my phone? I have an eris.
View 24 Replies
View Related
Jun 5, 2010
Rooted my Droid for the first time earlier today, and installed the NexBeast using the handy-dandy Mod Manager. So far everything has been great, but I'm having problems installing non-Market Apps. I'm trying to install a Live Wallpaper from
http://androidforums.com/all-things-root-droid/63554-coheed-cambria-live-wallpaper.html
But I keep receiving an error. Here is a copy from the CMD console:
[Quote]
View 4 Replies
View Related
May 21, 2010
I send my plant inventory spreadsheet to my gmail account each morning. It has six tabs (pages) of info on it.
I can't find the tabs when I view it on my hero. I've scrolled up/down/left /right to all edges and the tabs don't appear.
View 3 Replies
View Related
Jun 23, 2010
This may be a stupid question, but how do I open a CSV (comma-separated values) file as a spreadsheet on my Evo? Quick Office can open an Excel file (.xls) but not CSV. ES File Explorer can open the file as text but not a spreadsheet.
Also, is there a way to associate particular file types with specific applications?
View 1 Replies
View Related
Nov 20, 2009
I need some mechanism so that an Android application can read a file which is provided by a different Android application. I know that it's possible if both applications have the same userid, but it's not feasible because it would require to sign both applications with the same key. The idea is that one application has a zip file which is uncompressed; the uncompressed files must be available to a different Android application. By default, it's not possible because that directory is not readable by the latter application. Is there any directory which can be readable/writable by both applications without hacks? Is there any other mechanism suggested by Android?
View 4 Replies
View Related