[android-developers] onActivityResult called before onRestart()

2009-05-04 Thread Jeremy Villalobos
I am updating some code from 1.1 to run with the new SDK 1.5. I noticed that onActivityResult is being called before OnRestart. If Activity A calls activity B. Activity A goes to onPause(), then onStop(). Activity B goes on... finishes and returns. Activity A starts at onActivityResultf(). So

[android-developers] open intents sensor

2008-11-13 Thread Jeremy Villalobos
Hello: I am trying to get the openintents sensor simulator working. I followed the instructions from http://code.google.com/p/openintents/wiki/SensorSimulator. I set the conection instruction SensorManagerSimulator.connectSimulator(); as part of the menu as in the example file OpenGLSensors.jav

[android-developers] off by one mapping on string file

2008-06-19 Thread Jeremy Villalobos
Hello: I've being code an application that by now is getting a little bigger than proof-of-concept size. I did a series of minor changes. consolidated some activities into the same project, since i don't know how to get an activity to call another activity from other package. The problem is th

[android-developers] scroll

2008-06-21 Thread Jeremy Villalobos
How do you catch a scroll event ? like a mouse-drag in other window frameworks I've being looking into this for hours and cannot figure it out. I got onTouchEvent to work, but it is not good enought to do scrolling with it I am inheriting View class to create a custom control. thanks for any hel

[android-developers] android emulator takes over sound card

2008-06-27 Thread Jeremy Villalobos
Hello: I have notice that on Kubuntu (or ubuntu), when I run the Android emulator the sound cards cannot be used by any other programs. This is not a big problem to develop programs, but just wanted to inform the community. As soon as the emulator is shutdown the sound card is accesible to othe

[android-developers] Handling remote control buttons

2012-04-26 Thread Jeremy Villalobos
Hello: I followed the advice from this blog to receive the bluetooth buttons for my app: http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html The buttons work on the average case. However, if the user opens two instances of my app (one by starting the app, and

[android-developers] Re: Handling remote control buttons

2012-04-26 Thread Jeremy Villalobos
ot; (if applicable) > > On Thursday, April 26, 2012 4:09:25 AM UTC-4, Jeremy Villalobos wrote: >> >> Hello: >> >> I followed the advice from this blog to receive the bluetooth buttons for >> my app: >> >> >> http://android-developers.blogspot

[android-developers] Using the Expansion Pack for optional data

2013-12-10 Thread Jeremy Villalobos
It is somewhat clear from reading the documentation about apk expansion files that these files are not intended to be optional files but essential files for the app to function. However, the documentation does not explicitly say that the service should not be used for optional data. http://d

[android-developers] Re: creating a server app on the Android

2012-08-02 Thread Jeremy Villalobos
If you have the phone connected to wifi it should work. While using 3G or other phone network it does not work. I tested this empirically about a year ago. http://developer.android.com/guide/google/gcm/index.html Using Google Cloud Messaging may be a good alternative. On Wednesday, August

[android-developers] Re: Android 2.2 or 4.1??

2012-08-02 Thread Jeremy Villalobos
Yes Do note that some API calls will throw Exceptions on Froyo. To avoid this, use Reflections For example: my app supports from Froyo upward, but Froyo does not support icons on the Preference Activity. So I use this to set the icon for ICS, and skip the step on Froyo void workAroundSetPi

[android-developers] Svg to hdpi, mdpi, ldpi

2012-06-01 Thread Jeremy Villalobos
I seems that no manner how minimalist I am with my app, I always find new icons, pictures, menus that need to be added to my projects. However, given all the screen that I have to support with Android, it is a little tedious to create one icon for each screen resolution. I see the action I do

[android-developers] custom layout on ListLayout can't be browsed using d-pad

2012-07-14 Thread Jeremy Villalobos
Hello: I am checking my app is accessible. In the course of doing this, I am using a d-pad to browse the app. I have a custom row on a List Layout. Each row follows the attached layout. When I browse the layout using the d-pad I can only highlight the more_button_layout layout. I cannot

[android-developers] Android Module markets

2012-10-05 Thread Jeremy Villalobos
I've found the use of Apache projects really helpful in creating my own projects. However, when it comes down to propietary libraries, I don't find it as easy to integrate software into my apps. The main problem is that if I use services from some other paid apps, then the user will feel nick

[android-developers] Re: Google Docs Access

2012-10-07 Thread Jeremy Villalobos
I have a module that interacts with Google Docs. I use it to scan for specific file types, download files and to use the OCR feature Google provides. I can sell the module on Chuppa mobile. I've been wanting to use that service for a while as I see a market for modules something that would

[android-developers] Single WebView on Layout Drawn Twice When Targeting Android SDK 15

2012-11-25 Thread Jeremy Villalobos
I have an app with a layout that includes a WebView component. When I use targetSDKVersion 11 (on the manifest), it works ok. But initially I had the targetSDKVersion=15. This caused the WebView to be drawn twice when testing on a Xoom tablet with Android ICS. The duplicate WebView appears o