How do I get Source code of Gallery application ?

by Rahul Bhagwat » Wed, 05 Aug 2009 15:16:03 GMT


Sponsored Links
 How do I get Source code of Gallery application ?
I did not find source code of this application in android source.
--~--~---------~--~----~------------~-------~--~----~



How do I get Source code of Gallery application ?

by Yusuf T. Mobile » Thu, 06 Aug 2009 01:34:16 GMT


 packages/apps/Camera/src/com/android/camera/ImageGallery.java



Yusuf Saib
Android
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.





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


Sponsored Links


Other Threads

1. Custom ListView complex item does not appear correctly

Hi guys and gals,

I am having a very difficult time with making complex listview items
show properly.

I am using the following layout xml for the item:

<code><source>
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
                android:layout_width="fill_parent"
android:layout_height="fill_parent">
                <TextView android:id="@+id/TextView01"
android:layout_width="wrap_content"
                        android:layout_height="wrap_content" 
android:textSize="18dip"
                        android:layout_marginTop="4dip" 
android:layout_marginBottom="4dip"
android:layout_marginLeft="10dip" android:text="sdf asdf asdf sdfghsdf
sdfg sdfgsd fsd fgdsfg sdfg sdfg sdfg sdf" android:lines="1"></
TextView>
                <LinearLayout android:id="@+id/zero_view"
                        android:layout_width="fill_parent"
android:layout_height="fill_parent" android:gravity="right|
center_vertical">
                                <ImageButton android:id="@+id/ImageButton01"
android:layout_height="wrap_content"
                                        
android:background="@drawable/double_right_arrow_24x22"
android:layout_width="wrap_content"></ImageButton>
                </LinearLayout>
</LinearLayout>
</source></code>

The idea is to put a text (this item is a child of an expandable list
view item) and a simple arrow icon to the right of the item. The
problem is that with longer text, the icon doesn't show up, probably
having been pushed to the right outside the screen. Is there a way to
make sure I can solve this in a device independent way from the layout
only? Ideally the text should ellipsize and scroll in the textview, If
not possible, then it should cut off a few pixels before the icon.
How can I do this. Please help me asap, I am having problems
understanding how each layout settings affect the position. Speaking
of which, is there a comparison with options for each layout, item
position combinations other than the API Demos source code?

-- 

2. Geocoder not working on emulator

hi, i am trying to run the example as given in the book Professional
Android  Development by Reto Meier[pg 220], but i am not able to get
the address string i always get "No address" . I read about the same
prob in this forum, and i tried it in api level 7 but in both 7 and 8
api levels , i am getting the same output, i.e. No address.
Also can anyone please tell me that here i have to manually supply the
lat and longitude , so it is it possible that to get them
automatically?

-- 

3. Send MMS without any GUI

4. file size limit on sdcard in emulator

5. Relationship between bindService and onServiceConnected

6. how do I create an executable file from a working android project with eclipse?

7. Solved WTA : Nexus tidak bisa browsing