Integrating 3rd party APPLICATION

by Vinay » Tue, 28 Sep 2010 22:06:02 GMT


Sponsored Links
 Dear all,

I want to integrate an application (package) to the source tree and
build as part of the android generic build. My application involves
native code and have used to ndk to generate the libraries.
(Application developed in eclipse)

I found one post that discuss about integrating libraries:



Other Threads

1. AlarmManager nothing happening

I've been modifying things ALL DAY trying to get this to work, please
help.

I have a broadcast receiver that recieves a "boot completed" signal.
the onReceive method works!... well at least it sends output to the
log.

THE PROBLEM is that that method is responsible for creating a
AlarmService, to start call a different class every minute. That other
class never has it's onReceive method called...

AndroidManifest snippet:
<receiver android:name=".FmiBootup">     <!-------------THIS WORKS
FINE------------->
                <intent-filter>
                        <action 
android:name="android.intent.action.BOOT_COMPLETED" /
                </intent-filter>
        </receiver>
<receiver android:name=".FmiDaemon"  android:process=":remote" />
<!--------THIS DOESN'T------------>



************************************************
//This is called when the phone boots
FmiBootup.class
public class FmiBootup extends BroadcastReceiver {

     @Override
     public void onReceive(Context context, Intent intent) {
         Log.e("fmi", "fmi bootup");
         Intent newIntent = new Intent(context, FmiDaemon.class);
         PendingIntent pendingIntent = PendingIntent.getBroadcast
(context, 0, newIntent, 0);
         AlarmManager alarmManager = (AlarmManager)
context.getSystemService(Context.ALARM_SERVICE);
         alarmManager.setRepeating(AlarmManager.RTC_WAKEUP,
System.currentTimeMillis() + (15 * 1000), 60 * 1000, pendingIntent);
     }
}

*********************************************
//This should be called every minute, starting 15 seconds after the
above class spits into the log
FmiDaemon.class
public class FmiDaemon extends BroadcastReceiver
{

        @Override
    public void onReceive(Context context, Intent intent) {
                Log.e("fmi","fmi daemon run called");

                 //////tonssssssssssss of irrelevant code. over 200
lines
    }
}
******************************************

Anyone know why it isn't calling FmiDaemon?
--~--~---------~--~----~------------~-------~--~----~

2. Notification Multi-level Icon

Hi all,

I want to create a notification in the status bar that shows a "multi-
level" icon (an icon superimposed on a different icon).  I'm trying to
figure out how to do this with the iconLevel field in Notification.
However, nothing works.

I've looked at the source code and the changes are overriden, so I've
tried the following (notMan is a NotificationManager and not is a
Notification):

not.icon=R.drawable.baseicon;
not.iconLevel = 0;
notMan.notify(1,not);
not.icon=R.drawable.uppericon;
not.iconLevel=1;
notMan.notify(1,not);

but this fails.  Is this possible without a custom contentView?  Also,
is it possible to have this "multi-level icon" show up in the non-
expanded view?

Thanks!

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

3. Apps without Android android.ap

4. Refreshing Image in Grid View.

5. How to create HTTP request, and how to create a connection object.

6. Under development SDK tools

7. How to register new file extension?