How-To: Display Emulator in Landscape (Sideways) View?

by JLMG » Thu, 12 Mar 2009 06:41:06 GMT


Sponsored Links
 I was over at db4o and they had a demo with the emulator displayed in
landscape (sideways) mode.

How do you do that?

I'm developing and app that needs the keyboard exposed.

Thanks!

JLMG
--~--~---------~--~----~------------~-------~--~----~



How-To: Display Emulator in Landscape (Sideways) View?

by Mark Murphy » Thu, 12 Mar 2009 06:41:50 GMT


 


<Ctrl>-<F12> toggles you between portrait and landscape modes in the
emulator.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android Training in Sweden --  http://www.sotrium.com/training.php 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Android 2.1 without SD RAM

Hope this is the right mailing list.

I have a converted windows tablet with Android 2.1 on it, but no SD RAM only
USB.

The trouble is I cannot do downloads as they want to go onto SD RAM. Is it
possible to redirect them go on the USB Flash RAM ?

I looked in the settings but could find nothing to do this.

Many thanks in advance,

Aaron

-- 
.

2. ADT is no longer launching APK on device

Hi all,

I've had a very strange thing happen here, one minute I'm debugging my
app (on a Nexus One), no problems, the next it refuses to launch after
installation every time. My logcat contains the following (hopefully
the relevant parts, trimmed out GC logs etc):

D/PackageParser(21026): Scanning package: /data/app/vmdl26933.tmp
I/PackageManager(21026): Removing non-system package:com.domain.proj
I/ActivityManager(21026): Force stopping package com.domain.proj
uid=10046
D/PackageManager(21026): Scanning package com.domain.proj
I/PackageManager(21026): /data/app/com.domain.proj-2.apk changed;
unpacking
I/PackageManager(21026): Package com.domain.proj codePath changed
from /data/app/com.domain.proj-1.apk to /data/app/
com.domain.proj-2.apk; Retaining data and using new
D/installd(   61): DexInv: --- BEGIN '/data/app/com.domain.proj-2.apk'
---
D/dalvikvm(30993): creating instr width table
D/dalvikvm(30993): DexOpt: load 24ms, verify 62ms, opt 2ms
D/installd(   61): DexInv: --- END '/data/app/
com.domain.proj-2.apk' (success) ---
D/PackageManager(21026):   Activities: com.domain.proj.[...snip for
brevity...]
I/ActivityManager(21026): Force stopping package com.domain.proj
uid=10046
W/PackageManager(21026): Code path for pkg : com.domain.proj changing
from /data/app/com.domain.proj-1.apk to /data/app/
com.domain.proj-2.apk
W/PackageManager(21026): Resource path for pkg : com.domain.proj
changing from /data/app/com.domain.proj-1.apk to /data/app/
com.domain.proj-2.apk
I/installd(   61): move /data/dalvik-cache/
d...@app@com.domain.proj-2....@classes.dex -> /data/dalvik-cache/
d...@app@com.domain.proj-2....@classes.dex
D/PackageManager(21026): New package installed in /data/app/
com.domain.proj-2.apk
I/ActivityManager(21026): Force stopping package com.domain.proj
uid=10046
D/VoiceDialerReceiver(21629): onReceive Intent
{ act=android.intent.action.PACKAGE_REMOVED
dat=package:com.domain.proj flg=0x10000000
cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
V/RecognizerEngine(21629): deleteCachedGrammarFiles /data/data/
com.android.voicedialer/files/openentries.txt
D/VoiceDialerReceiver(21629): onReceive Intent
{ act=android.intent.action.PACKAGE_ADDED dat=package:com.domain.proj
flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has
extras) }
V/RecognizerEngine(21629): deleteCachedGrammarFiles /data/data/
com.android.voicedialer/files/openentries.txt
D/vending (21454): [79] LocalAssetCache.updateOnePackage(): No local
info for com.domain.proj
I/installd(   61): unlink /data/dalvik-cache/
d...@app@com.domain.proj-1....@classes.dex
D/vending (21454): [81] LocalAssetCache.updateOnePackage(): No local
info for com.domain.proj
D/AndroidRuntime(30985): Shutting down VM
I/AndroidRuntime(30985): NOTE: attach of thread 'Binder Thread #3'
failed

That's it, the app icon refreshes in the launcher but it doesn't then
run. This applies to any projects I try to run on the phone, not just
this app.

I should say it launches fine on the emulator, and I have tried
installing eclipse and ADT afresh, creating a new workspace,
uninstalling the app on the phone, rebooting phone and Mac several
times.

Does anyone have an ideas on the cause of this? I can't seem to find
anything online, some bits regarding dalvik-cache but nothing that I
can try out.

Many thanks,
Richard

-- 

3. Handling multi-byte Unicode strings in native code

4. Application is shutdown unexpectedly

5. Galaxy 5 goes to.....

6. Dungeon Hunter HD.. FREE!!

7. How i can migrate my app from 1.5 to 1.6 api fast and safe???