release build/debug build

by sd » Mon, 03 Nov 2008 02:24:43 GMT


Sponsored Links
 Sorry about this basic question, but I cannot find an option to allow
me to specify release or debug build in eclipse. I have both eclipse
JDT plugin and Android Development Tools plugin installed. Do I need
to set up different builds myself?

Thanks,
sd
--~--~---------~--~----~------------~-------~--~----~



release build/debug build

by s d » Mon, 03 Nov 2008 03:58:30 GMT


 I found the answer already...

To compile your application in release mode, right-click the project in the
Package pane and select Android Tools > Export Application Package.





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


Sponsored Links


Other Threads

1. how to implement scrolling text?

HI,

What is the best way to implement scrolling text (with behavior
similar to that of HTML tag 'marquee')??

I've been trying to do this using TextViews + Animations but I'm
having troubles primarily because of sizing issues. If my text is long
enough that it exceeds the screen width, it won't be drawn completely
(it's size will be chopped at screen width). Thus,  when I animate it
from right to left, only a part of the text will be displayed. This
happens if I allow a maximum of 1 line in my TextView, because
otherwise it makes the TextView have multiple lines. If I make it
horizontally scrollable, the same 'chopped-off' behavior is seen.

I think this happens because the TextView's parent imposes some
restrictions on its size. Is there a way to bypass these restrictions
so that the TextView is 'drawn' even if parts of it will be off-
screen?

If that's not possible, what's an alternative way of implementing this
behavior?

Thanks!
--~--~---------~--~----~------------~-------~--~----~

2. SimpleCursorAdapter and setListAdapter problems

I am trying to fill the data in two text views in a single row (see
xml) and am trying to use SimpleCursorAdapter to do it.  As I
understand the function, it is allowed to take an array of strings and
an array of ids which you see in the list below.  When I run the
application from the phone, it errors out at start (the client view is
the default view to show which is where this function is executed
from).  Can anyone fill me in on what I am missing?

XML
<?xml version="1.0" encoding="utf-8"?>
<TextView
   xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="60px">
   <TextView
       android:id="@+id/client_row_title"
       android:textSize="20px" />
   <TextView
       android:id="@+id/client_row_body"
       android:textSize="10px" />
</TextView>


private void fillData(){
       Cursor c = mDbHelper.fetchAllClients();
       startManagingCursor(c);

       // Set Client Row Title
       String[] from = new String[]{ FinanceDbAdapter.KEY_TITLE,
FinanceDbAdapter.KEY_BODY };
       int[] to = new int[] { R.id.client_row_title,
R.id.client_row_body };

       // Now create an array adapter and set it to display using our
row
       SimpleCursorAdapter clients = new SimpleCursorAdapter(this,
R.layout.client_row, c, from, to);
       setListAdapter(clients);
   }
--~--~---------~--~----~------------~-------~--~----~

3. Set Screen Orientation of a Tab

4. Touchscreen PenMount

5. Mp3 file read problem in Real device (G1)

6. A simple question regarding inter-process communication.

7. Permission of SystemClock.setCurrentTimeMillis()