[android-developers] going to the metal
I can understand the Android tries to be one operating system on multiple mobile devices (and their associated chips and CPUs) using java as an intermediate compatibility layer. However, as many people found out wish java, javascript ecmascript, python, and other interpreted languages, they are slow, too slow for cpu intensive applications like 3D apps (including games), apps needing lots of calculations (lots in this group like software based movie players and other things). I think in order for android to succeed it needs to basically go the pedal to the metal route and simply offer different SDK for different mobile devices that use different cpu chips. This way people can program in C or C++ or even assembly language to get the maximum out of the phone. admit it, most java apps on mobile phone are too damn slow, and given that the cpu technology in mobile phones are usually many times slower than desktop versions (in order to save costs and power), this is a very serious problem. another way is to just get android and the OHA to simply choose what chips they support (the faster the chip the better) and develop an OS around it. You don't find any java applications or games in the marketplace that people buy for their desktop simply because they are sluggish compared if you program in C or C++ or even assembly. This is partly why flash succeeded whereas java applets failed, because flash is fine tuned to run at full speed of the chip underneath, and there are multiple versions of flash for multiple OS and chips. I won't go into flash apps being compiled scripts (yes they are compiled, but faster than java applets, but you still don't buy flash apps in stores, only c and c++, or assembly apps), but the main point is that when you go closer to the metal, and offer direct access to the hardware, the better apps and chance for success there is for it. So maybe google can wake up and offer choices. Java based sdk for casual stuff, and C or C++ based sdk for people who want access to the hardware without going through an intermediate layer like java. The Android OS should not be java based, but should be in assembly or C. If it is java based, it may doom like most people using mobile phones these days don't buy java based mobile apps. I have nothing against java, just interpreted stuff that are slow, even if it is "compiled at runtime". I only wish for options for developers to get to the metal directly. Because nothing compares to having access to the chips directly and not through interpretation. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: format for progressbar drawable xml?
Hi Allan, Here's an example XML drawable for the horizontal progress bar. You could set the ProgressBar.setProgressDrawable to this. http://schemas.android.com/apk/res/android";> And just for future reference, here's an example of the circular indeterminate progress bar XML drawable (ProgressBar.setIndeterminateDrawable): http://schemas.android.com/apk/res/android"; android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0" android:toDegrees="360"> On Fri, Oct 3, 2008 at 6:39 PM, Allan Hsu <[EMAIL PROTECTED]> wrote: > > Does anybody know the proper format for declaring custom horizontal > progressbar drawables in xml? I've searched and searched, but the only > documentation/discussions I can find are for custom button graphics, > which seem to work via a different system. > >-Allan > -- > Allan Hsu > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is Runnable no longer supported by android.view.Menu?
Yup, it has been removed. The preferred approach is override onOptionsItemSelected, and do a 'switch' on the MenuItem's id. If you really want to create an anonymous inner class (similar to how many people used the Runnable previously), you can do so with the MenuItem.setOnMenuItemClickListener. jason On Fri, Oct 3, 2008 at 7:42 PM, Satya Komatineni <[EMAIL PROTECTED] > wrote: > > I see it in the description of of some menu methods as if a Runnable > is going to be called if one exists. > > However I don't see an "add" method adding a runnable to the menu item. > > Any thoughts > > Thanks > Satya > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: PNG issue with 1.0 Release 1
Hi, I m also getting this error What is the reason behind.My code is: public Bitmap getFromServer(String url) { Bitmap bitmap = null; InputStream in = null; OutputStream out = null; int IO_BUFFER_SIZE=1*1024*1024; ImageView i = new ImageView(this); try { in = new BufferedInputStream(new URL(url).openStream(),IO_BUFFER_SIZE); final ByteArrayOutputStream dataStream = new ByteArrayOutputStream(); out = new BufferedOutputStream(dataStream, 4 * 1024); copy(in, out); out.flush(); final byte[] data = dataStream.toByteArray(); bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); // i.setImageBitmap(bitmap); } catch (IOException e) { android.util.Log.e("IO", "Could not load buddy icon: " + this, e); } finally { closeStream(in); closeStream(out); } return bitmap; } private static void copy(InputStream in, OutputStream out) throws IOException { byte[] b = new byte[4 * 1024]; int read; while ((read = in.read(b)) != -1) { out.write(b, 0, read); } } /** * Closes the specified stream. * * @param stream The stream to close. */ private static void closeStream(Closeable stream) { if (stream != null) { try { stream.close(); } catch (IOException e) { android.util.Log.e("IO", "Could not close stream", e); } } } On Oct 4, 3:35 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Could you attach a test image and the code that you are using to load this > image? > > 2008/10/3 tberthel <[EMAIL PROTECTED]> > > > > > I get the following error loading some images that loaded in .9 Beta: > > > D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts > > with 0x%02x 0x%02x > > > Is this a bug or something that will stay in the next release? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Connecting SSL and submitting an XML using 1.0 SDK
Hi all, how can I connect an SSL (htps://) using the SDK 1.0 and submit and an XML file to that https link. I did it using the org.apache.commons.httpclient (commons-httpclient ) library in m5 versions. Now those are not in the new releases. how can I connect it in new version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADT plugin in SDK 0.9
I was having the same problem, checked the eclipse log as recommended and saw the following java.lang.UnsupportedClassVersionError: Bad version number in .class file I changed my project to compile to jdk1.5 and the problem is resolved. On Oct 3, 4:35 am, bala <[EMAIL PROTECTED]> wrote: > For me still it is not working.. I am using eclipse 3.4 classic - > Ganymede and i don't have no luck getting resovled. > Regards, > Bala > > Lekkala,Jyothsna wrote: > > HI, > > > I have installed the new android SDK now and eclipse 3.4 classic - > > Ganymede instead of eclipse 3.4 java ee. > > > Now its working fine. > > I understand that I did not install modelling framerwork plugin for > > the eclipse and thats why the android layout editor showed the error. > > > sorry I could not reply to you earlier because I did not have access > > to my system. > > > THanks for replying earlier. > > > --Jyothsna > > > On Sep 25, 5:23 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > please provide us with the Eclipse log. It's located in your workspace > > > in .metata/.log > > > > thanks > > > Xav > > > > On Thu, Sep 25, 2008 at 5:15 PM, Lekkala,Jyothsna<[EMAIL PROTECTED]> > > > wrote: > > > > > HI, > > > > > I opened thelayout/xml file using androidlayouteditorin eclipse > > > > It opens a view with xml,layoutviews. Thelayoutview has all green > > > > tick marks. there is a create button in the top. But that is greyed > > > > out(disabled) > > > > and below it shows that eclipse failed to load the framework > > > > information and thelayoutlibrary!. > > > > > I searched all blogs,forums etc. but nobody is talking about this > > > > error. are you able to use the androidlayouteditorand make layouts > > > > like in droiddraw/dreamweaver_for_html. > > > > > Thanks, > > > > --Jyothsna > > > > > On Aug 18, 2:53 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > >> The graphicallayouteditoris the default XMLeditorfor files under > > > >> /res/layout(assuming the project is properly tagged as an > > > >> Android > > > >> project) > > > > >> Make sure you haven't set a different defaulteditorby right clicking > > > >> your > > > >>layoutfile and choosing Open With... > AndroidLayoutEditor. > > > > >> Xav > > > > >> On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote: > > > > >> > Hi, > > > > >> > It is mentioned that "Several new development tools were added, such > > > >> > as a graphical preview for XML layouts for users of Eclipse, and a > > > >> > tool for constructing 9-patch images.". How to see/use this? Where is > > > >> > this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: switch between activities
hackbod, Thank you for your angle on this. I am using the described technique to open a web browser window from within an Activity without stopping it. After user closes the web browser, he or she returns to the main app without missing a beat. A Dialog does not cover this use case, and OP might have a similar challenge. So... while this technique does not completely honor the intent of the activity model - the activity model does not completely cover the intent of the app either here... On Sep 28, 9:52 pm, hackbod <[EMAIL PROTECTED]> wrote: > It sounds like you are really working against theactivitymodel. Why > not just create a second window (with the Dialog class) inside of your > parentactivity, instead of trying to express everything as > activities? If theactivitymodel doesn't work for you for a > particular UI flow, you don't need to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Decoding Reverse Geocoding HTTP Response
Okay...now I understand what you are trying to do...sorry I can't be of much help...you may want to post your question the android-internals forum. 2008/10/3 vern <[EMAIL PROTECTED]> > > Hello, > > The code is simply and works perfectly: > > Geocoder g = new Geocoder(this); > List la = g.getFromLocation(-25.809 , -49.153, 1); > > When I run it with the Wireshark (or tcpdump) turned on, I can see an > HTTP Request to > > http://www.google.com/loc/m/api > > The Content Type is Binary, the method is POST, and the posted > parameter I've managed to understand, and now I can make requests to > that site OUTSIDE THE ANDROID ENVIROMENT, and that's my goal. > > But, the problem is, I don't know how Android.jar reads the Response. > If I knew how to decompile it, it would be easy. Here's a sample > decoded response: > > Cunene Angola AO -16.285444, 15.4088245 > (City, Coutry, Lat, Lng) > > But the binary Response was: > > 00 01 00 00 00 70 81 00 00 00 > 00 ... ..p. > c8 00 01 67 00 00 00 65 1f 8b 08 00 00 00 00 00 ...g...e > 00 00 e3 60 10 4a e4 60 10 8a e5 e2 e2 65 98 51 ...`.J.` .e.Q > f6 4d 94 21 a3 93 53 cb 83 8b cd b9 34 2f 35 2f .M.!..S. 4/5/ > 55 80 59 ca 00 c6 e6 62 73 cc 4b cf cf 49 14 e2 U.Yb s.K..I.. > 82 b1 04 18 85 d8 b8 98 1c fd 05 98 40 62 30 1d [EMAIL PROTECTED] > 5a 5c bc 37 38 bd bf 89 9a 1a eb 73 1a ec 78 d7 Z\.78... ...s..x. > f5 fe b0 32 00 5f e0 0f 0b 65 00 00 00...2._.. .e... > > From the beggining of the file, it seems to be a DEX file. But it > doesn't fits the following specs: > http://www.retrodev.com/android/dexformat.html > > Please, see if you can help me to decode it. > > By the way my blog is at > hourlyapps.blogspot.com > > > On 3 out, 17:25, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > Could you post a link to your blog...and some code..so that I can get an > > idea of what you are doing :) > > > > 2008/10/3 vern <[EMAIL PROTECTED]> > > > > > > > > > As I posted at my blog, I'm trying to decode the Google site response > > > to an Android's reverse geocoding request. But as I don't know how to > > > decompile the Android libraries to see how it's done, I'm stuck. > > > Anyone can help me? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Is Runnable no longer supported by android.view.Menu?
I see it in the description of of some menu methods as if a Runnable is going to be called if one exists. However I don't see an "add" method adding a runnable to the menu item. Any thoughts Thanks Satya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mail.jar activation.jar problem in android
I am having the same problem. The activation.jar can't find the required classes in the android jar. It occurs with both Android 1.0 & 0.9 sdks. 10-03 23:24:49.891: DEBUG/SSLSocketFactory(378): Using factory [EMAIL PROTECTED] 10-03 23:24:49.979: DEBUG/OpenSSLSocketImpl(378): SSL_OP_NO_SSLv3 is set 10-03 23:24:56.080: INFO/global(378): Oct 3, 2008 11:24:55 PM java.io.BufferedOutputStream 10-03 23:24:56.080: INFO/global(378): INFO: Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if a 8k buffer is required. 10-03 23:24:56.320: DEBUG/dalvikvm(378): GC freed 7012 objects / 347816 bytes in 91ms 10-03 23:24:56.460: INFO/dalvikvm(378): Failed resolving Ljavax/ activation/DataHandler; interface 175 'Ljava/awt/datatransfer/ Transferable;' 10-03 23:24:56.470: WARN/dalvikvm(378): Link of class 'Ljavax/ activation/DataHandler;' failed 10-03 23:24:56.480: WARN/dalvikvm(378): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) 10-03 23:24:56.491: INFO/dalvikvm(378): Failed resolving Ljavax/ activation/DataHandler; interface 175 'Ljava/awt/datatransfer/ Transferable;' 10-03 23:24:56.501: WARN/dalvikvm(378): Link of class 'Ljavax/ activation/DataHandler;' failed 10-03 23:24:56.511: WARN/dalvikvm(378): VFY: unable to resolve virtual method 1729: Ljavax/activation/DataHandler;.getName ()Ljava/lang/ String; 10-03 23:24:56.520: WARN/dalvikvm(378): VFY: rejecting opcode 0x6e at 0x0006 10-03 23:24:56.520: WARN/dalvikvm(378): VFY: rejected Ljavax/mail/ internet/MimeUtility;.getEncoding (Ljavax/activation/ DataHandler;)Ljava/lang/String; 10-03 23:24:56.520: WARN/dalvikvm(378): Verifier rejected class Ljavax/ mail/internet/MimeUtility; On Oct 3, 8:33 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Everybody, > I have problem in getting gmail folder in android for using > mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is > the exception. Does somebody have the good solution? > > Thanks, > > AndroidSue > > I/global ( 654): INFO: Default buffer size used in > BufferedOutputStream constructor. It would be better to be explicit if > a 8k buffer is required. > I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; > interface 175 'Ljava/awt/datatransfer/Transferable;' > W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' > failed > W/dalvikvm( 654): VFY: unable to find class referenced in signature > (Ljavax/activation/DataHandler;) > I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; > interface 175 'Ljava/awt/datatransfer/Transferable;' > W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' > failed > W/dalvikvm( 654): VFY: unable to resolve virtual method 1736: Ljavax/ > activation/DataHandler;.getName ()Ljava/lang/String; > W/dalvikvm( 654): VFY: rejecting opcode 0x6e at 0x0006 > W/dalvikvm( 654): VFY: rejected Ljavax/mail/internet/ > MimeUtility;.getEncoding (Ljavax/activation/DataHandler;)Ljava/lang/ > String; > W/dalvikvm( 654): Verifier rejected class Ljavax/mail/internet/ > MimeUtility; > D/AndroidRuntime( 654): Shutting down VM > W/dalvikvm( 654): threadid=3: thread exiting with uncaught exception > (group=0x40010e28) > E/AndroidRuntime( 654): Uncaught handler: thread main exiting due to > uncaught exception > E/AndroidRuntime( 654): java.lang.VerifyError: > javax.mail.internet.MimeUtility > E/AndroidRuntime( 654): at > com.sun.mail.imap.protocol.IMAPProtocol.(IMAPProtocol.java:117) > E/AndroidRuntime( 654): at > com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538) > E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: > 288) > E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: > 169) > E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: > 118) > E/AndroidRuntime( 654): at > com.foxconn.android.app.EmailApp.getInbox(EmailApp.java:95) > E/AndroidRuntime( 654): at > com.foxconn.android.app.EmailApp.onCreate(EmailApp.java:44) > E/AndroidRuntime( 654): at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1122) > E/AndroidRuntime( 654): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2103) > E/AndroidRuntime( 654): at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: > 2156) > E/AndroidRuntime( 654): at android.app.ActivityThread.access > $1800(ActivityThread.java:112) > E/AndroidRuntime( 654): at android.app.ActivityThread > $H.handleMessage(ActivityThread.java:1580) > E/AndroidRuntime( 654): at > android.os.Handler.dispatchMessage(Handler.java:88) > E/AndroidRuntime( 654): at android.os.Looper.loop(Looper.java:123) > E/AndroidRuntime( 654): at > android.app.ActivityThread.main(ActivityThread.java:3742) > E/AndroidRuntime( 654): at > java.lang.reflect.Method.invokeNative(Native Method) >
[android-developers] format for progressbar drawable xml?
Does anybody know the proper format for declaring custom horizontal progressbar drawables in xml? I've searched and searched, but the only documentation/discussions I can find are for custom button graphics, which seem to work via a different system. -Allan -- Allan Hsu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Best practice - buttons or menu items?
A button is fundamentally attached to the UI. A "Go" search button is attached to a textbox, or a "start" and "stop" in a stopwatch defines the UI. Otherwise it's a menu item. - Juan T. On Oct 3, 3:12 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > Every time I make a new screen I find myself debating which buttons > should be on screen buttons, and which should be menu items, and or > which should be both. I was wondering what others thing about this. > Are there general guidelines or logical approaches that people are > using? I apologize up front if this is a silly question, but it comes > up again and again in my own head, and I haven't found any > documentation or direction on it really. > > I notice that the built in contacts app, for example, has the sort of > "main" actions like "new contact," "edit contact," "save," "discard," > etc, as menu items. But it also has "Add Icon" as both a menu item > and as an on screen button. > > I personally think it makes the most sense to use the menu for high > level "actions," so "save" and "add" and so on make sense in the menu. > But maybe that is subjective? Is it just whatever works best with the > screen real estate and layout, etc. > > Seems like the menu is faster/more intuitive if you can use it, but > with the d-pad all the on screen buttons work too whether or not the > device is touch capable, and being on screen makes the choices more > obvious. > What to the UI gurus and Android devs think are some best practices in > terms of making button/menu choices? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] making temporary files
hi justin, thanks for the response. supposing i'm running on a real device and the user doesn't have an SD card. then what? thanks, j >You should put temporary files somewhere in /sdcard, as generally this >will have more available space than a device's internal storage. For >this to work you need to use emulator options to specify an sdcard >image that was created with the mksdcard utility. > >You're getting the error you're getting because /sdcard doesn't exist >since you haven't specified an sdcard image file. > >Cheers, >Justin >Android Team @ Google > >On Oct 3, 3:02 pm, Jason Proctor <[EMAIL PROTECTED]> wrote: >> is there a good spot in the filesystem to park temporary files? >> >> i notice from rummaging around that there is no /tmp on this Linux >> box, and File.getTempFile() fails, with the error "can't create >> /sdcard/$filename". >> >> (and android error messages should be more informative in general, IMHO.) > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
Someone pointed out that the runThread member should be declared as volatile or the behavior of this code is unpredictable. Cheers, Justin Android Team @ Google On Oct 3, 4:58 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > Jo, > > Sounds like HandlerThread is almost certainly the way you want to go > here, but you can do a similar thing with a regular thread, using a > public member to control it. You should stop the the thread in onPause > or onStop depending on what its doing. > > public class DummyActivity extends Activity { > private StoppableThread worker = new StoppableThread(); > public void onStart(Bundle b) { > workers.start(); > } > > public void onStop() { > worker.runThread = false; > } > > } > > public class StoppableThread extends Thread() { > public boolean runThread = true; > public void run() { > while (runThread) { > // do some work > } > } > > } > > Cheers, > Justin > Android Team @ Google > > On Oct 3, 3:48 pm, Jo <[EMAIL PROTECTED]> wrote: > > > OK Hackbod you are taking about quitting handlerThread. Got it. I > > thought it was normal java.lang.thread. > > > Thanks, > > --Jyothsna > > > On Oct 3, 3:32 pm, Jo <[EMAIL PROTECTED]> wrote: > > > > HI Hackbod, > > > > 1) Thanks about the suggestion. I never used HandlerThread. Maybe I > > > can take a look. > > > > 2)coming to the other suggestion.How can I quit a thread. I mean which > > > method should I use because thread.resume/suspend/stop are all > > > deprecated. > > > > HI Joe, > > > I am using a separate daemon thread for receiving messages. Messages > > > need not be received when chat application is not in use. > > > So. I am not making it as a service. > > > > Thanks, > > > --Jyothsna > > > > On Oct 3, 5:28 am, Joe Erickson <[EMAIL PROTECTED]> wrote: > > > > > This almost sounds like it should be a Service. The thread will only > > > > run when you're Activity is running (basically) and isn't guaranteed > > > > to be kept around once the Activity is cleaned up. You may want a > > > > Service running that can handle this and then you'll have much more > > > > control over it. Will you be handing incoming messages the same way? > > > > >http://code.google.com/android/reference/android/app/Service.html > > > > > On Oct 3, 4:03 am, hackbod <[EMAIL PROTECTED]> wrote: > > > > > > Just use HandlerThread to have a single thread sitting there > > > > > processing messages that you send to it. Even better, create the > > > > > thread in onStart() and quit it in onStop(). > > > > > > On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > > > > > > > HI, > > > > > > > I am developing a chat application. Everytime a user clicks a > > > > > > button a > > > > > > thread needs to handle it as text message needs to be sent over > > > > > > network. so, I am creating a new thread each time when the user > > > > > > clicks > > > > > > on button. I wish only 1 thread handles all the messages to be > > > > > > sent. > > > > > > But, resume/suspend/stop are all deprecated. > > > > > > > is there a way to do it. > > > > > > > currently, I am doing it like the following. > > > > > > > > > > > > > View.OnClickListener showChat = new View.OnClickListener() { > > > > > > @Override > > > > > > public void onClick(View v) { > > > > > > > t_send = new Thread() { > > > > > > public void run() { > > > > > > recv = false; > > > > > > m_mychat = > > > > > > doExpensiveSend(); > > > > > > > > > > > > > mHandler2.post(mUpdateResults2); > > > > > > } > > > > > > }; > > > > > > t_send.start(); > > > > > > > } > > > > > > }; > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
Jo, Sounds like HandlerThread is almost certainly the way you want to go here, but you can do a similar thing with a regular thread, using a public member to control it. You should stop the the thread in onPause or onStop depending on what its doing. public class DummyActivity extends Activity { private StoppableThread worker = new StoppableThread(); public void onStart(Bundle b) { workers.start(); } public void onStop() { worker.runThread = false; } } public class StoppableThread extends Thread() { public boolean runThread = true; public void run() { while (runThread) { // do some work } } } Cheers, Justin Android Team @ Google On Oct 3, 3:48 pm, Jo <[EMAIL PROTECTED]> wrote: > OK Hackbod you are taking about quitting handlerThread. Got it. I > thought it was normal java.lang.thread. > > Thanks, > --Jyothsna > > On Oct 3, 3:32 pm, Jo <[EMAIL PROTECTED]> wrote: > > > HI Hackbod, > > > 1) Thanks about the suggestion. I never used HandlerThread. Maybe I > > can take a look. > > > 2)coming to the other suggestion.How can I quit a thread. I mean which > > method should I use because thread.resume/suspend/stop are all > > deprecated. > > > HI Joe, > > I am using a separate daemon thread for receiving messages. Messages > > need not be received when chat application is not in use. > > So. I am not making it as a service. > > > Thanks, > > --Jyothsna > > > On Oct 3, 5:28 am, Joe Erickson <[EMAIL PROTECTED]> wrote: > > > > This almost sounds like it should be a Service. The thread will only > > > run when you're Activity is running (basically) and isn't guaranteed > > > to be kept around once the Activity is cleaned up. You may want a > > > Service running that can handle this and then you'll have much more > > > control over it. Will you be handing incoming messages the same way? > > > >http://code.google.com/android/reference/android/app/Service.html > > > > On Oct 3, 4:03 am, hackbod <[EMAIL PROTECTED]> wrote: > > > > > Just use HandlerThread to have a single thread sitting there > > > > processing messages that you send to it. Even better, create the > > > > thread in onStart() and quit it in onStop(). > > > > > On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > > > > > > HI, > > > > > > I am developing a chat application. Everytime a user clicks a button a > > > > > thread needs to handle it as text message needs to be sent over > > > > > network. so, I am creating a new thread each time when the user clicks > > > > > on button. I wish only 1 thread handles all the messages to be sent. > > > > > But, resume/suspend/stop are all deprecated. > > > > > > is there a way to do it. > > > > > > currently, I am doing it like the following. > > > > > > > > > > > View.OnClickListener showChat = new View.OnClickListener() { > > > > > @Override > > > > > public void onClick(View v) { > > > > > > t_send = new Thread() { > > > > > public void run() { > > > > > recv = false; > > > > > m_mychat = > > > > > doExpensiveSend(); > > > > > > > > > > > mHandler2.post(mUpdateResults2); > > > > > } > > > > > }; > > > > > t_send.start(); > > > > > > } > > > > > }; > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] making temporary files
is there a good spot in the filesystem to park temporary files? i notice from rummaging around that there is no /tmp on this Linux box, and File.getTempFile() fails, with the error "can't create /sdcard/$filename". (and android error messages should be more informative in general, IMHO.) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Best practice - buttons or menu items?
Thanks for the tips Nikkelitous, all that advice sounds quite reasonable. I hadn't really thought of the button and tap vs tap thing, great point. And I totally agree about consistency. I am basically using high level actions as menu items (create, save, edit, delete, next page, last page), and then my app specific stuff as buttons, but I am being consistent (sort of what the built in apps seem to do). Also, I am borrowing the system menu icons for those functions to go even further in terms of consistency. I set my menu "save" icon to "android.R.drawable.ic_menu_save" for example (that's a handy tip if you haven't already tried it, you can reuse the "android" package resources in your own apps, I do this for all the standard actions). I was just curious what others here did, especially the UI gurus. On Oct 3, 7:07 pm, Nikkelitous <[EMAIL PROTECTED]> wrote: > It really depends on the application. Personally, I prefer on screen > buttons to menu buttons in almost all cases when the screen real > estate isn't at a severe premium due to the difficulty of using a > button then using the touch screen. So as long as you have space, I > say put it on the screen. Games and stuff this is obviously > impossible for, so go ahead and put them in the menu in that > situation. Just remember, 1 tap is better than 1 button and 1 tap. > > Now, there are a few exceptions I follow. Anything that is the same > in any activity I put in the menu so that it's consistent across the > UI. In fact, that's the most important rule I can think of: Be > consistent! Don't put save in the menu sometimes and on the screen > sometimes. > > Try to think of common tasks and minimize the difficulty in going > about them. Sometimes it's easier in general to put everything in the > menu. I seriously doubt this is the case for almost all apps as the > menu seems to get cluttered very easily. > > If you do use the menu, PLEASE use common icons so that a user can > navigate it at a glance. Don't use a magnifying glass for file open > that's just going to confuse people and make your app slower and > harder to use. > > On Oct 3, 1:12 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > Every time I make a new screen I find myself debating which buttons > > should be on screen buttons, and which should be menu items, and or > > which should be both. I was wondering what others thing about this. > > Are there general guidelines or logical approaches that people are > > using? I apologize up front if this is a silly question, but it comes > > up again and again in my own head, and I haven't found any > > documentation or direction on it really. > > > I notice that the built in contacts app, for example, has the sort of > > "main" actions like "new contact," "edit contact," "save," "discard," > > etc, as menu items. But it also has "Add Icon" as both a menu item > > and as an on screen button. > > > I personally think it makes the most sense to use the menu for high > > level "actions," so "save" and "add" and so on make sense in the menu. > > But maybe that is subjective? Is it just whatever works best with the > > screen real estate and layout, etc. > > > Seems like the menu is faster/more intuitive if you can use it, but > > with the d-pad all the on screen buttons work too whether or not the > > device is touch capable, and being on screen makes the choices more > > obvious. > > What to the UI gurus and Android devs think are some best practices in > > terms of making button/menu choices? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
OK Hackbod you are taking about quitting handlerThread. Got it. I thought it was normal java.lang.thread. Thanks, --Jyothsna On Oct 3, 3:32 pm, Jo <[EMAIL PROTECTED]> wrote: > HI Hackbod, > > 1) Thanks about the suggestion. I never used HandlerThread. Maybe I > can take a look. > > 2)coming to the other suggestion.How can I quit a thread. I mean which > method should I use because thread.resume/suspend/stop are all > deprecated. > > HI Joe, > I am using a separate daemon thread for receiving messages. Messages > need not be received when chat application is not in use. > So. I am not making it as a service. > > Thanks, > --Jyothsna > > On Oct 3, 5:28 am, Joe Erickson <[EMAIL PROTECTED]> wrote: > > > This almost sounds like it should be a Service. The thread will only > > run when you're Activity is running (basically) and isn't guaranteed > > to be kept around once the Activity is cleaned up. You may want a > > Service running that can handle this and then you'll have much more > > control over it. Will you be handing incoming messages the same way? > > >http://code.google.com/android/reference/android/app/Service.html > > > On Oct 3, 4:03 am, hackbod <[EMAIL PROTECTED]> wrote: > > > > Just use HandlerThread to have a single thread sitting there > > > processing messages that you send to it. Even better, create the > > > thread in onStart() and quit it in onStop(). > > > > On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > > > > > HI, > > > > > I am developing a chat application. Everytime a user clicks a button a > > > > thread needs to handle it as text message needs to be sent over > > > > network. so, I am creating a new thread each time when the user clicks > > > > on button. I wish only 1 thread handles all the messages to be sent. > > > > But, resume/suspend/stop are all deprecated. > > > > > is there a way to do it. > > > > > currently, I am doing it like the following. > > > > > > > > > View.OnClickListener showChat = new View.OnClickListener() { > > > > @Override > > > > public void onClick(View v) { > > > > > t_send = new Thread() { > > > > public void run() { > > > > recv = false; > > > > m_mychat = > > > > doExpensiveSend(); > > > > > > > > > mHandler2.post(mUpdateResults2); > > > > } > > > > }; > > > > t_send.start(); > > > > > } > > > > }; > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: PNG issue with 1.0 Release 1
Could you attach a test image and the code that you are using to load this image? 2008/10/3 tberthel <[EMAIL PROTECTED]> > > I get the following error loading some images that loaded in .9 Beta: > > D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts > with 0x%02x 0x%02x > > Is this a bug or something that will stay in the next release? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] tutorial for Android NooB
i wonder if an Android developer in Silicon Valley area would be willing to give a brief tutorial on tips, shortcuts, etc using Eclipse and the Android SDK. Have programmed in C# with .net in past, and find i learn much more quickly simply watching someone else 'show me around'.I live in Santa Clara. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
HI Hackbod, 1) Thanks about the suggestion. I never used HandlerThread. Maybe I can take a look. 2)coming to the other suggestion.How can I quit a thread. I mean which method should I use because thread.resume/suspend/stop are all deprecated. HI Joe, I am using a separate daemon thread for receiving messages. Messages need not be received when chat application is not in use. So. I am not making it as a service. Thanks, --Jyothsna On Oct 3, 5:28 am, Joe Erickson <[EMAIL PROTECTED]> wrote: > This almost sounds like it should be a Service. The thread will only > run when you're Activity is running (basically) and isn't guaranteed > to be kept around once the Activity is cleaned up. You may want a > Service running that can handle this and then you'll have much more > control over it. Will you be handing incoming messages the same way? > > http://code.google.com/android/reference/android/app/Service.html > > On Oct 3, 4:03 am, hackbod <[EMAIL PROTECTED]> wrote: > > > Just use HandlerThread to have a single thread sitting there > > processing messages that you send to it. Even better, create the > > thread in onStart() and quit it in onStop(). > > > On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > > > > HI, > > > > I am developing a chat application. Everytime a user clicks a button a > > > thread needs to handle it as text message needs to be sent over > > > network. so, I am creating a new thread each time when the user clicks > > > on button. I wish only 1 thread handles all the messages to be sent. > > > But, resume/suspend/stop are all deprecated. > > > > is there a way to do it. > > > > currently, I am doing it like the following. > > > > > > > View.OnClickListener showChat = new View.OnClickListener() { > > > @Override > > > public void onClick(View v) { > > > > t_send = new Thread() { > > > public void run() { > > > recv = false; > > > m_mychat = > > > doExpensiveSend(); > > > > > > > mHandler2.post(mUpdateResults2); > > > } > > > }; > > > t_send.start(); > > > > } > > > }; > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Decoding Reverse Geocoding HTTP Response
Hello, The code is simply and works perfectly: Geocoder g = new Geocoder(this); List la = g.getFromLocation(-25.809 , -49.153, 1); When I run it with the Wireshark (or tcpdump) turned on, I can see an HTTP Request to http://www.google.com/loc/m/api The Content Type is Binary, the method is POST, and the posted parameter I've managed to understand, and now I can make requests to that site OUTSIDE THE ANDROID ENVIROMENT, and that's my goal. But, the problem is, I don't know how Android.jar reads the Response. If I knew how to decompile it, it would be easy. Here's a sample decoded response: Cunene Angola AO -16.285444, 15.4088245 (City, Coutry, Lat, Lng) But the binary Response was: 00 01 00 00 00 70 81 00 00 00 00 ... ..p. c8 00 01 67 00 00 00 65 1f 8b 08 00 00 00 00 00 ...g...e 00 00 e3 60 10 4a e4 60 10 8a e5 e2 e2 65 98 51 ...`.J.` .e.Q f6 4d 94 21 a3 93 53 cb 83 8b cd b9 34 2f 35 2f .M.!..S. 4/5/ 55 80 59 ca 00 c6 e6 62 73 cc 4b cf cf 49 14 e2 U.Yb s.K..I.. 82 b1 04 18 85 d8 b8 98 1c fd 05 98 40 62 30 1d [EMAIL PROTECTED] 5a 5c bc 37 38 bd bf 89 9a 1a eb 73 1a ec 78 d7 Z\.78... ...s..x. f5 fe b0 32 00 5f e0 0f 0b 65 00 00 00...2._.. .e... >From the beggining of the file, it seems to be a DEX file. But it doesn't fits the following specs: http://www.retrodev.com/android/dexformat.html Please, see if you can help me to decode it. By the way my blog is at hourlyapps.blogspot.com On 3 out, 17:25, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Could you post a link to your blog...and some code..so that I can get an > idea of what you are doing :) > > 2008/10/3 vern <[EMAIL PROTECTED]> > > > > > As I posted at my blog, I'm trying to decode the Google site response > > to an Android's reverse geocoding request. But as I don't know how to > > decompile the Android libraries to see how it's done, I'm stuck. > > Anyone can help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] PNG issue with 1.0 Release 1
I get the following error loading some images that loaded in .9 Beta: D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x Is this a bug or something that will stay in the next release? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Poll : .apk MIME Type
The mime type should work, but theres a bug in the current emulator which means you can't install non-marketplace apps (See http://www.mail-archive.com/[EMAIL PROTECTED]/msg01263.html). Al. Mark Hansen wrote: > I'd dug around in the past, but never could find the mime type. I > assumed we were going to get some sort of post eventually regarding > the app store and how and if we could host our own stuff. > > On Oct 3, 1:21 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > >> I've been trawling the web for some .apks to add into andappstore.com >> and noticed that a lot of people aren't using the MIME type which is >> necessary to automatically start the installer >> (application/vnd.android.package-archive). >> >> I would like to know from anyone hosting an .apk if this is because; >> >> a) You can't reconfigure their web servers to use the MIME type for >> .apks (due to shared hosting, etc.) >> b) You haven't got around to reconfiguring the web server to use the >> right MIME type. >> c) You could, but aren't planning to make the necessary change to the >> server. >> >> Thanks, >> >> Al. >> > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Plans for Variable Recording Level in MediaRecorder?
Hello All- >From looking at the MediaRecorder API reference, it appears there is currently no way to adjust the audio recording level. Does anyone know if there are any plans to make the recording level adjustable in the future or if there are any technical (or other) reasons why this cannot happen? Thanks, S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Default the Spinner Selection
You could use Spinner's setSelection(int position) method. 2008/10/3 Lonzo1968 <[EMAIL PROTECTED]> > > I feel almost embarrassed to ask this.. But how do you default the > selection in a Spinner Widget? I have a Spinner that uses an > ArrayAdapter to fill the Selections. I get the value of the > Spinner from a database, and now I want to set the Spinner to that > selection when the user creates the Activity.. > > This seems like it should be simple, but I just don't see a method to > do this?? > > Thanks, > > LA > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Decoding Reverse Geocoding HTTP Response
Could you post a link to your blog...and some code..so that I can get an idea of what you are doing :) 2008/10/3 vern <[EMAIL PROTECTED]> > > As I posted at my blog, I'm trying to decode the Google site response > to an Android's reverse geocoding request. But as I don't know how to > decompile the Android libraries to see how it's done, I'm stuck. > Anyone can help me? > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mail.jar activation.jar problem in android
Could you give some more details on what you are trying to do... 2008/10/3 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Hi Everybody, > I have problem in getting gmail folder in android for using > mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is > the exception. Does somebody have the good solution? > > Thanks, > > AndroidSue > > > > I/global ( 654): INFO: Default buffer size used in > BufferedOutputStream constructor. It would be better to be explicit if > a 8k buffer is required. > I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; > interface 175 'Ljava/awt/datatransfer/Transferable;' > W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' > failed > W/dalvikvm( 654): VFY: unable to find class referenced in signature > (Ljavax/activation/DataHandler;) > I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; > interface 175 'Ljava/awt/datatransfer/Transferable;' > W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' > failed > W/dalvikvm( 654): VFY: unable to resolve virtual method 1736: Ljavax/ > activation/DataHandler;.getName ()Ljava/lang/String; > W/dalvikvm( 654): VFY: rejecting opcode 0x6e at 0x0006 > W/dalvikvm( 654): VFY: rejected Ljavax/mail/internet/ > MimeUtility;.getEncoding (Ljavax/activation/DataHandler;)Ljava/lang/ > String; > W/dalvikvm( 654): Verifier rejected class Ljavax/mail/internet/ > MimeUtility; > D/AndroidRuntime( 654): Shutting down VM > W/dalvikvm( 654): threadid=3: thread exiting with uncaught exception > (group=0x40010e28) > E/AndroidRuntime( 654): Uncaught handler: thread main exiting due to > uncaught exception > E/AndroidRuntime( 654): java.lang.VerifyError: > javax.mail.internet.MimeUtility > E/AndroidRuntime( 654):at > com.sun.mail.imap.protocol.IMAPProtocol.(IMAPProtocol.java:117) > E/AndroidRuntime( 654):at > com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538) > E/AndroidRuntime( 654):at javax.mail.Service.connect(Service.java: > 288) > E/AndroidRuntime( 654):at javax.mail.Service.connect(Service.java: > 169) > E/AndroidRuntime( 654):at javax.mail.Service.connect(Service.java: > 118) > E/AndroidRuntime( 654):at > com.foxconn.android.app.EmailApp.getInbox(EmailApp.java:95) > E/AndroidRuntime( 654):at > com.foxconn.android.app.EmailApp.onCreate(EmailApp.java:44) > E/AndroidRuntime( 654):at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1122) > E/AndroidRuntime( 654):at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2103) > E/AndroidRuntime( 654):at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: > 2156) > E/AndroidRuntime( 654):at android.app.ActivityThread.access > $1800(ActivityThread.java:112) > E/AndroidRuntime( 654):at android.app.ActivityThread > $H.handleMessage(ActivityThread.java:1580) > E/AndroidRuntime( 654):at > android.os.Handler.dispatchMessage(Handler.java:88) > E/AndroidRuntime( 654):at android.os.Looper.loop(Looper.java:123) > E/AndroidRuntime( 654):at > android.app.ActivityThread.main(ActivityThread.java:3742) > E/AndroidRuntime( 654):at > java.lang.reflect.Method.invokeNative(Native Method) > E/AndroidRuntime( 654):at > java.lang.reflect.Method.invoke(Method.java:515) > E/AndroidRuntime( 654):at com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:739) > E/AndroidRuntime( 654):at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) > E/AndroidRuntime( 654):at dalvik.system.NativeStart.main(Native > Method) > I/Process ( 51): Sending signal. PID: 654 SIG: 3 > I/dalvikvm( 654): threadid=7: reacting to signal 3 > I/dalvikvm( 654): Wrote stack trace to '/data/anr/traces.txt' > W/ActivityManager( 51): Launch timeout has expired, giving up wake > lock! > W/ActivityManager( 51): Activity idle timeout for > HistoryRecord{434f3058 {com.foxconn.android.app/ > com.foxconn.android.app.EmailApp}} > D/dalvikvm( 392): GC freed 68 objects / 2800 bytes in 91ms > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: weird socket error
well, i switched to using HttpClient and the problem went away. this isn't really a fix, though, URLConnection etc should work IMHO. >under some circumstances i'm getting the following log entry in ddms -- > >SOCKETLOG add_recv_stats 0 > >-- which appears in red, indicating an error. and when that appears, >that's it for that connection, it seems. > >i've googled for this and a few people have seen it, but nobody has >an explanation for it. > >for me, it appears when i try to do short transfers over HTTP. longer >ones seem to be OK, which is very weird. > >any ideas anyone? > >tx > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Default the Spinner Selection
I feel almost embarrassed to ask this.. But how do you default the selection in a Spinner Widget? I have a Spinner that uses an ArrayAdapter to fill the Selections. I get the value of the Spinner from a database, and now I want to set the Spinner to that selection when the user creates the Activity.. This seems like it should be simple, but I just don't see a method to do this?? Thanks, LA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: IDE Netbeans
You can read this: Introducing Android Development with NetBeans : http://wiki.netbeans.org/IntroAndroidDevNetBeans On Oct 2, 7:58 pm, "Roberto Aguirre" <[EMAIL PROTECTED]> wrote: > How can i develop an app using Netbeans 6.5?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView setTextFilterEnabled showing semi transparent overlay
By calling setTextFilterEnabled() you do request this popup. If you don't want it, disable text filtering. This is an interactive feature for the user. It is not meant to be used programatically. If you want to programatically filter your adapter, call getFilter() on your adapter directly (if your adapter supports filtering.) On Fri, Oct 3, 2008 at 11:47 AM, Nik Bhattacharya <[EMAIL PROTECTED]> wrote: > > After much searching, I found what is the culprit...its a > PopupWindow. AbsListView always shows this PopupWindow when the > filter text is set. It is translucent, but completely blocks any > touch events going to views behind it. > > There is currently NO way to turn this off. There is no xml attribute > to set on list, showPopup() is private and dismissPopup() is package > private. > > I would like to turn this off and currently there is no way. Opening > an API request to make this configurable. > > http://code.google.com/p/android/issues/detail?id=936 > > > > On Oct 2, 3:20 pm, Nik Bhattacharya <[EMAIL PROTECTED]> > wrote: >> I am using a ListView and using the setTextFilterEnabled function. >> Everything works great, except I get a semi-transparent black overlay >> that has the text that I am setting as the filter. I want to hide >> this overlay. How do I do that? I cannot seem to find it in the >> hierarchy viewer. >> >> Nik Bhattacharya >> senior technologist >> frog design > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Application
lets see.. i like your idea... On 10/3/08, hackbod <[EMAIL PROTECTED]> wrote: > > Nope. That is not a nice thing to do to the user. :) > > On Oct 2, 10:50 am, barrie <[EMAIL PROTECTED]> wrote: >> Is there any way to make our own android application unremovable or >> undeleted? >> >> That means only read only by phone holder. >> >> Thanks >> >> Barrie > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: android
hi... To get all the basic... just prefer this PDF i am send u a link... http://commonsware.com/Android/Android.pdf hope u like it... On 10/3/08, Shraddha <[EMAIL PROTECTED]> wrote: > > Hi Satheesh, > > To get all the basics systematically .. best is you go throught each > of the topics from "getting started" and "developing Applcations" > sections on the android docs: > > http://code.google.com/android/intro/index.html > > Getting started will be good for basics like anatomy of android.. app > model etc.. > and developing apps, u will get all the relevant information about > using Views, database etc > > Have fun. > > Shraddha > > On Oct 3, 9:05 am, "satheesh kumar" <[EMAIL PROTECTED]> > wrote: >> hi now nly i m starting android... i want all basics in android ie., >> all views, layouts, how to use that... etc... pls sent that to my >> email... thank you > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: android
Hello, To know how to use the elements (button, checkbox, imagebutton ...) of android, please read this tutorial: A Visual Guide to Android GUI Widgets : http://whyandroid.com/android/tutorial/88-a-visual-guide-to-android-gui-widgets.html On Oct 3, 6:05 am, "satheesh kumar" <[EMAIL PROTECTED]> wrote: > hi now nly i m starting android... i want all basics in android ie., > all views, layouts, how to use that... etc... pls sent that to my > email... thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Contact Phones numbers
hi.. just visit the http://www.anddev.org in forum.. there is one example of your problem... see it... On 10/3/08, Alexandru Mos <[EMAIL PROTECTED]> wrote: > > I have two questions. Can anyone help me please. > How can I Update an contact phone number? > How can I see IM (Instant message) accounts of a contact. > > I hope you will come with an answer. > Thank you. > > -- > Ing. Alexandru Mos > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: constructor AssetManager() is not visible???
You can't instantiate this class. The way to get an AssetManager object is by AssetManager assetManager = activity.getResources().getAssets(); Hope this would help. Xavier. On Sep 24, 8:18 am, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > hi, > > AssetManager assetManager = new AssetManager(); > > the constructor of this AssetManager(); is not visible in SDK 1.0... > can anyone show me how to create AssetManager with the path I > defined??? > > wesley. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Decoding Reverse Geocoding HTTP Response
As I posted at my blog, I'm trying to decode the Google site response to an Android's reverse geocoding request. But as I don't know how to decompile the Android libraries to see how it's done, I'm stuck. Anyone can help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView setTextFilterEnabled showing semi transparent overlay
After much searching, I found what is the culprit...its a PopupWindow. AbsListView always shows this PopupWindow when the filter text is set. It is translucent, but completely blocks any touch events going to views behind it. There is currently NO way to turn this off. There is no xml attribute to set on list, showPopup() is private and dismissPopup() is package private. I would like to turn this off and currently there is no way. Opening an API request to make this configurable. http://code.google.com/p/android/issues/detail?id=936 On Oct 2, 3:20 pm, Nik Bhattacharya <[EMAIL PROTECTED]> wrote: > I am using a ListView and using the setTextFilterEnabled function. > Everything works great, except I get a semi-transparent black overlay > that has the text that I am setting as the filter. I want to hide > this overlay. How do I do that? I cannot seem to find it in the > hierarchy viewer. > > Nik Bhattacharya > senior technologist > frog design --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Best practice - buttons or menu items?
Every time I make a new screen I find myself debating which buttons should be on screen buttons, and which should be menu items, and or which should be both. I was wondering what others thing about this. Are there general guidelines or logical approaches that people are using? I apologize up front if this is a silly question, but it comes up again and again in my own head, and I haven't found any documentation or direction on it really. I notice that the built in contacts app, for example, has the sort of "main" actions like "new contact," "edit contact," "save," "discard," etc, as menu items. But it also has "Add Icon" as both a menu item and as an on screen button. I personally think it makes the most sense to use the menu for high level "actions," so "save" and "add" and so on make sense in the menu. But maybe that is subjective? Is it just whatever works best with the screen real estate and layout, etc. Seems like the menu is faster/more intuitive if you can use it, but with the d-pad all the on screen buttons work too whether or not the device is touch capable, and being on screen makes the choices more obvious. What to the UI gurus and Android devs think are some best practices in terms of making button/menu choices? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OpenGL ES documentation/tutorial suggestions
Thank you. I went and grabbed a copy and it definitely seems to meet all my requirements quite well. It covers everything from history of OpenGL ES and M3G (a competing API) to the math behind the 3d environment. It's an incredible resource and I'm shocked I wasn't referred to it earlier. I'd highly suggest anyone else interested in 3d graphics for mobiles to grab a copy. Now I just have to wait for my G1 to see what it offers in 3d acceleration. I hope it's got a good pipeline behind it. Thanks again. On Oct 2, 11:48 pm, Steve Oldmeadow <[EMAIL PROTECTED]> wrote: > I would recommend the book "Mobile 3D Graphics with OpenGL ES and M3G" > by Karri Pulli and others. You may not be interested in the M3G stuff > but the book is worth it for the introductory 3D and OpenGL ES > coverage. This book was also recommended by the developer of the > Oolong 3D engine for the iPhone which is based on OpenGL ES. > > You should also check out the AndroidGlobalTime and SpriteText > examples under the Apps For Android project. These are full of useful > code. > > Once the devices are released I expect there will be more information > forthcoming such as which bits of OpenGL ES 1.1 are supported as well > as recommendations for best performance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] weird socket error
under some circumstances i'm getting the following log entry in ddms -- SOCKETLOG add_recv_stats 0 -- which appears in red, indicating an error. and when that appears, that's it for that connection, it seems. i've googled for this and a few people have seen it, but nobody has an explanation for it. for me, it appears when i try to do short transfers over HTTP. longer ones seem to be OK, which is very weird. any ideas anyone? tx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: WebView loadData limitations
Thanks a ton for your comments, Mark. I've filed a bug: http://code.google.com/p/android/issues/detail?id=929. Best, Dave On Oct 1, 5:29 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > schmielson wrote: > > As it turns out, the android:layout_height="wrap_content" used along > > with android:layout_weight="1" of the WebView was preventing the > > WebView from properly receiving events! After changing the WebView's > > layout_height attribute to "0px" instead of "wrap_content", > > shouldOverrideUrlLoading is being called and things work like a > > charm. This bug was particularly insidious, however, since I never > > would have expected that these attributes would have altered the > > view's ability to process clicks/touches in this way. > > That is definitely strange. There might be a method to the madness > there, but off the cuff, I don't see it. > > > Do you think this is an SDK bug or a documentation bug? > > Ummm...yes. ;-) > > In other words, it depends a little on why it's not working. The fact > that you not only see the WebView, but can interact with it, suggests to > me it's an SDK bug. However, one man's SDK bug can be an Android team > member's documentation bug, if this is somehow expected behavior. > > I do recommend filing a bug, though, just to get this in the queue to > get looked at. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, > 2009http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Poll : .apk MIME Type
I'd dug around in the past, but never could find the mime type. I assumed we were going to get some sort of post eventually regarding the app store and how and if we could host our own stuff. On Oct 3, 1:21 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > I've been trawling the web for some .apks to add into andappstore.com > and noticed that a lot of people aren't using the MIME type which is > necessary to automatically start the installer > (application/vnd.android.package-archive). > > I would like to know from anyone hosting an .apk if this is because; > > a) You can't reconfigure their web servers to use the MIME type for > .apks (due to shared hosting, etc.) > b) You haven't got around to reconfiguring the web server to use the > right MIME type. > c) You could, but aren't planning to make the necessary change to the > server. > > Thanks, > > Al. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Poll : .apk MIME Type
I've been trawling the web for some .apks to add into andappstore.com and noticed that a lot of people aren't using the MIME type which is necessary to automatically start the installer (application/vnd.android.package-archive). I would like to know from anyone hosting an .apk if this is because; a) You can't reconfigure their web servers to use the MIME type for .apks (due to shared hosting, etc.) b) You haven't got around to reconfiguring the web server to use the right MIME type. c) You could, but aren't planning to make the necessary change to the server. Thanks, Al. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: IDE Netbeans
Yes. Uninstall Netbeans and install Eclipse instead. :p On Oct 2, 12:58 pm, "Roberto Aguirre" <[EMAIL PROTECTED]> wrote: > How can i develop an app using Netbeans 6.5?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to enable getChildStaticTransformation in 1.0_r1
Hi, This is something we changed at the last minute and we unfortunately forgot to add a public API to enable this. I'm really sorry about this but I definitely plan on fixing this in a (hopefully the) next update. On Fri, Oct 3, 2008 at 9:13 AM, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > > In 0.9 I used "this.mGroupFlags |= > FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable > my own implementation of getChildStaticTransformation(...) but since > this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder > how I should enable getChildStaticTransformation(...) now. > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bash, C, or Korn Shell?
+1 for shell access, not sure why security should be an issue if its sandboxed. I bought two SL-5000D at J1 back in 2002 and the first thing people started talking about was the bash shell prompt, 2nd as I recall was the wifi card. Shane On Thu, Oct 2, 2008 at 11:53 AM, Bill Zimmerly <[EMAIL PROTECTED]>wrote: > > Thanks Ludwig ... I knew about "adb" and the emulator's "-shell" > parameter, but was hoping to see shell access from the GUI - much like > the Zaurus had. Oh well, sigh, if the machine doesn't have what I > want, it's time to "roll up the sleeves" and write it. :) > - Bill > > On Oct 2, 5:53 am, Ludwig <[EMAIL PROTECTED]> wrote: > > If you are after a development tool, running adb shell > > from the tools directory will give you a shell with a limited amount of > > functionality. Android applications do not have (for obvious security > > reasons) shell access. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to make an application icon & its name invisible in emulator/device menu list.
Removing all intent filters makes the activity non-exported by default. You can change this with android:exported="true" in your activity tag. To not have your activity in recents, use android:excludeFromRecents="true". There is lots of valuable information on how you can set up your manifests here: http://code.google.com/android/devel/bblocks-manifest.html On Oct 3, 3:21 am, "Ashutosh Tamrakar" <[EMAIL PROTECTED]> wrote: > Thanks MrSnowflake, > > Your suggestion works for me. But i only excluded > from the > manifest.xml & not the > , as on removing > it causes Security Exception & the activity is killed. > > *LogCat* > *Uncaught handler: thread main exiting due to uncaught exception > *** EXCEPTION IN SYSTEM PROCESS. System will crash. > java.lang.SecurityException: Permission Denial: starting Intent { > flags=0x1000 > comp={com.catalytic.launcbackgroundactivity/com.catalytic.launcbackgroundactivity.LaunchBackgroundActivity}} > from null (pid=-1, uid=-1) requires null > > at android.os.Parcel.readException(Parcel.java:1234) > at android.os.Parcel.readException(Parcel.java:1222) > at > android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:998) > at com.android.commands.am.Am.runStart(Am.java:197) > at com.android.commands.am.Am.run(Am.java:73) > at com.android.commands.am.Am.main(Am.java:51) > at com.android.internal.os.RuntimeInit.finishInit(Native Method) > at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:186) > at dalvik.system.NativeStart.main(Native Method) > Unknown binder error code. 0xfff7 > Crash logging skipped, no checkin service* > ** > *Console* > *ActivityManager: Starting: Intent { > comp={com.catalytic.launcbackgroundactivity/com.catalytic.launcbackgroundactivity.LaunchBackgroundActivity}} > > ActivityManager: [1] Killed am start -n com* > > > > Further, I am also interested to remove it from the dialog which shows all > currently running applications, > Can it be possible ? (simple long press of home key opens the dialog of all > running apps). > > Attached is the snap-shot of app icon for your reference. > > Thanks, > Ashutosh > > On 10/2/08, MrSnowflake <[EMAIL PROTECTED]> wrote: > > > > > > > What menu list you mean? The launcher drawer? That's easy: just dont > > include this intent-filter: > > > > > > > android:name="android.intent.category.LAUNCHER" /> > > > > > On 2 okt, 14:29, Ashutosh <[EMAIL PROTECTED]> wrote: > > > Do any one knows how to make an application icon & its label invisible > > > in menu list ? > > > Please suggest. > > > > Thanks > > > Ashutosh > > -- > Ashutosh Tamrakar > Software Design Engineer, Wireless Division > Catalytic Software Ltd, Hyderabad, India. > Mail-id: [EMAIL PROTECTED] > Off: +91 8414 233300 > Mob: +91 98859 87478http://www.aurona.com > > AppIcon.JPG > 83KViewDownload --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How I can add LinearLayout to LinearLayout programicly?
You need to add it with a LinearLayout.LayoutParams as the second argument. On Oct 3, 8:38 am, Ramunas <[EMAIL PROTECTED]> wrote: > Hello, > > I have a class: => class ListAdapterView extends LinearLayout > In this class need to add new LinearLayout. When I use this belove > code my application crash. > LinearLayout ll=new LinearLayout(context); > this.addView(ll); > > How I can add LinearLayout to LinearLayout programicly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to enable getChildStaticTransformation in 1.0_r1
In 0.9 I used "this.mGroupFlags |= FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable my own implementation of getChildStaticTransformation(...) but since this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder how I should enable getChildStaticTransformation(...) now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: skia : error in decode file
Can you include more of the code snippet? On Oct 3, 2008, at 12:09 PM, Sudha wrote: Hi I had a strange problem I am reading the images from the sdcard which are taken using the camera in a for loop . 1st image is coming fine and from second image onwards I am getting skia fialure readaeing skia jpeg setjump exit I am reading the image as imageShow = BitmapFactory.decodeFile(""+imageNames[position]); I tried decodeStream() ,decodeBytearay etc same isssues repeats but the first image is coming proper.. Plz help mee I am using 0.9 sdk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] skia : error in decode file
Hi I had a strange problem I am reading the images from the sdcard which are taken using the camera in a for loop . 1st image is coming fine and from second image onwards I am getting skia fialure readaeing skia jpeg setjump exit I am reading the image as imageShow = BitmapFactory.decodeFile(""+imageNames[position]); I tried decodeStream() ,decodeBytearay etc same isssues repeats but the first image is coming proper.. Plz help mee I am using 0.9 sdk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: android
Hi Satheesh, You can get the basics from code.google.com/android and lot of websites for android are there like anddev.org androidguys.com helloandroid.com etc.. in all these lot of examples are there and try API demos too.. by doing all these you will get a fair amount of knowledge.. Thanks On Oct 3, 2:35 pm, Shraddha <[EMAIL PROTECTED]> wrote: > Hi Satheesh, > > To get all the basics systematically .. best is you go throught each > of the topics from "getting started" and "developing Applcations" > sections on the android docs: > > http://code.google.com/android/intro/index.html > > Getting started will be good for basics like anatomy of android.. app > model etc.. > and developing apps, u will get all the relevant information about > using Views, database etc > > Have fun. > > Shraddha > > On Oct 3, 9:05 am, "satheesh kumar" <[EMAIL PROTECTED]> > wrote: > > > hi now nly i m starting android... i want all basics in android ie., > > all views, layouts, how to use that... etc... pls sent that to my > > email... thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] app_thumbnails in data folder
Anyone know what the app_thumbnails folder is in my app's data folder (/data/data//app_thumbnails)it's just collecting files...and really starting to add up (multiple MB's). Here's the 'ls' from that folder, each one about 20k: 1129283424_pic.save 1128769904_pic.save 1128486208_pic.save 1128260912_pic.save 1129924072_pic.save 1130073608_pic.save 1130836856_pic.save 1129104056_pic.save 1128476960_pic.save 1129022528_pic.save 1129120808_pic.save 1128855944_pic.save 1128383648_pic.save 1128534096_pic.save 1131504112_pic.save 1129693456_pic.save 1131472392_pic.save 1128052944_pic.save 1128638760_pic.save 1128568696_pic.save 1128650328_pic.save 1129447312_pic.save 1129217304_pic.save -- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting Value from Spinner
Just putting this back out there. Anyone doing something similar?? On Oct 1, 9:15 am, Lonzo1968 <[EMAIL PROTECTED]> wrote: > How do I get the displayed value from a Spinner that is bound to a > Cursor. I created and Populated a Spinner using the following, Now I > can't figure out how to get the selected Item from the list.. > > Spinner s1 = (Spinner) findViewById(R.id.client_id); > String[] cMap = new > String[ClientDataProvider.sClientsSpinnerProjectionMap > .size()]; > > ClientDataProvider.sClientsSpinnerProjectionMap.keySet().toArray(cMap); > Uri uClients = Client.Clients.CONTENT_URI; > Cursor cur = managedQuery(uClients, cMap, null, null, null); > SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, > android.R.layout.simple_spinner_dropdown_item, cur, new String[] > {Project.Projects.NAME}, new int[] {android.R.id.text1}); > > adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_it > em); > s1.setAdapter(adapter); > > Where the ProjectionMap looks like this. > > sClientsSpinnerProjectionMap = new HashMap(); > sClientsSpinnerProjectionMap.put(Clients._ID, Clients._ID); > sClientsSpinnerProjectionMap.put(Clients.NAME, Clients.NAME); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How I can add LinearLayout to LinearLayout programicly?
Hello, I have a class: => class ListAdapterView extends LinearLayout In this class need to add new LinearLayout. When I use this belove code my application crash. LinearLayout ll=new LinearLayout(context); this.addView(ll); How I can add LinearLayout to LinearLayout programicly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Registering and Handling of ContentObserver for Contacts database - handlers first invokation ???
Why the handler of a ContentObserver called before the changes completed to contacts database? I can’t find any workaround. Is it desired behaviour or bug? I hope to get an answer. On Oct 2, 1:53 pm, Yalcin <[EMAIL PROTECTED]> wrote: > Hi, > I want to check new entries, that made to contacts database. As > example the "notes" column entry in "people" table. > I register a ContentObserver and implement the handler, which is > invoked on onChange method of ContactsChangeObserver. > > hier is a code snipped: > > +++ > ContentObserver myObserver = new ContactsChangeObserver(); > ContentResolver resolver = getContentResolver(); > > resolver.registerContentObserver(Contacts.People.CONTENT_URI, > notifyForDescendents, myObserver); > +++ > > two cases on method .registerContentObserver(.., true/ > false, ..); > 1) notifyForDescendents=true > observer handler is invoked 3 times > first time column "notes" value is null > second and third time is set to proper edited value. > > 2) notifyForDescendents=false > observer handler invoked 1 time and column "notes" has value null. > > It seems, the database row in first invoke of handler are not > completely written / committed. > What is the solution to get the proper value in first invoke of > handler? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Application for salesforce.com
Ciao, gentlemen. I've started Android open-source project targeting Salesforce (http://www.salesforce.com/) using Apex API (http:// www.salesforce.com/developer/). This app is to connect to salesforce thru soap base web serivce (really really fandamental part :)), and now I'm planing to open the source code to do enhance with lots of folks. I've post my code to google code page below. You could download and run on google android. http://code.google.com/p/salesforceandroid/ Salesforce is B2B saas/paas company that deals with sfa, marketing, support, hr, mainly. This app is really um-matured. This is read-only for now. [Avaialble Salesforce Standard Object on my app] - Event - Task - Lead - Account - Contact - Case - Opportunity - Chart Viewer (google chart api) - Web Viewer (Visualforce viewer. you could see 2 visualforce pages if you log in as hard-coded user) With this app, username is harded coded but you could change it to your user name that has Salesforce API enable option. If you are interested in it, please come in the page : http://code.google.com/p/salesforceandroid/ Some gentlemen said to me to help the project :) Thank you very much, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to enable getChildStaticTransformation in 1.0_r1
Unfortunately, you can't. It was a last minute change and I am deeply sorry to admit we forgot to add a setter method to let you enable it. This will be fixed in a (hopefully the) next update. On Fri, Oct 3, 2008 at 7:32 AM, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > > In 0.9 I used "this.mGroupFlags |= > FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable > my own implementation of getChildStaticTransformation(...) but since > this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder > how I should enable getChildStaticTransformation(...) now. > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AndAppStore.com more updates...
I've just added the following; * Social bookmarking of applications * Use of a download icon instead of written text * A "View all" link from an applications main page. and fixed a small bug in the veecheck integration. Please keep the ideas coming and feel free to register apps. Al. -- Al Sutton http://andappstore.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to enable getChildStaticTransformation in 1.0_r1
In 0.9 I used "this.mGroupFlags |= FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable my own implementation of getChildStaticTransformation(...) but since this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder how I should enable getChildStaticTransformation(...) now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Activity Lifecycle
hackbod, with the finishOnTaskLaunch flag set to true, pressing HOME will finish the activity, calling onDestroy. On Oct 3, 2:59 am, hackbod <[EMAIL PROTECTED]> wrote: > Um... you should fix your program. :) > > You can't really rely on onDestroy() for this. For example, if the > user presses home to get out of your app, the activity will not be > destroyed. And if the user flips the lid while your activity is > running, the current instance will be destroyed and a new one created. > > Honestly, this isn't a good thing to do. > > On Oct 2, 2:20 am, elvisw <[EMAIL PROTECTED]> wrote: > > > to release some resource violently... > > that resource has no API for me to release it smoothly.. > > it will keep working, cost cpu time unless i exit the process... > > so... > > > Thanks > > > On Oct 2, 3:35 pm, hackbod <[EMAIL PROTECTED]> wrote: > > > > You can use the Process class to kill yourself. But doing that pretty > > > nasty, and almost certainly won't work all that well. > > > > Why would you want to do such a thing? > > > > On Oct 1, 8:37 pm, elvisw <[EMAIL PROTECTED]> wrote: > > > > > Hi everyone, > > > > > Normally, when onDestroy() been called, the process is still there > > > > and waiting the system to kill it. > > > > > Is it possible to kill the process in onDestroy() when every time > > > > it is called?? > > > > Is there API to exit the process by the activity itself?? > > > > > Best Regards, > > > > Elvis. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Certification <= 6 months?
Add -validity 3650 to the keytool command... something like: keytool -genkey -alias myalias -keystore c:\outputpath -validity 3650 On Oct 3, 7:06 am, Teo <[EMAIL PROTECTED]> wrote: > Hi, > > i just signed my app (hopefully in a correct way..) and i saw that the > certificate is available for only 6 months. Is there any way we could > change this time period? Should it stay like this? > > Thanks, > Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
AndAppStore.com now generates version information which can be used by the veecheck updating library. More information is available from http://andappstore.com/AndroidPhoneApplications/veecheck.jsp plusminus wrote: > Will you provide a auto-updating feature for apps? > > On 2 Okt., 15:27, Al Sutton <[EMAIL PROTECTED]> wrote: > >> I've put together a quick first pass at an application store/directory >> which could be useful if T-Mobile and/or Google have problems setting >> up their respective app markets or introduce some restrictions which >> hinder application listings. >> >> I'd be grateful if anyone who has some spare time could give it a test >> by listing their apps & releases and feeding back any comments or >> suggestions (it's a work in progress, so please make comments a bit >> more constructive than than "you need to add a voting system", "you >> need to add an app purchasing system", and "you suck at web >> design" :)). >> >> For those that are interested the site is up athttp://andappstore.com/ >> >> Thanks, >> >> Al. >> > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: call WebService
Thank you very much for you response. On Thu, Oct 2, 2008 at 8:51 PM, Charlie Collins <[EMAIL PROTECTED]>wrote: > > If you search this forum you find a lot of info on this topic. It > depends what you mean by "webservice," but if you mean SOAP over > HTTP, the typical path is to use kSOAP on Android. Anddev.org has > some good samples, including a kSOAP one: > > http://www.anddev.org/webservice_soap_with_complex_data_type_and_ksoap_client-t2195.html > . > > Though, I would also still argue that you should not use SOAP on a > small embedded platform device like a mobile phone. I know, I know, > relax - people do it all the time, and many people disagree - I > realize that. But still the stuff that makes SOAP useful, > transactions, types, orchestration, etc, are all overkill in my > opinion on an embedded device. You can avoid all that overhead (and > even the envelope), and STILL use your existing SOAP service, by > making a SOAP proxy using something that takes more of a plain HTTP > and XML appoach (POX), or even REST, and have that proxy make the > required SOAP calls. Put all the SOAP horsepower on the server, if you > have to use SOAP, and make the Android client ultra simple via some > kind of a proxy. > > > > On Oct 2, 12:15 pm, "Yash Patel" <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > > > Can anyone please let me know how how do we call webserivce from Android > > App. > > If you can provide sample code, i would really appreciate. > > > > thanks for you help. > > > > Yash Patel > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to query for my current location?
Nemat wrote: > Will you please provide any running example? There are probably some tutorials out on anddev.org, though a quick search on "requestLocationUpdates" didn't come up with any... You can also download the source code to my book from the Version 1.3 tab's Source Code link on: http://commonsware.com/Android/ In the source code ZIP file, the Internet/Weather and Service/WeatherPlus projects each use location updates. To make them work in the emulator, you will need to provide location fixes via the DDMS utility, as documented here: http://code.google.com/android/reference/ddms.html -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.3 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers]
This is a code, for example, that does not work. ContentValues values = new ContentValues(); values.put(Contacts.Phones.TYPE, Phones.TYPE_MOBILE); values.put(Contacts.Phones.NUMBER, ""); getContentResolver().update(Contacts.Phones.CONTENT_URI, values, Contacts.Phones.PERSON_ID + "=\'" + _id + "\'", null); values.clear(); -- Ing. Alexandru Mos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
This almost sounds like it should be a Service. The thread will only run when you're Activity is running (basically) and isn't guaranteed to be kept around once the Activity is cleaned up. You may want a Service running that can handle this and then you'll have much more control over it. Will you be handing incoming messages the same way? http://code.google.com/android/reference/android/app/Service.html On Oct 3, 4:03 am, hackbod <[EMAIL PROTECTED]> wrote: > Just use HandlerThread to have a single thread sitting there > processing messages that you send to it. Even better, create the > thread in onStart() and quit it in onStop(). > > On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > > > HI, > > > I am developing a chat application. Everytime a user clicks a button a > > thread needs to handle it as text message needs to be sent over > > network. so, I am creating a new thread each time when the user clicks > > on button. I wish only 1 thread handles all the messages to be sent. > > But, resume/suspend/stop are all deprecated. > > > is there a way to do it. > > > currently, I am doing it like the following. > > > > > View.OnClickListener showChat = new View.OnClickListener() { > > @Override > > public void onClick(View v) { > > > t_send = new Thread() { > > public void run() { > > recv = false; > > m_mychat = > > doExpensiveSend(); > > > > > mHandler2.post(mUpdateResults2); > > } > > }; > > t_send.start(); > > > } > > }; > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to query for my current location?
Will you please provide any running example? On Oct 2, 7:34 pm, Ludwig <[EMAIL PROTECTED]> wrote: > The getLastKnownLocation() only returns in my experience valid locations if > there is elsewhere something that has subscribed to location updates, with > something like this: > > public void subscribeToLocationUpdates() { > this.lm = > (LocationManager)getSystemService(Context.LOCATION_SERVICE); > this.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); > } > > The 'this' here is a class that also implements the LocationListener > interface. > > I know this somehow does not make sense, but that is how I worked around > just getting nulls back. > > HTH > > Ludwig > > 2008/10/2 danielbr <[EMAIL PROTECTED]> > > > > > Has anyone been successful in getting coordinates via the code below? > > I'm always getting null for the location, even after putting some fake > > coordinates via the DDMS controls. > > > Daniel. > > > On Sep 29, 12:55 pm, zl25drexel <[EMAIL PROTECTED]> wrote: > > > for those who are looking for solutions for this same question, here's > > > what I have, seems to work well with > > > > > > For telnet: telnet localhost 5554 > > > > > > > geo fix > > > > this.locationManager = (LocationManager) > > > getSystemService(Context.LOCATION_SERVICE); > > > LocationmyLocation = > > > locationManager.getLastKnownLocation("gps"); > > > if(myLocation == null){ > > > Log.e("mylocation", "failed to determinemylocation"); > > > }else{ > > > Log.i("mylocation", myLocation.toString()); > > > } > > > > On Sep 29, 12:28 pm, zl25drexel <[EMAIL PROTECTED]> wrote: > > > > > Guillaume, > > > > > I understand that i need to mock the thecurrentlocationin the > > > > emulator, butmyquestion is what api calls do i make to get the lat/ > > > > lon that i put in DDMS. I cannot find any documentations related to > > > > that in android's documentation. > > > > > On Sep 28, 4:53 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > > > > And you have to manually simulate yourlocationusing telnet or DDMS > > > > > controls in Eclipse (the latter only works if your OS is in english > > > > > locale). > > > > > For telnet: telnet localhost 5554 > > > > > > > geo fix 2 40 > > > > > > On 28 sep, 04:05, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > > > > >zl25drexelwrote: > > > > > > > Hi, sorry i am sure this had been asked before, how do i find > > outmy > > > > > > >currentlat/lon using thelocationAPI? > > > > > > > You can't, per se. > > > > > > > You can call getLastKnownLocation() to return, well, the last known > > > > > >location, but that may be null (if there have been no locations > > recorded > > > > > > for the requestedlocationprovider) or stale (if thelocationprovider > > > > > > has been out of service for a while). > > > > > > > Or, call requestLocationUpdates() and take action when you get new > > > > > > position fixes from thelocationprovider. > > > > > > > -- > > > > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > > > _The Busy Coder's Guide to Android Development_ Version 1.2 > > Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: PreferenceActivity Refresh Problem
Unfortunately, there isn't a clean way to force the preference activity to refresh values. This hack is probably as good as any for 1.0. jason On Thu, Oct 2, 2008 at 10:41 AM, Ludwig <[EMAIL PROTECTED]> wrote: > I have an ugly solution to this.There should be somewhere to force it to > reload the preferences and refresh the screen, but just like you I do not > know how to do it. (Suggestions?) > > However, what you can do is to finish the current preferences activity and > to restart it in a new activity, like so: > > protected void resetPreferences(){ > prefs = getSharedPreferences("...", Context.MODE_PRIVATE); > SharedPreferences.Editor editor = prefs.edit(); > ... // do all the resetting > editor.commit(); > finish(); > ComponentName comp = new ComponentName(this.getPackageName(), > getClass().getName()); > startActivity(new Intent().setComponent(comp)); > } > > This at least works if you are on the main screen of the activity. > > Yes, it is a hack. > > Ludwig > 2008/10/2 Amos <[EMAIL PROTECTED]> > > >> I have a PreferenceActivity inflated from xml. One of the preferences >> launches an intent which opens an activity that clears all the >> preferences and resets them to the default values. >> >> My problem is that when this "restore defaults" activity returns, and >> I navigate to another preference screen with, say, a checkbox >> preference, the previous preference values still appear on the screen. >> If I exit the preference activity and then reopen it, the updated >> preference values appear. >> >> This seems like a refresh issue. Is there a way I can tell the >> PreferenceActivity to refresh its values? (I made sure I am comitting >> all my preference changes) >> >> Thanks >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Contact Phones numbers
Thanks Romain I've applied your way.It worked fine one or two times.Then it gaing started giving error. The error is:jpeg error 20 Improper call to JPEG library in state. How can this error be resolved?? On Oct 3, 2:41 pm, Alexandru Mos <[EMAIL PROTECTED]> wrote: > I have two questions. Can anyone help me please. > How can I Update an contact phone number? > How can I see IM (Instant message) accounts of a contact. > > I hope you will come with an answer. > Thank you. > > -- > Ing. Alexandru Mos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] List Field Problem while porting from 0.5 to 0.9 and to 1.0 SDK
Hii guys I m having problem with my list field.Whenever i tried to run my code in 0.9 SDK or now in 1.0 SDK it runs fine but whenever i tries to select any row the entire list get selected so in my code call to myLIst.getSelectedItemPosition() returns me -1 (means no row is selected) now since m newbie developer i cant find where to change my code in order to select the correct row. Help me out ... Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
Because it's available and because I don't impose certification requirements :). There seems to be a lot of uncertainty over what will be required for the Google and/or T-Mobile app stores, so I'm attempting to put something together which will be open to all and leave the user to decide what they want to install. At some point I'm planning to implement the trust system I published a link to in an earlier post (http://alsutton.wordpress.com/2008/09/17/google-android-and-code-signing-app-shops/), but at the moment I'm still getting the ball rolling. Al. plusminus wrote: > ... and why should we be using your store rather than the Android > Market ? > > On 2 Okt., 20:39, plusminus <[EMAIL PROTECTED]> wrote: > >> Will you provide a auto-updating feature for apps? >> >> On 2 Okt., 15:27, Al Sutton <[EMAIL PROTECTED]> wrote: >> >> >>> I've put together a quick first pass at an application store/directory >>> which could be useful if T-Mobile and/or Google have problems setting >>> up their respective app markets or introduce some restrictions which >>> hinder application listings. >>> >>> I'd be grateful if anyone who has some spare time could give it a test >>> by listing their apps & releases and feeding back any comments or >>> suggestions (it's a work in progress, so please make comments a bit >>> more constructive than than "you need to add a voting system", "you >>> need to add an app purchasing system", and "you suck at web >>> design" :)). >>> >>> For those that are interested the site is up athttp://andappstore.com/ >>> >>> Thanks, >>> >>> Al. >>> >> > > > -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/alsutton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Certification <= 6 months?
Hi, i just signed my app (hopefully in a correct way..) and i saw that the certificate is available for only 6 months. Is there any way we could change this time period? Should it stay like this? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Rotating an image using Drawable
Try rotating the canvas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
naah... You can use self-signed certificates to sign your applications. No certificate authority is needed. http://code.google.com/android/intro/develop-and-debug.html#signing On Oct 3, 1:23 pm, Yalcin <[EMAIL PROTECTED]> wrote: > self-signed certification for .apk? > > how to do it? do we need a certification authority like Thawte or > others and pay for them 200-300 $. > > On Oct 3, 10:06 am, hackbod <[EMAIL PROTECTED]> wrote: > > > > > On Oct 3, 12:09 am, Al Sutton <[EMAIL PROTECTED]> wrote: > > > > Because it's available and because I don't impose certification > > > requirements :). > > > The Android Market won't impose certification requirements, any more > > than the normal self-signed certification that is required for > > any .apk to be installed on the system.- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
I found the problem. It was because i used onKeyDown in the same class and returned true in it :) On Fri, Oct 3, 2008 at 7:59 AM, Jason Parekh <[EMAIL PROTECTED]> wrote: > Are you overriding either onCreatePanelView or onCreatePanelMenu? > > If so, try commenting that out and seeing the behavior. > > jason > > On Fri, Sep 26, 2008 at 12:33 PM, Teo <[EMAIL PROTECTED]> wrote: > >> I just tried with the same project on another computer where i installed >> SDK 1.0 clean, same behavior... >> >> >> On Thu, Sep 25, 2008 at 8:30 PM, Teo <[EMAIL PROTECTED]> wrote: >> >>> I've replaced some PNG images i used for the menu, that's the closest >>> thing i did; but there shouldn't be any influence from that either.. >>> >>> >>> On Thu, Sep 25, 2008 at 8:19 PM, Teo <[EMAIL PROTECTED]> wrote: >>> Nope, nothing happens on prepare either. This is too strange, i remember the other day i tried the menu and it worked in the latest SDK. Today with no change in code, nothing, not even a call. I should say the menu works in other apps, so the problem seems to be only with mine. On Thu, Sep 25, 2008 at 7:57 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > > Thanks for pointing that out, it was an oversight. But it still > didn't > > solve the problem.onCreateOptionsMenu isn't even called :/ > > I was in a bit of a rush with the last reply and figured it would be > worth > a shot. > > Is onPrepareOptionsMenu() being called? That should be called on every > menu button press; onCreateOptionsMenu() will only get called on the > first > menu button press. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.2 Published! > > > > > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) >>> >>> >>> >>> -- >>> Teo (a.k.a. Teodor Filimon, Teominator) >>> Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com >>> GMT +2 (or PDT +10) >>> >> >> >> >> -- >> Teo (a.k.a. Teodor Filimon, Teominator) >> Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com >> GMT +2 (or PDT +10) >> >> >> > > > > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AndAppStore.com Updates
After some very useful feedback I've added the following features; * Application icons - You can now specify a URL to 32x32 image which will be shown by the app. * Download counts - The system now tracks the number of downloads an application version gets. * Editable application information - You can alter the application information after you've submitted the app. * Latest release more visible - The latest release is easier to find on the application information page. * Improved feedback form - The formatting was a bit tricky on a web browser. Thanks for everyone's ideas, please keep them coming. Al. -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/alsutton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Contact Phones numbers
I have two questions. Can anyone help me please. How can I Update an contact phone number? How can I see IM (Instant message) accounts of a contact. I hope you will come with an answer. Thank you. -- Ing. Alexandru Mos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: android
Hi Satheesh, To get all the basics systematically .. best is you go throught each of the topics from "getting started" and "developing Applcations" sections on the android docs: http://code.google.com/android/intro/index.html Getting started will be good for basics like anatomy of android.. app model etc.. and developing apps, u will get all the relevant information about using Views, database etc Have fun. Shraddha On Oct 3, 9:05 am, "satheesh kumar" <[EMAIL PROTECTED]> wrote: > hi now nly i m starting android... i want all basics in android ie., > all views, layouts, how to use that... etc... pls sent that to my > email... thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] eclipse failed to load the framework information and the layout library!
I have opened the layout/main.xml file using android layout editor in eclipse It opens a view with xml, layout views. The layout view has all green tick marks. there is a create button in the top. But that is greyed out(disabled) and below it shows that eclipse failed to load the framework information and the layout library!. I am using Eclipse 3.4.1 and android 0.9beta. I have installed the software update for eclipse "Models and model development" plugin. Thanks and Regards, Bala --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADT plugin in SDK 0.9
For me still it is not working.. I am using eclipse 3.4 classic - Ganymede and i don't have no luck getting resovled. Regards, Bala Lekkala,Jyothsna wrote: > HI, > > I have installed the new android SDK now and eclipse 3.4 classic - > Ganymede instead of eclipse 3.4 java ee. > > Now its working fine. > I understand that I did not install modelling framerwork plugin for > the eclipse and thats why the android layout editor showed the error. > > sorry I could not reply to you earlier because I did not have access > to my system. > > THanks for replying earlier. > > --Jyothsna > > > > On Sep 25, 5:23�pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > please provide us with the Eclipse log. It's located in your workspace > > in .metata/.log > > > > thanks > > Xav > > > > On Thu, Sep 25, 2008 at 5:15 PM, Lekkala,Jyothsna<[EMAIL PROTECTED]> wrote: > > > > > HI, > > > > > I opened thelayout/xml file using androidlayouteditorin eclipse > > > It opens a view with xml,layoutviews. Thelayoutview has all green > > > tick marks. there is a create button in the top. But that is greyed > > > out(disabled) > > > and below it shows that eclipse failed to load the framework > > > information and thelayoutlibrary!. > > > > > I searched all blogs,forums etc. but nobody is talking about this > > > error. are you able to use the androidlayouteditorand make layouts > > > like in droiddraw/dreamweaver_for_html. > > > > > Thanks, > > > --Jyothsna > > > > > On Aug 18, 2:53 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > >> The graphicallayouteditoris the default XMLeditorfor files under > > >> /res/layout(assuming the project is properly tagged as an > > >> Android > > >> project) > > > > >> Make sure you haven't set a different defaulteditorby right clicking your > > >>layoutfile and choosing Open With... > AndroidLayoutEditor. > > > > >> Xav > > > > >> On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote: > > > > >> > Hi, > > > > >> > It is mentioned that "Several new development tools were added, such > > >> > as a graphical preview for XML layouts for users of Eclipse, and a > > >> > tool for constructing 9-patch images.". How to see/use this? Where is > > >> > this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
self-signed certification for .apk? how to do it? do we need a certification authority like Thawte or others and pay for them 200-300 $. On Oct 3, 10:06 am, hackbod <[EMAIL PROTECTED]> wrote: > On Oct 3, 12:09 am, Al Sutton <[EMAIL PROTECTED]> wrote: > > > Because it's available and because I don't impose certification > > requirements :). > > The Android Market won't impose certification requirements, any more > than the normal self-signed certification that is required for > any .apk to be installed on the system. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
On Oct 3, 12:09 am, Al Sutton <[EMAIL PROTECTED]> wrote: > Because it's available and because I don't impose certification > requirements :). The Android Market won't impose certification requirements, any more than the normal self-signed certification that is required for any .apk to be installed on the system. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Really need help: Services, Intents
There are a number of examples in ApiDemos of using Service components in various ways. On Oct 2, 7:33 pm, Mast3rpyr0 <[EMAIL PROTECTED]> wrote: > I have a appname.java file in a project, got the layouts and > everything. After a user presses a button i need the window to close > (finish()?) and a service to start, which i have in service.java in > the same project. how do i get service.java to be executed as a > service? What intent should i use if all it will be doing is sending > some data to a webserver every couple minutes? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How many threads can be created or how to avoid thread leak
Just use HandlerThread to have a single thread sitting there processing messages that you send to it. Even better, create the thread in onStart() and quit it in onStop(). On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > HI, > > I am developing a chat application. Everytime a user clicks a button a > thread needs to handle it as text message needs to be sent over > network. so, I am creating a new thread each time when the user clicks > on button. I wish only 1 thread handles all the messages to be sent. > But, resume/suspend/stop are all deprecated. > > is there a way to do it. > > currently, I am doing it like the following. > > > View.OnClickListener showChat = new View.OnClickListener() { > @Override > public void onClick(View v) { > > t_send = new Thread() { > public void run() { > recv = false; > m_mychat = doExpensiveSend(); > > > mHandler2.post(mUpdateResults2); > } > }; > t_send.start(); > > } > }; > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to use findViewById(int id) out of onCreate() ?
Oh yes you're right. I just had made a little mistake in my program! :- p But I didn't think about the fact that keeping it into the oncreate would speed up my app! Thanks for the info Mr Snowflake! On Oct 2, 7:00 pm, MrSnowflake <[EMAIL PROTECTED]> wrote: > Indeed seems to no problem at all. > On the other hand, doing all findId's in the oncreate and put them in > fields of the activity you're working with, would speed up the app. > > On Oct 1, 11:51 pm, Joey Yandle <[EMAIL PROTECTED]> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > I'd like to use the findViewById(int id) method outside of the > > > onCreate(bundle) to act on some buttons. How can I do that? > > > What's stopping you from calling it outside of onCreate() in the same > > way you call it inside onCreate()? > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.4.5 (GNU/Linux) > > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > > iD8DBQFI4/D8Nig/07RbnEsRAib9AKDG4Q9XAuAdAdFHFhvT1/m3DozcEwCeNzCG > > m9MPhKMjfc4810O8hne/qxE= > > =ppaK > > -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] android
create image using the bitmap then use the Matrix and its preScle func.. and paasing this as a parameter u can create another bitmap.. like createBitmap(image,0,0,imahewidth,height,matrix,false) based on the prescale value it will give the transformed image --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: unable to open AndroidManifest.xml
I had an odd "unable to load editor" when double clicking to open the layout and manifest to edit, but when I went and did a right click on the files and did "open with" and chose the correct android editor from the list, it worked fine. It would be helpful if this FAQ: http://code.google.com/android/kb/troubleshooting.html#installeclipsecomponents Had useful instructions for eclipse 3.4, I just ended up going to Help > Software Updates and then selecting Available Software and searching for WST and selecting most of the plugins and installing them all. I imagine I only needed a couple, but I have no idea which ones. Brandon On Oct 1, 7:56 am, blake <[EMAIL PROTECTED]> wrote: > I have the same problem. If I install the editor plugins, everything > works fine until I restart eclipse. After that I can no longer open > any of the resource files. > > I am running Ganymede with 1.5. I suspect the versions of the R > $...class files, but I've checked them and they are all v1.5 class > files, as far as I can see. Just on a long shot, I also checked the > versions on all the classes in the editor plugin. They are also all > 1.5 files. I can't even find which classfile is causing the > complaint. Toobadthe error message doesn't include that, eh? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] android
hi now nly i m starting android... i want all basics in android ie., all views, layouts, how to use that... etc... pls sent that to my email... thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Testers Needed - Community App Store
I'm going to start a conversation with the author of http://www.tomgibara.com/android/veecheck/ to see if andappstore.com can generate data that his library can use. Until the emulator gets the unknown source installation fixed I can't see an easy way of testing updates. plusminus wrote: > Will you provide a auto-updating feature for apps? > > On 2 Okt., 15:27, Al Sutton <[EMAIL PROTECTED]> wrote: > >> I've put together a quick first pass at an application store/directory >> which could be useful if T-Mobile and/or Google have problems setting >> up their respective app markets or introduce some restrictions which >> hinder application listings. >> >> I'd be grateful if anyone who has some spare time could give it a test >> by listing their apps & releases and feeding back any comments or >> suggestions (it's a work in progress, so please make comments a bit >> more constructive than than "you need to add a voting system", "you >> need to add an app purchasing system", and "you suck at web >> design" :)). >> >> For those that are interested the site is up athttp://andappstore.com/ >> >> Thanks, >> >> Al. >> > > > -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/alsutton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---