[android-developers] Bluetooth background discovery without Activity

2010-01-26 Thread steff
an I set up the BroadcastReceiver within a standard Java class? Thanks in advance, steff -- 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 gro

[android-developers] Re: Multitouch code examples?

2010-01-13 Thread steff
I've implemented multitouch on Motorola Milestone and it seems to be working fine. Moreover, I didn't find it too complicated. See the source below. It can't guarantee that this is 100% correct but at least it's straight forward: @Override public boolean onTouch(View v, MotionEvent event) { fo

[android-developers] JmDNS/zeroconf/Bonjour with Android SDK 2.0

2010-01-11 Thread steff
if anybody was able to get it working. Maybe there's some code available... Thanks a million, steff -- 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

[android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-19 Thread steff
Thanks everyone, this helped me a lot in understanding the concept behind activities. great work, guys. -- 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

[android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-16 Thread steff
mission is time critical. On the other hand, I don't want to keep on sending all sensor data when the app is "no longer open" (a.k.a. in the background). This would drain your battery really fast. That's why I'd like to end it. On 15 Dez., 20:45, Dianne Hackborn wrote: > O

[android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-15 Thread steff
question arises: how can I securely exit the app when it loses focus, i.e. the user returns to the homescreen? I don't want no background process. Thanks to all, Steff On 15 Dez., 19:29, G wrote: > You need to check the Activity's entry in the Manifest and alter the > android:configCh

[android-developers] Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-15 Thread steff
itions and accelerometer data over the network via UDP). Thanks for any help. Regards, Steff -- 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 f

[android-developers] Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-15 Thread steff
itions and accelerometer data over the network via UDP). Thanks for any help. Regards, Steff -- 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 f

[android-developers] Monkey test tool

2009-12-01 Thread Steff
nkey from disconnecting "USB debugging" when using monkey test or is there another way to save the crash reports on the phone? /Steff -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: White screen in my OpenGL application

2009-10-27 Thread Steff
> Keep in mind that the > emulator doesn't have the OpenGL hardware of an HTC handset, so it's > not going to behave the same. Hmmm, it shouldnt be like that. OpenGL hardware should improve performace, but the sematics should be the same on all devices/ emulators with og without different kinds o

[android-developers] Re: White screen in my OpenGL application

2009-10-25 Thread Steff
> Do you need that pixel format so that you can draw translucently onto > an existing background or is it for some other purpose? The pixelformat is exactly for drawing translucently onto and existing background. Regards, Steff --~--~-~--~~~---~--~~ You re

[android-developers] Re: White screen in my OpenGL application

2009-10-24 Thread Steff
I have tried to install the application on my HTC magic with "mGLSurfaceView.getHolder().setFormat(PixelFormat.RGBA_);". I works perfectly. When I comment out the line the graphics looks very strange on my HTC magic, but that is where it looks fine in the emulator. If the emulator cannot be tr

[android-developers] Re: White screen in my OpenGL application

2009-10-24 Thread Steff
Hi Well I use my own GLSurfaceView: public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback I did not know that a GLSurfaceView was added to the SDK. I will consider starting to use that, but I am pretty sure that it is not the problem right now. Or do you think it is? R

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread Steff
Hi I tried to remove all usage of texture in the app. That did not help. Now I have narrowed it down: My application contains this line "mGLSurfaceView.getHolder().setFormat (PixelFormat.RGBA_);". If I comment out that line, then the OpenGL rendering works again. But I need that line, becaus

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread Steff
My app used to work in the emulation of the SDK I used to use. It was downloaded almost a year ago. I believe it was 1.2 or something. So the app works in 1.2 emulator AND on my 1.5 firmware HTC magic. But it does not work on the 1.5 emulator of the 1.6 SDK downloaded today. I dont know if my tex

[android-developers] White screen in my OpenGL application

2009-10-23 Thread Steff
Hi I've just dusted off an application I did for Android half a year ago. I upgraded to the latest SDK and Eclipse ADT. After some struggeling I get the application to run again. When I debug it I can see that all the right code are executed the right way. The application shows a OpenGL surface

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
> How can the app prevent itself form being forwarded? Why cant SAM do > that to the application after the Android installer have installede > the application for SAM. I thing it would be great if SlideMe would strech to find a solution where the apps does not need to require any permissions. --~

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
> Since > the app directory is wide open, you will need to have something embedded in > the app itself to prevent forwarding. How can the app prevent itself form being forwarded? Why cant SAM do that to the application after the Android installer have installede the application for SAM. Regards,

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
> For our solution, you will also need to use > "android.permission.READ_PHONE_STATE" to be able to handle forward locking. > We require this permission on SAM as well. Ohhh, I was hoping that it would be enough to give SAM the permission. Why should the installed app (my app for instance) need t

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
> For our solution, you will also need to use > "android.permission.READ_PHONE_STATE" to be able to handle forward locking. > We require this permission on SAM as well. I'm not sure if Mogees goes > beyond this in required permissions, as it has larger scope and usage rules. Mogees requires:

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
Thats ok. My daily job is, to a high degree, to be critical about others solutions in application development. I will use Mogees for now. I acutally I would like to use something else, cause Mogees requires the application to ask for different premissions no the phone, and i fear that it will sca

[android-developers] Re: Secrity with SlideMe

2009-01-08 Thread Steff
So whats the conclution? Is SlideMe safe. Not as in 100% safe - that will never happen. I just want to secure that not everyone with alittle IT knowledge and a filebrowsing application on Android can copy my application installed with SlideMe's SAM. You have to be in top 5% of hackers to do it, i

[android-developers] Re: Port my iPhone game

2009-01-07 Thread Steff
Apple should release an iPhone with an Android platform. Guess not :-( --~--~-~--~~~---~--~~ 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@googlegroup

[android-developers] Secrity with SlideMe

2009-01-07 Thread Steff
Hi I am thing about releasing my application on SlideMe. I have talked to someone with SlideMe, and they tell me that priced application is just installed on the device itself. I asked them how they prevent people from just copying the application to another phone - for instance using some filebr

[android-developers] Help testing on G1

2008-12-27 Thread Steff
Hi I live in denmark, where G1 has still not been released. I have made an application that runs fine on the emulator. I need help getting it tested on a real device - G1. I any of you guys have a G1, and want to try my application, to help me find out if it works, I will be very happy to hear fr

[android-developers] Blending between views

2008-12-13 Thread Steff
Hi I have a layout with two fullscreen views on top of each other. The bottom view just shows a .png picture. The top view shows some OpenGL rendered graphics. When some translucent objects on the top view moves over a non-black area of the bottom view, blending is real bad - example1: blue in bo

[android-developers] Emulator on webpage

2008-11-27 Thread Steff
Hi I would like to alow people on my website to try out android applications before download. Will I be able to make the emulator run on my website to let users try out applications in it. Any other solutions? Regards, Per Steffensen --~--~-~--~~~---~--~~ You rece

[android-developers] Use of Android logo

2008-11-27 Thread Steff
Hi I dont know if this is the right forum, but I will try anyway. Do any og you know if I am aloud to use the android logo (the robot and the strange android text) on my private android-related webpage? Regards, Per Steffensen --~--~-~--~~~---~--~~ You received t

[android-developers] Re: OpenGL light strange behaviour

2008-10-30 Thread Steff
Hi I found out myself that I needed to give normal-vectors to the OpenGL engine. I went back to this question to explain what my solution was, just to see that someone already had explained what the problem was. Thanks anyway. Regards Per Steffensen --~--~-~--~~~---~-

[android-developers] OpenGL light strange behaviour

2008-10-29 Thread Steff
Hi I am playing with OpenGL and especially light in OpenGL. I have tried to set light in the GLSurfaceView application in ApiDemos (Under Graphics / OpenGL ES). I just try to set the light as simple as I can. Therefore I just add a few lines to CubeRenderer.drawFrase so that it looks as shown be

[android-developers] Re: OpenGL light strange behaviour

2008-10-29 Thread Steff
I also use: gl.glEnable(gl.GL_COLOR_MATERIAL); On Oct 29, 6:31 pm, Steff <[EMAIL PROTECTED]> wrote: > Hi > > I am playing with OpenGL and especially light in OpenGL. I have tried > to set light in the GLSurfaceView application in ApiDemos (Under > Graphics / OpenG

[android-developers] OpenGL light strange behaviour

2008-10-29 Thread Steff
Hi I am playing with OpenGL and especially light in OpenGL. I have tried to set light in the GLSurfaceView application in ApiDemos (Under Graphics / OpenGL ES). I just try to set the light as simple as I can. Therefore I just add a few lines to CubeRenderer.drawFrase so that it looks as shown be

[android-developers] GLUT or something like that in Android

2008-10-27 Thread Steff
Hi Android ships with en OpenGL ES implementation. OpenGL ES is alittle low-level. I would like to be able to use some more high-level 3D tool. I have some expirence with GLUT. Has anyone been successfull using/converting GLUT to java/Android? Can anyone tell me what "layer" above OpenGL ES is t

[android-developers] More highlevel 3D development

2008-10-27 Thread Steff
Hi As I understand it, the only 3D graphics related thing that comes with Android, is the raw OpenGL ES. I would like to work with my 3D applications for Android at a little higher level. For instance I would like to have a GLUT layer ontop of OpenGL ES. Does anyone know if that is possible? If