how can i create a apk file from my project

by mystic-d » Tue, 13 May 2008 09:31:07 GMT


Sponsored Links
 hey
how can i create a apk file from my project ?
Thanks !
--~--~---------~--~----~------------~-------~--~----~



how can i create a apk file from my project

by Mark Murphy » Tue, 13 May 2008 12:08:06 GMT


 


If you are using the command-line tools, and you created your project 
via the activityCreator.py script, all you need to do is run ant from 
the project's base directory, and it will compile your project into an 
APK file in your bin/ directory.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
The Busy Coder's Guide to Android Development -- coming in June 2008!

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


Sponsored Links


how can i create a apk file from my project

by mystic-d » Tue, 13 May 2008 19:00:44 GMT


 thanks for your replay Mark,
but what do you mean 'command-line' tools ?  im using the Eclipse for
the development...
thanks





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



how can i create a apk file from my project

by Zach Hobbs » Wed, 14 May 2008 00:53:19 GMT


 You can find an APK file in your project's bin folder, or you can right click 
on your project and hit "Android Tools -> Export Application Package".

-- 

Zach Hobbs
HelloAndroid.com
Android OS news, tutorials, downloads 






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



Other Threads

1. GPS function not present in system diretory

Hi all,

I am trying to port gps on my board using latest cupcake source code.
I have checked out the latest source code and built android root file
system.
I am facing the following problem :-

$ cd out/target/product/generic

/******hardware/libhardware_legacy/{*filter*}/{*filter*}.c*********/
$ grep -RH "{*filter*}_on" ./
Binary file ./symbols/system/lib/libhardware_legacy.so matches
Binary file ./symbols/system/lib/libandroid_servers.so matches
Binary file ./system.img matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/LINKED/libhardware_legacy.so
matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/{*filter*}/{*filter*}.o
matches
Binary file
./obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so
matches
Binary file
./obj/SHARED_LIBRARIES/libandroid_servers_intermediates/com_android_server_HardwareService.o
matches
Binary file ./obj/PACKAGING/systemimage_unopt_intermediates/system.img
matches
Binary file ./obj/lib/libhardware_legacy.so matches
Binary file ./obj/lib/libandroid_servers.so matches
Binary file ./system/lib/libhardware_legacy.so matches
Binary file ./system/lib/libandroid_servers.so matches

/*******hardware/libhardware_legacy/flashlight/flashlight.c******/
$ grep -RH "set_flashlight_enabled" ./
Binary file ./symbols/system/lib/libhardware_legacy.so matches
Binary file ./symbols/system/lib/libandroid_runtime.so matches
Binary file ./system.img matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/LINKED/libhardware_legacy.so
matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/flashlight/flashlight.o
matches
Binary file
./obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android_os_Hardware.o
matches
Binary file
./obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so
matches
Binary file ./obj/PACKAGING/systemimage_unopt_intermediates/system.img
matches
Binary file ./obj/lib/libhardware_legacy.so matches
Binary file ./obj/lib/libandroid_runtime.so matches
Binary file ./system/lib/libhardware_legacy.so matches
Binary file ./system/lib/libandroid_runtime.so matches

/******hardware/libhardware_legacy/gps/gps_gemu.c*******/
$ grep -RH "qemu_gps_init" ./
Binary file ./symbols/system/lib/libhardware_legacy.so matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/LINKED/libhardware_legacy.so
matches
Binary file
./obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/gps/gps_qemu.o
matches

No gps function present in system.img or system directory
Which option should be enabled for gps function entery in system directory?
Can someone provide me pointers as to how to get the gps function entry in
system/lib/libhardware_legacy.so file.
Any help will be highly appreciated.

Thanks & Regards,
Deepak

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:  http://www.***.com/ 
-~----------~----~----~----~------~----~------~--~---

2. making HelloGallery work

Hi,

I am getting compilation error in the following statement
TypedArray a = obtainStyledAttributes(android.R.styleable.g);

using the HelloGallery example
What am I doing wrong.

Thanks

My main.xml file contains
<?xml version="1.0" encoding="utf-8"?>
<Gallery xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/gallery"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
/>

strings.xml contains

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, HelloAndroid</string>
    <string name="app_name">Hello, Android</string>
<declare-styleable name="g">

</declare-styleable>
</resources>



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

3. How to add another status bar

4. sdcard - remaining space

5. Build Environment

6. Setting up UDP connections between devices

7. Updated to 1.5 and R.java is not regeneratated