Hi Dan,
The complete package size is 80 MB, I have tried several times in last
12 hrs and unable to make any progress, every time a failure.
It includes two zip files,
- one consist of 4 pdf documents; and
- second consist of a windows setup.exe(a self extracting
installable) and three .apk files.
Kindly suggest some mechanism.
Vishal Katyal
Megha,
Urgent help needed here!!!
I too need to have multiple (In my case only 2) .apk's installed into
the emulator. Before I tried to bundle them together, I thought I
should try installing just one of them with "adb install".
When I try to do that, I get:
DEBUG/PackageManager(510): Adding package
name.renkel.james.HereIAm
WARN/PackageManager(510):
*************************************************
WARN/PackageManager(510): Application package
name.renkel.james.HereIAm already installed. Skipping duplicate.
WARN/PackageManager(510):
*************************************************
OK, so I use the dev tool package browser to remove the package, and
try the adb install again. That seems to work, but when I try to
execute the application on the emulator, I get
INFO/ActivityThread(2211): Loading code package
name.renkel.james.HereIAm (in name.renkel.james.HereIAm)
DEBUG/dalvikvm(2211): Exception Ljava/lang/RuntimeException; from
ActivityThread.java:1699 not caught locally
DEBUG/dalvikvm(2211): Exception Ljava/lang/RuntimeException; from
ZygoteInit.java:1553 not caught locally
DEBUG/AndroidRuntime(2211): Shutting down VM
WARN/dalvikvm(2211): threadid=3: thread exiting with uncaught
exception (group=0x4000fdf8)
ERROR/AndroidRuntime(2211): Uncaught handler: thread Main exiting
due to uncaught exception
ERROR/AndroidRuntime(2211): java.lang.RuntimeException: Unable to
instantiate activity
ComponentInfo{name.renkel.james.HereIAm/
name.renkel.james.HereIAm.HIAactivity}:
java.lang.ClassNotFoundException:
name.renkel.james.HereIAm.HIAactivity in loader
android.lang.PathClassLoader@40060180
and a whole lot more. OK, so let's get back to a known good
environment while I try to figure this out.
When I go back to eclipse and try and run the application from there,
I get the duplicate package messages again, then unable to instantiate
activity messages again.
Then if I use the package browser to again remove the package, and
then run the application from eclipse, all seems to be OK.
So, I'm at least I'm back to where I was before I started all of this.
But I can't successfully install one, let alone multiple, applications
with adb.
Could you please, on an urgent basis:
1. explain in detail how to install an application into the emulator
using adb; and
adb install myproject/bin/<appname>.apk to upload
the executable. So, for example, to install the Lunar Lander sample, navigate
in the command line to <your_sdk_dir>/sample/LunarLander and type ../../tools/adb install bin/LunarLander.ap
2. how to package multiple applications together so they can be
installed in one step, as is appently required by the "new" and ever
evolving ADC submission rules.
I realize this is late in the game, as it were, but unless this is
explained to me (and I believe many others) and I can successfully do
this, my ADC submission won't be able to be installed and evaluated
per the "rules" that have, late in the game, been established.
Sorry, if I sound a little bitter about this, but I think the bugs
should have been worked out of the submission process, if you will,
much earlier than this, so that as the deadline approached we can
concentrate on developing great applications and not have to worry
about whether or not all the long and hard work we've put in so far
will go to naught.
Judging from traffic in this discussion group and others, I know I'm
not alone in requiring this capability.
Again, please, please, please, provide help here on an urgent basis.
Thanks in advance for your attention to this.
think wisely... Speak wisely... And act wisely...
Wesley Sagittarius.
think wisely... Speak wisely... And act wisely...
Wesley Sagittarius.
After deleting the emulator's .img file, i.e., starting with a clean
slate, was able to get the adb installs to work.
Previously, I was doing them from the bin folder of the project and
using the command "adb install HereIAm.apk". This time I did "adb
install bin\HereIAm.apk" from the project folder, rather than the bin
folder of the project. Maybe that makes the difference, I don't know.
I least I can now make adb install work in some way.
That still leaves the questions:
* Can you have multiple adb installs because ya can't combine the
applications because they both have services; and
* Can ya have little java applications running alongside the
emulators that are used to overcome deficiencies, restrictions, bugs,
etc. in the emulator and SDK.
I would like get incoming call number in registered IntentReceiver, and
I getting notification about incoming calls and from which phone call is
received (in emulator named "GSM") with state "RINGING".
Notification does not provide no more information, especially phone number.
Using name of phone I getting IPhone interface to the Phone object.
Object contains method getBackgroundCall() giving access to the Call and
Connection objects, interface does not.
May by what I'm doing is completely wrong. Please give me advice how to
obtain phone number of incoming message.
Unfortunately these objects are not well documented so first time it was
my mistake that phoneNumber is a property of incoming call ;( (actually
it is "GSM").
I think to try CallLog object, but I need phone number when call is
established but not after call is finished.
--
Best regards,
Andrei Ivanov
phone tel:+7 (901) 924 0456
e-mail mailto:andrei....@commandus.com
web page: http://commandus.com/
VoIP: sip:50...@icsit.ru
G-Talk: jid:andrei.i.ivanov