[android-developers] What's the best place to find Android Developers willing to participate in a Startup?

2012-08-06 Thread Bart Burg
I'm looking for someone that would like to build an Android product together with me, and bring that product on the market. What would be the best place to look for Android Developers that also have affinity in entrepreneurship? -- You received this message because you are subscribed to the Go

[android-developers] Battery usage feature request

2011-08-15 Thread Bart
! Bart Tiemersma -- 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 group, send email to android-developers+unsubscr...@googlegroups.co

[android-developers] Racoon is not initiating a connection with x509 L2TP/IPSec

2011-04-08 Thread Bart
right direction to solve this problem? Greetings, Bart The logs below are from android: I/ActivityManager( 1331): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.vpn.VpnSettings } D/VpnManager( 1409): succeeded to connect to VPN service D/VpnSettings( 1409

[android-developers] Propagating exception caught in GL render thread

2011-03-07 Thread Bart
I searched but could not find info about this: Situation: 1. GL used + Looping sounds (soundpool) 2. want to prevent leaving user to reboot to get rid of looping sound in case of app error. In onDrawFrame, a try-catch block catches exceptions, and stops the sounds. So-far, so-good. But: cant re

[android-developers] Re: Text in a circle that rotates on touch

2010-03-06 Thread Bart
I tested it and it works like a charm :) I only had to change the "-=" in this.bearing -= Math.toDegrees(diff) to "+=", otherwise the rotation was inverted. How do you do the rotation exactly? If I just draw the text onto the canvas in onDraw(Canvas canvas), and then call canvas.rotate, then noth

[android-developers] Re: Text in a circle that rotates on touch

2010-03-06 Thread Bart
Thanks alot. I sort of had it working yesterday, but I think my math was a little off, which caused some strange behavior. So I will try your code. On 5 mrt, 22:56, Nathan wrote: > On Mar 5, 3:25 am, Bart wrote: > > > Hi, I'd like to display a given String in a circle (s

[android-developers] Text in a circle that rotates on touch

2010-03-05 Thread Bart
Hi, I'd like to display a given String in a circle (so bend the string so that the end of the string touches the beginning of the string). And Then I'd like to let the user rotate the circle by grabbing and dragging it clockwise or counterclockwise. Do you guys know what would be the best (simplest

[android-developers] FaceDetector class

2010-02-17 Thread Bart
Hi, I want to use the FaceDetector class, which also has a pose function for the headpose, but it seems that the head pose is not implemented because it always returns 0. It does return the distance between the eyes, and the point between the two eyes, so im guessing that at some point in the face

[android-developers] Re: Failed binder transaction when passing byte[] (from camera) between intents

2010-02-17 Thread Bart
ntent-Uri of the image you > took. > > On Feb 17, 3:07 am, Bart wrote: > > > So I can never make camera images that are higher resolution then > > 277x184? :S > > If I stuff all the camera code into my main activity, then it should > > work. But that's a litt

[android-developers] Re: Failed binder transaction when passing byte[] (from camera) between intents

2010-02-17 Thread Bart
Of Boston wrote: > Binary data works upto about 100KByte. Anything larger, you very > likely get that error. > > For images in RGB_565, this is about 277 x 184 pixels max (277 x 184 * > 2 = 101936) > > On Feb 16, 4:17 am, Bart wrote: > > > Hi, I have a problem with

[android-developers] Failed binder transaction when passing byte[] (from camera) between intents

2010-02-16 Thread Bart
Hi, I have a problem with an app that lets the user take a picture. I've posted it on some forums already, but nobody seems to recognize the problem. Hopefully someone here knows a solution :) I've put the code of taking a picture in a seperate activity. Then I call the camera intent from my main

[android-developers] modify active intentfilter

2009-10-20 Thread Bart van Wissen
Let's say that I have a BroadcastReceiver that has already been registered, and I want to change its IntentFilter at that moment (add a new data authority for example). Is this at all possible? Or do I have to unregister it first, and then re-register it with the updated IntentFilter? --~--~

[android-developers] detecting shake movement without draining the battery

2009-09-10 Thread Bart van Wissen
I would like to detect shake movement in a service that is running in the background, even when the phone is not currently being used. Is it true that the only way to do this is to hold a wake lock? I suppose this would consume a lot of energy and drain the battery very fast. Is there no way to w

[android-developers] Re: running emulator on a remote machine

2009-09-08 Thread Bart van Wissen
resent those of T-Mobile USA, Inc. > > On Sep 8, 2:38 pm, Bart van Wissen wrote: > > > Is there any way to connect the debugger to an emulator running on a > > remote machine? > > It's using TCP so I suppose it shouldn't be too difficult, but I can't > &

[android-developers] running emulator on a remote machine

2009-09-08 Thread Bart van Wissen
Is there any way to connect the debugger to an emulator running on a remote machine? It's using TCP so I suppose it shouldn't be too difficult, but I can't figure out how. I would like to run the emulator on my (fast) laptop and do my coding on my (slow, but with bigger screen) desktop machine.

[android-developers] Re: how to make sound hz?

2009-09-01 Thread Bart van Wissen
On 1 sep, 10:01, guruk wrote: > thanks for all comments. > does anyone have a simple source demo. > I could try that > buffer[i] = (short) ( Math.sin((2. * Math.PI * i * f) / samplerate) * > Short.MAX_VALUE ) > ... and what afterwards, how to play it? > > I am just wondering ( please i am a tota

[android-developers] Re: how to make sound hz?

2009-08-31 Thread Bart van Wissen
I'm sorry, the formula is wrong. I think it's buffer[i] = (short) ( Math.sin((2. * Math.PI * i * f) / samplerate) * Short.MAX_VALUE ) But I'm not sure. I guess 3 AM is not the time to think about this. Anyway it should give you an idea of how to do it. On 1 sep, 02:23, Bart va

[android-developers] Re: how to make sound hz?

2009-08-31 Thread Bart van Wissen
You will have to create the wave data yourself using a sine-function. Fill a buffer of shorts (for 16 bit audio) with something like this: buffer[i] = (short) (Math.sin(((double) i / samplerate) * f) * Short.MAX_VALUE); (please correct me if I'm wrong) If you need a 5 seconds tone, I suppose yo

[android-developers] Re: Constructor problem

2009-08-31 Thread Bart van Wissen
The problem is that renvoi_liste_recette_xml() throws an Exception (you shouldn't do this - either make it more specific or catch the exception within the method) and the initialization section of your Activity cannot handle this, because the constructor of Activity doesn't throw Exception. Move

[android-developers] Re: Parcel/unparcel Bundle classloader bug?

2009-08-10 Thread Bart van Wissen
I noticed that the mParcelledData thing was the result of Bundle.toString() when the Bundle hasn't been unparcelled yet, so I decided to stick in a bundle.containsKey("something") before I printed the toString to force it to unparcel first, but then I got a NullPointerException. And I did check if

[android-developers] Parcel/unparcel Bundle classloader bug?

2009-08-10 Thread Bart van Wissen
I have a parcelable class whose writeToParcel() method puts some data in a Bundle and writes it to the parcel. This parcel gets sent from a client process to a service process. At the side of the service, the readFromparcel() method tries to read this Bundle from the parcel. A strange thing happe

[android-developers] referencing projects in eclipse

2009-07-27 Thread Bart van Wissen
I'm working on two projects. One is essentially a library, and the other is an application using that library. Now from the application project, I want to use the library's classes, so I added that project to the "required projects" under java build path. It seems to compile fine, but at runtime,

[android-developers] Re: sending / receiving custom broadcast intent

2009-07-25 Thread Bart van Wissen
On 25 jul, 14:00, "Mark Murphy" wrote: > > Could it be that I'm using a non-existent scheme? > > I invented "context://" myself, maybe this is not a good idea? > > In theory that should work, though I haven't tried it myself. > > I take an Occam's Razor approach to intents and filters: they shoul

[android-developers] Re: sending / receiving custom broadcast intent

2009-07-25 Thread Bart van Wissen
2009/7/25 Mark Murphy > > > I'm building a service that sends a broadcast intent when some value > > changes. > > The service sends the broadcast like this: > > > > Intent broadcastIntent = new Intent(); > > broadcastIntent.setAction("nl.vu.contextframework.NEWREADING"); > > broadcastIntent.setDa

[android-developers] sending / receiving custom broadcast intent

2009-07-25 Thread Bart van Wissen
I'm building a service that sends a broadcast intent when some value changes. The service sends the broadcast like this: Intent broadcastIntent = new Intent(); broadcastIntent.setAction("nl.vu.contextframework.NEWREADING"); broadcastIntent.setData(Uri.parse("context://"+cer.getKey())); broadcastI

[android-developers] Location updates not coming through

2009-07-22 Thread Bart van Wissen
I'm writing a program that uses a LocationListener to listen for location updates. I'm playing a GPX file that I recorded, which contains a route. I know for sure that this file is correct. My program seems to only receive 1 location update, and then nothing. I have both minimum time and distance

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
Alright, I fixed it by changing tree = parcel.readParcelable(null); into tree = parcel.readParcelable(getClass().getClassLoader()); Thanks again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
On 21 jul, 11:13, Dianne Hackborn wrote: > There isn't enough information here to know if it is a bug in the > platform...  off-hand, I would guess not, since most of the logic in > marshalling/unmarshalling such things needs to be written by the developer > and doesn't come from the platform.  P

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
So should I submit this as a bug? On 20 jul, 13:07, Bart van Wissen wrote: > I'm using a tree structure in my application, which has to be passed > to a service. All nodes in the tree are of the type ExpressionTree, > which is an interface. > All nodes are also Parcelable. &g

[android-developers] Tree of parcelables: Class not found when unmarshalling

2009-07-20 Thread Bart van Wissen
I'm using a tree structure in my application, which has to be passed to a service. All nodes in the tree are of the type ExpressionTree, which is an interface. All nodes are also Parcelable. Now in my setup I have these types (all implement ExpressionTree and Parcelable): - ExpressionTreeRoot, a

[android-developers] Re: extending parcelables

2009-07-17 Thread Bart van Wissen
On Jul 16, 6:52 pm, Dianne Hackborn wrote: > Just use ArrayList as your data type. > Putting List in my aidl file resulted in the following errors: "The method writeBinderList(List) in the type Parcel is not applicable for the arguments (List)" for this line in the automatically generated Proxy

[android-developers] Re: extending parcelables

2009-07-16 Thread Bart van Wissen
> 2. Use a generic Parcelable class type, in which case the marshalling code > will inspect the class type, included that in the marshalled data, and use > that to re-construct it on the other side. > I don't understand this. My program deals with Condition objects, which can be put in a list to

[android-developers] Re: extending parcelables

2009-07-15 Thread Bart van Wissen
On Jul 15, 5:21 pm, Streets Of Boston wrote: > It looks like your Animal class is abstract and should never be > constructed. Declare Animal 'abstract' and see if you get an > instantiation error. It should be abstract, but I cannot make it abstract because then I cannot add the CREATOR to it, w

[android-developers] Re: extending parcelables

2009-07-15 Thread Bart van Wissen
still Animal.readFromParcel() is called. Aren't methods supposed to be "virtual" by default? On Jul 15, 4:11 pm, Bart van Wissen wrote: > > My current workaround is as follows: > - In each specific Animal subtype's writeToParcel() method, I write > the class na

[android-developers] extending parcelables

2009-07-15 Thread Bart van Wissen
I've run into the following issue: Say I have an Animal class, which is parcelable, and I have a Dog class and a Cat class, which are subclasses of Animal and also implement Parcelable. Say I have a service with the following AIDL interface: sendAnimals(List animals); Now I'm calling this remo

[android-developers] Re: Documentation inconsistency in Service.onBind() intent extras availability

2009-07-02 Thread Bart van Wissen
> > > > This way I return a binder per pool, and a binder per pool- > > > > collaberation pair, and I can keep (and dynamically create) the state, > > > > in the binders. Perhaps using the data Uri to select a specific > > > > (binder) instance isn

[android-developers] Re: Documentation inconsistency in Service.onBind() intent extras availability

2009-07-01 Thread Bart van Wissen
I think you can actually use the Intent's action to select the implementation stub that you need. In the examples, the class name is used, but I think you can use anything you want, as long as you create the appropriate intent filter for the service. On 1 jul, 20:33, Gert wrote: > I have a serv

[android-developers] Expression Evaluation library that works in Dalvik

2009-05-26 Thread Bart van Wissen
I'm looking for a library that will let me evaluate expressions at runtime. Required: - basic logical expressions (AND, OR, NOT operators) - custom functions - some mechanism to resolve variables (I want to link some variables to some entities in a ContentProvider) I have tried a number of libra

[android-developers] Wikitude Source

2009-02-05 Thread Bart
Hi everybody. Does anywone knows where the Wikitude application get it's content from? It says in the Marketplace description 'Wikipedia' and 'Panoramio'. I'd like to know what wikipedia pages are used as a source. Cheers Bart --~--~-~--~~