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. How to handle?

Hi,

   How to handle the Home key functionality. Suppose in my app i am having 5
activities. When the user in 3rd activity if he clicks on Home button i want
to finish my app. If he starts the app again then i want to start the app
from starting onwards.

I did like this but its not working,


public boolean onKeyDown(int keyCode, KeyEvent event) {
    if ((keyCode == KeyEvent.KEYCODE_HOME)) {
     //webView.goBack();
     System.out.println("HOME in TEstApps");
     finish();
        return true;
    }
    return super.onKeyDown(keyCode, event);
}

-- 

2. Closed WTA: Custom Rom Fascinate

case closed... running super clean 2.4 froyo based eb01

sms dah bisa setelah flashing modem alias baseband

ada trick untuk inject dengan custom rom ini karena ada kode2 yang harus
dimasukan supaya ngeluarin hidden menu dan nyalain dial up networking dan
ganti mode pda ke modem... nanti gw posting di thread terpisah :)

sent thru Madroidpowered by smartfren evdo
pm: m...@robotijo.org




dulu
kenceng
kt



-- 
===============

3. hprof-conv error

4. question about FindPreference.setDependency and CheckBoxPreference.setDependency

5. tcp dump of android phone through wifi..please help

6. Masalah APP 2 SD Pro

7. Out of memory error While loading lot of images from sdcard ?