best phone to get? normal g1 vs dev

by Brendan Miller » Mon, 13 Apr 2009 12:13:26 GMT


Sponsored Links
 Is there a real advantage to getting the android developer phone in
terms of doing application development? What are the pros and cons?

What about just using the phone as a normal user? Having a dev phone
would allow me to install unofficial system software and perhaps
native software, correct?

Thanks,
Brendan

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



Other Threads

1. Mobile development, best computer configuration?

Hi,

For the last 4 weeks, I have been trying to get into mobile
development. Done a couple of tutorials, read some books, developed a
couple of dummy apps.

The thing is my computer is a 5 years old laptop, it is slow and time
has come to replace it and I looking at different offers online.

Have you got any recommendations? Is there any must-have that should
make my developer life easier in the future? Is there anything mobile-
dev-specific that may be useful at a more advanced stage of
development that I just can think of right now on the hardware
side?

(I mean apart from good proc, lots of RAM, many USB ports...)

One thing I can think of is to have three OS on the same workstation:
Windows, Unix and MacOS (so far I focused on android/java/eclipse but
am interested in Iphone/objC/xcode as well) but that more on the
software side.

Anyway, would be grateful for any recommendations.

Thanks in advance!

Mikael

PS: on the budget side, I'm quite free
PPS: Although, it's not a programming question, I still think it is
relevant to this group

-- 

2. Custom Toast

Hello,

I am trying to display a "custom" Toast from a service.  I have no
problem displaying a regular Toast from my service using
Toast.makeText() and Toast.show(); however, I would like to display a
custom Toast with an embedded graphic.  The problem seems to be that
the Service class does not inherit the findViewById() method.  How can
one generate and display a custom Toast from a Service??

public class DialHelper extends Service {

   public void onCreate() {
        super.onCreate();
        // Get the notification manager service.
    }

    @Override
    public void onStart(Intent i,int startid) {
      LayoutInflater inflater = LayoutInflater inflater =
(LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
      View layout = inflater.inflate(R.layout.toast_layout,
                               (ViewGroup)
findViewById(R.id.toast_layout_root));  // Service does not inherit
the findViewById() methods!!!!!

      ImageView image = (ImageView) layout.findViewById(R.id.image);
      image.setImageResource(R.drawable.android);
      TextView text = (TextView) layout.findViewById(R.id.text);
      text.setText("Hello! This is a custom toast!");

      Toast toast = new Toast(getApplicationContext());
      toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
      toast.setDuration(Toast.LENGTH_LONG);
      toast.setView(layout);
      toast.show();
   }

    ...
}

--

3. Wakelocks profiling

4. Emulator problem with GSM network

5. How to stream live video from Android phone to intranet

6. Xml Parser for Android Layout.

7. Beginner: Can anyone help me improve the way I'm calculating distance for my runs?