Android: screen rotation, on destroy and services connundrum

后端 未结 3 770
没有蜡笔的小新
没有蜡笔的小新 2021-01-21 16:12

I\'ve modified the bluetooth chat example from the SDK demos to be able to control an arduino powered bluetooth LED matrix. Using the chat program, I can send messages to the

3条回答
  •  醉酒成梦
    2021-01-21 16:42

    to add to @alex.veprix to the point (and correct I must mention) answer, if you're building for devices with API level 13 or higher, don't forget to add ScreenSize attribute in the following way: android:configChanges="orientation|screenSize"

    Details here: http://developer.android.com/guide/topics/manifest/activity-element.html

提交回复
热议问题