Android :: Google Spreadsheet API Update Edit With Protocol

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?

Android :: Google Spreadsheet API update edit with protocol


Android :: Google Account Application - Excel Spreadsheet

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

General :: Hyperlink On Google Spreadsheet Function On Android Tablet?

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

Protocol For Google Talk On Android?

Nov 1, 2011

which protocol Google Talk on Android uses? I know that for the Talk application on Gmail uses the Jabber/XMPP protocol. I need to know what protocol (or if it's the same protocol) that's the protocol being used on port 5228.

The reason being, my organization will open the port to the Android sync and push services but only for that specific protocol (for security purposes obviously).

View 4 Replies View Related

Android :: Accessing Google Calendar Through Using Given Protocol

Jan 21, 2010

I need to insert,update,delete events in google calendar using android. I tried using the protocol given at http://code.google.com /apis/calendar/data/2.0/developers_guide_protoc but I was unable to go beyond authenticating the user. I was able to authenticate the user and I extracted the Auth code using:- temp1 = EntityUtils.toString (response. getEntity ()); if(response.getStatusLine().getStatusCode()==200) auth = temp1. substring (temp1. indexOf ("Auth=")+5).trim (); After this I tried inserting an event which did not work. I was getting status code 200 in response and I am not sure even if I did get a proper response, how can I extract the cookie s and gsessionid for my next request. I tried creating a calendar instead and I received the same status code 200. I used the following code:- String messageBody="<entry xmlns= 'http://www. w3.org /2005/Atom'"+ " xmlns: gd='http:// schemas. google.com /g/2005'"+ " xmlns:gCal=' http://schemas.google.com /gCal/2005'>"+" <title type='text'>ABC Project Schedule</title>"+ " <summary type='text'>This calendar Type as otherwise I would get a ClientProtocol Exception (content- length was causing the exception, didn't put content-type since it is already mentioned in the entity not sure where it should be defined). I am sorry that I don't understand the basics correctly.

View 3 Replies View Related

Android :: Want To Upload Spreadsheet From Android Application To Google Docs

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

Android :: Way To Have A Spreadsheet?

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

Motorola :: How To Edit Google Android Code

Oct 29, 2009

I am new to google android will anyone please tell me how to edit google android code to develop my own applications?

View 4 Replies View Related

Android :: Need Free Spreadsheet Applications

Dec 4, 2009

Are there any good spreadsheet applications that are free?

View 8 Replies View Related

Android :: Can Edit Contact Group Of Google Contacts On Handset

Feb 11, 2010

I have them filtered on the Handset so that only those marked as Friends or Family under Gmail contacts are shown. I can't help this as otherwise I'd have well over 1000 contacts to scroll through on my phone.

My issue is that should I add a contact on my phone it doesn't appear. This is obviously because when it's created it has no group membership. It still resolves against SMS etc but is not displayed in the Contacts list. I can (when near a computer) quickly jump onto gmail, manage contacts and put the person into the right group but ideally I'd like to be able to do this on the handset.

Is there any way at all of editing Google Contact Group membership on the handset? I certainly can't find the option if it exists. Alternatively is it possible to change it so when the contact is create on the handset that it automatically saves as a 'Friend'.

View 1 Replies View Related

HTC EVO 4G :: Cant Edit Calendar Events After 2.2 Update

Aug 17, 2010

I had a rooted 2.1, and just updated to a rooted 2.2 stock rom and now it seems I can create calendar events fine, but when I go to the event to try and edit it, it only says "Add reminder, Delete event, Share vCalendar, and Agenda" as the options.

View 4 Replies View Related

Motorola Droid :: Want To Edit An Update

Mar 2, 2010

Here is what I'm trying do accomplish. I want to use the newest Bugles beast Rom update.zip but i want to insert the Adamz kernal, wifi driver, and a framework-res file so it can all be installed in 1 update. reason for this is i have 3 friends that i have rooted phones for and would like to keep them updated with the most current rom but i want them to only have to install 1 file (they are not very tech savy). so anyways i tried simply dropping those files in there appropriate place and installing it but i get an error "(bad) installation aborted" so what do i need to create/edit an update.zip file. i read maybe i need to sign the update but i have no idea how to do that.

View 6 Replies View Related

General :: LG E400 - How To Edit Update Binary

Mar 13, 2013

I Want To Make Zips By Phone But Can't Find A Way To Update Binary....

View 1 Replies View Related

Android :: Table Layout Setup - Scrolling Like Spreadsheet

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

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 View Related

Android :: Create A SpreadSheet Kind Of Display In Droid?

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

HTC EVO 4G :: Evo Can Edit Google Docs Via Browser

Jun 7, 2010

I have successfully edited a spreadsheet in google docs. I thought it can't be done, but I was quite surprised that I was able to edit my xls files online with my Evo.I'm not sure if this was general knowledge. But I was quite happy to discover I can edit google docs via browser.

View 9 Replies View Related

Android :: Build Spreadsheet-like Grid / Would Need To Be Implemented At Framework Level?

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

How To Take Data From Edit Text And Times It Against A Spinner Value - Dynamic Update

Mar 11, 2012

I'm trying to make a simple order system. So the user selects a burger type from a spinner, then the user can enter in the quantity and then there is some math taking place in the background which sets a text view at the bottom with the total price. I'm not sure what method I'm meant to use so that it is updated dynamically when the user changes the text view quantity.

If i just say that all burgers are 2.50, i need some sort of method saying, if/when data is entered into the edit text , take that data and then times it by 2.50 and set it in the total text view below. I'm just unsure on the method part of it so it's dynamic and will change when the edit text quantity is altered.

Code:
package placeorder.com;
import java.util.Random;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
[code]...

View 2 Replies View Related

Android :: Edit Text - I Dont Want To Edit Before $ Symbol

Oct 26, 2010

In editText I set text as $ . I dont want to edit before $ symbol . i.e edit text doesnt want take any value before $ . ex: $adfdfd correctad$dsdff wrong .like this . how to restrict this one .

View 2 Replies View Related

Android :: Google Apps For Document Edit And Upload On Android

Aug 2, 2009

I'm rather surprised there's no Google Apps for the Android where I can edit documents and upload them? Does anyone know if there are plans to implement anything for this?

View 4 Replies View Related

Motorola Droid :: How To View An Attached Spreadsheet In An Email?

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

Android :: Which Is Best Protocol TCP Or UDP?

Nov 3, 2010

Im going to develop one android application which transfer music file, contact exchange, voice chat, text chat etc.through WiFi. Which protocol will suit my application UDP or TCP. Because both protocol having some merits and demerits. Can u give me some suggestion, it will helpful for me.

View 5 Replies View Related

Android :: SIP Protocol Stack

Oct 12, 2010

How can i implement SIP protocol in android.I want to make video conferencing application using SIP protocol.So is it feasible using SIP protocol and how to start.

View 1 Replies View Related

Sprint HTC Hero :: Excel Spreadsheet - Scrolled Up/down/left /right To All Edges And The Tabs Don't Appear

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

HTC EVO 4G :: Open CSV File As Spreadsheet On Phone / Associate Particular Types With Specific Apps?

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

Android :: Need MMSH Protocol Library

Apr 27, 2010

Do you know any way on how to play a stream using mmsh protocol? It seems android at default cannot play mmsh streams. Any idea or inputs on how to start?-- 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+unsubscribe @googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 2 Replies View Related

Android :: Custom Protocol Handler

Nov 11, 2009

i want to do the following thing - when a user navigates to a web page, I want to have a link in there that looks like this: <p><a href="myprotocol://blah=42">Click here for fun.</a></p> Then when the user clicks on that from the phone browser, I want it to launch my intent with that full url. In my AndroidManifest.xml file, I have the following info: <activity android:name="com.test.MyActivity" style="@style/ MyStyle"> <!-- custom protocol association --><intent-filter><action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category><category android:name="android.intent. category. BROWSABLE"> </category><data android:scheme="myprotocol"/></intent-filter></activity>When I try this, when I click on the link on the web page from the phone browser, it says -- Web page not available The Web page at myprotocol://blah=42 might be temporarily down or it may have moved permanently to a new web address.

View 20 Replies View Related

Android :: Protocol Buffers (protobuf)

Jul 21, 2009

When using Protocol Buffers with Android (running in the Windows VM) I'm noticing that the first time I instantiate a protocol buffer based class Android lags for some time. When I step through it looks like it's spending a lot of time dynamically loading the protocol buffer classes. Is there something I can do to speed up this process? I haven't tested yet on a physical device, so the delay might not be as bad but in the VM it takes about 30 - 45 seconds to load all the classes and get past that first message instantiation. What I did was downloaded the Protocol Buffers source code. Compiled the.java files. Stuffed them into a .jar. Added the .jar as an external library to my Eclipse project. Generated the .java classes from the .proto files. Added the generated .java files to my project. Ran my project. I'm not sure if I'm doing something wrong it terms of how to reference external libraries with an Android project, but 30-45 seconds seems like a very long time to wait on a 2.6GHz machine. Also, I recently learned that android uses Protocol Buffers internally. Will this cause any sort of conflicts with my included .jar that could be the problem? I *think* the namespace is different but I'm not entirely sure. Lastly. Why did Google use Protocol Buffers internally and not make it available to SDK developers. This makes me very sad knowing that it's all right there and I can't use it.

View 20 Replies View Related

Android :: ICAP Protocol Error

Jul 20, 2010

For some reason, my Desire won't access any internet pages this morning. When I select any of my favourites it tries hard, but then flicks to a page that says:ERROR The requested URL could not be retrieved.The following error was encountered while trying to retrieve the URL: www.bbc.co.uk ICAP Protocol error The system returned: [No error]This means that some aspect of the ICAP communication failed.Some possible problems are:The ICAP server is not reachable.An illegal response was received from the ICAP server.I've cleared the cache, cookies and history. I'm with Orange if that helps! I've checked a number of sites. I've tried going via favourites and typing URL directly into the address bar. I use the standard Android browser.

View 30 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved