How's preloaded-classes file generated?

by Shashank » Thu, 30 Apr 2009 07:57:27 GMT

Sponsored Links

How does google has generated preloaded-classes file?

Are they using any sort of automation or is it manually generated by
some person / team?




Other Threads

1. writing to sdcard (change sdcard permissions ddms)

I am writing an andrid program to save sms from certain number to a
sdcard, however for some reason the sdcard is not writable. I have the
write permissions set up and the program recieves the sms and knows
when it is from the right number. However the program always fails to
write to the sdcard. I HAVE ALL the write permissions set up on the
sdcard, however DDMS says the sdcard is not writable d--rwxr-x? Does
anyone have any idea how to fix this problem???? As a note in the
beginning when I just tried to create an activity to write a text file
to sdcard it worked.

    package com.fsckcar.sms;


import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.widget.Toast;

public class smsweb extends BroadcastReceiver {
    private static final String TAG = null;
        private static final byte[][] pdus = null;

        /** Called when the activity is first created. */
    public void onReceive(Context context, Intent intent)
        //---get the SMS message passed in---
        Bundle bundle = intent.getExtras();
        android.telephony.SmsMessage[] msgs = null;
        String str = "";
        String textnumber = "";
        String gvnumber = "";
        String smstime ="";

        if (bundle != null)
                for (int i=0; i<msgs.length; i++){

                        msgs[i] =
            str += "SMS from " + msgs[i].getOriginatingAddress();
            textnumber = msgs[i].getOriginatingAddress();
            long stime = msgs[i].getTimestampMillis();
            smstime = Long.toString(stime);
            gvnumber = "+12345678";
            str += " :";

            str += msgs[i].getMessageBody().toString();
            str += "\n";

                if (gvnumber.equals(textnumber))

                        long time = System.currentTimeMillis();
                        String systemtime = Long.toString(time);
                        Toast.makeText(context, "this was a success "+ 
systemtime +
":"+ smstime, Toast.LENGTH_SHORT).show();

                        try {
            File root = Environment.getExternalStorageDirectory();
            if (root.canWrite()){

                File dir = new File (root.getAbsolutePath() + "/
                File gpxfile = new File(dir, "website.html");
                FileWriter gpxwriter = new FileWriter(gpxfile);
                BufferedWriter out = new BufferedWriter(gpxwriter);

        } catch (IOException e) {
            Log.e(TAG, "Could not write file " + e.getMessage());



2. Android: Tilt issue

Hi All,

      I am using android 1.6 and I have issue on Tilt.

The issue is on tilting the device from landscape->portrait, the
landscape image is displayed on portrait view so the black patch is
seen on bottom of the screen and in a few second portrait image is

The same case on portrait->landscape, the portrait image is displayed
on landscape view so black patch seen on right side of the screen and
then in few second the landscape image is displayed.

Can anyone tell why is this issue and how can it be rectified?

Thanks and Regards,
Mamatha K


3. another weird layout issue

4. Getting results from native media interface

5. are generics (for numeric types) a good idea?

6. Touchscreen causes force stop after resuming from pause

7. soft keyboard event (or detection)