How to detect whether the virtual keyboard is visible or not? SDK 1.5

by Dianne Hackborn » Wed, 29 Apr 2009 12:28:44 GMT


Sponsored Links
 There is no way to discover this, except for indirectly as your UI is
resized to accommodate the IME.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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



Other Threads

1. give audio file to RecognizerIntent

Hi

Is there a way to give an audio file to the Recognizer somehow?
I have a bunch of "one liners" on wav format that I would love to see
if the recognizer is able to detect the content.

Joaquin

-- 

2. App Launching error

Hi All,

This is very first program with Android (Simple Hello world
program) :)  I am getting crash while launching the application, I
chosen (SDK 7 API) for start with. Log of the crash i shared the log
with this mail.

Could you help me to fix the problem.


Log:




!ENTRY com.android.ide.eclipse.adt 4 0 2011-02-26 12:55:37.198
!MESSAGE Failed to load properties file for project 'Helloworld'
!SESSION 2011-02-26 13:05:07.062
-----------------------------------------------
eclipse.buildId=M20100211-1343
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY com.android.ide.eclipse.adt 4 0 2011-02-26 13:05:17.181
!MESSAGE loadAndParseRClass: failed to find manifest package for
project Helloworld2

!ENTRY org.eclipse.core.resources 8 2 2011-02-26 13:05:41.555
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: SDK is not loaded yet
        at
com.android.ide.eclipse.adt.internal.build.builders.BaseBuilder.stopBuild(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.build.builders.BaseBuilder.abortOnBadSetup(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.build(Unknown
Source)
        at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:627)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
170)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
201)
        at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:253)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
256)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
218)
        at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
360)
        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
523)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
1800)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
1782)
        at
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
502)
        at org.eclipse.core.internal.resources.Project.build(Project.java:94)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown
Source)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
853)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
703)
        at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:
866)
        at org.eclipse.debug.internal.ui.DebugUIPlugin
$8.run(DebugUIPlugin.java:1069)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2011-02-26 13:05:41.556
!MESSAGE SDK is not loaded yet
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2011-02-26 13:05:41.556
!MESSAGE SDK is not loaded yet

!ENTRY org.eclipse.core.resources 8 2 2011-02-26 13:05:41.557
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: SDK is not loaded yet
        at
com.android.ide.eclipse.adt.internal.build.builders.BaseBuilder.stopBuild(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.build.builders.BaseBuilder.abortOnBadSetup(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(Unknown
Source)
        at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:627)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
170)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
201)
        at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:253)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
256)
        at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
218)
        at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
360)
        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
523)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
1800)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
1782)
        at
org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
502)
        at org.eclipse.core.internal.resources.Project.build(Project.java:94)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown
Source)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
853)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
703)
        at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:
866)
        at org.eclipse.debug.internal.ui.DebugUIPlugin
$8.run(DebugUIPlugin.java:1069)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2011-02-26 13:05:41.558
!MESSAGE SDK is not loaded yet
!SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2011-02-26 13:05:41.558
!MESSAGE SDK is not loaded yet

!ENTRY org.eclipse.core.jobs 4 2 2011-02-26 13:05:48.123
!MESSAGE An internal error occurred during: "Launching Helloworld".
!STACK 0
java.lang.NullPointerException
        at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown
Source)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
853)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
703)
        at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:
866)
        at org.eclipse.debug.internal.ui.DebugUIPlugin
$8.run(DebugUIPlugin.java:1069)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 

3. Emulator looses network connection

4. touch listener with background service

5. Launching an app from the quick search box creates a new instance of the app?

6. How to take a picture from a front camera

7. Sekedar share(curhat?) pengiriman belanja online