[android-developers] Connect between two simulators by multicast through the WIFI
Hi all, I am trying to connect two Android simulator by multicast in WIFI network. Is there anybody have experience about it. (although I have made some search before, and known that Android simulator provide a poor support for such protocol, is there any update in new version 2.0 ?). Thanks 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 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: Is there any way to call start Main Activity from a Java program
Thanks Murphy. I understand your ideas. But the lower level code is not actually by Java. It's written by a reflective language...base on Java for concurrent research purpose. It's quite big like a framework. To write a Android GUI with some information exchange between Activities is quite easy, but my problem is how I can plug that GUI into the existing framework, not to re-work everything. Anyway, thanks for your answer. Hope to get idea from any one. Le Tuan Anh 2009/12/26 Mark Murphy mmur...@commonsware.com Le Tuan Anh wrote: Thanks Murphy. But that answer is too easy to say. Sometimes, we still need to spend much time and get helps from answer, and must find out the solution for any problem. I still wait the answer from any expert here. You cannot simply change AWT layer into Android widgets any more than you can convert your application to an AJAX Web application by change AWT layer into...ummm...HTML tables, or something. You cannot simply start an Activity (not from another Activity), but from a Thread..(for example) or a normal Java application any more than you can start a Web page (not from another Web page), but from a Thread..(for example) or a normal Java application in a Web application. There may be elements of your existing Java code that will be usable. That depends on how you wrote that code. However, you should be focusing on how to create a robust Android application that provides a quality user experience, leveraging what existing code assets you can, rather than attempting to hammer Android into a contorted shape in an attempt to have it work like an existing AWT application. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! -- 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: Is there any way to call start Main Activity from a Java program
Hello, Thanks for answer. But until now I don't find answer for my solution. So, I would like to clarify my problem: I have a mobile application which is written by Java and AWT for GUI. In current program, some Java codes will start the GUI (for example, a Frame), doing some business codes, or communicated between each other in Java objects, and showes the result in the GUI only. Both of them are seperated. So, now I want to convert this program to run in Android platform. I would like to keep the same model in lower layer code (like business java objects) and change AWT layer into Android widgets...with some Activities, but I don't know how to make it works. Since...I see both programming model is seemly different. Is there any way, to start an Activity (not from another Activity), but from a Thread..(for example) or a normal Java application ? Thanks you very much for any suggestions. Regards. On Dec 12, 10:45 pm, jotobjects jotobje...@gmail.com wrote: How are you going to run a JVM that couldstartanActivitywithout installing an Android application? On Dec 12, 5:00 am, Le Tuan Anh anhlt1...@gmail.com wrote: As the title mentioned. I have a normal Java application, normally, we startan Android application from a MainActivity, now I muststartit from my application. Is there any way to archive it ? Many thanks Regards- 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 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: Is there any way to call start Main Activity from a Java program
Thanks Murphy. But that answer is too easy to say. Sometimes, we still need to spend much time and get helps from answer, and must find out the solution for any problem. I still wait the answer from any expert here. Regards, Le Tuan Anh 2009/12/26 Mark Murphy mmur...@commonsware.com Le Tuan Anh wrote: Is there any way, to start an Activity (not from another Activity), but from a Thread..(for example) or a normal Java application ? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 8-12 February 2010: http://bignerdranch.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.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
Re: [android-developers] Re: Is there any way to call start Main Activity from a Java program
Anyway, Murphy. Could you give me a while to explain why no. I have found that your are author of some Android books. It's impressive too me ( but that why your answer have a bit impact to my trying :) ). Le Tuan Anh Sent from Brussels, Brx, Belgium 2009/12/26 Le Tuan Anh anhlt1...@gmail.com Thanks Murphy. But that answer is too easy to say. Sometimes, we still need to spend much time and get helps from answer, and must find out the solution for any problem. I still wait the answer from any expert here. Regards, Le Tuan Anh 2009/12/26 Mark Murphy mmur...@commonsware.com Le Tuan Anh wrote: Is there any way, to start an Activity (not from another Activity), but from a Thread..(for example) or a normal Java application ? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 8-12 February 2010: http://bignerdranch.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.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
Re: [android-developers] How to add a third-party jar into apk?
Nah, it seems you have a confliction with jar lib. I also included a big jar in my project and it works well. Le Tuan Anh 2009/12/14 bear tung beart...@gmail.com for example, xml-security project. I used add xmlsec-1.4.3.jar( http://santuario.apache.org/dist/java-library/) in asset dir, then I add library. But when I run my Activity, it was force closed with error: E/dalvikvm( 1427): Could not find method javax.xml.transform.TransformerFactory.newInstance, referenced from method com.linda.TestTest.onCreate W/dalvikvm( 1427): VFY: unable to resolve static method 14: Ljavax/xml/transform/TransformerFactory;.newInstance ()Ljavax/xml/transform/TransformerFactory; W/dalvikvm( 1427): VFY: rejecting opcode 0x71 at 0x0008 W/dalvikvm( 1427): VFY: rejected Lcom/linda/TestTest;.onCreate (Landroid/os/Bundle;)V W/dalvikvm( 1427): Verifier rejected class Lcom/linda/TestTest; thanks for help -- Bear ^O^ -- 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] Is there any way to call start Main Activity from a Java program
As the title mentioned. I have a normal Java application, normally, we start an Android application from a Main Activity, now I must start it from my application. Is there any way to archive it ? Many thanks Regards -- 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: Android in China - What is going on?
Such useless questions in a technical mail-list !. Moderator need to stop it. Le Tuan Anh 2009/12/10 Hong lordh...@gmail.com China Unicom has NO android devices yet, but some CDMA android phones, e.g. Hero, can work on their CDMA network. Unfortunately, those users might be running a pirate version of your app... On Tue, Dec 1, 2009 at 10:27 AM, westmeadboy westmead...@yahoo.co.ukwrote: For my app, I noticed China Unicom is number 10 in the list of carriers (based on analytics feedback) - i.e. quite a few of my users are on China Unicom. Do those devices (i.e. without sim card) have access to the Market app? -- 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] Is there any way to but an Object to transfer between some Activities without Serialization
Normally, I used to apply method Intent.putExtrae(String, Serializable) to put an Object transfer between some Activity in Android. But now, my object can not implement Serialization, so do you know any other way to put Object in an Intent to get the same effect. Thanks a lot -- 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] R file not generating automatically
There is something wrong with your layout (XML), just check the file content, refresh and run again. Le Tuan Anh Sent from Sint-Josse-Ten-Noode, Brx, Belgium 2009/12/8 Sasikumar.S sasikumar.it1...@gmail.com Hi, After i created my project. The R file is not generating. I need to build the application to create that R file. After i add any image or string. It is not automatically adding in R file. I need to build another time to generate that code in R file. what is the reason?... -- Thanks Regards Sasikumar.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 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] Broadcast between desktop and simulator application in WIFI
Hello everyone, I have two peer-to-peer apps, one runs in the desktop and one runs in the Android Simulator (1.6 version). Each program broadcast the message (by UDP with port 6) to its network to discovery the remote service of the other. In desktop: application has IP 192.168.1.13, broadcast, and received broadcast message in port A In simulator: however, the application has IP: 10.0.2.15, broadcast, and received the broadcast message in port B I have applied redir port forwarding: redir add udp:4446:[port-B-in- simulator]. But it doesn't show any result. p/s: I have tested two apps in in different consoles in desktop and it works to discover each other. Thanks a lot for your help Anh -- 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] Android Simulator Broadcast between desktop and simulator applications
Hi all, I am getting a problem with setup network for Android Simulator. I have two peer-to-peer application, one runs in the desktop and one runs in the Android Simulator (1.6 version). Each program broadcast the message to its network to discovery the remote service of the other. For example, In desktop: application has IP 192.168.1.13, broadcast, and received broadcast message in port A In simulator: however, the application has IP: 10.0.2.15, broadcast, and received the broadcast message in port B I have read some information in Android Dev Website, and apply some redir port forwarding, but I am not succeed. I'm appreciate if anyone have idea to figure out what should I do for this problem. -- 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