[android-developers] Re: ATT making it impossible to enable USB debugging on Samsung Galaxy S4
I didn't see it anywhere in the documentation. They really hid it well. On Sunday, May 5, 2013 2:26:38 AM UTC-5, Piren wrote: I assume it was hidden because some of the options there cause apps to break, most users wouldn't understand that and blame the developers... So just hide it from the general population and let* the developers who read the documentation* know how to get there. http://developer.android.com/tools/building/building-eclipse.html On Saturday, May 4, 2013 3:46:46 AM UTC+3, Jungle Jim wrote: Thanks, Bob. Yes it works. I don't know why they hid it like that. It cost me and several other people hours of unnecessary work and headaches. On Friday, May 3, 2013 5:03:05 PM UTC-5, bob wrote: Have you tried this? http://timgray.blogspot.com/2012/11/enable-developer-mode-on-your-jelly.html *to turn on developer mode go into settings, then go to about tablet or about phone and then tap on the build number 7 times.* Thanks. On Friday, May 3, 2013 4:47:23 PM UTC-5, Jungle Jim wrote: I bought a new Galaxy S4 at Radio shack yesterday and was going to start doing some developing with it. I finally realized, to my considerable dismay, that ATT's version of the S4 does not allow you to enable USB debugging. There's no option for it in the Settings menu. I chatted online with Samsung's tech support and they said ATT has disabled it. You know what that means.No developing Android apps on an S4. There's probably some way to enable it if you root the phone. But I can't afford to void my warranty. Anyone else encounter this? I really need a phone with 4.2 for developmment. -- -- 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] Problem with Android Developer Toolkit version 21.1.0
I updated my Android SDK up through version 4.2.2 (API 17) and all the associated miscellaneous stuff. Also updated Android SDK tools to Rev 21.1 and Android SDK Platform-Tools through 16.0.2. Now Eclipse and ADT aren't working at all. When I start up Eclipse, I get the following error message: This Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.0.2012-10-31-0-17. Please update ADT to the latest version. Then I hit the Check for Updates button and it says No updates were found I have tried uninstalling and re-installing Android SDK Tools Rev 21.1 but it still doesn't work. Have also tried exiting out of Eclipse and re-starting it. And also rebooting my computer. Any ideas what to do? 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 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] ATT making it impossible to enable USB debugging on Samsung Galaxy S4
I bought a new Galaxy S4 at Radio shack yesterday and was going to start doing some developing with it. I finally realized, to my considerable dismay, that ATT's version of the S4 does not allow you to enable USB debugging. There's no option for it in the Settings menu. I chatted online with Samsung's tech support and they said ATT has disabled it. You know what that means.No developing Android apps on an S4. There's probably some way to enable it if you root the phone. But I can't afford to void my warranty. Anyone else encounter this? I really need a phone with 4.2 for developmment. -- -- 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] Re: ATT making it impossible to enable USB debugging on Samsung Galaxy S4
Thanks, Bob. Yes it works. I don't know why they hid it like that. It cost me and several other people hours of unnecessary work and headaches. On Friday, May 3, 2013 5:03:05 PM UTC-5, bob wrote: Have you tried this? http://timgray.blogspot.com/2012/11/enable-developer-mode-on-your-jelly.html *to turn on developer mode go into settings, then go to about tablet or about phone and then tap on the build number 7 times.* Thanks. On Friday, May 3, 2013 4:47:23 PM UTC-5, Jungle Jim wrote: I bought a new Galaxy S4 at Radio shack yesterday and was going to start doing some developing with it. I finally realized, to my considerable dismay, that ATT's version of the S4 does not allow you to enable USB debugging. There's no option for it in the Settings menu. I chatted online with Samsung's tech support and they said ATT has disabled it. You know what that means.No developing Android apps on an S4. There's probably some way to enable it if you root the phone. But I can't afford to void my warranty. Anyone else encounter this? I really need a phone with 4.2 for developmment. -- -- 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.
Re: [android-developers] Re: How to offer new app to existing user base?
Good ideas. I thank you. On Wednesday, April 17, 2013 10:19:04 AM UTC-5, Paul-Peter Tournaris wrote: You could add a changelog in the existing app and suggest them to download your new app! On Wed, Apr 17, 2013 at 10:57 AM, dnk dnko...@gmail.com javascript:wrote: Not as far as I know of. Your best bet is update the old app and point them to the new one. On Tuesday, April 16, 2013 9:25:15 PM UTC-7, Jungle Jim wrote: I have written a new app that I want to publish this week. I have a number of existing users who have active installs of another app. The new app is likely to be of interest to them, but I don't want to make it an upgrade to the existing app. Is there some facility in Google Play to enables me to offer the new app to my existing user base? 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- *Παύλος-Πέτρος Τουρνάρης* *Android Software Developer* - *http://goo.gl/TsJ8u* - *http://acschedule.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 --- 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] How to offer new app to existing user base?
I have written a new app that I want to publish this week. I have a number of existing users who have active installs of another app. The new app is likely to be of interest to them, but I don't want to make it an upgrade to the existing app. Is there some facility in Google Play to enables me to offer the new app to my existing user base? 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 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] Subscriptions using Version 3 API of Google In-App Billing
I am developing an app that will have both free content and the option to receive additional content by purchasing an annual subscription. I am using Version 3 API, which has only recently supported subscriptions. I am getting error messages that say my devices do not support subscriptions. I doubt that is the case and that I'm probably doing something wrong in my code. Does anyone have an app published on Google Play that has a subscription available that uses Version 3 of the API? Or know of one available? I would like to test my devices to determine whether or not they truly have the support for subscriptions. If your subscription price is reasonable, I will buy one to test my devices. 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 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] Re: Testing In-App billing: Is a factory reset necessary?
On Friday, February 15, 2013 7:10:12 AM UTC-6, Elton Almeida wrote: You just need to add your current setted up device account to the account test list on google play developer console profile section. Exactly. But the problem is, Google won't allow a publisher to buy his own stuff. It has to be done from a different account. And that account must be the primary account on that device. I might have to rent or borrow a device from someone else in order to do the testing. Unless someone knows of a way around this issue. -- -- 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] Testing In-App billing: Is a factory reset necessary?
I am developing an app that will include in-app billing. I understand that in order to test the billing functions, I need to set up a test google account. Here's what google's developer site says about the test account: http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-setup To perform end-to-end testing of In-app Billing, the primary account on your device must be one of the test accountshttp://developer.android.com/google/play/billing/billing_admin.html#billing-testing-setup that you registered on the Google Play site. If the primary account on your device is not a test account, you must do a factory reset of the device and then sign in with one of your test accounts. I have two Android devices I can test with, but I don't want to do a factory reset on either one. Is there some way to do the proper testing without a factory reset? 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 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] problem accessing external library
I have been using jsoup 1.6.3 successfully in an Android app to read data from a website. I recently upgraded the Android SDK tools to version 21.0.1 and the Android SDK Platform-toolls to version 16.0.1 and now it no longer works. When I rebuild the application, install it on a device, and run it, I get Sorry! The application X has stopped unexpectedly. My code seems to import the library successfully with: import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; But then in my method, the first time I try to do anything with jsoup: Document document = Jsoup.connect(SPOT_SERVER_BASE).get(); I get the above error message with I try to run the app on a device. And the logcat says: could not find method org.jsoup,Jsoup.connect I get the idea that my app isn't connecting with the jsoup library at all. I have also downloaded version 1.7.1 and I get the same results. Any ideas what I am doing wrong? 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] problem accessing external library
I have been using jsoup 1.6.3 successfully in an Android app to read data from a website. I recently upgraded the Android SDK tools to version 21.0.1 and the Android SDK Platform-toolls to version 16.0.1 and now it no longer works. When I rebuild the application, install it on a device, and run it, I get Sorry! The application X has stopped unexpectedly. My code seems to import the library successfully with: import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; But then in my method, the first time I try to do anything with jsoup: Document document = Jsoup.connect(SPOT_SERVER_BASE).get(); I get the above error message with I try to run the app on a device. And the logcat says: could not find method org.jsoup,Jsoup.connect I get the idea that my app isn't connecting with the jsoup library at all. I have also downloaded version 1.7.1 and I get the same results. Any ideas what I am doing wrong? 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: problem accessing external library
I just figured out the answer. For some reason, the new Android SDK tools need any external libraries to be accessed from a libs directory that is a subdirectory of the project's directory. I made the directory and copied the jsoup library to it, redid the build path, and voila! It works! On Sunday, January 27, 2013 11:44:19 PM UTC-6, Jungle Jim wrote: I have been using jsoup 1.6.3 successfully in an Android app to read data from a website. I recently upgraded the Android SDK tools to version 21.0.1 and the Android SDK Platform-toolls to version 16.0.1 and now it no longer works. When I rebuild the application, install it on a device, and run it, I get Sorry! The application X has stopped unexpectedly. My code seems to import the library successfully with: import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; But then in my method, the first time I try to do anything with jsoup: Document document = Jsoup.connect(SPOT_SERVER_BASE).get(); I get the above error message with I try to run the app on a device. And the logcat says: could not find method org.jsoup,Jsoup.connect I get the idea that my app isn't connecting with the jsoup library at all. I have also downloaded version 1.7.1 and I get the same results. Any ideas what I am doing wrong? 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Why won't Eclipse and adb recognize my Motorola Atrix?
Bob, I just installed PdaNet and now eclipse is recognizing my Atrix! Thanks for the suggestion. On Thursday, January 24, 2013 9:57:34 AM UTC-6, bob wrote: I think if you install something called PdaNet, it installs a bunch of drivers. Maybe if you install that it will just work? On Wednesday, January 23, 2013 9:21:41 PM UTC-6, Jungle Jim wrote: I have been doing most of my development on an old Dell running Vista. I have installed apps using both eclipse and adb on two Android devices without a problem. The two devices are a Samsung Galaxy Tab 7 running Android 2.3.5 and a Motorola Atrix phone running Android 2.3.6. So recently I bought a new Dell laptop running Windows 8. I installed Java, Eclipse, Android sdk, and ADT plugin for eclipse. I tried to run an app I am developing on the Atrix, and Eclipse did not show it as being connected. I was able to run that same app on my Samsung Galaxy Tab when I tried it. I just hooked up both Android devices to the Windows 8 laptop with USB cables and did adb devices from the command prompt. The only device it showed was the Samsung Galaxy Tab. Then I took both devices and hooked them up to my desktop running Vista. adb devices showed both of them. Could this be a problem that Eclipse and adb have with Windows 8? Or is it a Motorola Atrix problem? Or is there something special I need to do with the Atrix. I know that Windows 8 is recognizing my Atrix when I attach it via USB. I can browse the files on the Atrix from the laptop. I have tried installing the device drivers from the Windows 8 device manager, and it says the drivers are already installed. Any ideas or suggestions would be most welcome. -- -- 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] Why won't Eclipse and adb recognize my Motorola Atrix?
I have been doing most of my development on an old Dell running Vista. I have installed apps using both eclipse and adb on two Android devices without a problem. The two devices are a Samsung Galaxy Tab 7 running Android 2.3.5 and a Motorola Atrix phone running Android 2.3.6. So recently I bought a new Dell laptop running Windows 8. I installed Java, Eclipse, Android sdk, and ADT plugin for eclipse. I tried to run an app I am developing on the Atrix, and Eclipse did not show it as being connected. I was able to run that same app on my Samsung Galaxy Tab when I tried it. I just hooked up both Android devices to the Windows 8 laptop with USB cables and did adb devices from the command prompt. The only device it showed was the Samsung Galaxy Tab. Then I took both devices and hooked them up to my desktop running Vista. adb devices showed both of them. Could this be a problem that Eclipse and adb have with Windows 8? Or is it a Motorola Atrix problem? Or is there something special I need to do with the Atrix. I know that Windows 8 is recognizing my Atrix when I attach it via USB. I can browse the files on the Atrix from the laptop. I have tried installing the device drivers from the Windows 8 device manager, and it says the drivers are already installed. Any ideas or suggestions would be most welcome. -- 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] How to sync development projects?
I am developing apps using the Android SDK and Eclipse with both my desktop PC and laptop. Does anyone know of a utility that will easily sync the updates to the files like the xml and src betwee the two PCs? 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
[android-developers] How do updates for apps work in Google Play?
I have recently written and uploaded to Google Play an update to a free app I have written. It has about 50 active device installs. In order to notify the people who have active device installs, do I need to do something particular in Google Play or Android Developer Console? Or does it automatically notify the users that an update is 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-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] Best way to do a refresh?
I am writing a single-activity Android app that accesses data from various places on the internet and displays it on the screen. This data can change over time. I need to give the user the option to do a manual refresh when he chooses, in order to get the latest values. I have it set up as an option on the options menu when the user clicks the Menu button on the handset. But I think my implementation is faulty. Right now I have it set up as an intent to launch the activity again, so that it will automatically retrieve the latest values. The problem is that does not terminate the previous activity. So when the user pushes the escape button, they are back on the previous execution of the activity, which is the same app with the old data. Is there some way to terminate the old activity and then launch it again? Or is there a better way to do a refresh? 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
[android-developers] Effect of Verdict in Apple v Samsung case?
By now, most of you will have heard that Apple won a $1 billion judgement against Samsung for patent infringement. Samsung will also probably have to pull some of its products off the market. I am wondering what effect this will have on the demand for android apps? Android phones have been dominating the markets all over the world recently, mostly at the expense of blackberry and nokia. Apple holding steady but not increasing their market share. But the ipad has been outselling the android tablets. But what will happen now? Is it time for us to learn Objective C? -- 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: Effect of Verdict in Apple v Samsung case?
There's an article in the WSJ today about the aftermath of the verdict. Apple has asked for an injunction to block the sale of eight Samsung smartphones. They already have an injunction against the Galaxy Tab 10.1. http://online.wsj.com/article/SB1872396390444506004577615624272456812.html?mod=WSJ_hpp_LEFTTopStories_nocache=1346122400316user=welcomemg=id-wsj I wonder if this will enable Apple iphones to eat into Android's market share? Or will it just result in the other Android phone manufacturers taking advantage? Or? On Monday, August 27, 2012 11:53:12 AM UTC-5, Jungle Jim wrote: By now, most of you will have heard that Apple won a $1 billion judgement against Samsung for patent infringement. Samsung will also probably have to pull some of its products off the market. I am wondering what effect this will have on the demand for android apps? Android phones have been dominating the markets all over the world recently, mostly at the expense of blackberry and nokia. Apple holding steady but not increasing their market share. But the ipad has been outselling the android tablets. But what will happen now? Is it time for us to learn Objective C? -- 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] Best Source for Ads?
I am developing a free Android app that is almost ready to publish. I want to put a teeny weeny space for ads on it. What have been your experiences with the various ad servers? Should I just use Google Adsense, or have any of you had better results with other ad servers? -- 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 read data off a website into an Android app
Thanks, Mike. a csv file should work fine for my purpose. On Nov 15, 6:23 pm, mellery451 mellery...@gmail.com wrote: well, you're not going to be able to (easily) read Excel files on android (xls, or whatever they are called these days), but csv will probably work - perhaps that's what you were thinking of anyhow. Have a look athttp://groups.google.com/group/android-developers/browse_thread/threa... for discussion about loading csv. Once you've fetched the file using the http client, opencsv should be able to parse/load it. -Mike On Nov 15, 3:50 pm, Jungle Jim jjjungle...@gmail.com wrote: One more question: I also want to be able to put some data (perhaps in Excel spreadsheet format, but not restricted to that) somewhere on the web and have my app read that data. This way I can periodically revise the data that shows on the apps that my customers have installed on their phones. Any ideas on the best way to do that? On Nov 15, 3:44 pm, mellery451 mellery...@gmail.com wrote: well, I think you'd want to start with an HttpClient (http:// developer.android.com/reference/android/net/http/ AndroidHttpClient.html) to make the request and download the resource(s). Then you would need to extract the information you need from the content. This is commonly called scraping since you are trying to extract data from presentation views. It's hairy, and likely to involve any number of parsers or (gads!) regular expressions to accomplish the task. I'd avoid this route if at all possible. If the service you are accessing actually intends for other applications to consume it, perhaps there is already a public API (e.g. twitter, facebook, etc. all have http APIs you can use). At the very least, perhaps the site supports alternative formats for the content - like xml or json. If requesting a different format is an option, you'll have a much easier time extracting the data since you can use a standard parser. -Mike- 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
[android-developers] Re: How to read data off a website into an Android app
Thanks, Paco. On Nov 16, 3:07 am, Paco Abato pacoab...@gmail.com wrote: Can't you use Apache POI?http://poi.apache.org/ On Wed, Nov 16, 2011 at 01:23, mellery451 mellery...@gmail.com wrote: well, you're not going to be able to (easily) read Excel files on android (xls, or whatever they are called these days), but csv will probably work - perhaps that's what you were thinking of anyhow. Have a look athttp://groups.google.com/group/android-developers/browse_thread/threa... for discussion about loading csv. Once you've fetched the file using the http client, opencsv should be able to parse/load it. -Mike On Nov 15, 3:50 pm, Jungle Jim jjjungle...@gmail.com wrote: One more question: I also want to be able to put some data (perhaps in Excel spreadsheet format, but not restricted to that) somewhere on the web and have my app read that data. This way I can periodically revise the data that shows on the apps that my customers have installed on their phones. Any ideas on the best way to do that? On Nov 15, 3:44 pm, mellery451 mellery...@gmail.com wrote:- 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
[android-developers] Re: How to read data off a website into an Android app
Thanks, Brion. Specifically what I need to do is read some of the data that is displayed on a webp0age and load it into variables in my program. Do you know of any samples programs that will lead me in the right direction? On Nov 12, 10:09 am, Brion Emde brione2...@gmail.com wrote: Take a look at the WebView sample here:http://developer.android.com/resources/tutorials/views/index.html On Nov 11, 6:06 am, Jungle Jim jjjungle...@gmail.com wrote: I need to write an android app that will read data off a webpage and then display it in an activity in my app. Unfortunately, I am fairly new to both android and java. Does anyone know of a sample program that can get me started? Thanks.- 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
[android-developers] Re: How to read data off a website into an Android app
Thanks Alexander and Mike. One more question: I also want to be able to put some data (perhaps in Excel spreadsheet format, but not restricted to that) somewhere on the web and have my app read that data. This way I can periodically revise the data that shows on the apps that my customers have installed on their phones. Any ideas on the best way to do that? On Nov 15, 3:44 pm, mellery451 mellery...@gmail.com wrote: well, I think you'd want to start with an HttpClient (http:// developer.android.com/reference/android/net/http/ AndroidHttpClient.html) to make the request and download the resource(s). Then you would need to extract the information you need from the content. This is commonly called scraping since you are trying to extract data from presentation views. It's hairy, and likely to involve any number of parsers or (gads!) regular expressions to accomplish the task. I'd avoid this route if at all possible. If the service you are accessing actually intends for other applications to consume it, perhaps there is already a public API (e.g. twitter, facebook, etc. all have http APIs you can use). At the very least, perhaps the site supports alternative formats for the content - like xml or json. If requesting a different format is an option, you'll have a much easier time extracting the data since you can use a standard parser. -Mike -- 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] How to read data off a website into an Android app
I need to write an android app that will read data off a webpage and then display it in an activity in my app. Unfortunately, I am fairly new to both android and java. Does anyone know of a sample program that can get me started? 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