i see the list has gone crazy again

by Jason Proctor » Tue, 26 May 2009 08:09:00 GMT


Sponsored Links
 anyone else seeing 100+ posts from thursday/friday/saturday etc just 
come down the pipe now?

-- 
jason.software.particle

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



i see the list has gone crazy again

by Disconnect » Tue, 26 May 2009 09:12:45 GMT


 There are only a couple of moderators and they dump stuff down in huge
batches periodically. Its fun.





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


Sponsored Links


Other Threads

1. i am trying to write an application in which it shud start service by recieving boot_completed action

.i write a app but it is not doing anything..code is given below if anybody
can help.....

*manifest file:::*
  <application android:icon="@drawable/icon"
android:label="@string/app_name">


    <receiver android:name="myBR" >
        <intent-filter>
        <action
        android:name="android.intent.action.BOOT_COMPLETED"/>
        <category android:name="android.intent.category.HOME"/>
         </intent-filter>
        </receiver>
<service android:name="myService">

<action android:name="com.serceatboot.myService"/>
</service>
<activity android:name="myactivity"></activity>
</application>
    <uses-sdk android:minSdkVersion="4" />

<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED"></uses-permission>

*
Broadcast reciever*:::

public class myBR extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO Auto-generated method stub

        Intent serviceIntent=new Intent();
        serviceIntent.setAction("com.serviceatboot.myService");
         intent.setClass(context,myService.class);
         context.startService(serviceIntent);

    }

}

*
and service*:::public class myService extends Service{
    @Override
    public IBinder onBind(Intent intent) {
        // TODO Auto-generated method stub
        return null;
    }
    @Override
    public void onCreate() {
        // TODO Auto-generated method stub
        super.onCreate();
    Toast.makeText(this, "service created", Toast.LENGTH_SHORT).show();
    }
    @Override
    public void onStart(Intent intent, int startId) {
        // TODO Auto-generated method stub
        super.onStart(intent, startId);
        Toast.makeText(this, "service started", Toast.LENGTH_SHORT).show();
         }
   @Override
public void onDestroy() {
    // TODO Auto-generated method stub
       Toast.makeText(this, "service Destroyed", Toast.LENGTH_SHORT).show();
       super.onDestroy();

   }

}


*please let me know if am doing anything wrong or missed something...*
-- 
Ankit

-- 

2. am trying to start my service on device boot up.

.i write a app but it is not doing anything..code is given below if anybody
can help.....

*manifest file:::*
  <application android:icon="@drawable/icon"
android:label="@string/app_name">


    <receiver android:name="myBR" >
        <intent-filter>
        <action
        android:name="android.intent.action.BOOT_COMPLETED"/>
        <category android:name="android.intent.category.HOME"/>
         </intent-filter>
        </receiver>
<service android:name="myService">

<action android:name="com.serceatboot.myService"/>
</service>
<activity android:name="myactivity"></activity>
</application>
    <uses-sdk android:minSdkVersion="4" />

<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED"></uses-permission>

*
Broadcast reciever*:::

public class myBR extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO Auto-generated method stub

        Intent serviceIntent=new Intent();
        serviceIntent.setAction("com.serviceatboot.myService");
         intent.setClass(context,myService.class);
         context.startService(serviceIntent);

    }

}

*
and service*:::public class myService extends Service{
    @Override
    public IBinder onBind(Intent intent) {
        // TODO Auto-generated method stub
        return null;
    }
    @Override
    public void onCreate() {
        // TODO Auto-generated method stub
        super.onCreate();
    Toast.makeText(this, "service created", Toast.LENGTH_SHORT).show();
    }
    @Override
    public void onStart(Intent intent, int startId) {
        // TODO Auto-generated method stub
        super.onStart(intent, startId);
        Toast.makeText(this, "service started", Toast.LENGTH_SHORT).show();
         }
   @Override
public void onDestroy() {
    // TODO Auto-generated method stub
       Toast.makeText(this, "service Destroyed", Toast.LENGTH_SHORT).show();
       super.onDestroy();

   }

}


*please let me know if am doing anything wrong or missed something...*
-- 
Ankit

-- 

3. Socket in AsyncTask - application crashesso the UI won't be blocked

4. Delete Call Log entry Exception

5. Howto pass pointer to char parameter to kernel via copy_to_user()

6. HTC tattoo List separators and menu separator lines are not visible

7. HTC tattoo List separators and menu separator lines are not visible