[android-developers] expandiblelistview, swipe, slidingpanel
Hello to all, I implemented A list expandable via the Object expandablelistview That and the idea was to ADD A shot SIA group That the children of ALL group to display an icon to allow the setting of THESE Components. The two taken individually controls work PROPERLY, but if Active SIA expandablelistview and SlidingPaneLayout, the event onTouch IS intercepted solo From slidingPanel. This XML house with expandable list [XML]android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" tools:openDrawer="start"> [/XML] This is the layout that allows me to draw the expandable list group [XML] [/XML] As you can see I have added one SlidingPaneLayout that allows me to show a texview for component setting. the click, however, is only collected from slidingPanel, accordingly expandable list does not expand or collapse. I have also attempted to reduce the slidingPanel width so as to be able to click the elements below but do not get any results. At a time when going to comment on the subject slidingPanel, everything goes back to work. Same behavior I get if I insert the slidingPanel in the children of the list , the father can collapse and expand it, the children begin to ignore any event Touch. Do you have any idea? It needs some more information? IN Network I found several examples with a listview + swipe, but none with a expandiblelistview. Thanks so much. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1b281080-a9ee-44e9-b7bb-b9438ec99fed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: Error 403 al entrar en https://play.google.com/apps/publish/
Hola alejandro, muchas gracias, voy a probar. El 9 de noviembre de 2016, 23:45, Alejandro Escobedo <aescob...@arete.ws> escribió: > Update: mi problema se debía a que la cuenta original de desarrollo se > borró, tuve que contactar al soporte de Google (desde el live chat en la > página de ayuda, debes esperar a que te pregunte si necesitas ayuda y > quieres iniciar un chat https://support.google.com/ > googleplay/android-developer/answer/139626?hl=en# ) para que > transfirieran las apps a otra cuenta nueva. > > On Tuesday, November 8, 2016 at 2:53:33 PM UTC-6, oscar morcillo cuajares > wrote: >> >> Si encuentro alguna respuesta o lo consigo te lo haré saber... >> >> Un saludo >> >> El 8/11/2016 20:32, "Alejandro Escobedo" <aesc...@arete.ws> escribió: >> >>> Tengo exactamente este mismo problema, si alguien sabe la solución lo >>> agradecería mucho. >>> >>> Encontré 2 preguntas iguales, y *no encuentro respuesta*: >>> >>> https://productforums.google.com/forum/#!topic/gmail/WdoUmD_ >>> 9uuY;context-place=topicsearchin/gmail/authorid$3AAPn2wQfQEB >>> o6YmNYcibG8MZKvGiXSPYrJy73Md1Pv2cR05dC4czddc4ajQR3- >>> 80otSFUSb7Eef_d%7Csort:date%7Cspell:false >>> >>> https://productforums.google.com/forum/#!topic/play/QFj4d3NkldE >>> >>> En la ayuda solo dice que "se le de permisos" pero no dice dónde, la >>> cuenta donde intento acceder es Superadministrador del dominio: >>> >>> https://support.google.com/googleplay/android-developer/answ >>> er/2528691?hl=es-419 >>> >>> Gracias >>> >>> On Friday, November 4, 2016 at 2:06:22 AM UTC-6, oscar morcillo cuajares >>> wrote: >>>> >>>> Hola, estoy intentando registarme como desarrollador de Aplicaciones >>>> Android y cuando entro en la consola de desarrollador ( >>>> https://play.google.com/apps/publish/) me sale un error *403.* Se >>>> trata de un error. >>>> >>>> Lo sentimos, pero no tienes acceso a esta página. Esa es toda la >>>> información de la que disponemos. >>>> >>>> No se que he hecho o que puedo hacer para solucionarlo y registrarme >>>> para subir aplicaciones. >>>> >>>> Gracias >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Android Developers" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/android-developers/jMEga2EAfAg/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> android-developers+unsubscr...@googlegroups.com. >>> To post to this group, send email to android-d...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/android-developers. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/android-developers/8d307cc3-35e6-4caf-85ea-426c29a576b1% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/android-developers/8d307cc3-35e6-4caf-85ea-426c29a576b1%40googlegroups.com?utm_medium=email_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/android-developers/jMEga2EAfAg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > android-developers+unsubscr...@googlegroups.com. > To post to this group, send email to android-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/android-developers/6c2724e8-d399-41b3-9853- > e947ce1de968%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/6c2724e8-d399-41b3-9853-e947ce1de968%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAC1-9zfE%2B8-DTBBek56FoYM79TOVBpPUHPTnwPn%3DMK1U%2Bux8hQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: Error 403 al entrar en https://play.google.com/apps/publish/
Si encuentro alguna respuesta o lo consigo te lo haré saber... Un saludo El 8/11/2016 20:32, "Alejandro Escobedo" <aescob...@arete.ws> escribió: > Tengo exactamente este mismo problema, si alguien sabe la solución lo > agradecería mucho. > > Encontré 2 preguntas iguales, y *no encuentro respuesta*: > > https://productforums.google.com/forum/#!topic/gmail/ > WdoUmD_9uuY;context-place=topicsearchin/gmail/authorid$ > 3AAPn2wQfQEBo6YmNYcibG8MZKvGiXSPYrJy73Md1Pv2cR05dC4czddc4ajQ > R3-80otSFUSb7Eef_d%7Csort:date%7Cspell:false > > https://productforums.google.com/forum/#!topic/play/QFj4d3NkldE > > En la ayuda solo dice que "se le de permisos" pero no dice dónde, la > cuenta donde intento acceder es Superadministrador del dominio: > > https://support.google.com/googleplay/android-developer/ > answer/2528691?hl=es-419 > > Gracias > > On Friday, November 4, 2016 at 2:06:22 AM UTC-6, oscar morcillo cuajares > wrote: >> >> Hola, estoy intentando registarme como desarrollador de Aplicaciones >> Android y cuando entro en la consola de desarrollador ( >> https://play.google.com/apps/publish/) me sale un error *403.* Se trata >> de un error. >> >> Lo sentimos, pero no tienes acceso a esta página. Esa es toda la >> información de la que disponemos. >> >> No se que he hecho o que puedo hacer para solucionarlo y registrarme para >> subir aplicaciones. >> >> Gracias >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/android-developers/jMEga2EAfAg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > android-developers+unsubscr...@googlegroups.com. > To post to this group, send email to android-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/android-developers/8d307cc3-35e6-4caf-85ea- > 426c29a576b1%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/8d307cc3-35e6-4caf-85ea-426c29a576b1%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAC1-9zc2a6K5WCJppN_L-h7z7o-ah5PnR9-j7FcZkDN1kjHSFg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Error 403 al entrar en https://play.google.com/apps/publish/
Hola, estoy intentando registarme como desarrollador de Aplicaciones Android y cuando entro en la consola de desarrollador (https://play.google.com/apps/publish/) me sale un error *403.* Se trata de un error. Lo sentimos, pero no tienes acceso a esta página. Esa es toda la información de la que disponemos. No se que he hecho o que puedo hacer para solucionarlo y registrarme para subir aplicaciones. Gracias -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/d42be921-6ed3-42ab-b68e-62db11dcaa74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Transferring Apps and Signing the APK
I recently transferred a Play Store listing from one developer account to another. I am wondering if I can build and sign the app with a different keystore now that it is owned by a different entity. Anyone have any insight into this? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/b310c411-0a99-4657-a3cc-1b77dc86703a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: How to avoid reverse engineering of an APK file?
What tools can we use? Waiting answers. Em 15/04/2015 06:17, Dmitry prehistoric2...@gmail.com escreveu: Frankly speeking, Proguard just minimize code. It's just a matter of patience to roll back all changes. I suggest to use more sophisticated tools. On Tuesday, April 14, 2015 at 11:18:47 AM UTC+3, bo wrote: HI All please any body help to restrict extracting apk . Regards Vinod -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] How to avoid reverse engineering of an APK file?
http://developer.android.com/tools/help/proguard.html 2015-04-14 5:18 GMT-03:00 bo yada...@gmail.com: HI All please any body help to restrict extracting apk . Regards Vinod -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Oscar Marques osca...@gmail.com http://www.dunkelheit.com.br @f117usbr https://twitter.com/#%21/f117usbr +55 21 9293-9343 -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Does android emulator support ES 3.0?
El sábado, 24 de agosto de 2013 19:47:06 UTC+2, oscar barenys escribió: Hi seems new Android 4.3 supports OGL ES 3.0 and new NDK also.. does android emulator from sdk support native ES 3.0 assuming a recent GPU and drivers on host (say OpenGL 4.3 drivers).. if not it's coming soon? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Does android emulator support ES 3.0?
Hi seems new Android 4.3 supports OGL ES 3.0 and new NDK also.. does android emulator from sdk support native ES 3.0 assuming a recent GPU and drivers on host (say OpenGL 4.3 drivers).. if not it's coming soon? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Port Android SDK and ADT tools and emulator to Linux ARM platform
That way we can use Chromebook ARM using Ubuntu ARM to develop android apps! Better yet emulator could use a15 hw virtualization to execute at full speed similar to Intel HAXM in x86.. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Getting sound from live encode.
Is there any way to capture a sound that is live broadcasted using Live encode in the server side? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Capture Audio - Live Encoder
I want to develop an application for Android 2.2 that capture the audio that is transmitted using Adobe Flash Media Live Encoder 3.1 Is there a class that would help me do that? ps: the url begins like rtmp:// so the windows media player class, as long as i know, does not work. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] New developer
I developed a native android aplication with Android 2.2 - Level 8, my question is: will it work well on android devices with versions 2.3 or superior or it will present crashes? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to send DHCPINFORM request
Try http://developer.android.com/sdk/ndk/index.html 2011/11/9 Diego Torres Milano dtmil...@gmail.com Not from the SDK On Nov 9, 12:28 am, petr.maza...@mautilus.com petr.maza...@mautilus.com wrote: Is it possible to send manually the DHCPINFORM request? I was searching the SDK and I did not found any class that allows creating and broadcasting the DHCPINFORM (see RFC 2131) request. Might be there is some Java implementation, which can be ported to the Android. Kind Regards, STeN -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Oscar Marques osca...@gmail.com http://www.dunkelheit.com.br @f117usbr https://twitter.com/#%21/f117usbr +55 21 9293-9343 Participe do I Hack'n Rio http://hacknrio.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Simulator very slow
Try usin a SD card with 8mb in simulator. It slow cuz you are using a big SD card to emulate it. 2011/6/14 Felix Garcia Lainez fgarcialai...@gmail.com Hi, The case is that my simulator is terrible slow, not only starting, else for instance doing actions as simple as scrolling a listview, or click on a tab. I am working with Eclipse + ADT plugin on a Mac Book Pro very new. I think it is performance problem of the simulator, but may be could be improved this performance modifying some parameters i don't know... Any idea? 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Oscar Marques osca...@gmail.com http://www.dunkelheit.com.br @f117usbr https://twitter.com/#%21/f117usbr +55 21 9293-9343 Participe do I Hack'n Rio http://hacknrio.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Back Trace in Android
You can use strace compiled to arm. I tried and it works. 2011/4/22 Pandi pandiwelco...@gmail.com It is function trace/stack trace. Which will give who is calling what? On Apr 22, 3:51 pm, Kumar Bibek coomar@gmail.com wrote: WHat's a Back Trace? Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Apr 22, 2011 at 4:12 PM, Pandi pandiwelco...@gmail.com wrote: Hi, How to get back trace in android?? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Oscar Marques osca...@gmail.com http://www.dunkelheit.com.br Twitter: @f117usbr +55 21 9293-9343 Participe do I Hack'n Rio http://hacknrio.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Back Trace in Android
Try logcat, loginfo. 2011/4/22 Pandi pandiwelco...@gmail.com Thanks Kostya and Oscar Marques. I want to get stack trace at run time from the code. I want to use strace in my code. How? any samples??? On Apr 22, 4:57 pm, Kostya Vasilyev kmans...@gmail.com wrote: strace is for native code. For Java code, there are useful functions in java.lang.Thread: http://developer.android.com/reference/java/lang/Thread.html static void dumpStack() static MapThread, StackTraceElement[] getAllStackTraces() StackTraceElement[] getStackTrace() -- Kostya 22.04.2011 15:49, Oscar Marques ?: You can use strace compiled to arm. I tried and it works. 2011/4/22 Pandi pandiwelco...@gmail.com mailto: pandiwelco...@gmail.com It is function trace/stack trace. Which will give who is calling what? On Apr 22, 3:51 pm, Kumar Bibek coomar@gmail.com mailto:coomar@gmail.com wrote: WHat's a Back Trace? Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com http://www.kbeanie.com On Fri, Apr 22, 2011 at 4:12 PM, Pandi pandiwelco...@gmail.com mailto:pandiwelco...@gmail.com wrote: Hi, How to get back trace in android?? -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Oscar Marques osca...@gmail.com mailto:osca...@gmail.com http://www.dunkelheit.com.br Twitter: @f117usbr +55 21 9293-9343 Participe do I Hack'n Rio http://hacknrio.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev --http://kmansoft.wordpress.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Oscar Marques osca...@gmail.com http://www.dunkelheit.com.br Twitter: @f117usbr +55 21 9293-9343 Participe do I Hack'n Rio http://hacknrio.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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: display image from net
that's fine, Does the ssl use user/password? On Mar 26, 3:49 am, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: welll i have solved dis one now i am using following code Bitmap bitmap = null; InputStream in = null; try { URL url = new URL(URL); URLConnection conn = url.openConnection(); /* HttpsURLConnection cone = url.*/ conn.connect(); in = conn.getInputStream(); bitmap = BitmapFactory.decodeStream(in); in.close(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } return bitmap; But the problem occuring is dat my url is https and it is giving me an ssl error On Sat, Mar 26, 2011 at 2:06 PM, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: this may be more like a java question I just want to display an image placed on server onto my imageView The following is the code which m using :-- ImageView iv; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); iv=(ImageView)findViewById(R.id.iv); String stringURL = https://graph.facebook.com/618306968/ picture?access_token + =103931556876|6ad1235e03c6472b20430aad-618306968| cDUe563_MNfHUeUiTpqqh8mB0o8; InputStream is = null; BufferedInputStream bis = null; Bitmap bmp = null; try { URL url = new URL(stringURL); URLConnection conn = url.openConnection(); conn.connect(); is = conn.getInputStream(); bis = new BufferedInputStream(is); bmp = BitmapFactory.decodeStream(bis); } catch (MalformedURLException e) { } catch (IOException e) { }catch (Exception e) { } finally { try { if( is != null ) is.close(); if( bis != null ) bis.close(); } catch (IOException e) { } } iv.setImageBitmap(bmp); } I am not getting any error but also my imageview is empty and is not showing anything -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Open GL texture is shown on emulator but not on the mobile
Did you tried in another device, maybe could be some problem with this device On Mar 26, 2:54 am, MobileVisuals eyv...@astralvisuals.com wrote: My resources are in the res\drawable-nodpi directory. It is a PNG image with 256*256 size. Shouldn't that be enough? On Mar 25, 10:34 pm, String sterling.ud...@googlemail.com wrote: Make sure your textures are power of two dimensioned. The emulator doesn't care, but most real devices do. String -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Repacking a .apk file
Try smali or apktools. http://code.google.com/p/smali/ http://code.google.com/p/android-apktool/ 2010/12/8 Thant Thura Myo thuramyo.th...@gmail.com The approach that we use in my group is getting jar file and dependency file from third party rather than apk file itself. It is much more easier to integrate as well. For some reason, if the third party have some logic to hide, they can put it inside jar file. On Wed, Dec 8, 2010 at 5:17 PM, Sarwar Erfan erfanonl...@gmail.comwrote: Possible. This is what some thieves do with other's applications. You need to change the extension to .zip from .apk. Then extract the files. Remove to META-INF directory (to make it unsigned). Modify the contents. Then, make zip, change extension to .apk to .zip. Finally sign the apk with your own cert. Search in google or this group. I hope you really have an agreement, though I have never heard of this kind of agreement. If I was the first party to have any such agreement, I would send you an unsigned apk, you would add your contents, sign and publish. And, if I had done the major development, I would rather ask you to send me the part you developed, then add that and sign with my cert and then publish. Regards Sarwar Erfan -- 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 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Beside the Planet of Big Blue Sea, lies the moon called proteus . Please come and visit 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 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: A very strange ServerSocket.accept problem
Do you have a firewall or something like that, it´s maybe the problem On Aug 3, 8:56 am, Alex Xin xinxi...@gmail.com wrote: Hi, I have asked this question before but no answers, so I post again hope that someone might help me, thank you. I'm now facing a very strange server socket problem, I have a server that will listen on a TCP port, I use the following code to do this work. public class RequestListenerThread extends Thread { private final ServerSocket serversocket; public RequestListenerThread(int port, final String docroot) throws IOException { this.serversocket = new ServerSocket(port); setDaemon(true); } public void run() { Log.v(FE, SMB Server Listening on port + this.serversocket.getLocalPort()); while (!Thread.interrupted()) { try { // Setup incoming client connection Socket socket = this.serversocket.accept(); Log.v(FE, Incoming connection from + socket.getInetAddress()); // Start worker thread Thread t = new WorkerThread(socket); t.start();} catch (InterruptedIOException ex) { break; } catch (IOException e) { Log.v(FE, Network I/O error: + e.getMessage()); break;} } } } My target device is running on Android 1.6 2.1 When I run this code, it can start to listen on port but can't accept any incoming connections. When it runs into serversocket.accept function, it never return, just like dead lock. I found that if I establish any connections from my phone to computer, then my phone could be successfully found that there're incoming connections and of course, accept them. In emulator, above code works fine, has no this strange problem. Is that my phone's bug or I have something wrong in my code? Thanks a lot! Alex -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jar in Jar
This is not an Android problem, it is an java problem, you should extract this classes (the jars are zips inside) and create a new jar. And the answer is not it is not posible :P. On Jul 28, 8:12 am, zohar lerman lirazo...@gmail.com wrote: Hi, I am creating new Android widget for other users to use. I created JAR file from my project and it is working as expected when other users and this jar to their project. I am trying to enrich the widget and for that i am using other jar. So my JAR include another jar, and only my code can access to that jar. The problem is where user use my jar and it reach to the line where i call to the other jar it crash with verifyError exception (on SDK 1.5 ) and NoClassDefFoundErro (on SDK 2.1) My jar manifest file includes: Class-Path: lib/otherJar.jar any idea? Is it possible to add jar into jar? thanks -Z -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to use shared pref in different application.
Maybe using the system prefs but it could be risky. The other option that i found is using a service, i think it is a better option. On Jul 28, 7:28 am, Sohan badaya sohan.bad...@gmail.com wrote: Hi, I want to know how we can use shared pref in different application. Thanks, Sohan Badaya -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Map is Empty, no matter what I do
Can you see the maps with the normal google maps application, maybe proxies or permissions On Jul 26, 2:33 am, TheIrish theiris...@gmail.com wrote: Hello everyone, I'm trying to embed maps into my application. I followed the official guide, - Generated a fingerprint using my .android/debug.keystore and with that, a google api key. - Enabled the maps library in the manifest - Enabled internet and location permissions in the manifest - Added a MapView - Verified that Eclipse is pointing its keystore to debug.keystore Problem: the application launches correctly, I see the maps grid, but no apps is loaded in there. Any suggestion? 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to execute shell script file from android application
That's the problem, you don't have root permissions but maybe there is a workaround with java, maybe there is a method that you can use for it. look that, it maybe help you http://stackoverflow.com/questions/249916/how-do-i-find-the-dns-servers-in-android-from-a-java-program On Jul 28, 6:43 am, kiran saikiran@gmail.com wrote: Is your code $SETPROP net.if.default rmnet0* need a root access If so from android application may be we don't have root previliges On Jul 28, 3:39 pm, Suchita Sharma suchi.bhard...@gmail.com wrote: Hi all, I am trying to execute a shell script from application using java.lang.Process API. The script file is executing properly as i am able to get logs but the line *$SETPROP net.if.default rmnet0* * * is not getting executed. has anyone able to execute .sh file from application succesfully. Code Snippet: *//* *str={/system/bin/sh,/sdcard/test.sh};* *Process p = Runtime.getRuntime().exec(str);* * * *//* * * test.sh: LOG=/system/bin/log SETPROP=/system/bin/setprop $LOG -t test++Setting up default iface $SETPROP net.if.default rmnet0 $LOG -t test++Setting done -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Yes...Got my Nexus One today!! (Sweden) On Apr 30, 8:17 pm, MrChaz mrchazmob...@googlemail.com wrote: You just need a 2pin to 3pin converter and the charger will work just fine in the UK :D On Apr 30, 4:15 pm, feilfly feil...@gmail.com wrote: finally, I received it. But the charger is EU standard not UK standard :-( On Apr 30, 3:09 pm, Ottavio Vanini ottavio.van...@gmail.com wrote: Hi all, I just received mine @ Marino (Rome) Italy Many Thanks GOOGLE !!! -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: parsing a *string* of XML with SAX.
I think it's better DOM than SAX in your case, why?, you had it on a String, so it is in memory (the information), DOM read everything and put it in memory, so, you can put in memory and then free the String memory. To do it is so easy: 1- Create a StringBufferInputStream with your String 2- Create a DocumentBuilder (with the DocumentBuilderFactory class) 3- Parse your StringBufferInputStream with your DocumentBuilder Luck!!! On 18 dic, 19:50, redders redders6...@googlemail.com wrote: Okay, so I know that the parse() method takes an inputsource, and normally it'd be better to parse the xml at the source (where it's a stream), but in this case I want to be parsing it on a different thread to the thread it's being received on. My question is basically a why won't this work question... As far as I can tell, the startElement method is never being called (no startelement entries in logcat after trying to parse..) .. any help appreciated. Here's the code. public class NWCommsXMLParser extends DefaultHandler{ public void startElement(String uri, String name, String qName, Attributes atts){ Log.i(NWXML,startelement: + uri + . + name + . + qName + / + atts.toString()); } public void endElement(String uri, String name, String qName){ } public void characters(char ch[], int start, int length) { } public void parseMessage(String xmlMessage){ Log.i(NWXML,Trying to parse: + xmlMessage); try{ SAXParserFactory parseFactory = SAXParserFactory.newInstance(); SAXParser parser = parseFactory.newSAXParser(); XMLReader xmlReader = parser.getXMLReader(); xmlReader.setContentHandler(this); StringReader sr = new StringReader(xmlMessage); InputSource is = new InputSource(sr); xmlReader.parse(is); } catch(Exception e){ Log.e(NanoWarsXML,SAX error: + e); } } } Logcat line before the try{} : 12-19 01:31:38.763: INFO/NWXML(3218): Trying to parse: NWCNWR type=dat id=1 PSL123447/PSLPSLg87645/PSLg/ NWR/NWC -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: a receiver for outgoing sms and email?
Hi I would also like to know if that is possible have tried a number of solutions without success. Have managed to Receive incoming sms but outgoing is still a difficulty for me. Would be grate if there where some sort of ACTION_NEW_OUTGOING_SMS (Broadcast Action: An outgoing sms is about to be sent) like the ACTION_NEW_OUTGOING_CALL that I use to monitor, modify, and abort outgoing calls. The Intent will have the receivers phone numbers attached and once the broadcast is finished, the resultData is used as the actual number to send the SMS to. Then we can implement an BroadcastReceiver abort an SMS like //Abort SMS setResultData(null); Suggested Permissions You must hold the PROCESS_OUTGOING_SMS permission to receive this Intent. ...Until something like this is included in the API does anyone know a work around? Best Regards /Oscar A http://drunkblocker.appspot.com On Feb 5, 6:00 am, Dietrich Ayala auton...@gmail.com wrote: i figured out how to listen for outgoing calls. however, i can't find any docs or code samples for making a Receiver that catches outgoing sms or email. is that possible? thanks! -dietrich --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Attempt to include a core VM class in something other than a core library
Hi, I'm building a reduced set of Tuscany modules to get a sample Tuscany application running on Android. However, building results in the error shown below. How can I pass the --core-library option to the compiler and would this be a solution? The problem is arising when processing class files from stax-api-1.0-2.jar. Any ideas or thoughts on how to finish the build successfully would be greatly appreciated. [2008-08-27 23:23:55 - calculator-android] trouble processing javax/xml/namespace/QName$1.class: [2008-08-27 23:23:55 - calculator-android] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2008-08-27 23:23:55 - calculator-android] 1 error; aborting [2008-08-27 23:23:55 - calculator-android] Conversion to Dalvik format failed with error 1 -- best, -oscar Oscar Castañeda --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Conversion to Dalvik format failed with error 2
Hi Taras, I think you're right, but I find weird since I have retrotranslated all classes using the backport and target options. This is how I'm running retrotranslator now: $ java -jar ../Retrotranslator-1.2.6-bin/retrotranslator-transformer-1.2.6.jar -srcdir srcdir -backport java.rmi.Remote:java.lang.Cloneable -target 1.5 -reflection safe -stripannot -embed . -classpath ../Retrotranslator-1.2.6-bin/retrotranslator-android-1.2.6.jar -verbose Just to double check I rebuilt my workspace and ran retrotranslator again as shown above. I don't get any errors when running retrotranslator [1] [2] but still get the same errors when running the calculator-android project. Also, I checked the sizes of the translated classes and found that they are not becoming much bigger [3] [4]. Do you think I'm missing something? Thank you so much for all your help. [1] http://androidindelft.googlepages.com/tuscany_android_retr_output.txt [2] http://androidindelft.googlepages.com/tuscany_rev_retr_output.txt [3] http://androidindelft.googlepages.com/5Jul_retrotranslated.jpg [4] http://androidindelft.googlepages.com/5Jul_NOTtranslated.jpg On Thu, Jul 3, 2008 at 3:44 PM, Taras Puchko [EMAIL PROTECTED] wrote: Hi Oscar, It looks like Retrotranslator haven't translated the ConversationProcessor class if you see the following stack trace: java.lang.UnsupportedOperationException: native method not implemented at java.lang.Class.getDeclaredAnnotations(Native Method) at java.lang.Class.getAnnotations(Class.java:204) at java.lang.Class.getAnnotation(Class.java:187) at org.apache.tuscany.sca.implementation.java.introspect.impl.ConversationProcessor.visitClass(ConversationProcessor.java:49) Check the size of the translated class, it should become one third bigger. If you need backport-util-concurrent-3.1.jar you have probably run Retrotranslator without specifying -target 1.5. Always use -target 1.5 and -classpath retrotranslator-android-1.2.6.jar even if repeatedly translating classes. However I recommend to translate code in one pass. Cheers, Taras On Thu, Jul 3, 2008 at 3:45 PM, Oscar Castaneda [EMAIL PROTECTED] wrote: Hi Taras, Thanks for your help. I tried the -backport option on the previously retrotranslated classes and received some errors that were resolved by including backport-util-concurrent-3.1.jar. After that I was getting some errors related to getAnnotation [1] so I tried building all the projects from scratch and running retrotranslator again together with the -backport option. Now I'm getting UnsupportedOperationException errors [2]. Any advice you can give me will be greatly appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/30Jun2008 [2] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/2Jul2008 On Thu, Jun 19, 2008 at 1:06 PM, Taras Puchko [EMAIL PROTECTED] wrote: I'm glad Retrotrotranslator works for you Oscar. If you just want to get rid of java.rmi.Remote you may replace it with java.lang.Cloneable using the folowing Retrotranslator option: -backport java.rmi.Remote:java.lang.Cloneable But in case you have some important code using the java.rmi package you may try to take sources of java.rmi from the Apache Harmony. Then move the sources into another package, so you'll have, for example, mypack.java.rmi, compile and jar them. After that you may use it with Retrotranslator: -backport mypack -classpath mypack.jar But this approach works only if the sources don't employ native code :) Cheers, Taras. On Wed, Jun 18, 2008 at 10:41 PM, Oscar Castaneda [EMAIL PROTECTED] wrote: Thanks again for all your help Taras. After following your suggestion and adding retrotranslator-android-1.2.6.jar as an external library (as opposed to an external _user_ library) the retrotranslator related errors disappeared. I'm now receiving errors about java.rmi.Remote [1], which from what I could find is not supported in Android. I just thought I'd mention it in case you have any suggestions :-) I will respond also on the Android Developer list as someone else might find this useful. By mistake I sent the email only to you which I think resulted in me being the only recipient of your response. Again, thanks for all your help. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/18Jun2008 On Tue, Jun 17, 2008 at 11:05 PM, [EMAIL PROTECTED] wrote: I forgot to mention that you can use the embed option making inclusion of retrotranslator-android-1.2.6.jar into the compile path redundant. So you can add -embed a single dot or any package name: java -jar ../Retrotranslator-1.2.6-bin/retrotranslator-transformer-1.2.6.jar -srcdir ../workspace -target 1.5 -reflection safe -stripannot -embed . -classpath ../Retrotranslator-1.2.6-bin/retrotranslator-android-1.2.6.jar -verbose On 6/17/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Oscar, Unfortunately I cannot open the TUSCANY wiki at the moment
[android-developers] Re: Conversion to Dalvik format failed with error 2
Hi Taras, Thanks for your help. I think your suggestions resolved the problem, even though I'm getting other errors now. By mistake I sent the email only to you which I think resulted in me being the only recipient of your response. I include your response and my follow-up below, as someone else might find this useful. Unfortunately I cannot open the TUSCANY wiki at the moment but it looks like the contents of retrotranslator-android-1.2.6.jar hasn't been included into the dex file. Try to explicitly refer to it in your code, for instance, call net.sf.retrotranslator.android.main.java.lang._Class.cast(String.class, test); And you needn't use the 1.4 target - only using the 1.5 one makes sense for Android. I forgot to mention that you can use the embed option making inclusion of retrotranslator-android-1.2.6.jar into the compile path redundant. So you can add -embed a single dot or any package name: java -jar ../Retrotranslator-1.2.6-bin/retrotranslator-transformer-1.2.6.jar -srcdir ../workspace -target 1.5 -reflection safe -stripannot -embed . -classpath ../Retrotranslator-1.2.6-bin/retrotranslator-android-1.2.6.jar -verbose After following your suggestion and adding retrotranslator-android-1.2.6.jar as an external library (as opposed to an external _user_ library) the retrotranslator related errors disappeared. I'm now receiving errors about java.rmi.Remote [1], which from what I could find is not supported in Android. I just thought I'd mention it in case you have any suggestions :-) On Tue, Jun 17, 2008 at 8:16 PM, Oscar Castaneda [EMAIL PROTECTED] wrote: Hi Taras, Thank you so much for the detailed response. I think you're right that when I run the Android project from Eclipse it both compiles the sources into classes and the classes into a dex file. I also agree that the most elegant way would be to add the translation step to the ADT plugin source code, thus enabling users to run Retrotranslator on the sources from within Eclipse. In some cases, such as mine, this is preferred over manually translating libraries that contain annotations and then adding them to the the main project (for instance, to simplify debugging). There is a workaround to prevent classes that have already been translated by Retrotranslator to be recompiled from source. The workaround is to disable the Java Builders from within each project's properties. I tried this and no longer receive the Annotation error: java.lang.Class.isAnnotationPresent(Class.java:1131) However, I'm getting the error shown below (and listed on the full stack trace in [1]). I took care to include retrotranslator-android-1.2.6.jar as an external library to all Tuscany projects, including calculator-android, as you pointed out. Additionally, I confirmed through the timestamps on class files and dex file that retrotranslated classes are not being recompiled and that the dex file was generated a few minutes after running retrotranslator. java.lang.NoClassDefFoundError: net.sf.retrotranslator.android.main.java.lang._Class I've tried this running retrotranslator as shown below, setting the target to java 1.5 at first and then to 1.4. $ java -jar /../Retrotranslator-1.2.6-bin/retrotranslator-transformer-1.2.6.jar -srcdir /../workspace -target 1.5 -reflection safe -stripannot -classpath /../Retrotranslator-1.2.6-bin/retrotranslator-android-1.2.6.jar -verbose What could be going wrong? Any suggestions would be greatly appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/14Jun2008 On Wed, Jun 4, 2008 at 6:44 PM, Taras Puchko [EMAIL PROTECTED] wrote: Hi Oscar, Retrotranslator does it's job by modifying compiled classes in the following way: 1. Embedding into each class its metadata (including annotations) as one big character string. 2. Replacing some method invocations, so java.lang.Class.isAnnotationPresent is being replaced with net.sf.retrotranslator.android.main.java.lang.Class.isAnnotationPresent etc. So when you call getAnnotations() on a particular class the code from retrotranslator-android-1.2.6.jar will parse the corresponding metadata and return the result. AFAIK when you run your Android project from Eclipse it both compiles your sources into classes and the classes into a dex file. So Retrotranslator has no chance to modify classes in between unless you fix the ADT plugin. The workaround is not to put your sources into Eclipse and to process it with javac, Retrotranslator and jar manually. After that you may add the jar to Eclipse. If you execute the following line you should obtain mytuscany-android.jar that is one-third bigger then the original mytuscany.jar and does not contain references to Java 5 reflection methods. java -jar retrotranslator-transformer-1.2.6.jar -srcjar mytuscany.jar -destjar mytuscany-android.jar -target 1.5 -reflection safe -stripannot -classpath retrotranslator-android-1.2.6.jar So the line
[android-developers] Re: Working on another Android story
Hi, Tomorrow I'm officially starting a Google Summer of Code project [1] related to Android. It's about making Apache Tuscany run on Android. Even though GSoC work is considered to be around 20 hours per week, I will most likely spend many more hours on it until I'm done. If you need more info on the project I'd be happy to help. I'm also doing an elevator pitch about it tomorrow [2]. [1] http://code.google.com/soc/2008/asf/appinfo.html?csaid=5FE987C0268271DE [2] http://androidindelft.googlepages.com/ On Thu, May 22, 2008 at 6:10 PM, Vasanth Sridharan [EMAIL PROTECTED] wrote: Hey All, Thanks for all your responses so far, they've definitely helped with my stories. I'm working on another one about the cost to develop these applications. Obviously cost is a tough thing to nail down, but if you could figure out based on number of hours spent and salary or however makes sense for your specific application, that would be great. Thanks, Vasanth Sridharan Reporter Silicon Alley Insider C: (408) 455-2254 http://www.alleyinsider.com http://www.vasanthsridharan.com -- best, -oscar Oscar Castañeda --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK Update?
I agree. However, it would be really helpful to have an updated SDK, even for first impressions. I just hope soon will be sooner. On Sat, May 10, 2008 at 6:57 PM, caliente [EMAIL PROTECTED] wrote: Huh? Is this a fair comparison? Android is a preview release, not a shipped product. I wouldn't care about another SDK update until the product is open sourced where updates will be orders of magnitudes greater. The current SDK and the ADC are enough incentives for experimenting and establishing a base on the forthcoming Android market place. Let the OHA teams concentrate on the initial shipped product--first impression is of utmost importance. On May 9, 6:55 pm, Evan JIANG [EMAIL PROTECTED] wrote: Good question. In the same time, Apple had released 5 updates of iphone sdk. On Sat, May 10, 2008 at 9:23 AM, Gil [EMAIL PROTECTED] wrote: It's been more than two months since the release of m5-rc15. Can anyone from Google give us an update on the next SDK release schedule? -- best, -oscar Oscar Castañeda --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---