How to get source code of default Messaging application in Android?

by Jean-Baptiste Queru » Tue, 14 Apr 2009 21:21:54 GMT


Sponsored Links
  http://android.git.kernel.org/?p=platform/packages/apps/Mms.git ;a=summary

JBQ

On Tue, Apr 14, 2009 at 4:42 AM, phpandr...@gmail.com





-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

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

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



Other Threads

1. Eclipse File Explorer doesn't work on G1

I'm, at long last, working with a real phone, instead of just the
emulator.

I've noticed that the Eclipse File Explorer doesn't seem to be able to
actually explore files on the G1.  It shows three top level
directories: data (empty), sdcard, and system.  If I use adb, I can
see that data does, in fact, have stuff in it.  I can't install apps
with the File Explorer either.  I can with adb.  They go into the data
folder (which the Explorer still thinks is empty)

Anybody else see this?  Better yet, anybody know how to fix it?

Thanks,
  -blake
--~--~---------~--~----~------------~-------~--~----~

2. Change linear layout programmatically - problem

Hi!

I'm trying to change height layout from "wrap_content" to
"fill_parent" from code. Using landscape mode.
public class BBB extends Activity
{
           @Override
            public void onCreate(Bundle savedInstanceState) {
                   super.onCreate(savedInstanceState);
                   setContentView(R.layout.bbb);
                        LinearLayout layout = 
(LinearLayout)findViewById(R.id.mainZZZ);

                LayoutParams params = new LayoutParams
(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
                        layout.setLayoutParams(params);
           }
}
I have bbb.xml layout file
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:id="@+id/mainZZZ"
    android:layout_width="fill_parent"
android:layout_height="wrap_content">
</LinearLayout>

Why the activity can't be loaded after run-time changes?
Missing I something?

Thanks in advance,
Evgeny

Stack error:
01-10 21:53:41.570: WARN/dalvikvm(1680): threadid=3: thread exiting
with uncaught exception (group=0x40010e28)
01-10 21:53:41.581: ERROR/AndroidRuntime(1680): Uncaught handler:
thread main exiting due to uncaught exception
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):
java.lang.ClassCastException: android.view.ViewGroup$LayoutParams
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.LinearLayout.measureVertical(LinearLayout.java:323)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.LinearLayout.onMeasure(LinearLayout.java:275)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.View.measure(View.java:6621)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2791)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.FrameLayout.onMeasure(FrameLayout.java:208)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.View.measure(View.java:6621)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.LinearLayout.measureVertical(LinearLayout.java:461)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.LinearLayout.onMeasure(LinearLayout.java:275)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.View.measure(View.java:6621)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2791)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.widget.FrameLayout.onMeasure(FrameLayout.java:208)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.View.measure(View.java:6621)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.ViewRoot.performTraversals(ViewRoot.java:620)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1103)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.os.Handler.dispatchMessage(Handler.java:88)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.os.Looper.loop(Looper.java:123)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
android.app.ActivityThread.main(ActivityThread.java:3742)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
java.lang.reflect.Method.invokeNative(Native Method)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
java.lang.reflect.Method.invoke(Method.java:515)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
01-10 21:53:41.841: ERROR/AndroidRuntime(1680):     at
dalvik.system.NativeStart.main(Native Method)




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

3. WebView: Need help with local file Urls in the browser

4. any other method

5. RTP Query

6. Released Radio's Diabetes Companion, Early Alpha to Marketplace

7. What is causing "Service not registered" from unbind(service)?