ADP1 not listed in ubuntu by adb

by Shadakshari Hiremath » Thu, 09 Apr 2009 14:41:41 GMT


Sponsored Links
 Hello Android,

We have purchased a ADP1 phone and we want to flash cupcake image onto
it. We are using Ubuntu hardy 8.04.1 host.

We referred the instructions provided in



ADP1 not listed in ubuntu by adb

by pingwin » Tue, 28 Apr 2009 11:03:24 GMT


 I'm having this same issue, were you able to resolve it?



> in


Sponsored Links


ADP1 not listed in ubuntu by adb

by smoluf » Wed, 29 Apr 2009 15:04:16 GMT


 I was able to get my ADP1 to talk to me by enabling debugging mode on
the phone itself (settings->applications).

You may also have to run adb as root.




> > in



Other Threads

1. How to get service state?

Hi!

I'm trying to get current service state of my phone (IN_SERVICE,
OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF). It can be easily fetched
with getState() method of ServiceState when a onServiceStateChanged
(ServiceState serviceState) callback is invoked:

public class ServiceStateListener extends PhoneStateListener{
@Override
            public void onServiceStateChanged(ServiceState serviceState) {
                switch(serviceState.getState()){
                                case ServiceState.STATE_IN_SERVICE:
                                        Log.i("Listener", "In Service");
                        break;
                                case ServiceState.STATE_EMERGENCY_ONLY:
                                        Log.i("Listener", "Emergency");
                                        break;
                                case ServiceState.STATE_OUT_OF_SERVICE:
                                        Log.i("Listener", "Out Of Service");
                                        break;
                                case ServiceState.STATE_POWER_OFF:
                                        Log.i("Listener", "Phone Off");
                                        break;
                        }
        }

But if you explicitly create a ServiceState object and try to get it's
state. It's always Out Of Service (returns 1), no matter what state
your phone is in right now:

@Override
public void onCreate() {
        ServiceState serviceState = new ServiceState();
        Log.i("onCreate", Integer.toString(serviceState.getState()));
}

I don't have much experience with Android. Any help is appreciated.

2. Live Video Zooming

Hi,

I am novice programmer in android

I need to built an application on the Google Android platform that
zooms into the live stream received by the device camera to enable
the observer to observe intricate details about the object from a
distance, and thereby be able to use the camera as a magnifying lens.

I searched on google but could not found much details. Only I could
found is that I need to overriding the onPreviewFrame method as shown
below:

camera.setPreviewCallback(new PreviewCallback() {

  public void onPreviewFrame(byte[] _data, Camera _camera) {
   // TODO Do something with the preview image.
   //write here logic for zooming each image.
  }
});


Let me know how this can be achieve.

Thanks
Sanjay Ujjainkar

3. IP-in-IP encapsulation in Android

4. picsay

5. com.google.gdata.client.GoogleService.setUserToken(android.accounts.AccountManager.getAuthToken(???))

6. Web Page Optimization Issues on Android

7. ADP2 Ion upgrade to Android 2.0?