[android-developers] problems with android support library

2013-04-17 Thread John Merlino
In my Android SDK Manager, I have the Android Support Library installed. In my Downloads/android-sdk-macosx/extras/android/support directory, I have a v4, a v7, and v13. I copied android-support-v4.jar to the libs folder. Right clicked and selected Build Path Configure Build Path. In the activity

[android-developers] Re: error message displays on gingerbread emulator but not icecream sandwich emulator

2013-04-17 Thread John Merlino
fragment Fragments are not available in GB unless you are using the compatibility library and using only the fragment objects and activities available through it. Doug On Tuesday, April 16, 2013 2:48:06 PM UTC-7, John Merlino wrote: I have an app which uses google maps api v2

[android-developers] add new api levels to emulator

2013-04-16 Thread John Merlino
I want to create a new target device on the emulator that targets gingerbread. In Eclipse, I go to Window AVD Manager New and under target I only see api level 15 and 16. What is the process to be able to add gignerbread 2.3 to this list? -- -- You received this message because you are

[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
After I do that and launch the simulator for gingerbread, the app does now show up at all on the screen even under managed apps, my app is not there. On Apr 16, 3:34 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 16, 2013 at 2:25 PM, John Merlino stoici...@aol.com wrote: What

[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
on the emulators. But for gingerbread, I cannot even see the app under managed apps. On Apr 16, 3:34 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 16, 2013 at 2:25 PM, John Merlino stoici...@aol.com wrote: What is the process to be able to add gignerbread 2.3 to this list? Use the SDK manager

Re: [android-developers] add new api levels to emulator

2013-04-16 Thread John Merlino
Even when I use the 2.3.3 Google APIs emulator, still the app not showing up in emulator On Tuesday, April 16, 2013 3:34:14 PM UTC-4, TreKing wrote: On Tue, Apr 16, 2013 at 2:25 PM, John Merlino stoi...@aol.comjavascript: wrote: What is the process to be able to add gignerbread 2.3

[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
ok I got it working On Apr 16, 3:34 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 16, 2013 at 2:25 PM, John Merlino stoici...@aol.com wrote: What is the process to be able to add gignerbread 2.3 to this list? Use the SDK manager to download the relevant files for each API level you

[android-developers] error message displays on gingerbread emulator but not icecream sandwich emulator

2013-04-16 Thread John Merlino
I have an app which uses google maps api v2. Works fine in api level 15, but in api level 10 (gingerbread) on the real device it says there is no support. When I try to run on gingerbread emulator, I get the following error: 04-16 17:42:00.928: E/AndroidRuntime(363): FATAL EXCEPTION: main 04-16

[android-developers] Re: supporting Google Maps Android API v2 on 2.3+

2013-04-10 Thread John Merlino
, April 9, 2013 11:09:56 PM UTC+1, John Merlino wrote: I wrote my application using Google Maps Android api v2, but when trying to run the app on gingerbread, for example, it says the app is not supported. What's the quickest way to support older devices with google maps android api v2

[android-developers] supporting Google Maps Android API v2 on 2.3+

2013-04-09 Thread John Merlino
I wrote my application using Google Maps Android api v2, but when trying to run the app on gingerbread, for example, it says the app is not supported. What's the quickest way to support older devices with google maps android api v2? -- -- You received this message because you are subscribed to

[android-developers] Zooming with Google Maps Android API v2

2013-04-05 Thread John Merlino
I am using Google Maps Android API v2https://developers.google.com/maps/documentation/android/ in my android app, but there is no way to zoom in and out on the pins on the map. There is no zoom function at all, I press on map or pins and I dont see how to zoom. Here's some of the relevant

[android-developers] reuse Google Maps Android API v2 key across multiple applications

2013-02-18 Thread John Merlino
I have multiple applications registered to google play. Under Edit allowed Android Apps section in google play, I already have a fingerprint for another application. But now I want to add another for a new application. Do I copy the certicate fingerprint of the new application into the Edit

[android-developers] Re: best way to copy an existing application

2013-02-13 Thread John Merlino
://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject On Tuesday, February 12, 2013 8:08:36 PM UTC, John Merlino wrote: I have an application already created and up and running on google play. I need to create a second application where everything is the same, other than

[android-developers] best way to copy an existing application

2013-02-12 Thread John Merlino
I have an application already created and up and running on google play. I need to create a second application where everything is the same, other than the background views. So I am wondering the easiest way to essentially clone an application so that all I have to do is create new keys and change

[android-developers] Re: best way to copy an existing application

2013-02-12 Thread John Merlino
... On Tuesday, February 12, 2013 8:08:36 PM UTC, John Merlino wrote: I have an application already created and up and running on google play. I need to create a second application where everything is the same, other than the background views. So I am wondering the easiest way

[android-developers] listview layout shows huge gap in space between each items

2013-01-23 Thread John Merlino
I have an xml layout with a listview item in it that looks like this: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:background=#F7681D android:clickable=false

[android-developers] display a datepicker on mapview

2013-01-15 Thread John Merlino
I am using google maps api v2 and when the map displays, it renders some markers. Now I would for the user on the same screen to activate a datepicker and select a date, then press enter, so then I cna query databsse and show new markers accordingly. What would be the best approach to do this? And

[android-developers] Re: display a datepicker on mapview

2013-01-15 Thread John Merlino
of them interact. On Jan 15, 6:01 pm, TreKing treking...@gmail.com wrote: On Tue, Jan 15, 2013 at 4:15 PM, John Merlino stoici...@aol.com wrote: Now I would for the user on the same screen to activate a datepicker and select a date, then press enter, so then I cna query databsse and show new

[android-developers] android phone requires activation in order to test on eclipse?

2013-01-11 Thread John Merlino
Someone just got me a metropcs phone, but doesnt want to pay the monthly service fee. Will I be able to test my application on this device, which requires accessing google maps api v2? It seems not possible without an internet connection. Is there a way that this can be done? -- You received

[android-developers] upgrading metropcs from 2.3.4 to 4.0.3

2013-01-11 Thread John Merlino
Im trying to test application on device. On launch, I get this error: ERROR: Application requires API version 11. Device API version is 10 (Android 2.3.4). Where can I found how to upgrade the metropcs phone to use api version 11? -- You received this message because you are subscribed to the

[android-developers] Re: upgrading metropcs from 2.3.4 to 4.0.3

2013-01-11 Thread John Merlino
Its a samsung On Jan 11, 3:01 pm, John Merlino stoici...@aol.com wrote: Im trying to test application on device. On launch, I get this error:  ERROR: Application requires API version 11. Device API version is 10 (Android 2.3.4). Where can I found how to upgrade the metropcs phone to use api

[android-developers] trying to get polylines to work in google maps api v2

2013-01-11 Thread John Merlino
Using google maps api v2, I had multiple markers displaying correctly but I wanted to add a line joining them, so I added the polyline functionality below. However, when I rendered map again, now it just shows map without markers or line: IteratorMapString, String iterator2 =

[android-developers] pass parameters between threads

2013-01-08 Thread John Merlino
I have a thread to make a web service request. And then I get the data and store it in response variable. Now I need to add items to the map on the main thread, but how do i get the response data back in the main thread. Here is what I have: private void processHistory(final String authkey, final

[android-developers] Re: pass parameters between threads

2013-01-08 Thread John Merlino
I think the type declaration MapString, String was turning it into a local variable, but when I remove that, the error goes away and it becomes part of the instance variables of the class On Jan 8, 6:38 pm, TreKing treking...@gmail.com wrote: On Tue, Jan 8, 2013 at 5:27 PM, John Merlino stoici

[android-developers] Unable to resolve host mysite.com No address associated with hostname

2013-01-07 Thread John Merlino
I have a site up and running and I can even connect to it with the emulator, and up to an hour ago I was able to connect to it with the android device as well. However, now I am suddenly getting this message when trying to connect to a URL while testing on the device: 01-07 17:52:42.650:

[android-developers] Re-installation failed due to different application signatures.

2013-01-04 Thread John Merlino
I'm trying to test the application on an android phone. In Eclipse when I launch the app to the phone, I get this message: Re-installation failed due to different application signatures. You must perform a full uninstall of the application. WARNING: This will remove the application data! Please

[android-developers] using IP address 10.0.2.2 for android simulator works, but how do I point to localhost when testing on android device?

2013-01-04 Thread John Merlino
I have ruby on rails web server that my android application talks to. When I connect to 10.0.2.2 on android simulator, it successfully makes contact to web server. However, it does not when I test it on the actual android device using a usb connection and using eclipse. I am forced to use the real

Re: [android-developers] The type of the expression must be an array type but it resolved to JSONArray compile error

2013-01-03 Thread John Merlino
thanks On Wednesday, January 2, 2013 7:01:54 PM UTC-5, Larry Meadors wrote: JSONArray isn't a java array - you'll need to do units.getJSONObject(i) instead. Larry -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] The type of the expression must be an array type but it resolved to JSONArray compile error

2013-01-02 Thread John Merlino
I get this message: The type of the expression must be an array type but it resolved to JSONArray It happens on this line in the below java code: JSONObject unit = units[i]; units[i] should be holding { id:3001, markers: [...]}. I have json data that looks like this: result = {

[android-developers] google maps not showing

2012-12-06 Thread John Merlino
I updated an android app but the original developers are not available so I had to create a new app on the android market. But it was generally the same app. It contains a google map. However, the google map does not render. I am getting messages like this on the log: Couldn't get connection

[android-developers] changed package name in manifest and now getting errors

2012-10-16 Thread John Merlino
I changed my package name in AndroidManifest.xml from com.otl.AndroidRemoteApp to com.otl.AndroidRemoteApp1 because the original apk file is lost and I need to upload the app as new. And in order to do that I have to change the package name. Once I changed the package name, I get errors like

[android-developers] Re: changed package name in manifest and now getting errors

2012-10-16 Thread John Merlino
, John Merlino stoici...@aol.com wrote:  I changed my package name in AndroidManifest.xml from com.otl.AndroidRemoteApp to  com.otl.AndroidRemoteApp1 because the original apk file is lost and I need to upload the app as new. And in order to do that I have to change the package name. Once I

[android-developers] You have another application on Google Play with the same package name. Go to that other application, and click upgrade.

2012-10-15 Thread John Merlino
I am getting this message: You have another application on Google Play with the same package name (com.otl.AndroidRemoteApp). Go to that other application, and click upgrade. The only thing i see though is my existing applicaion with status unpublished. Where is this upgrade option at? -- You

Re: [android-developers] Re: The package name of your apk is the same as the package name of another developer's application. Choose a new package name.

2012-10-09 Thread John Merlino
. Choose a new package name. On Monday, October 8, 2012 6:19:36 PM UTC-4, Mark Murphy (a Commons Guy) wrote: On Mon, Oct 8, 2012 at 6:07 PM, John Merlino stoi...@aol.comjavascript: wrote: Here's the thing. It's the same application. Someone else had uploaded it using their google play

[android-developers] keystone password

2012-10-08 Thread John Merlino
I'm trying to export android app to put it on google play android store. I do the following: 1) File Export Android Export Android Application 2) I select project to export 3) Then I select use existing keystore 4) then i browse to debug.keystore But it asks now for a password. Where would it

[android-developers] The package name of your apk is the same as the package name of another developer's application. Choose a new package name.

2012-10-08 Thread John Merlino
I tried to upload the apk to the store and I get this message: The package name of your apk (com.otl.AndroidRemoteApp) is the same as the package name of another developer's application. Choose a new package name. I renamed it: $ mv com.otl.AndroidRemoteApp.SplashScreen.apk

[android-developers] Re: The package name of your apk is the same as the package name of another developer's application. Choose a new package name.

2012-10-08 Thread John Merlino
Here's the thing. It's the same application. Someone else had uploaded it using their google play account, but now I have an updated version that I want to upload using my google play account. So I just want to be able to upload it. On Oct 8, 6:01 pm, Lew lewbl...@gmail.com wrote: John Merlino

[android-developers] uploading app to android market

2012-09-27 Thread John Merlino
I created a developer profile on Google Play and paid the 25 dollar registration fee. I received an email confirmation: Thanks for your interest in publishing your applications to Google Play. Please return to the Google Play Developer Site to finish your registration. So I clicked the link and

[android-developers] Re: uploading app to android market

2012-09-27 Thread John Merlino
Smått har...@gmail.com wrote: On Sep 27, 2012, at 10:34 PM, John Merlino stoici...@aol.com wrote: So I clicked the link and it took me back right to the sign up page: https://play.google.com/apps/publish/signup How do I upload my app? Signing in using your Google credentials should take you