RE: [android-developers] Re: How to install APK programmatically without user prompt
Sometimes, though, the answer you want just doesn't exist, and by asking What are you really after?, the responder is trying to help you achieve your goal by thinking around the problem. Of course, if you'd prefer to just be told, You can't. The end., then so be it. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of nyarlathotep Sent: Monday, September 26, 2011 4:49 AM To: Android Developers Subject: [android-developers] Re: How to install APK programmatically without user prompt I honestly thing these are the most frustrating answers to get in a forum. People has not to explain what they're trying to achieve. If you know the answer good, if you don't, please don't say that there is no good reason for doing this or that. We are not all trying to hack code behind our desks at home. Sometimes there are special requirements in a business environment that you have to implement and which people is not due and even allowed to tell you. On Sep 19, 12:11 pm, Oli oli.wri...@gmail.com wrote: Pratik, I think you should explain what you're trying to achieve with this and maybe someone can suggest an alternative. There's no good reason why you should want to install an apk without user input as that would break security, so I think you just need an alternative approach here. Cheers, Oli On Sep 16, 6:32 pm, Pratik Prajapati pratik.prajap...@gmail.com wrote: I need to install some non market place APK programmatically *without *user prompt. I found some links on stackoverflow, but all those mechanism will prompt the user. Is there any way to do it with some APIs or I should use 'pm install apk name' command (doing with system() api)? -- Regards, Pratik Prajapati -- 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
RE: [android-developers] Re: Project on Android
Isn't that part of what you're supposed to do? Warwick was kind enough to seed you with some ideas-it's churlish to ask him for complete specs to boot. I hate to be rude, but.. Do your own homework. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Chirayu Dalwadi Sent: Wednesday, December 15, 2010 11:29 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Project on Android @Miguel: Appropriate definition means which type of short projects can be done on android. @Warwick: The definition looks good. Can u please explain them in brief? -- 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
RE: [android-developers] Re: What Tablet would you get
I would never buy an Archos device again, ever--I had a terrible experience with a device I bought from them two years ago, and the customer service was flat-out inexcusably bad. The general perception was that they just didn't give a sh*t about the defective device they sold me, and it was my own fault for having bought it in the first place. I bought a Tab last week and I'm playing with it--nice device, though I'm having some problems using it as a WiFi hotspot. Signal is kinda weak, and it appears to drop after using it for a bit. My only criticism of the device so far. Would love to try the Toshiba, but haven't seen it available yet. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of clarkbriancarl Sent: Friday, December 03, 2010 4:15 PM To: Android Developers Subject: [android-developers] Re: What Tablet would you get Im holding out for the Notion Ink Adam. There is an anouncement coming on 12/9. Hopefully either the release date or pre-order. I was waiting for the Archos 101, but there a quite a few unhappy people right now on archosfan.com forum concerning the latest firmware upgrade to the 7 and 101. On Dec 3, 3:03 pm, Gaelin gaelint...@gmail.com wrote: I searched through the board and I didn't see anyone ask this yet so I apologize if this has been asked. With Christmas coming up I am considering the purchase of a couple of tablets for my development staff to both use in development and also for personal use. I would appreciate your opinions on what tablet would be the most bang for the buck. So lay it on me what are you people using and how do you like them. There are just too many choices for me to make a decision without help. Thanks in advance for any help, --G -- 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
RE: [android-developers] Android application using other language
Google on Monodroid. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of mishra Sent: Saturday, September 25, 2010 12:09 AM To: Android Developers Subject: [android-developers] Android application using other language Hello All Can it possible to made the application for android device using .net -- 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
RE: [android-developers] Re: Calling Tomcat server API's from Android app
What you need (it sounds like) is the Spring Remoting client and whatever other Spring bits it uses to compile run successfully on the Android platform. It should work, in that I don't think there's anything in there that they need that isn't provided on Android, but Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of CasaDelGato Sent: Friday, September 03, 2010 8:45 AM To: Android Developers Subject: [android-developers] Re: Calling Tomcat server API's from Android app On Sep 3, 8:35 am, Frank Weiss fewe...@gmail.com wrote: I wonder if we are on the same page with client-server. Anyway, maybe an example of an API you want to use would help clear things up. Yeah, terminology problems can be fun. (NOT!) We have Tomcat running on a server machine at the office. It has a .war file generated that uses the Spring Framework. One of the API's this app provides is something like: public List getCurrentData( DataSpecifier params); In our Java Desktop app, I just ask the Spring framework for the service object, and then I can do: List data = service.getCurrentData( whatdatatoget); That makes the call to the server, and marshals the resulting data back into the appropriate objects in my application. I'm trying to figure out how to do the equivalent from the Android app - since it is NOT running the Spring framework. -- 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
RE: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!
You're seriously going to feed this group the classic It's not my job and those people don't work here line, and imagine that this is somehow growing the community? Either Google is invested in this platform, or they aren't, and right now judging by the voluminous cries for response on a number of issues, I'd say they aren't. I want this platform to succeed, but this is not how a company goes about making that happen. :-/ Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Dianne Hackborn Sent: Thursday, September 02, 2010 3:06 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess! On Thu, Sep 2, 2010 at 12:13 PM, TreKing treking...@gmail.com wrote: On Wed, Sep 1, 2010 at 11:36 PM, Dianne Hackborn hack...@android.com wrote: I don't know about this stuff in Market, so I can't help you there That's really too bad. We could *really* use someone that's knows about this stuff in the Market around here. Considering how much time you and others spend helping out around here, why no one from the Market end is willing or able to take two seconds here and there to answer some extremely simple questions continues to boggle my mind. This group is for non-beginner development questions using the Android SDK. It doesn't really make sense for people who work on Market to follow such a group (especially since many of the people don't even know the Android SDK since they work on the servers). And again, I don't work on Market stuff, I am here to answer questions about developing with the SDK, so there isn't really anything I can add to this thread so I will stop now. :} -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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
RE: [android-developers] Do I need openGL or not?
What kind of frame rate are you hoping to get? In general, popular opinion holds that 2D is more easily done without OpenGL, but it's certainly do-able. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Firidan Sent: Wednesday, August 25, 2010 12:25 PM To: Android Developers Subject: [android-developers] Do I need openGL or not? I am thinking about creating a 2D game for android. Kind of like the flash game Age Of War (just google it). Can I do it with just Java or do I also need openGL? Thanks for help! -- 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
RE: [android-developers] Re: Chilling news: Oracle sues Google over Android
Wow--the thought that Larry Ellison would do something at the request of Ballmer and/or Jobs is just well, the acronym ROFLMAO just doesn't do it justice. Of course, the TRUTH that they don't want you to know is that the whole show worldwide is a deep conspiracy orchestrated by a secret cabal owned by the Girl Scouts, the Screen Actors' Guild and the Illuminati anyway, so In all honesty, I think the author of the article is right--Oracle wants Google to acknowledge that Oracle has ownership over Java and thus deserves to be cut in to the Android licensing deal somehow. It might even be that Oracle counsel felt that they had to take this step to prevent any other companies from doing something similar or even more infringing on the Java name/brand/IP. Remember, if you don't defend your ownership of IP, the courts look at that as an active surrender of that IP to the public domain. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of nexbug Sent: Monday, August 16, 2010 11:20 PM To: Android Developers Subject: [android-developers] Re: Chilling news: Oracle sues Google over Android Face it, This is just a ploy by msft and apl to distract android devs from writing code And make them spend all the time speculating and starting flame wars. On Aug 16, 1:30 pm, Frank Weiss fewe...@gmail.com wrote: Fabrizio, thanks for sharing that Forbes article (http://blogs.forbes.com/taylorbuley/2010/08/13/android-lawsuit-is- rea...). It confirmed some of my thinking, but added the interesting bear hug angle. I wonder if that is really the case. -- 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
RE: [android-developers] Android Corba
An ORB ships with Java--has since 1.2. Find a Java ORB tutorial, give that a shot. My guess is it'll work as long as you're asking it to be a client--asking the Android device to be a server will probably fail for all the reasons Mark lists below. Java RMI/IIOP should also work, as would RMI/JRMP, which is probably easier to write. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Saturday, June 19, 2010 7:03 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Android Corba On Sat, Jun 19, 2010 at 9:51 AM, Squ36 romain.goncal...@gmail.com wrote: I just have a quick question. Is it possible to use CORBA in an Android app ? Because I learned how to use it at school I am hoping that you learned it 15 years ago, back when it was popular. and I was wondering if I could use it with Android to create multi-users applications/games without using a server... Many mobile carriers do not give phones public IP addresses, using NAT and firewalls. It is highly unlikely that you will be able to establish direct peer-to-peer connections between phones over 3G. For devices working on a private LAN, it is far more realistic. http://en.wikipedia.org/wiki/Network_address_translation But, if you can find an open source CORBA library for Java and can port it to run on Android (may take no effort or a lot), you are welcome to experiment with it. -- Mark Murphy CommonsWare mmur...@commonsware.com http://commonsware.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- develop...@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
RE: [android-developers] Avoid non-static inner classes in an activity?
An inner class holds a reference to the object instance that created it; thus, in the following: public class Outer { public class Inner { } Inner i = new Inner(); } Outer o = new Outer; Outer.Inner oi = o.i; o = null; // o is still alive because oi references it oii has a hidden reference (the outer this) to the enclosing class instance o. So long as somebody holds a reference to the Inner object, the reference to the outer object remains alive. If you mark the enclosing class or enclosing method as static, the inner class will be a static inner class, which holds no reference to the enclosing class (and also therefore lacks the ability to reference fields and methods of the outer class). Event listeners were a common source of leaks (meaning, longer-lived objects than intended) in Swing code back in the day. Might try hunting around that way on Google--there used to be a great article on four types of lapsed listeners back then, that described all of this in more detail. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Nathan Sent: Thursday, June 17, 2010 8:44 PM To: Android Developers Subject: [android-developers] Avoid non-static inner classes in an activity? Since I seem to have caught two activity references in a heapdump, where the Activity is set to singleTask. Romain's advice on avoiding memory leaks includes: Avoid non-static inner classes in an activity if you don't control their life cycle, use a static inner class and make a weak reference to the activity inside What does this mean exactly? I can't find any examples, positive, or negative for this rule. I do have some non static inner classes in my activity. Most of them are anonymous inner classes like this one. I see hundreds of them in the samples: button.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { progressHorizontal.incrementSecondaryProgressBy(-1); // Title progress is in range 0..1 setSecondaryProgress(100 * progressHorizontal.getSecondaryProgress()); } }); Are anonymous inner classes okay? I also see something like this in the samples: private OnClickListener mStopRepeatingListener = new OnClickListener() { . . . Are member variables points to a non static anonymous inner class okay? I might think so because a member variable's lifecycle is controlled by the activity's lifecycle. Or do I assume that all the API samples leak a lot of contexts? Thanks for any insights Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Thread Problem
From within the thread, throw new ThreadDeath(); (which is what stop() does). Or anything else that causes it to exit out of the Runnable.run() method. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of brijesh Sent: Thursday, June 17, 2010 3:40 AM To: Android Developers Subject: [android-developers] Thread Problem Hello, I want to stop currently running thread but -Thread.stop() - Thread.destroy() are DEPRECATED so can any one tell me how to stop the Thread -- Regards, Brijesh Masrani -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Re: List of all instantiated Activities
Assume I have an app that, although 95% of the time it will be used by a single user, will occasionally be passed to a supervisor or somebody similar who will do a logout/login/do-some-activity/logout cycle before handing it back to the original employee using the device. On a logout, I'd like to kill/finish all the running activities (allowing them to do their cleanup), then essentially start fresh without having to litter all the activities with calls to specifically test to see if we've done a logout since the last time we were brought to the front of the user's attention. Alternatively, I could just kill the process (I'm assuming a System.exit() works), but that would have the undesirable effect of bringing the user back to the Home screen and forcing them to select the app, which from a UX perspective feels awkward and amateurish. There's also the diagnostician in me that wants to be able to find all open Activities and finish() them if we get a low-memory signal, but that's really a distant second to the above use case. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Romain Guy Sent: Wednesday, June 02, 2010 1:26 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: List of all instantiated Activities Let's step back a little bit. Ted, what is it you are trying to do? On Wed, Jun 2, 2010 at 1:24 AM, Guillaume Perrot guillaume.p...@gmail.com wrote: I already made something similar (limited to the current activity) and I did not find another way to access the activity instance. To limit errors, I made my modifications in life cycle callbacks and users have to inherit my Activity classes (I made a full set for convenience, there are 9 Activity types) instead of the standard ones. You could place your code in onCreate, if they inherit your class they can't miss it. Of course the developer still have to ensure it does not miss an inheritance change but it's easier than adding a snippet of code everywhere and more object friendly. On 2 juin, 08:35, Ted Neward ted.new...@gmail.com wrote: Anybody know an easy way for an app to find all the instances of all the Activities currently alive in the current process? Yes, I could register each one into a static List someplace from the constructor of each Activity, but that requires developers to remember to put that code into every Activity constructor, which is going to eventually miss one or two (not to mention keep the Activity alive longer than it should be, though that could be fixed by holding WeakReferences instead of strong ones, but that still misses the point), and that's going to mean one or two escape the list. I'd prefer to have a way to see all of them from Android's/Dalvik's point of view. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.comhttp://www.tedneward.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- develop...@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 -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Maven and Android
Yeah. Don't use Maven. I don't know if Android artifacts are published to the Maven repos yet; I've not heard anyone as of yet doing so, and I think doing so might be in violation of Google's license agreement that you clicked when you installed the SDK tools. (IANAL.) And considering that most of the Android tool set still comes from Google and is versioned pretty strongly and obviously, what advantage do you see to Maven, particularly since Maven insists on being its own build tool and would conflict in many ways with the Ant task that Google gives you? You would probably have much better results using Apache Ivy, if you really wanted build-time dependency management, but even then that's only going to be for the non-Google artifacts. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Nando Android Sent: Wednesday, June 02, 2010 9:51 PM To: android-developers@googlegroups.com Subject: [android-developers] Maven and Android Hi all, Is there any documentation out there that shows examples on how to start Android projects with Maven? I like Eclipse to develop and debug but I like to use Maven to create the project and control which jars are on the repository and need to be fetched from the Internet. Any suggestions on this? 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 -- 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: List of all instantiated Activities
I could do what you're suggesting (which I already said I didn't want to do) much more simply from within a default constructor: public class RegisteredActivity extends Activity { public static ListActivity getAllActivities() { // make sure clients can't modify the contents return Collections.unmodifiableList(theList); } private static ListActivity theList = new ArrayListActivity(); public RegisteredActivity() { super(); theList.add(this); } } Since the common path here is to have Activities that don't explicitly provide a constructor, the default constructor synthesized by the compiler will call the parent's default constructor, thus making it trivial for people to use this-they just create an Activity that inherits from my RegisteredActivity instead of from Activity. But that would still require me to create subclasses of every Activity type that other developers might want to subclass, and it still requires developers to subclass my RegisteredActivity, which means that it's inevitable that somebody won't do that (by mistake), and lo, I've got an Activity out there that isn't caught up in my List. All of which I already mentioned in my first post-I don't want to do it this way. It's error-prone. I was hoping for an API call at the Android level that would return this list for me. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Rajiv Sent: Thursday, June 03, 2010 4:05 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: List of all instantiated Activities You can implement this in your application by using following way: 1) You need a class that handle all the application (Say Handller) In Handller class you can create a method that create List and add list into it. For example Class Handller{ List list; //Some Housekeeping setActiveActivity(Activity activity){ if(list.equals(null)){ //create list } else{ list.add(activity) } } List getActivity(){ return list; } } 2) You need an Activity (say ActiveActivity) that extends Activity ex: public class ActiveActivity extends Activity { protected void onResume() { super.onResume(); Handller.setActiveActivity(this); //you need to take an instance of Handler Class. } } 3) Now you can add all your activity in list by extending ActiveActivity. ex. public class ActivityA extends ActiveActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(...); } 4) You can get All Activities by using Handler getActivity(). Regards, Rajiv On Thu, Jun 3, 2010 at 2:39 PM, Ted Neward ted.new...@gmail.com wrote: Assume I have an app that, although 95% of the time it will be used by a single user, will occasionally be passed to a supervisor or somebody similar who will do a logout/login/do-some-activity/logout cycle before handing it back to the original employee using the device. On a logout, I'd like to kill/finish all the running activities (allowing them to do their cleanup), then essentially start fresh without having to litter all the activities with calls to specifically test to see if we've done a logout since the last time we were brought to the front of the user's attention. Alternatively, I could just kill the process (I'm assuming a System.exit() works), but that would have the undesirable effect of bringing the user back to the Home screen and forcing them to select the app, which from a UX perspective feels awkward and amateurish. There's also the diagnostician in me that wants to be able to find all open Activities and finish() them if we get a low-memory signal, but that's really a distant second to the above use case. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com http://www.tedneward.com/ -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Romain Guy Sent: Wednesday, June 02, 2010 1:26 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: List of all instantiated Activities Let's step back a little bit. Ted, what is it you are trying to do? On Wed, Jun 2, 2010 at 1:24 AM, Guillaume Perrot guillaume.p...@gmail.com wrote: I already made something similar (limited to the current activity) and I did not find another way to access the activity instance. To limit errors, I made my modifications in life cycle callbacks and users have to inherit my Activity classes (I made a full set for convenience, there are 9 Activity types) instead of the standard ones. You could place your code in onCreate, if they inherit your class they can't miss it. Of course the developer still
[android-developers] List of all instantiated Activities
Anybody know an easy way for an app to find all the instances of all the Activities currently alive in the current process? Yes, I could register each one into a static List someplace from the constructor of each Activity, but that requires developers to remember to put that code into every Activity constructor, which is going to eventually miss one or two (not to mention keep the Activity alive longer than it should be, though that could be fixed by holding WeakReferences instead of strong ones, but that still misses the point), and that's going to mean one or two escape the list. I'd prefer to have a way to see all of them from Android's/Dalvik's point of view. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com http://www.tedneward.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
RE: [android-developers] how to reduce xml parsing time
Use a StAX parser instead of a DOM parser. StAX will let you look at the elements in order, but without having to read the entire thing into memory at once and then navigate the hierarchy. I can't remember if there's a StAX parser in Android (it was included as part of 1.4 or Java 5, I can't remember which), but there's a reference implementation from BEA floating out on the Web someplace, should be a snap to grab it and include it as a library (worst case). Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Er. syed imran ali Sent: Tuesday, June 01, 2010 11:56 PM To: Android Developers Cc: imran...@gmail.com Subject: [android-developers] how to reduce xml parsing time hi all, in my application i have to read xml from web-service, it is working fine, but major problem is it is taking more time to parse data, though same data is taking less time on iPhone and Blackberry. i have similar code on blackberry it is taking less time to parse. is any fast parsing process in Android? if any body know kindly reply me. my code simple is as follow. DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); doc = db.parse(in); NodeList nodes = doc.getElementsByTagName(Member); if(nodes.getLength() 0){ for (int i = 0; i nodes.getLength(); i++) { Member mem = new Member(); Element memelement = (Element) nodes.item(i); NodeList member = memelement.getElementsByTagName(MemberID); Element memberText = (Element) member.item(0); String MemberID = getCharacterDataFromElement(memberText); mem.setMemberID(MemberID); member = memelement.getElementsByTagName(FirstName); memberText = (Element) member.item(0); mem.setFirstName(getCharacterDataFromElement(memberText)); member = memelement.getElementsByTagName(LastName); memberText = (Element) member.item(0); mem.setLastName(getCharacterDataFromElement(memberText)); member = memelement.getElementsByTagName(MailingAddress1); memberText = (Element) member.item(0); mem.setMailingAddress1(getCharacterDataFromElement(memberText)); ... ... ... } Thanks and regards Syed Imran ali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Best way to live demo apps
Yeah, I'd sort of thought that too, but thought that maybe a little out-of-the-box thinking might serve as a good solution instead of heading down a yak-shaving exercise that turned out to be more fragile than useful. (I've been there, done that. :-) ) Meanwhile, I'll bite: why is it called the ELMO? Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Saturday, May 29, 2010 4:14 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Best way to live demo apps Ted Neward wrote: What about one of those magnifier overhead projectors from back in the 70s or so? Not the transparency ones, the ones that essentially point a camera at the base and project up onto the screen. You hold (or set) the phone underneath it, and voila, you now have two screens, one from your laptop and one conveying what the phone looks like. I assumed the OP was only interested in software solutions. The predominant hardware solution today is the ELMO, which is pretty much what you describe, just named after a Sesame Street character. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Best way to live demo apps
Aw, and here I was hoping for a much better story. So prosaic. ;-) Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Romain Guy Sent: Sunday, May 30, 2010 1:31 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Best way to live demo apps Meanwhile, I'll bite: why is it called the ELMO? Because of the manufacturer: http://www.elmousa.com/ :)) -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Best way to live demo apps
What about one of those magnifier overhead projectors from back in the 70s or so? Not the transparency ones, the ones that essentially point a camera at the base and project up onto the screen. You hold (or set) the phone underneath it, and voila, you now have two screens, one from your laptop and one conveying what the phone looks like. The only other thought I have is to have a webcam pointed at the phone and the cam's feed captured on your screen somehow. Or you *could* just buy phones for everybody in the audience ;-) Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Friday, May 28, 2010 4:02 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Best way to live demo apps Stu wrote: I want to be able to perform live demos of an app I've been working at conferences. There doesn't seem to be an easy way to get a video feed of what's going on onscreen onto a big screen. We've hooked up the screen capture utility of DDMS and keep hitting refresh. Its not ideal. I'm aware that there are more automatic solutions that continuously cause a refresh, but these don't really provide video, and I'd also like an audio feed. I can frame grab within my app programmatically, but the Android SDK's video encoder only supports capturing video feed from the camera. Any ideas? What's the best way to live demo Android apps to large audiences? The more automatic solutions that continuously cause a refresh are the only ones I am aware of (DroidEx, DroidAtScreen). In terms of an audio feed, use the 3.5mm jack in your phone. Patch that to whatever you want, possibly with amplification depending on the size of your room. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in US: 14-18 June 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- develop...@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
RE: [android-developers] [android-developer] Error running jena on Android using Androjena API
Generally it's impolite to send attachments to a mailing list-if somebody's going to offer to help, you can send them the attachment off-list. Otherwise you're just filling up other peoples' inboxs (and deleted items) folders with larger amounts of spam. :-) A VerifyError usually is only thrown when the .class file compiles incorrectly-did you use the Android SDK to compile this, and did it compile cleanly? Try an ant clean install to blow away the old code and rebuild from scratch. Another possibility could be that the Android VM doesn't like the version number of your .class file because you compiled it with a later version of the Java compiler than it's enabled to recognize, though I build with 1.6 regularly and don't have this problem, so it'd have to be a strange compiler indeed. In stock Java, the usual suspect for an exception thrown out of Class.newInstance() is a missing default constructor, but your tryAndrojena class looks fine (since it doesn't define any constructors, a default one should be synthesized for you by the compiler.) Are you sure that ModelFactory has all the dependencies that it needs? Perhaps a class is failing to load inside ModelFactory, which then might be getting caught somewhere and rethrown as a VerifyError. This is all idle speculation-have you tried stepping through it in the debugger? Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Nishant Kumar Sent: Friday, May 28, 2010 6:47 AM To: android-developers@googlegroups.com Cc: animesh.pat...@inria.fr; alessandra.tonine...@inria.fr Subject: [android-developers] [android-developer] Error running jena on Android using Androjena API I am trying to run a Jena (Semantic web toolkit ) program on Android. I have used Androjena Api ( http://code.google.com/p/androjena/ ) to do so. After writing a simple program , I got the following Error. Please let me know the meaning of this error ? I have extracted these error message from Log file. Note: nishant.androjena is the package name and tryAndrojena.java is the file. - ERROR --- Uncaught handler: thread main exiting due to uncaught exception java.lang.VerifyError: nishant.androjena.tryAndrojena at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1472) at android.app.Instrumentation.newActivity(Instrumentation.java:1097) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284) at android.app.ActivityThread.access$1800(ActivityThread.java:112) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3948) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:7 82) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) at dalvik.system.NativeStart.main(Native Method) The line from the code that is causing error is Model model = ModelFactory.createDefaultModel(); // THis line is causing Error. Remove it to runn the program Correctly. My sample Code for Jena on Android is package nishant.androjena; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.vocabulary.*; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.Resource; import com.hp.hpl.jena.rdf.model.Statement; import com.hp.hpl.jena.rdf.model.StmtIterator; import com.hp.hpl.jena.vocabulary.VCARD; public class tryAndrojena extends Activity { /** Called when the activity is first created. */ String subjectString =Ready for Jena; @Override public void onCreate(Bundle savedInstanceState) { try{ super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView textView = new TextView(this); String personURI= http://somewhere/JohnSmith;; String fullName = Nishant Kumar; Model model = ModelFactory.createDefaultModel(); // THIS IS CAUSING ERROR. REMOVE IT TO // RUN SUCCESSFULLY textView.setText(New Model); setContentView(textView); } catch(Exception ex) { TextView textView = new TextView(this); textView.setText(ex.getMessage()); setContentView
RE: [android-developers] Re: Getting MIDlet version and CLDC version
Dude, get a clue and read the answer more carefully--Android does not use MIDlet or CLDC. Period. What you're asking is nonsensical. It's like asking Can we get the Windows version of a .NET application from Android? Unless there's something much, much deeper to what you're trying to ask, stop it. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Sudeep Sent: Wednesday, May 26, 2010 9:53 PM To: Android Developers Cc: fewe...@gmail.com Subject: [android-developers] Re: Getting MIDlet version and CLDC version Hi, I understand that android SDK is entirely different from J2ME. But ,Can we get the MIDlet or CLDC version of a J2ME application from android? If it is possible, then how can we do it? On May 27, 5:46 am, feweiss fewe...@gmail.com wrote: LOL. Sorry. Android is entirely different than J2ME, except that the Android SDK API is Java. Get a bit more cozy with Android concepts here: developer.android.com On Wed, May 26, 2010 at 4:26 AM, Sudeep Jha sudeep.neti...@gmail.comwrote: Hi all, How to get the MIDlet and CLDC version programmatically in android? Regards, Sudeep -- Warm Regards, Sudeep -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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- develop...@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
RE: [android-developers] Client server setup in android
That's kind of a REST 101 sort of question and not constrained to Android in any way. Your best bet is to find a simple REST tutorial on the web someplace and build a simple REST client and server. After that, read up on the HTTP protocol itself so you understand the details. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of santha Sent: Sunday, May 23, 2010 7:19 PM To: Android Developers Subject: [android-developers] Client server setup in android Hi Guys, I'm new to android application development.. I want to transfer the data between the client and the server.. As of my knowledge for transferring the data from client to server we use HttpClient protocol.. Is this protocol is same as REST web services?? If i want to send the data in the form of JSON format,then what are the necessary steps that i need to follow?? And on the server side what are the steps to receive and parse the data?? Could any one please respond me.. Thanks in advance Uday Kiran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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
RE: [android-developers] Problem flushing text to screen.
Welcome to the wonderful world of multithreading. You are doing your login work on the main UI thread, which is thus prevented from being able to show the updates to the screen. You have to find a way to do the login() work on a separate thread. There are several articles about multithreading in the Android SDK documentation, but in general the easiest thing to do that I've found so far is to create a Handler in onCreate(), do the login() there, then post to your TextView the Done message when the login() returns. Be warned, though--the rest of onCreate() will continue to execute while the login() is happening, so that may create some other problems for you later, depending on what you're doing. A CountDownLatch of 1 can be your friend here, as well. For lots more details about Java threading in general, I highly recommend Brian Goetz's Java Concurrency in Practice. (Full disclosure: he's a buddy of mine, but it's still a good book, despite his choice in friends. ;-) ) Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Robin van Leeuwen Sent: Friday, May 21, 2010 3:06 AM To: Android Developers Subject: [android-developers] Problem flushing text to screen. I have a problem with showing text on the screen before an action is taken. I have a function login() which takes quite a while, and i want to display the string Loggin in... before this function starts doing it's work. The problem is that the text Logging in... is not displayed until the login() function finishes. And so only Done... is displayed. CODE public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView statusbar = (TextView) findViewById(R.id.statusbar); statusbar.setText(Logging in...); login(); statusbar.setText(Done...); } How can I flush the IO so the Logging in... string is displayed before the login() function starts doing it's 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- develop...@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
RE: [android-developers] Re: Android 2.1 SQL Server
There are several JDBC drivers for SQL Server. One is to use the Microsoft JDBC driver, available off of Microsoft.com. It's a pure-Java driver, meaning it should work on Android, though I haven't tried it. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: android-developers@googlegroups.com [mailto:android- develop...@googlegroups.com] On Behalf Of Mark Sent: Monday, May 17, 2010 3:36 PM To: android-developers@googlegroups.com Subject: RE: [android-developers] Re: Android 2.1 SQL Server Yea, I do mean MS SQL Server. And cant find any help with it. The problem is I need to be able to connect and show data from tables in it. -Mark -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Nerdrow Sent: Monday, May 17, 2010 3:18 PM To: Android Developers Subject: [android-developers] Re: Android 2.1 SQL Server You don't mean MS SQL Server, do you? As far as I'm aware there's no ODBC/JDBC driver (at least none that are public supported). Android uses SQLite, there's a few examples in the SDK, it's pretty straight- forward. On May 11, 6:46 am, Mark vbreneg...@sbcglobal.net wrote: Hello everyone, Well about 3 weeks ago I switched to a Droid phone from a Windows phone (and love it). I'm getting into the programming side now. I have a MCSD MCSE from Microsoft so I know programming. Now my question is. I can't seem to find any information on connecting to a SQL Server DB to retrieve add data. It was easy on the Windows phone. Please Help Mark -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android- develop...@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- develop...@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- develop...@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