Will Android open up the hardware?

by Vinegar Tasters » Tue, 13 Jan 2009 17:47:21 GMT


Sponsored Links
 According to this post:

 http://www.edepot.com/forums/viewtopic.php?f=7& ;t=1151

It seems pretty logical that opening up the hardware is important.
--~--~---------~--~----~------------~-------~--~----~



Will Android open up the hardware?

by Vinegar Tasters » Tue, 13 Jan 2009 17:49:03 GMT


 Also:

 http://www.edepot.com/forums/viewtopic.php?f=8& ;t=956
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Will Android open up the hardware?

by mathiastck » Wed, 14 Jan 2009 03:31:57 GMT


 Belongs in the Android discuss group.  Makes some OK points but misses
boat.  Java is a good thing, Android on lots of different hardware is
a good thing.



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



Other Threads

1. Widget problems after application update.

Application has widget which basically shows the number of new message
count in the widget. Widget has title and Count.When application gets
updated, widget title gets replaced with message count, and some times
it shows problem loading widget. seems like R value not updated after
app update. However user removes the application or reboot the phone
widget icon shows properly. Is there any way to fix the issue?

Any suggestions.Here is the sample code

 public void onReceive(Context context, Intent intent) {

                String action = intent.getAction();

                if( AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action) ) {
                    int layoutID = R.layout.WidgetLayout;
                    int[] ids =
intent.getIntArrayExtra( AppWidgetManager.EXTRA_APPWIDGET_IDS );

                    for (int i=0; i<ids.length; i++)
                    {
                       int appWidgetId = ids[i];

                       RemoteViews views = new 
RemoteViews(context.getPackageName(),
layoutID );
                       updateMessageCount(count);
                       AppWidgetManager manager =
AppWidgetManager.getInstance( context );
                       manager.updateAppWidget(appWidgetId, views);
                    }

               }
        }

-- 

2. InstantiationException when starting IntentService

I am trying to start an IntentService inside my Broadcast Receiver
( so inside of onReceive() ):


    public class SmsMessageReceiver extends BroadcastReceiver
    {
        .
        .
        .
        public void onReceive(.....)
        {
             .
             .
             .
             Intent mServiceIntent = new Intent(context,
SmsParserService.class );
             mServiceIntent.putExtra("phoneNumber", fromAddress);
             mServiceIntent.putExtra("smsMessage",
message.getMessageBody());
               context.startService(mServiceIntent);
        }

    }

    So if I change the IntentService class to a regular Service class,
although it has funny behavior, it still goes into the
onStartCommand(...) and onCreate() methods, but for the IntentService,
before going into any of those methods it throws an
InstantiationException and in the detailMessage it just says
"com.tvismobile.SmsParserService" which is what my Service is labeled
as in the Manifest file.

Is there something special you have to do to get IntentService
started?

Any help is appreciated.

-- 

3. Encrypt with Android using AES, decrypt with PHP...

4. filenotfoundexception on http get and post. just device. emu works

5. Instal hampir semua program ke SD card tanpa root (2.2)

6. FileNotFound Exception on Device not Emulator using URLConnection

7. Windows unable to recognize the HTC evo device