is there any way to run java file on the emulator??

by Maryam Naveed » Mon, 07 Jul 2008 14:06:32 GMT


Sponsored Links
 hey ppl!!
i have another question??
is there anyway that an already developed application in java can be run on
the emulator (which has sqlite and lucene integrated )??
plzzzzzzzzzzzzz i need to knowwwwww:D

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



is there any way to run java file on the emulator??

by Mark Murphy » Mon, 07 Jul 2008 14:14:20 GMT


 


There was a discussion of this on the android-developers group a couple 
of months ago:

 http://tinyurl.com/64sl7x 

In short: you can, but you need to make some changes to the Lucene 
source code to avoid some things Lucene expects that Android lacks.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android Training on the Ranch in September!  http://www.bignerdranch.com 

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


Sponsored Links


is there any way to run java file on the emulator??

by Maryam Naveed » Mon, 07 Jul 2008 14:42:50 GMT


 thanks alot!!
you saved my life:D






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



is there any way to run java file on the emulator??

by Maryam Naveed » Mon, 07 Jul 2008 14:52:48 GMT


 still one thing to go and  a real stupid onw how to get the lucene api into
the emulator??
i mean do i just simply import the java file and run it as android
application??
coz i treid that but nothing seems to work??
and is it neccessary to build an html file with the regular one??

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



Other Threads

1. Http proxy settings not working in Android Emulator 2.1

It looks like I can't reproduce this on Linux and OS X, I guess you're all
on Windows, right ?












> 

2. compatible screen sizes on droid G1

I have read the documentation on "supporting multiple screens" but
can't seem to figure it out.
I mean, i understand that resolution effects it but it just doesn't
make sense to me that the droid and the T-Mobile G1 both use the
regular "layout" directory. I developed the app on a droid and got
everything to work but there is one view that i need to use hard-coded
pixels.....which im using dpi. Now when installing the app on the G1
things on that view are getting cut off because the G1 has a much
smaller screen.  If I redo it to work on the G1 then everything is all
squished together on the droid and even tho everything is visible this
way, it looks silly.

I tried using the different attributes in my manifest but that didn't
help but since i'm using minSDK as 4, the support different screen
size attributes are true by default anyway.

Am i missing something very simple and obvious or is it just the way
it is?? Isn't the physical screen size of the G1 like an 1" smaller??
I'm still kinda new to Android development so forgive me if i am
missing something simple

-- 

3. Admob vs. Mobclix vs. Quattro

4. Vibrator.vibrate() makes the application crash

5. Conversion to Dalvik format failed - error

6. deleteOnExit when and how does an Android JVM exit

7. Android Developer Device Seeding Program - Updates?