[android-developers] Re: Sharing an email attachment

2011-02-23 Thread Jonathan Nalewajek
to get the MIME type. On Feb 22, 5:57 pm, Mark Murphy mmur...@commonsware.com wrote: Use getType() on the Intent used to start your activity to find out the MIME type of the document. On Tue, Feb 22, 2011 at 5:35 PM, Jonathan Nalewajek jonnalewa...@gmail.com wrote: I am having a few

[android-developers] Re: Sharing an email attachment

2011-02-23 Thread Jonathan Nalewajek
22, 2011 at 5:35 PM, Jonathan Nalewajek jonnalewa...@gmail.com wrote: I am having a few issues with sharing email attachments My activity has several intent filters that handle multiple MIME-types (pdf, doc, xls, etc.). If I get an email with a .pdf attachment, I can share

[android-developers] Re: Sharing an email attachment

2011-02-23 Thread Jonathan Nalewajek
permission com.android.email.permission.ACCESS_PROVIDER to package com.my.packagename (protectionLevel=3 flags=0x9e44) On Feb 23, 10:40 am, Jonathan Nalewajek jonnalewa...@gmail.com wrote: I just looked at an app in the market that requires the permission, Read email attachments. What permission

[android-developers] Re: Sharing an email attachment

2011-02-23 Thread Jonathan Nalewajek
: 23.02.2011 21:00, Jonathan Nalewajek ?: After I installed the app, I saw this in the log files... 02-23 12:33:41.348: WARN/PackageManager(1086): Not granting permission com.android.email.permission.ACCESS_PROVIDER to package com.my.packagename (protectionLevel=3 flags=0x9e44

[android-developers] Sharing an email attachment

2011-02-22 Thread Jonathan Nalewajek
I am having a few issues with sharing email attachments My activity has several intent filters that handle multiple MIME-types (pdf, doc, xls, etc.). If I get an email with a .pdf attachment, I can share it with my activity, but inside my activity, I am not sure how to get the MIME type of

[android-developers] Re: Signing in to Google for Google Document access

2010-02-08 Thread Jonathan Nalewajek
/AuthForInstalledApps.html. If you are targetting android 2.0 up only, you should use the built in AccountManager to get the token that you'd otherwise get from ClientLogin. I know because I just added that for my own app :) On Feb 6, 4:38 am, Jonathan Nalewajek jonnalewa...@gmail.com wrote: I am working on an app

[android-developers] Signing in to Google for Google Document access

2010-02-05 Thread Jonathan Nalewajek
I am working on an app where the user inputs some numbers, my app performs a few relevant calculations, and displays the result. However, I would like it if the user could somehow save this value to a Google Spreadsheet. My problem is, I have no idea how to authenticate with Google. I have been

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread Jonathan Nalewajek
/button_style   where button_style is defined in style.xml On Dec 30, 8:02 am, Jonathan Nalewajek jonnalewa...@gmail.com wrote: A little background info: I am a C++ developer who has worked very little with Java. Picking up Java wasn't very difficult since I know C+ +, but I am still playing

[android-developers] Can someone explain the correct way to use android:layout_toRightOf?

2009-12-30 Thread Jonathan Nalewajek
A little background info: I am a C++ developer who has worked very little with Java. Picking up Java wasn't very difficult since I know C+ +, but I am still playing around with the SDK. (In C++, my favorite SDK/API is Qt) Anyway, I am trying to stick to the Model-View-Controller design