On Jun 9, 1:02 pm, "Mark Murphy" wrote:
> > I have an app that has some network connections that are causing
> > issues when the app closes/reopens. I would like to close the
> > connections when the app exits, and reinstantiate them when it opens
> > again. onCreate/onDestroy don't work for th
I have an app that has some network connections that are causing
issues when the app closes/reopens. I would like to close the
connections when the app exits, and reinstantiate them when it opens
again. onCreate/onDestroy don't work for this purpose because they
get called for the foreground act
I'm making an app that uses some network connections that I would like
to tear down when the app exists, and put back up when it starts up
again. Activity.onCreate/onDestroy will not work since those get
invoked by a few actions that don't entail quitting/starting the app,
such as sliding out the
What do you mean by 'detect home screen'?
On Jun 5, 2:18 pm, sherry wrote:
> I've asked "how to detect home screen" before. I'm still searching...
>
> I noticed when I press "home" button on Android emulator, I got this
> statement in catlog:
>
> INFO/ActivityManager(584):
> Starting activity:
I have a layout that has three views (situated in one vertical
linearlayout and one horizontal) in it which I would like to wrap into
a single object. Is there any easy way to do this? Right now I have
a flurry of foo.setBlahBlah(bar) calls to link them all which I have
to call after setContentV
#x27;s onDraw method gets called it sets the image, rather than
setting it in the xml layout. After this it trips the flag and
subsequent onDraw calls get passed to the super. It's not ideal, but
it works
On May 27, 2:30 pm, Max Salley wrote:
> I have an app that displays a camera pictu
I have an app that displays a camera picture as part of it, but if the
picture is in memory I get an out of memory exception when an
allocation of any size happens no matter what. If the app uses a
seekbar in addition to my PictureView the ~900 bytes it allocates are
too much. I even tried to lo
Whatever SurfaceHolder you gave the camera needs to have its type set
to SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS. This may not be your
problem, but it will cause a blank screen
On May 26, 4:18 pm, enervat...@gmail.com wrote:
> Hi all,
>
> I'm using the camera for which I've used the CameraPrevie
I have an extension to ImageView that I would like to draw by manually
altering the ImageMatrix. When I set the View's scaling type to
matrix however, changing the matrix has no effect on the image. If I
put it into a different mode, say center, changing the matrix does
change the display, but i
I'm having a similar issue with an ImageView based class that uses
Matrix transformations. I update the Matrix with setImageMatrix, but
the view does not update. how can I get the view to update?
On May 22, 5:31 am, Gavin wrote:
> Hello,
> I have a List activity which use cursor adapter. Wh
Also there's overhead associated with putting the code into the middle
of the draw loop. The speed at which this loop runs will depend on
more than just the code you want to target. Maybe alter it so that it
spawns a separate thread which performs whatever code you're testing
and just have it re
I'm trying to show a cropped version of the preview, but show it at
native resolution rather than showing the entire thing scaled down. I
discuss what I'm doing more here (http://groups.google.com/group/
android-developers/t/f95804f843d3711b).
On May 20, 3:50 pm, Jason Proctor wrote:
> what do
I think I might go the offscreen buffer route and render when I can,
as FPS doesn't matter to me in the slightest. I'm looking at creating
a virtual canvas to draw to, but I'm not sure what to do with the
YCbCr array that can get it into a usable form. What would you
suggest I do with the array?
d it seems that doing such
things in the preview callback is unworkably expensive. How should I
draw a subpicture at native resolution rather than the entire image
scaled to fit the phone's screen?
Thanks
- Max
--~--~-~--~~~---~--~~
You received this message be
Thanks for the advice, I had feared something like that. From what
I've read it seems that operating on the previews using the callback
is much too expensive to be feasible anyway
On May 20, 3:12 pm, Jason Proctor wrote:
> check out the Camera SDK docs. camera previews are in raw YUV/YCbCr
> fo
I'm using the Camera.PreviewCallback.onPreviewFrame to try to generate
a bitmap from the byte array passed to that method. If I use
BitmapFactory.decodByteArray it returns null. I'm assuming that the
array is correctly formatted since the data just comes right from the
camera, so what could the
eHolder, but I don't see a callback that would let
me get access each time a frame is ready to display. What would be
the best way to preview a subset of the camera preview at native
resolution?
Thanks
- Max
--~--~-~--~~~---~--~~
You received this message beca
||
!strcmp(tag, "GSM") ||
!strcmp(tag, "STK"))
log_id = LOG_ID_RADIO;
for all those TAGS, the information is dumped into LOG_ID_RADIO, which
is /dev/radio
how can I use adb command to see it ?
Max
--~--~-~--~~~---~--~~
Yo
Finally I find if I comment out LOCAL_SDK_VERSION := current in the mk
file, then the error disappear,
Can anyone tell me why?
Thanks
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers"
displayed when android started
up?
Anybody can tell me?
On May 8, 6:52 am, Jeff Sharkey wrote:
> You can't add it automatically--users can long-press on a workspace
> and insert a shortcut to your app.
>
> j
>
> On Thu, May 7, 2009 at 3:44 PM, max wrote:
>
>
Hi, ALL
I want to add my app into the mainscreen for user to start . How can I
do?
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
ource code, but no answer for this
moment yet.
Can anyone give me some light on this?
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andro
h the code from
http://android.git.kernel.org/
Can anybody give me some light on this?
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
Any one know a function that acts like curl or wget does for linux?
--~--~-~--~~~---~--~~
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
Thanks! Got it now!
On Mar 31, 10:32 am, Dianne Hackborn wrote:
> This is ActivityManagerService, WindowManagerService, PhoneWindowManager.
>
>
>
> On Tue, Mar 31, 2009 at 9:10 AM, Max R. wrote:
>
> > I meant SCREEN_ORIENTATION_LANDSCAPE for the parameter for
>
is valid and translate it to
eOrientation90?
Thx!
Max
On Mar 30, 7:15 pm, Dianne Hackborn wrote:
> It's complicated and involves the activity manager, window manager, current
> window manager policy, and eventually a rotation on the surface flinger. If
> you want to know generally
Hi, what's the actual call (function) flow from setRequestedOrientation
(java) down to SurfaceFlinger(cpp)?
Specially, can someone explain where the parameter 0 of
setRequestedOrientation get translated into ROTATION_90?
Max
--~--~-~--~~~---~--~~
You rec
how do you pass an intent from a service to a new activity launched
from a main activity ?
there's a passextra( intent src ); but i dont think thats what im
looking for ?
activity main > start service( intent wuteverserviceintent );
activity main > start activity( intent newactivityintent );
I konw how can get data from web when there is no proxy
restricted,like the code below.
But when there is proxy restricted,it doesn't work,and has a exception
"Socket is not connected"
so I added some codes into the project,
InetSocketAddress address = new InetSocketAddress("MY_IP",8080);
Proxy
orking
also.
I feel very puzzled, is there any environment or property is not set,
or something wrong with my touchscreen driver?
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
el very puzzled, is there any environment or property is not set,
or something else error happened?
Max
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
ALLERY app display
them.
Thanks a lot in advance!
Max
--~--~-~--~~~---~--~~
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 u
Hi, how do I create blur surface from android.view.Surface?
I found this flag but there is no constructors to pass this.
FX_SURFACE_BLUR
Max R.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "An
Is there some kind of Widget Engine/Platform/Runtime will appear in
future android platform?
Such as
Google Desktop Gadget,
Nokia Web RunTime,
Yahoo! Widget
...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Andro
Googlers, please read!
I recently posted my application and while overall the comments were
very useful, there is abut 30% which are spam and one or two very
offensive comments.
If google can't/won't moderate the comments, WHY can't we as
developers do that? Mystery to me...
I'll tell you the tru
will occur?
4. Do we (the developers) have to do anything to support easier auto
update?
Thanks,
Max.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
I am also experiencing the same problem.
make docs
--~--~-~--~~~---~--~~
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 fr
oesn't see even the keyboard presses -- everything
goes straight to the search bar. Is this a missing feature, or is
there a trick to it?
Regards,
...Max...
function log( txt )
{
document.getElementById( 'log' ).appendChild
Looks like the 'ole Microsoft IE: when the text box doesn't have
focus, it is right where its z-index puts it. When you give it focus,
it comes out on top. Although I think IE did that with
controls, not with text boxes...
Regar
n the DOM, or a tag for capturing the missing
events?
Thanks in advance,
...Max...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
Is it true that this has not been fixed for 1.0?
On Sep 6, 10:49 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> You are right, getFromLocationName() with bounding box returns a empty list
> ...it is a bug...and will be fixed in the next release.
>
> 2008/9/6 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
I was under an impression that we need to push .apk packges to /system/app
Thnxs for the info.
/data/app-private is the location for pushing private apps.
On 9/9/08, Romain Guy <[EMAIL PROTECTED]> wrote:
>
> Where are you pushing the files? They should be pushed in /data, not
> /system.
>
> On
s SensorManager by the
> > > OpenIntents SensorManager. Please have a look at the samples provided
> > > with the download there (OpenGLSensors and ApiDemosSensors) to see how
> > > to set things up.
>
> > > Let me know if you have further questions.
>
the
> OpenIntents SensorManager. Please have a look at the samples provided
> with the download there (OpenGLSensors and ApiDemosSensors) to see how
> to set things up.
>
> Let me know if you have further questions.
>
> Peliwww.openintents.org
>
> On 7 Sep., 15:30, max <[
I'm trying to access the sensors under the new 0.9 SDK. But I just
don't get it to work. I distilled the essential code from the API
demos, but registerListener() always returns false and I get this on
logcat: "W/SensorService( 46): could not enable sensor 1". This is
the code:
public class Tes
Is there a mechanism to dynamically obtain a resource?
I mean, let's say I want to show some image depending on context out
of 5 images I have in drawable dir.
So I would expect something like
getResourceByName(String s) : int
which would take a string that points to the resource and will get m
Hi,
I have a problem with AutoCompleteTextView
I have a (clickable) list of objects i.e. when you click on an item
you get to another activity which is guided by that specific item
clicked. I want to use the Autocomplete to search in that list but I
want the same behavior I get with a regular li
101 - 147 of 147 matches
Mail list logo