Re: [android-developers] Getting GPS Coordinates From Postal Address

2012-04-13 Thread usafrmajor
I saw this but near as I can tell it does not return the latitude and longitude of the addresses returned. If I am mistaken can you show me how I code for it--just the part where I can assign the latitude and longitude values to local variables. My goal is to create a function that will allow

Re: [android-developers] Implementing RobotMedia In-App Billing Library

2012-01-13 Thread usafrmajor
I did and it has been a couple days and I haven't received a response yet. I was hoping to get something I could use from this site, but I guess not. Thanks for the suggestion though.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Implementing RobotMedia In-App Billing Library

2012-01-12 Thread usafrmajor
Can someone please tell me where/how I need to implement the simple call to use RobotMedia's In-App Billing library? I have the library installed but cannot figure out where and how this line of code needs to be implemented: requestPurchase(com.example.item) I know I need to replace what is

[android-developers] Re: Searching for a String Within a ListView

2011-08-16 Thread usafrmajor
Tried this and it seems to work the same was as the other way except it would not requery when I deleted characters from my search edit text field. For clarification I would like to be able to search a string within text. For example if I have a list with the following through market weather

[android-developers] Searching for a String Within a ListView

2011-08-15 Thread usafrmajor
I currently have an EdittText box and this code for filtering a listview: et.addTextChangedListener(new TextWatcher() { public void afterTextChanged(Editable s) { } public void beforeTextChanged(CharSequence s, int start, int count, int after) {} public void

[android-developers] Best Way to Retireve, Display and Use 2 Values in a ListView from a JSON Array?

2011-08-10 Thread usafrmajor
I have been able to retrieve one value from a MySQL database, display it in a ListView and use that value in a setOnItemClickListener method. Now I would like to retrieve two values, one that will be displayed in the ListView that makes sense to the user and a second one that will be used as

[android-developers] Re: List View based on Database Cursor Not Showing Full Screen and Scrolling

2011-08-03 Thread usafrmajor
I thought maybe a picture of what is happening may help. As you can see on the attached image the second entry on the list is only showing the first line. I masked out the lat long and address information on the first entry I have been looking every where to find a solution and cannot.

[android-developers] Re: List View based on Database Cursor Not Showing Full Screen and Scrolling

2011-08-03 Thread usafrmajor
OK, I figured out what is causing the problem but I cannot figure out what the solution is. My problem is being caused by the ScrollView tag in the layout that creates the Tabs. Since ListViews already have scrolling it is messing things up. Once I remove the ScrollView tag from the tab

[android-developers] Re: List View based on Database Cursor Not Showing Full Screen and Scrolling

2011-08-03 Thread usafrmajor
OK, as usually after I post I end up finding the answer myself. :-) This nugget got me close Your vertical scroll view can only have one child, which means you need to envelop your gallery view and the linear view chart with another linerLayout which then should be enveloped with a

[android-developers] Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
Is there a way to refresh a listview when returning to an app after pressing the Home key? I have a list view in a tab. If in that tab when the Home key is pressed the listview item disappear when a user returns to the app. If the user selects another tab and then goes back to the listview

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
already doing this. :-( -- 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

[android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
Can someone give me an example of what the onResume() should look like. I did this and my app crashes @Override public void onResume() { lv_adapter.notifyDataSetChanged(); } this is in the onCreate above super.onCreate(savedInstanceState);

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
As you might imagine I am new to all this. :-) But the answer is yes and no. I have been adding and commenting various combinations of those as I try to figure out how to fix my problem. Kind of lost track that there are in an onCreate method. Seems obvious now that they should not be

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
I close the db adapter but not the cursor -- 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

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
I was referring to the database connection that populates the cursor NOT the ListAdapter DBAdapter db = new DBAdapter(this); And, I do not close the cursor explicitly unless closing the DBAdapter [i.e., db.close();] after doing setListAdapter does it? -- You received this message because you

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
It is the class that I created that interacts with a database table. It does the inserts, updates, deleted and selects from the db table. It uses these classes import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import

Re: [android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread usafrmajor
OK, I'll work on that. Thanks for all your 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] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread usafrmajor
I have an application that used Google Maps. When I am developing and installing on my device the roads and such are displayed when I open a map, however when I sign the app and deploy on the Android Market all I see is a dashed grid, that is no roads or other map objects. However, my custom

Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread usafrmajor
Yep, that was it. Thanks Just wondering, is it possible to have both keys for the map view active? I am assuming not, but thought I would ask just in case I could some way -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-31 Thread usafrmajor
Great for understanding what is happening. Just wondering if you, or anyone else, knows of any good android code examples on how to overlay the result on a map generated within an application. thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Verifying Map API key

2011-07-30 Thread usafrmajor
THANK YOU! it was this on your Android .jar right click Build Path- Configure Build Path. then if you see 2 maps.jar includes remove one of them... - Now would you be willing to help me solve another strange problem I am having. I have looked everywhere and trid a LOT of things

[android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread usafrmajor
I was able to get a screen to open that shows a route using Google Maps however it opens up separate from my application. I would like it to opens up in the tab that I launch it from within my application. Can that be done? if so, how would I do that? thanks I open the Activity like this

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread usafrmajor
OK, thanks I was able to figure out how to find the center point on the map based on my start and stop points. Can you point me to a good resource on how to figure out how to draw a street path between them? No expectations here, just hoping to save some time. :-) thanks -- You received

[android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
Is there a way to verify a Map API key? I am having a problem getting a simple map activity to function without crashing my app and that is the only thing I can see that may be causing the problem. thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
Any idea on what? When I change the to just a normal Activity with nothing displayed it does not crash. However, when I just have the following it does *public* *class* MapMarkActivity *extends* MapActivity { *public* String lv_err_msg; *public* LinearLayout

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
Crash = I click on a button in a tab to open the map activity and I get a Force Close message and the app closes down I am using my actual phone to run. Is there one doing it this way? If so, where do I go to look at it? I do have the simulator available, I just do it this way as it is much

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
What? Need a little more information on what you are talking about. I attach my device via usb to load my app using HTC Sync and I have Eclipse open as I make changes and run from my phone. From there I am not sure I know what you are telling me to do or look -- You received this message

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
Ok, found it. what should I be looking for? when my phone is hooked up it just keeps adding lines, several per second. And as far as I can see there is no way to search. Can I copy to a test file and search for something like the name of the activity I am trying to run? -- You received

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
found a noclassdefounderror line however the activity is in the manifest file as activity android:id=@+id/mapmark_id android:name=.MapMarkActivity /activity -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
yes -- 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,

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
I am using the Google API AddOns and here is the error I am getting 07-29 22:11:25.968: ERROR/jdwp(1797): Failed sending reply to debugger: Broken pipe 07-29 22:11:29.822: ERROR/AndroidRuntime(1797): FATAL EXCEPTION: main 07-29 22:11:29.822: ERROR/AndroidRuntime(1797):

Re: [android-developers] Verifying Map API key

2011-07-29 Thread usafrmajor
Yes ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=mapBack.Mapback android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=8 / uses-permission android:name=android.permission.INTERNET /

[android-developers] List View based on Database Cursor Not Showing Full Screen and Scrolling

2011-07-27 Thread usafrmajor
I am having a problem getting my list view based on retrieved data from a database to show the full screen and scroll. For some reason neither the fill_parent or wrap_content values for my layout height setting is being recognized. Right now my view only shows about a quarter of the screen.

[android-developers] Converting Blackberry Apps

2011-03-31 Thread usafrmajor
Is there a utility that will facilitate the conversion of Blackberry apps to android apps? I understand if it is not perfect, but it would be great to have something that could do some/most of it. thanks -- You received this message because you are subscribed to the Google Groups Android