Problem in booting Android

by eternity » Sat, 26 Sep 2009 00:57:06 GMT

Sponsored Links
 Hi All,

I am booting Android on HMP10, earlier it was booting fine. Now I have
added my own mp4 decoder to The
file's size got increased and it was intersecting the memory of next
lib which is, And as I do not need (and next to earlier one) so I
have commented those libs in file. I haven't
change the base address of any file.

Now when I am trying to load Android on HMP10, I am getting the
follwoing error:
D/AndroidRuntime( 1729): >>>>>>>>>>>>>> AndroidRuntime START
D/AndroidRuntime( 1729): CheckJNI is ON
D/AndroidRuntime( 1729): --- registering native functions ---
I//system/bin/msntp( 1730): msntp: unable to locate IP address/number
I//system/bin/msntp( 1730): msntp: Connection refused
I/logwrapper( 1730): /system/bin/msntp terminated by exit(1)
I/Zygote  ( 1729): Preloading classes...
D/dalvikvm( 1729): GC freed 764 objects / 42216 bytes in 3ms
D/dalvikvm( 1729): GC freed 280 objects / 17320 bytes in 3ms
D/dalvikvm( 1729): GC freed 207 objects / 12360 bytes in 4ms
D/dalvikvm( 1729): Trying to load lib /system/lib/ 0x0
I/dalvikvm( 1729): Unable to dlopen(/system/lib/
Cannot find library
W/dalvikvm( 1729): Exception Ljava/lang/UnsatisfiedLinkError; thrown
during Landroid/media/MediaPlayer;.<clinit>
D/AndroidRuntime( 1729): Shutting down VM
W/dalvikvm( 1729): threadid=3: thread exiting with uncaught exception
D/dalvikvm( 1729): DestroyJavaVM waiting for non-daemon threads to
D/dalvikvm( 1729): DestroyJavaVM shutting VM down
D/dalvikvm( 1729): VM cleaning up
D/dalvikvm( 1729): LinearAlloc 0x0 used 920100 of 4194304 (21%)
D/skia    ( 1729): purging 6K from font cache [1 entries]

The is there in right place and it's permission is ok

Did anyone face this problem?? any help will be highly appreciable.




Other Threads

1. regarding getting stuff from backend and displaying them as ListView in a Tab

 i am trying to retrieve records from my mysql database and display
them as a ListView in tabs . I am sending back( to my php script on
the server) a particular value of id and then my php script runs a
query and creates a JSON document, that is sent to me and i then store
it in an arraylist of HashMaps and then by using a SimpleAdapter I am
binding the arraylist to my Listview.

The PROBLEM is that , when i try to do the above mentioned stuff in a
project without tabs, i am able to see the desired result. BUT when i
try and displa the listView like this in a Tab, I am unable to see
anything, the Tab is just blank. Although i can see hard coded
String[] as ListView in my other tabs. I am providing the code for
both of my main project class and the other class that gets the
records and tries to display in on the Tab screen but is unable to do
so. PLEASE help me out -

my main project class -



import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.TabHost;

public class androidtab extends TabActivity {
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
      // setContentView(R.layout.main);

        Resources res = getResources(); //Resource object to get the
drawables (the tab icons here)
        TabHost tab_host = getTabHost(); // the activity TabHost
        TabHost.TabSpec spec;
        Intent intent; // reusable Intent for each tab

        //Creating an Intent to launch an Activity for the tab
        intent = new Intent().setClass(this, AlphaActivity.class);
        spec =

        intent = new Intent().setClass(this, BetaActivity.class);
        spec =

        intent = new Intent().setClass(this, GammaActivity.class);
        spec =



my other class that tries to get the backend records and display them
as a ListView is -


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import android.os.Bundle;
import android.util.Log;
import android.widget.ListView;
import android.widget.SimpleAdapter;

public class BetaActivity extends ListActivity {
    public void onCreate(Bundle savedInstanceState) {

        String result = "";

          //the year data to send

          ArrayList<NameValuePair> nameValuePairs = new

          nameValuePairs.add(new BasicNameValuePair("task_id","2"));

          ListView lv = getListView();

          //http post


                 HttpClient httpclient = new DefaultHttpClient();

                  HttpPost httppost = new HttpPost("


                HttpResponse response = httpclient.execute(httppost);

               HttpEntity entity = response.getEntity();

                  InputStream is = entity.getContent();
               //   FileOutputStream os = new FileOutputStream(file);

          //convert response to string

                      BufferedReader reader = new BufferedReader(new

                      StringBuilder sb = new StringBuilder();
                        String line = null;
                        while ((line = reader.readLine()) != null) {
                                sb.append(line + "\n");



              }catch(Exception e){

                      Log.e("log_tag", "Error converting result


              //parse json data


                      JSONArray jArray = new JSONArray(result);

                      List<Map<String, String>> groupData = new
ArrayList<Map<String, String>>();

                    // -- list item hash re-used
                    Map<String, String> group;
                 // -- create record

                      for(int i=0;i<jArray.length();i++){

                              JSONObject json_data =

                              group = new HashMap<String, String>();
group.put( "name",json_data.getString("name") );

                      }//end of for

                      SimpleAdapter adapter = new SimpleAdapter( this,
groupData, android.R.layout.simple_list_item_2,
                              new String[] {"name" },
                              new int[]{} );


              catch(JSONException e){

                      Log.e("log_tag", "Error parsing data


       }catch(Exception e){

         Log.e("log_tag", "Error in http connection "+e.toString());


}// end of onCreate[/CODE]

please tell me why it doesn't work. also i don't know where can i read
my Log entries. I use an emulator and do not test my app on a device.
i tried running 'adb logcat', it gives me a lot of stuff which doesn't
make sense to me, so is there a way i could see my log as a text file
or something similar?

Thanks in advance


2. Get all icons positions in wallpaper

How do I get (given it's possible to do) the position of every icon in
the screen, talking about a live wallpaper?
Some array with x and y's??

Hope so :) but how?



3. Playback Raw AAC and BSF H.264

4. CyaSSL SSL Provider for Android Released 鈥?Alpha Version

5. AudioTrack and STREAM_MODE

6. i haz an idea

7. Job Opportunity with very large Wireless Provider