Re: [android-developers] Install failing with Android SDK Manager

2012-12-30 Thread Carlos A. M. dos Santos
On Sun, Dec 30, 2012 at 3:53 AM, Dev Guy devguy...@gmail.com wrote: Hello I am getting the following error after I run the Android SDK Manager: Installing Google APIs, Android API 17, revision 1 Installed Google APIs, Android API 17, revision 1 Updated ADB to support the USB devices declared

Re: [android-developers] Wrapping horizontal list view?

2012-11-27 Thread Carlos A. M. dos Santos
On Mon, Nov 26, 2012 at 1:48 PM, Gal Ben-Haim gbenh...@gmail.com wrote: I actually don't want to scroll horizontally at all. I want items to be places from left to right, and warp to the next row when there's not enough room for the next item. also, this should scroll vertically. Perhaps you

Re: [android-developers] Forum very slow

2012-11-07 Thread Carlos A. M. dos Santos
On Mon, Nov 5, 2012 at 5:49 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 5, 2012 at 2:11 PM, lbendlin l...@bendlin.us wrote: Love the russian text. You may not want to rely on Google Translate that much, unless you were aiming for chuckles. Well, the announcement tomorrow is

Re: [android-developers] How to avoid resource overriding in Android ?

2012-11-07 Thread Carlos A. M. dos Santos
On Wed, Nov 7, 2012 at 10:20 AM, Makrand makrandm...@gmail.com wrote: I am working on Android Project, to avoid duplication of files I am using library project, but I have observed that library project is following overriding concept, First it will check resources files in Main Project if its

Re: [android-developers] Open PDF file from assets

2012-11-01 Thread Carlos A. M. dos Santos
On Wed, Oct 31, 2012 at 3:09 AM, Jovish P android.f...@gmail.com wrote: When user clicks on a button i want to open the pdf file stored inside our application(ie which is inside Assets folder of our app). Open means , to view the pdf file using Intent. I don't have any problem in using third

Re: [android-developers] Open PDF file from assets

2012-10-30 Thread Carlos A. M. dos Santos
On Tue, Oct 30, 2012 at 8:01 AM, Jovish P android.f...@gmail.com wrote: In our application we are storing few pdf files inside asstes folder(1MB). Using Intent we want to open that pdf. Is it possible ? If yes, how to do that ? It's hard to help if you don't provide enough information about

Re: [android-developers] Rotação Ecrã

2012-10-30 Thread Carlos A. M. dos Santos
On Sun, Oct 28, 2012 at 11:51 AM, mendes128 nunomende...@gmail.com wrote: Hi I am trying to develope an app for android in school and i am new on this field and i whant to know two things: 1st how can i make my app rotate when i rotate the phone? Just rotate your phone. :-) If you want to

Re: [android-developers] Exibir os Tweets em uma das telas da minha aplicação.

2012-10-30 Thread Carlos A. M. dos Santos
2012/10/28 NSON gilberty...@gmail.com: Eu sou novo em desenvolvimento mobile mas estou conseguindo criar meu aplicativo. The accepted language in this discussion group is English. You will not get any help writing in Portuguese, Eu estou com dificuldade em mostrar os tweets de um determinado

Re: [android-developers] Re: Mysterious behavior of switch statement inside onActivityResult

2012-10-16 Thread Carlos A. M. dos Santos
On Mon, Nov 28, 2011 at 10:53 PM, Mark Murphy mmur...@commonsware.com wrote: Well, I can reproduce your behavior. It's not tied to onActivityResult() -- any switch statement has the effect: public class MyApp extends Activity { static final int RC_OTHER=0x7fff; @Override public

Re: [android-developers] Reliable way to detect application launch from home / desktop?

2012-08-22 Thread Carlos A. M. dos Santos
On Wed, Aug 22, 2012 at 8:33 AM, user123 ivanschu...@gmail.com wrote: I want to detect each time the user opens the app, by tap on home / desktop icon. There seem not to be a straight forward way to do it. Found a few workarounds but nothing seems to be really reliable. The invoking intent

Re: [android-developers] Re: Reliable way to detect application launch from home / desktop?

2012-08-22 Thread Carlos A. M. dos Santos
On Wed, Aug 22, 2012 at 9:04 AM, RichardC richard.crit...@googlemail.com wrote: I think you need to re-consider your definition of open. I use long-press-home 90% of the time to launch applications I use on a regular basis. This shortcut does not change the way the activity is invoked, either

Re: [android-developers] Re: Reliable way to detect application launch from home / desktop?

2012-08-22 Thread Carlos A. M. dos Santos
On Wed, Aug 22, 2012 at 9:23 AM, user123 ivanschu...@gmail.com wrote: I want to detect exactly when the user says, hey, let's open the app, and taps on the app's icon, not anything else. Is this hard to understand? @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Re: Reliable way to detect application launch from home / desktop?

2012-08-22 Thread Carlos A. M. dos Santos
On Wed, Aug 22, 2012 at 10:58 AM, user123 ivanschu...@gmail.com wrote: This will not be executed always. Android lets apps running in the background, although user closed it. When you launch the app it will not necessarily be created. I suggest you to get satisfied with what you have. The

Re: [android-developers] Re: Reliable way to detect application launch from home / desktop?

2012-08-22 Thread Carlos A. M. dos Santos
On Wed, Aug 22, 2012 at 10:00 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: On Wed, Aug 22, 2012 at 9:23 AM, user123 ivanschu...@gmail.com wrote: I want to detect exactly when the user says, hey, let's open the app, and taps on the app's icon, not anything else. Is this hard

Re: [android-developers] How can i view pdf file in my application

2012-08-20 Thread Carlos A. M. dos Santos
On Mon, Aug 20, 2012 at 7:43 AM, surya pavan tsuryapa...@gmail.com wrote: hai all , I am doing a project in which i want my application should read pdf/ms- office file in offline mode. Plz help... You can use an Intent to invoke an external reader, like QuickOffice, SoftMaker Office

[android-developers] Inconsistent behavior on orientation changes between API versions

2012-08-19 Thread Carlos A. M. dos Santos
Hi, I have an activity with a quite complex view hierarchy that I'm attempting to avoid being recreated each time the orientation changes (locking the orientation is NOT an option). I added the usual android:configChanges=keyboard|keyboardHidden|orientation attributes and implemented

[android-developers] Inconsistent behavior on orientation changes between API versions

2012-08-19 Thread Carlos A. M. dos Santos
Hi, Sorry for the previous incomplete message. I have an activity with a quite complex view hierarchy that I'm attempting to avoid being recreated each time the orientation changes (locking the orientation is NOT an option). I added the usual

Re: [android-developers] Re: How to clear static variable values when will i close my application in android

2012-08-19 Thread Carlos A. M. dos Santos
On Tue, Aug 31, 2010 at 5:57 PM, DanH danhi...@ieee.org wrote: Static variables are created and initialized when the class containing them is loaded into the VM by the class loader. When the class is unloaded or the VM ended, the static variables go poof. There is generally no need to clear

Re: [android-developers] Printing PDF in Android

2012-06-08 Thread Carlos A. M. dos Santos
On Fri, Jun 8, 2012 at 2:44 AM, RAJESH RAJARAM rajeshrajar...@gmail.com wrote: Hi I have pdf document in my sdcard, I have to print the document from the android mobile. About this i didn't have any idea. Is it possible? This there any API in Android? and Advise and Idea's please. There are

Re: [android-developers] Re: deletable-assets

2012-01-03 Thread Carlos A. M. dos Santos
On Mon, Jan 2, 2012 at 2:04 PM, Mark Murphy mmur...@commonsware.com wrote: You can listen for ACTION_PACKAGE_REPLACED to determine if your application has been updated. Will the replaced package itself receive the broadcast? As far as I can tell the only way to get such notification is by means

Re: [android-developers] Android documentation in PDF

2011-12-01 Thread Carlos A. M. dos Santos
On Thu, Dec 1, 2011 at 9:42 PM, SL ecp_...@my-rialto.com wrote: Is there somewhere the online Android developer documentation in PDF format I can download ? Not in PDF. It is easier to read and search without going online, I think. You can read it in HTML:

[android-developers] Re: Mysterious behavior of switch statement inside onActivityResult

2011-11-28 Thread Carlos A. M. dos Santos
On Mon, Nov 28, 2011 at 12:17 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: Hello, I have the following code in class MyActivity:    public static final int REQ_CODE = 0x7fff; ...                    startActivityForResult(intent, REQ_CODE); ...    @Override    public void

Re: [android-developers] Re: Mysterious behavior of switch statement inside onActivityResult

2011-11-28 Thread Carlos A. M. dos Santos
On Mon, Nov 28, 2011 at 2:49 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 28, 2011 at 11:37 AM, Carlos A. M. dos Santos unixma...@gmail.com wrote: Can anybody help me to debug this? I'm whiling to fill a bug report, but I need additional information. I suspect that the problem

[android-developers] Mysterious behavior of switch statement inside onActivityResult

2011-11-27 Thread Carlos A. M. dos Santos
Hello, I have the following code in class MyActivity: public static final int REQ_CODE = 0x7fff; ... startActivityForResult(intent, REQ_CODE); ... @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG,

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Carlos A. M. dos Santos
On Fri, Nov 18, 2011 at 3:05 AM, Mathias Lin m...@mathiaslin.com wrote: In an Android app, I fetch content from a https url; in order to avoid SSL cert verification errors, I add the SSL public key to my keystore, which then resides in my res/raw folder of the app. Following the instructions as

Re: [android-developers] Print from device

2011-11-17 Thread Carlos A. M. dos Santos
On Thu, Nov 17, 2011 at 6:01 AM, ecspertiza ecspert...@gmail.com wrote: HI, can i print document from android device ? May be there is Action or SDK ? Unfortunately there is no official print action. Some printing applications answer to the share and/or view action, but this is just a

[android-developers] ADT 15: opening declaration in library project jumps to read-only source

2011-11-17 Thread Carlos A. M. dos Santos
Hi, I have ClassA, declared in library project ProjA, and ClassB, declared in project ProjB. ProjB references ProjA as a library, therefore ADT creates a ProjA_src link at the root folder of ProjB. This link can *not* be included in the Java build path, otherwise the build fails due to classes

Re: [android-developers] Re: Print from device

2011-11-17 Thread Carlos A. M. dos Santos
. DISCLAIMER: I'm *not* speaking on behalf of HP, even though I'm responsible for that app. On Nov 17, 3:42 pm, Carlos A. M. dos Santos unixma...@gmail.com wrote: On Thu, Nov 17, 2011 at 6:01 AM, ecspertiza ecspert...@gmail.com wrote: HI, can i print document from android device ? May

Re: [android-developers] How secure are SharedPreferences on rooted devices?

2011-11-17 Thread Carlos A. M. dos Santos
On Thu, Nov 17, 2011 at 7:50 PM, Ricardo Amaral mas...@ricardoamaral.net wrote: I was thinking of implementing a coupon based system for my app so I could offer some copies of the full version to some people. I found blog article which provided the server code (to install on Google AppEngine)

[android-developers] How do I provide my own image capture tool?

2010-11-17 Thread Carlos A. M. dos Santos
Hello, I'm writing an application that captures images using a networked device. I'd like to make this app appear as an option when the user chooses the Capture picture menu option in the Gallery. So far the only way I found to do this was adding an intent filter like this: intent-filter

Re: [android-developers] Re: msgid in strings.xml

2010-03-18 Thread Carlos A. M. dos Santos
On Thu, Dec 10, 2009 at 2:21 PM, Ken kenhehu...@gmail.com wrote: Anyone? Nobody yet, but I also would like to know. On Nov 24, 12:47 am, Ken kenhehu...@gmail.com wrote: Hello, There are msgid in localized strings.xml. What are they? What's their usage? How they are generated? Why the

Re: [android-developers] Aidl:could not find import for class android.graphics.Bitmap

2010-01-20 Thread Carlos A. M. dos Santos
On Thu, Sep 24, 2009 at 5:23 PM, Mauricio Porto mauripo...@gmail.com wrote: Hi, I am trying to build an image based on the Android source code that should include my own code. The problem is that the import android.graphics.Bitmap; in my IMyService.aidl can not resolved. The