[android-developers] How to compare a user input and then call a webView?
Hi all: This may sound like a basic question, but here goes I am accepting input from a user from an EditText field. When he/she types in a route number (example: 101) I need to call a webView based on that number - showing a schedule for that route number. I don't have any example code yet, because I have no idea how to set this up in Android (I am coming from iOS experience). I am using Eclipse as the programming environment. Thanks, Dan Uff -- -- 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: How to compare a user input and then call a webView?
Thanks for the reply. Can you post a code example on how this would be done? Thanks, Dan On Thursday, February 14, 2013 11:38:56 AM UTC-5, Nobu Games wrote: Set a TextWatcherhttp://developer.android.com/reference/android/widget/TextView.html#addTextChangedListener%28android.text.TextWatcher%29on your EditText. When your watcher gets notified about changed text you can immediately pass that input on to your WebView. In order to avoid repeated calls to your WebView with incomplete user input you could rewrite your TextWatcher to start a timer when text has changed. The timer waits for one or two seconds until it updates the WebView. It gets cancelled / reset by your TextWatcher as soon as the text changed again. On Thursday, February 14, 2013 10:14:45 AM UTC-6, Dan Uff wrote: Hi all: This may sound like a basic question, but here goes I am accepting input from a user from an EditText field. When he/she types in a route number (example: 101) I need to call a webView based on that number - showing a schedule for that route number. I don't have any example code yet, because I have no idea how to set this up in Android (I am coming from iOS experience). I am using Eclipse as the programming environment. Thanks, Dan Uff -- -- 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] Google Map Example Crashes?
Hi all, I am very new to Android and Google Maps. I am trying to learn how to put a map in my app by using the below example: https://developers.google.com/maps/documentation/android/start#specify_settings_in_the_application_manifest When I run the example, I get the dreaded The file has stopped unexpectedly error. The file compiles fine. I have a feeling it is in the main.xml file. Can anyone give me any ideas? Here's the code: main.xml LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:tools=http://schemas.android.com/tools; android:layout_width=match_parent android:layout_height=match_parent tools:context=.MainActivity fragment xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/map android:layout_width=match_parent android:layout_height=match_parent class=com.google.android.gms.maps.MapFragment/ /LinearLayout Android manifest: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.connectingpeoplesoftware.maptest android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=1 android:targetSdkVersion=16 / meta-data android:name=com.google.android.maps.v2.API_KEY android:value=KEY NOT SHOWN BUT IS IN HERE./ permission android:name= com.connectingpeoplesofware.maptest.permission.MAPS_RECEIVE android:protectionLevel=signature/ uses-permission android:name= com.connectingpeoplesofware.maptest.permission.MAPS_RECEIVE/ uses-permission android:name=android.permission.INTERNET/ uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/ uses-permission android:name= com.google.android.providers.gsf.permission.READ_GSERVICES/ uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION/ uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/ uses-feature android:glEsVersion=0x0002 android:required=true/ application android:allowBackup=true android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme activity android:name=com.connectingpeoplesoftware.maptest.MainActivity android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application /manifest -- 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] Showing a portion of a web page with a webView
Hi all, I have an unique situation I have a webView showing a web page on a web site with information on it. The top of the web site has a usual heading, and under that has the information that I wish to show to the user. I would like to (somehow) not show the web site's heading, but have the webView automatically scroll down to the actual information that I wish to show. I do not have access to the web site itself, so I cannot make another URL or page just for the app. Any thoughts or ideas? Thanks, Dan Uff -- 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] Error when compiling Android project with Eclipse
Hi all, I'm getting the below error when I compile and try to run my project in the simulator: [2012-08-15 16:08:31 - LANTA] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2012-08-15 16:08:31 - LANTA] Please check logcat output for more details. [2012-08-15 16:08:31 - LANTA] Launch canceled! Can someone tell me what these errors are and how to fix them? Thanks, Dan Uff -- 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: Error when compiling Android project with Eclipse
Mark, Thanks for the help. :-) Dan On Wednesday, August 15, 2012 4:23:31 PM UTC-4, Dan Uff wrote: Hi all, I'm getting the below error when I compile and try to run my project in the simulator: [2012-08-15 16:08:31 - LANTA] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2012-08-15 16:08:31 - LANTA] Please check logcat output for more details. [2012-08-15 16:08:31 - LANTA] Launch canceled! Can someone tell me what these errors are and how to fix them? Thanks, Dan Uff -- 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] Eclipse and Mountain Lion for Mac
Hi all, I've recently upgraded my Mac to Mountain Lion (10.8) and use Eclipse as a development environment. Now, when ever I use the simulator for testing, it shows the old version of the app and does not automatically run when the simulator first boots into the environment. Is anyone else having this issue? Thanks, Dan Uff -- 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] Scroll View for Android
Hi all, I am new to Android so please forgive me if this questions sounds basic. I need to create a list of buttons that are contained in a scroll view. Can anyone give me an example or point me in the right direction to learn about doing this? Thanks, Dan Uff -- 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] Scroll View for Android
Thanks for your comment. As I said, I am new to this platform (I also write for iOS) and am looking for answers for a customer who wants a layout such as the one I said, or would you (or anyone else) have another suggestion? I have to have at least 32 choices on the screen. Thanks, Dan Uff On Wednesday, July 25, 2012 9:09:03 AM UTC-4, abhijeet tomar wrote: Suppose your mobile screen height is very less and you have to show many items than what will you do? that time you have to use scroll view.in scroll view you have to add a single layout and you can scroll this view. -- 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] Version code already exists?
Hi all, I am trying to update my app but am having a problem. I've updated the android:versionCode to the next number, but Google Play keeps giving me: Version Code Already Exists and then it shows the previous version number. I made sure the version code is changed in the AndroidManifesrt.xml file. It is. What can I do to fix this? Thanks, Dan Uff -- 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] Version code already exists?
I've found the answer. I wasn't saving the new version to disk before uploading the new one. Thanks! Dan On Thursday, June 28, 2012 9:57:29 AM UTC-4, MagouyaWare wrote: Try incrementing it again... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 28, 2012 at 7:51 AM, Dan Uff danny@gmail.com wrote: Hi all, I am trying to update my app but am having a problem. I've updated the android:versionCode to the next number, but Google Play keeps giving me: Version Code Already Exists and then it shows the previous version number. I made sure the version code is changed in the AndroidManifesrt.xml file. It is. What can I do to fix this? Thanks, Dan Uff -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Quick question about availability time?
Hi all, How long does it usually take for a new Android app to become available in the Play store? I also noticed that their was a change in the Privacy settings - do I need to update the app for it to show up on the store? Thanks, Dan Uff -- 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: Quick question about availability time?
Thank you all. My app got posted in an hour and a half :) Dan On Wednesday, May 23, 2012 10:06:54 AM UTC-4, Dan Uff wrote: Hi all, How long does it usually take for a new Android app to become available in the Play store? I also noticed that their was a change in the Privacy settings - do I need to update the app for it to show up on the store? Thanks, Dan Uff -- 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] Eclipse errors coming out from no where???
Hi all, I am developing an Android app and everything was working fine yesterday. Now, when I go back into the app, and try to run it, I get the following errors: setContentView(R.layout.contactlanta); [R cannot be resolved or is not a variable] Button back = (Button) findViewById(R.id.backbutton); [R cannot be resolved or is not a variable] Likewise, this error is appearing in ALL of my four View files. The problem seems to be in the AVD Simulator because I got it to run once or twice today, now I am back to these errors. I also tried to run the same app on different machines (Macs) and still get the same errors. All of the code IS correct because (like I said before) it ran fine yesterday. Any ideas??? Dan Uff danny@gmail.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
[android-developers] Having a WebView AND a Back Button
Hi all, I am developing an app that a user selects an option from a menu and goes into a WebView. I got that working, but I also need a back button to go back to the menu, so the user can make another option. I'm trying to override the standard browser behavior with the following code: private class HelloWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, string url) { view.loadUrl(url); return true; } } == Then I call the following: webview.setWebViewClient(new HelloWebViewClient()); But it STILL defaults to the built in web browser WITHOUT the back button? Thanks, Dan Uff P.S. Please email me at danny@gmail.com as I am fairly new to this messages board and do not know how to get replies to my questions yet - 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] Going from one view to another
Hi all: This may seem like a basic question, but I am brand new to Android development and can't find this answer, and I am coming from being an iOS developer. How do you go from one view to another? I need the user to select a button and then go to another screen. Thanks, Dan Uff Connecting People Software -- 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] Developing first Android app from iOS
Hi all: I have been an iOS developer for the last 3 years and am expanding my small company to Android. I have a very popular table based iOS reference app (Linux Command Reference) that I'd like to port over to Android. For anyone interested, you can find it here: http://itunes.apple.com/us/app/linux-command-reference/id324321674?mt=8 This is what I have so far: I have the table list of items but do not know how to make it go from a user's selection to another view. I am looking for any assistance to get this project off the ground. Thanks, Dan Uff -- 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