[android-developers] Can't make new Android project in Eclipse.

2012-08-16 Thread Johannes
an Android Application like the one in the tutorial. Thanks - Johannes. -- 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

[android-developers] Binder Interface - Reply Parcel gets lost

2012-03-20 Thread Johannes Wilken
Hey, I'm having a little problem with parcels which I couldn't nail down with web-searches and the android documentation. The problem is, I'm having a service, to which I connect using a binder in my activity. When I start a transaction, the binder behaves as expected, meaning it collects the

[android-developers] WifiManager disables all networks

2012-03-09 Thread Johannes
I have a really weird issue with WifiManager: I connect to a network using WifiManager.enableNetwork(int netId, boolean disableOthers), with setting disableOthers to 'true'. This seems necessary in order to reliably establish a connection. However, this sets all other saved networks to 'disabled',

Re: [android-developers] WifiManager disables all networks

2012-03-09 Thread Johannes
Thanks, Kostya. Yep. Although - some firmwares do connect to disabled networks, if those are the only ones found by scanning. Okay, this is what I was afraid of, that this seems to be a very device-specific thing. Are you specifying the networkId? Yes. When are you doing this? I

[android-developers] New calendar API: pick action intent

2011-12-12 Thread Johannes
I have noticed that in the new ICS calendar provider API there are intent mechanisms to start the calendar and to insert new calendar events (http://developer.android.com/guide/topics/providers/calendar- provider.html#intents). I wonder if there will be some sort of picking mechanism using intents

Re: [android-developers] Re: How to calculate the distance between two degree values? (for example: 350º to 15º = 25º / 250º to 190º = 60º)

2011-09-30 Thread Johannes Kingma
But if you mean distance in degrees it would be 'x mod 360' Op 29 sep. 2011 17:42 schreef JackN j...@jacknorth.com het volgende: -- 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] Making (proper) use of gyroscope?

2011-09-04 Thread Johannes Mario Ringheim
I am trying to make one of my apps, Tilt Theremin, more interesting by making use of the gyroscope sensor. As far as I have understood, one has to use it in combination with accelerometer and compass to get accurate reading of pitch, roll and yaw. I have watched this talk:

[android-developers] Re: Making (proper) use of gyroscope?

2011-09-04 Thread Johannes Mario Ringheim
Update: Indeed, it looks like TYPE_ROTATION_VECTOR is calculated on basis of accelerometer and compass: http://www.google.com/codesearch#uX1GffpyOZk/services/sensorservice/RotationVectorSensor.cpp So the questions are now: * When will these be implemented to include gyroscope? * Is it possible

[android-developers] Graphics come out ugly on Nexus S after doing glRotate

2011-09-01 Thread Johannes Mario Ringheim
I am developing a 2D app in which I am using OpenGL ES to display the graphics. It is done in the most basic manner, by having textured quads and orthographic projection. It has worked very well, until I received my new Nexus S phone. On this device, but not on any other as far as I have seen,

[android-developers] Access to gyroscope under Froyo?

2011-08-22 Thread Johannes Mario Ringheim
I am considering the LG Optimus 2X as my next phone. One of the most important things I'm after is the gyroscope sensor. Appearently the Optimus 2X is supposed to have one, but will it be available from the API when it is only running Froyo? AFAIK gyroscope support was not added before

[android-developers] ISO 15693 UID inversed

2011-05-18 Thread Johannes
I'm not entirely sure whether this is an Android issue, but the byte array Tag.getId() returns on an ISO 15693 tag seems to return the actual UID bytes in inversed order. Any ideas on this? Johannes -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] NFC: convert MIME type to byte[]?

2011-04-21 Thread Johannes
(http://www.ietf.org/rfc/rfc2046.txt). So, how do I correctly parse a MIME type string into said byte[] array? Johannes -- 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] Can a local install get updates from the market?

2011-03-29 Thread Johannes De Smedt
Hi I want my application to be downloadable from both the android market as from our website. I know that this is possible if you turn on 'Allow 3rd party applications on your phone'. What I want to know is: if a user installs the app from our website, will he be able to receive updates from the

[android-developers] Faking sensor data

2011-03-07 Thread Johannes Schenk
Hello everybody Is it possible to fake sensor data? The idea would be to enable alternative input methods for games that rely on accelerometer data. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: BufferPercentage never reaches 100 %

2011-02-07 Thread Johannes De Smedt
Anyone? On 27 jan, 11:04, Johannes De Smedt johannes.desm...@gmail.com wrote: Hello, I have a video app that plays videos from urls. I have a MediaController that displays the progress of the playback and of the buffering. I have tested my app on different devices (HTC Magic - android 1.5

[android-developers] BufferPercentage never reaches 100 %

2011-01-27 Thread Johannes De Smedt
Hello, I have a video app that plays videos from urls. I have a MediaController that displays the progress of the playback and of the buffering. I have tested my app on different devices (HTC Magic - android 1.5 // Samsung apollo - android 2.1update1) and on it works fine. However when I test my

[android-developers] Re: Media Player - crop video for fullscreen mode

2011-01-26 Thread Johannes De Smedt
... Thanks Johannes On 19 aug 2010, 16:46, Sandy snarr...@gmail.com wrote: I've a similar usecase. Has anyone figured out how this (croppingvideoor surface views) can be achieved? Thanks, Sandy On Jun 30, 9:41 am, TeddybearCrisis sgr...@web.de wrote: I've got the same question though I have

[android-developers] Close or uninstall DDMS from Eclipse

2011-01-26 Thread Johannes Mario Ringheim
Is there any way to close or uninstall the DDMS from Eclipse? I'm using the standalone one, and have no use for two of them at the same time. Also, programs seem to show up in only one of the DDMS's at random, displaying a question mark in the other. Thanks for any ideas. -- You received this

[android-developers] Clickable ImageView with custom selector

2011-01-06 Thread Johannes De Smedt
Hello, In my application I need an ImageView that is clickable and that shows its selected state to the user. It should also be longClickable. My problem is that I when I set my ImageView clickable, my onClickListener is no longer called. And when I don't set my ImageView clickable, my selected

[android-developers] Speed up showing Activity with ListView

2010-12-23 Thread Johannes De Smedt
I have an application that loads a list of items with thumbnails from a server, and shows those items in a ListView. The laoding of the data is done before the ListViewActivity is started and while that is being done, a ProgressDialog is shown. When the loading of the data is done, I start an

[android-developers] Magnetometer causes lag

2010-11-09 Thread Johannes Mario Ringheim
I'm developing an application which will use magnetometer data for interaction, by moving a magnet towards and away from the phone. This works fine (enough), but it seems like when I move the magnet too close to the phone, a noticeable lag occurs, and these messages are being spit out to the log:

[android-developers] Re: listview selector based on item-type

2010-11-05 Thread Johannes De Smedt
4, 2010 at 4:57 PM, Johannes De Smedt johannes.desm...@gmail.com wrote: I have looked, but I don't seem to see a solution. I have successfully implemented a list with 2 types of items, but I can set the listSelector only for the whole list. Not for each type of items... On 3 nov, 17

[android-developers] Re: listview selector based on item-type

2010-11-04 Thread Johannes De Smedt
ListViews can show multiple view types. On Wed, Nov 3, 2010 at 10:10 PM, Johannes De Smedt johannes.desm...@gmail.com wrote: Hi, In my application I have a list with 2 types of items. For the first type I can use the default selector drawn behind the content, but for the second type I

[android-developers] listview selector based on item-type

2010-11-03 Thread Johannes De Smedt
Hi, In my application I have a list with 2 types of items. For the first type I can use the default selector drawn behind the content, but for the second type I would need another selector that is drawn in front of the content. Can this be done in android? The reason why I need another

[android-developers] Wifi-connection

2010-10-01 Thread Johannes De Smedt
Hi, I have an application in which I need to connect to an access point with a specific name. Therefor I start a scan (WifiManager.startScan()) and listen to BroadCastEvents of type SCAN_RESULTS_AVAILABLE_ACTION and NETWORK_STATE_CHANGED_ACTION. When the scan results are available, I check if my

[android-developers] widget updating when not in focus

2010-09-22 Thread Johannes Schwarz
is being viewed atm or not... i'ld like to solve this problem, as a constant update causes memory and battery-problems for me... thanks in advance! greets johannes -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] set system setting “use only 2g networks” programatically

2010-03-15 Thread johannes
how can i force the system to use 2g instead of 3g? there is an option for this in the system settings but i didn't find a function or any content provider in the android-sdk to set this option! thx, jo -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Error in android_server_BluetoothEventLoop.cpp?

2010-02-08 Thread Johannes Carlsson
? DBUS_WATCH_WRITABLE : 0) | (flags POLLERR ? DBUS_WATCH_ERROR : 0) | (flags POLLHUP ? DBUS_WATCH_HANGUP : 0); } Regards /Johannes The postings on this site are my own and don’t necessarily represent Sony Ericsson’s positions, strategies or opinion -- You received

[android-developers] Re: Emulator problem with GSM network

2010-01-29 Thread Johannes Carlsson
: channel= 0 len= 13 'ok:connect:04' emulator: qemud_serial_read: channel= 4 len= 4 '000c' emulator: qemud_serial_read: channel= 4 len= 12 'list-sensors' emulator: _hwSensorClient_receive: 'list-sensors' Regards /Johannes The postings on this site are my own and don’t necessarily represent Sony

[android-developers] Emulator problem with GSM network

2010-01-28 Thread Johannes Carlsson
the emulator. I though I share this information if there are anyone else struggling with this problem. Regards /Johannes --- The postings on this site are my own and don’t necessarily represent Sony Ericsson’s positions, strategies or opinions -- You received this message because you are subscribed

[android-developers] Calling ListView.setSelection has no effect when called directly after adapter data was invalidated

2009-05-04 Thread Johannes Rudolph
is the correct way to do this? Johannes --~--~-~--~~~---~--~~ 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