New SDK 1.5 issue

by Pavan » Mon, 27 Apr 2009 16:25:52 GMT


Sponsored Links
 I have been trying to open new emulator by the way shown in
documentation in site. But all my efforts are gone in vein. Someone
plzz help me in solving this prob. I am all stuck. So tired shifting
back to old SDK and 0.8 ADT plugin but when i do that i get lots &
lots of errors on my existing apps.plzzzzzzzzzzzzzz some1 help.

Can i know how to implement the soft keyboard into the apps

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



New SDK 1.5 issue

by heyunh...@gmail.com » Wed, 29 Apr 2009 01:36:10 GMT


 It need not removed ur old SDK and 0.8ADT plugin.
u must download new SDK1.5 and 0.9ADT plugin.
1.u must have Eclipse 3.3 or 3.4. Eclipse 3.2 is no longer supported.
2.u need creat an AVD.u need use the android tools.

u saied to a lots of errors? pls upload ur error messages,that we can
help u solution it.Thx

Best regards





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


Sponsored Links


Other Threads

1. Bug in Bitmap.compress when used on JPEGs?

Hi there,

I experience strange things when using the compress method from
Bitmap. I'm useing the code at the bottom to download JPEGs from a
server. Out of all images downloaded, ~10% fail to be written with a
NullpointerException and a preceding message from something called
'skia'. Each image is different and it doesn't always happen for the
same ones:

09-01 13:19:04.126: DEBUG/skia(1124): xxxxxxxxxxxxxx failure to skip
request 9936 actual 6906
09-01 13:19:04.132: DEBUG/skia(1124): xxxxxxxxxxxxxxxxxxxxx jpeg
setjump exit
09-01 13:19:04.132: ERROR/ImageUtil(1124):
java.lang.NullPointerException

If I use the same code on PNGs, all works like a charm.

The code used is:

public static String saveImageFromURI(URI uri, String name,
                        final Activity ctx, Handler handler) {
                boolean success = false;
                String qualifiedName = name + ".jpg";
                FileOutputStream fos = null;
                try {
                        URL url = uri.toURL();
                        Bitmap bmp = 
BitmapFactory.decodeStream(url.openStream());
                        fos = ctx.openFileOutput(qualifiedName, 
Context.MODE_PRIVATE);
                        success = bmp.compress(Bitmap.CompressFormat.JPEG, 75, 
fos);
                } catch (MalformedURLException e) {
                        Log.e(TAG, e.toString(), e);
                } catch (IOException e) {
                        Log.e(TAG, e.toString(), e);
                } catch (IllegalArgumentException e) {
                        Log.e(TAG, e.toString());
                } catch (NullPointerException e) {
                        Log.e(TAG, e.toString(), e);
                } finally {
                        try {
                                if (fos != null)
                                        fos.close();
                        } catch (IOException e) {
                                Log.e(TAG, e.toString(), e);
                        }
                }
                if (success) {
                        return qualifiedName;
                } else {
                        return null;
                }
        }

Any ideas what could cause this behaviour?

snowcrash

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

2. How to use the mic for audio-input in android

If you connect mic to your PC, the emulator should be able to detect it
without any additional launch flags.

2008/9/3 HTP <[EMAIL PROTECTED]>


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

3. REST + JSON Web Service Client

4. allocation in loop each 1s

5. Setting highlight text color (textColorHighlight doesn't do it)

6. Creating pop-up menu

7. Will android provide Mail API??