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

2013-04-17 Thread John Merlino
Take a look at my newer thread:
https://groups.google.com/group/android-developers/browse_thread/thread/4568ef3e42fb23f8

I added the support library and used SupportMapFragment and still an
issue.

On Apr 17, 3:32 pm, Doug  wrote:
> > Binary XML file line #6: Error inflating class 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. 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 17:42:00.928: E/AndroidRuntime(363): java.lang.RuntimeException:
> > Unable to start activity ComponentInfo{com.otl.AndroidRemoteApp1/
> > com.otl.AndroidRemoteApp.ShowMapActivity}:
> > android.view.InflateException: Binary XML file line #6: Error
> > inflating class fragment
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> > 1647)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> > 1663)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread.access$1500(ActivityThread.java:117)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.os.Handler.dispatchMessage(Handler.java:99)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.os.Looper.loop(Looper.java:130)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread.main(ActivityThread.java:3683)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > java.lang.reflect.Method.invokeNative(Native Method)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > java.lang.reflect.Method.invoke(Method.java:507)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > com.android.internal.os.ZygoteInit
> > $MethodAndArgsCaller.run(ZygoteInit.java:839)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > dalvik.system.NativeStart.main(Native Method)
> > 04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
> > android.view.InflateException: Binary XML file line #6: Error
> > inflating class fragment
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.view.LayoutInflater.inflate(LayoutInflater.java:408)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.view.LayoutInflater.inflate(LayoutInflater.java:320)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.view.LayoutInflater.inflate(LayoutInflater.java:276)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.jav 
> > a:
>
> > 207)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.Activity.setContentView(Activity.java:1657)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > com.otl.AndroidRemoteApp.ShowMapActivity.onCreate(ShowMapActivity.java:
> > 45)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
> > 1047)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
> > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> > 1611)
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         ... 11 more
> > 04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
> > java.lang.ClassNotFoundException: android.view.fragment in loader
> > dalvik.system.PathClassLoader[/system/framework/
> > com.google.android.maps.jar:/data/app/com.otl.AndroidRemoteApp1-2.apk]
> > 04-16 17:42:00.928: E/AndroidRuntime(363):         at
&g

[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 layout I added the following (using
supportmapfragment rather than mapfragment):

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.SupportMapFragment"/>

But still I get this error:

04-16 17:42:00.928: E/AndroidRuntime(363): FATAL EXCEPTION: main
04-16 17:42:00.928: E/AndroidRuntime(363):
java.lang.RuntimeException:
Unable to start activity ComponentInfo{com.otl.AndroidRemoteApp1/
com.otl.AndroidRemoteApp.ShowMapActivity}:
android.view.InflateException: Binary XML file line #6: Error
inflating class fragment

Any ideas?

-- 
-- 
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] 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 17:42:00.928: E/AndroidRuntime(363): java.lang.RuntimeException:
Unable to start activity ComponentInfo{com.otl.AndroidRemoteApp1/
com.otl.AndroidRemoteApp.ShowMapActivity}:
android.view.InflateException: Binary XML file line #6: Error
inflating class fragment
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1647)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
1663)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.access$1500(ActivityThread.java:117)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.os.Handler.dispatchMessage(Handler.java:99)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.os.Looper.loop(Looper.java:130)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.main(ActivityThread.java:3683)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.reflect.Method.invokeNative(Native Method)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.reflect.Method.invoke(Method.java:507)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
dalvik.system.NativeStart.main(Native Method)
04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
android.view.InflateException: Binary XML file line #6: Error
inflating class fragment
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:408)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
207)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.Activity.setContentView(Activity.java:1657)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.otl.AndroidRemoteApp.ShowMapActivity.onCreate(ShowMapActivity.java:
45)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1611)
04-16 17:42:00.928: E/AndroidRuntime(363):  ... 11 more
04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
java.lang.ClassNotFoundException: android.view.fragment in loader
dalvik.system.PathClassLoader[/system/framework/
com.google.android.maps.jar:/data/app/com.otl.AndroidRemoteApp1-2.apk]
04-16 17:42:00.928: E/AndroidRuntime(363):  at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.ClassLoader.loadClass(ClassLoader.java:551)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createView(LayoutInflater.java:471)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.onCreateView(LayoutInflater.java:549)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
66)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
04-16 17:42:00.928: E/AndroidRuntime(363):  ... 20 more

Anyone understands this error message?

-- 
-- 
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 i

[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  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  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
> want to test against.
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
-- 
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] 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 
> > 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 
> want to test against.
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
-- 
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: add new api levels to emulator

2013-04-16 Thread John Merlino
I'm seeing this in the console:
Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

Im not sure why this is happening in the SDK Manager, I installed the
Google APIs for api level 10 (gingerbread). This issue doesnt happen
for api level 15 and 16. In those levels, the app shows up on the
emulators. But for gingerbread, I cannot even see the app under
managed apps.

On Apr 16, 3:34 pm, TreKing  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  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
> want to test against.
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
-- 
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: 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  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  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
> want to test against.
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
-- 
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] 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 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: supporting Google Maps Android API v2 on 2.3+

2013-04-10 Thread John Merlino
private GoogleMap mMap;
mMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.map))
.getMap();
LatLng currentView = new LatLng(lat, lon);

mMap.getUiSettings().setZoomControlsEnabled(true);
mMap.getUiSettings().setAllGesturesEnabled(false);
CameraPosition cameraPosition = new CameraPosition.Builder()
  .target(currentView)
 .zoom(17)
  .bearing(90)
  .build();

Well, my v2 map code looks like this:

mMap.addMarker(new MarkerOptions()
  .position(currentView)
 .title(intent.getStringExtra("address"))
 .snippet("Alert: " + intent.getStringExtra("alert") + ", Speed:" + 
intent.getStringExtra("speed"))
 .draggable(true));
mMap.moveCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));

I'm not sure if I need to perform some kind of check to see what version 
the user is using and then write code for that version, or if this code can 
somehow be supported in older androids using an environment variable. 


On Tuesday, April 9, 2013 8:00:19 PM UTC-4, RichardC wrote:
>
> The sample works from Android platform version 8, which is Android 2.2. 
>  You need to give us more information about what you have done in your 
> project.
>
> On Tuesday, 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? 
>>
>

-- 
-- 
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] 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 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] Zooming with Google Maps Android API v2

2013-04-05 Thread John Merlino
I am using Google Maps Android API 
v2 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 code:

 Iterator> iterator2 = historyData.iterator();

  while(iterator2.hasNext()){   

 Map item = iterator2.next();

 double currentLat = Double.parseDouble(item.get("latitude"));

  double currentLong = Double.parseDouble(item.get("longitude"));   

 mMap.addMarker(new MarkerOptions()

 .position(new LatLng(currentLat, currentLong))

 .title(item.get("address"))

 .snippet("Alert: " + item.get("alert") + ", Speed:" + item.get(
"speed"))

  ) 

 ;

   
   if(previousItem != null){

   Polyline line = mMap.addPolyline(new PolylineOptions()

.add(new LatLng(currentLat, currentLong), 
newLatLng(Double.parseDouble(previousItem.get(
"latitude")),Double.parseDouble(previousItem.get("longitude"))) )

.width(5)

.color(Color.RED));

  }


  if(!iterator2.hasNext()){

   currentView = new LatLng(currentLat, currentLong);


   }

  previousItem = item;

 }

if(currentView != null){

   mMap.getUiSettings().setZoomControlsEnabled(false);

  mMap.getUiSettings().setAllGesturesEnabled(false);

  CameraPosition cameraPosition = new CameraPosition.Builder()

  .target(currentView)

  .zoom(13)

  .bearing(90)

  .build();

 

  mMap.moveCamera(CameraUpdateFactory.newCameraPosition(cameraPosition)); 

  }

-- 
-- 
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] 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 allowed Android apps" box? If so, what
delimiter do I use to separate the two fingerprints?

-- 
-- 
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: best way to copy an existing application

2013-02-13 Thread John Merlino
When you say "put existing shared code", does this literally mean copy and 
paste all the .java and layout files from the one application to the 
library project?

On Tuesday, February 12, 2013 3:24:22 PM UTC-5, RichardC wrote:
>
> Create an new Android Library project.
> Put all your existing shared code and resources into it.
> Create 2 new Android Projects (one with your old package name and the 
> other with a new package name), and set them to use your Android Library 
> project.
> Put the different resources into the Application Projects.
>
> To setup a Library project see:
>
> http://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 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 the background images. thanks for response. 
>>
>

-- 
-- 
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: best way to copy an existing application

2013-02-12 Thread John Merlino
I don't see where it mentions to copy existing code into the library
project. Am I supposed to copy and paste it?

On Feb 12, 3:24 pm, RichardC  wrote:
> Create an new Android Library project.
> Put all your existing shared code and resources into it.
> Create 2 new Android Projects (one with your old package name and the other
> with a new package name), and set them to use your Android Library project.
> Put the different resources into the Application Projects.
>
> To setup a Library project 
> see:http://developer.android.com/tools/projects/projects-eclipse.html#Set...
>
>
>
>
>
>
>
> 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 to essentially clone an application so that all I have to do is
> > create new keys and change the background images. thanks for response.

-- 
-- 
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] 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 the background images. thanks for response.

-- 
-- 
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] 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:

http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#F7681D"
android:clickable="false"
android:orientation="vertical"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="10dp"
android:scrollbars="vertical"
android:weightSum="1" >








 
 

 

 
 

For some reason each of the items contain a huge space vertically
between them. And I am not sure how I can bring the items closer
together to look like a proper list.

-- 
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: display a datepicker on mapview

2013-01-15 Thread John Merlino
I first display map with markers on it (defaulting to markers
associated with the current date). User can then use datepicker to
enter another date, and then they submit it like a form. Then new
markers are displayed based on the date selected. The process of
querying the dates I handle on the web server, not on the android. I
just send the data back to the android so that the phone can then show
markers. The part I am stuck is not the querying part. It's the part
of how do I show a datepicker with the map. So that the user can
select a date within the context of the map. This is what I have so
far:


show_history.xml


http://schemas.android.com/apk/res/android";
  android:id="@+id/history_map"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  class="com.google.android.gms.maps.MapFragment"/>

date_picker.xml


http://schemas.android.com/apk/res/
android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >





showhistoryactivity.java

public class ShowHistoryActivity extends Activity {

MapView mapView;
String authkey, unit_id;
SharedPreferences preferences;
private GoogleMap mMap;
final Handler myHandler = new Handler();
protected List> historyData;

private int mYear;
private int mMonth;
private int mDay;

private Button mPickDate;
private TextView mDateDisplay;

static final int DATE_DIALOG_ID = 0;


/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.show_history);
Intent intent=getIntent();
unit=intent.getStringExtra("unit");
preferences=PreferenceManager.getDefaultSharedPreferences(this);
authkey=preferences.getString(AndroidRemoteContants.auth_token,
"NULL");

mDateDisplay = (TextView) findViewById(R.id.showMyDate);
mPickDate = (Button) findViewById(R.id.myDatePickerButton);

System.out.println("value stored: " + mDateDisplay);

mPickDate.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
showDialog(DATE_DIALOG_ID);
}
});

 final Calendar c = Calendar.getInstance();
 mYear = c.get(Calendar.YEAR);
 mMonth = c.get(Calendar.MONTH);
 mDay = c.get(Calendar.DAY_OF_MONTH);

 updateDisplay();

 setUpMapIfNeeded();
}

It already falls apart at this point because mDateDisplay is null.

Essentially, I am not sure how to display a datepicker in the same
screen as the map and have the two of them interact.


On Jan 15, 6:01 pm, TreKing  wrote:
> On Tue, Jan 15, 2013 at 4:15 PM, John Merlino  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
> > markers accordingly.
> > What would be the best approach to do this?
>
> Do what? You outlined at least 5 concrete actions. Be more specific. Also,
> what have you tried so far? Where exactly are you stuck?
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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] 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 if you could reference a tutorial too that
would be nice.

-- 
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] 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:

 Iterator> iterator2 = historyData.iterator();
while(iterator2.hasNext()){

Map item = 
iterator2.next();

double currentLat = 
Double.parseDouble(item.get("latitude"));
double currentLong = 
Double.parseDouble(item.get("latitude"));



Double.parseDouble(item.get("longitude"));


mMap.addMarker(new MarkerOptions()
.position(new LatLng(currentLat, currentLong))
.title(item.get("address")));



Polyline line = 
mMap.addPolyline(new PolylineOptions()
   .add(new LatLng(currentLat, 
currentLong))
   .width(5)
   .color(Color.RED));


}

-- 
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: 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  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 version
> 11?

-- 
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] 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 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] 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 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: pass parameters between threads

2013-01-08 Thread John Merlino
I think the type declaration " Map" 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  wrote:
> On Tue, Jan 8, 2013 at 5:27 PM, John Merlino  wrote:
> > 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.
>
> Use AsyncTask.
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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] 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 String unitId)
{
new Thread(){
public void run(){
List> response =
WebService.getHistoryData("today",unitId,authkey);


myHandler.post(myRunnable);

}
}.start();
}

final Runnable myRunnable = new Runnable() {
  public void run() {

Iterator> iterator = 
response.iterator();

while(iterator.hasNext()){
Map item = 
iterator.next();

mMap.addMarker(new MarkerOptions()
.position(new
LatLng(Double.parseDouble(item.get("latitude")),
Double.parseDouble(item.get("longitude"
.title(item.get("address")));
}

  }
   };

-- 
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] 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: W/System.err(24859):
java.net.UnknownHostException: Unable to resolve host "mysite.com": No
address associated with hostname
01-07 17:52:42.650: W/System.err(24859):at
java.net.InetAddress.lookupHostByName(InetAddress.java:424)
01-07 17:52:42.650: W/System.err(24859):at
java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
01-07 17:52:42.650: W/System.err(24859):at
java.net.InetAddress.getAllByName(InetAddress.java:214)
01-07 17:52:42.650: W/System.err(24859):at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:
137)

I tried it with emulator again and emulator still is able to connect
to host, but the device keeps producing the above error.

thanks for response

-- 
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] 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 live ip address, but I dont want to have to
deploy live for every little change i need to make when testing on
device. What options are 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] 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 execute 'adb uninstall
com.otl.AndroidRemoteApp1' in a shell. Launch canceled!"

This message does not occur on emulator or when running the live app
on the store. It only happens when I plug the android phone to the mac
osxc using usb connector and then launching the app on phone through
eclipse.

I uninstalled the real app on the phone and then installed it on their
again and trying to launch the app via eclipse again and still get the
same error message.

What should I try next?

-- 
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] "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 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] "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 = {
"status":200,
"error":null,
"data":
  {
"units":
  [
{
 "id":3001,
 "markers":
   [

{"latitude":"28.92977431","longitude":"-82.0193","address":"unknown"},

{"latitude":"22.92977431","longitude":"-42.0193","address":"unknown"},

{"latitude":"33.92977431","longitude":"-66.0193","address":"unknown"}
   ]
}
  ]
   }
  }


Here's my java code:


Map reportData1 = new HashMap();
List> reportData  = new
ArrayList>();

String result = QWebservice.getWebResource(
WEBSERVICE,
query);

try {
JSONObject jsonResult = new JSONObject(result);
JSONObject  data = jsonResult.getJSONObject("data");
JSONArray units = data.getJSONArray("units");

for(int i = 0 ; i < units.length(); i++){
JSONObject unit = units[i];
JSONObject reports = 
unit.getJSONArray("markers");

for(int j = 0; j < reports.length(); j++){
report = reports[j];
Iterator iter = report.keys();

while(iter.hasNext()){
String key = 
(String)iter.next();
if(key.equals("latitude")){

reportData1.put("latitude", report.getString(key));

reportData.add(j,reportData1);
}
if(key.equals("longitude")){

reportData1.put("longitude", report.getString(key));

reportData.add(j,reportData1);
}
if(key.equals("address")){

reportData1.put("address", report.getString(key));

reportData.add(j,reportData1);
}
}
}
}

} catch (JSONException e) {
Log.e("log_tag", "Error parsing data " + e.toString());
}

-- 
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] 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 factory client
server returned 3 at android_maps_conflict_avoidance.com

So I think the issue is this line right here:

   http://schemas.android.com/apk/res/android";
 android:id="@+id/mapview"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent"
 android:apiKey="some_long_string"
 android:state_enabled="true"
 android:clickable="true"
 />

Do I already have an apikey in the developer console somewhere or is
this something I am going to have to create?

-- 
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: changed package name in manifest and now getting errors

2012-10-16 Thread John Merlino
I just want to be able to modify the manifest file so i dont have to
change source but so that i can also upload this to android market.
Currently I was forced to change package name and thats when errors
begin occurring all over.

On Oct 16, 5:23 pm, Mark Murphy  wrote:
> You do not have a class named com.otl.AndroidRemoteApp1.SplashScreen,
> apparently. Either refactor your source code to also be in
> com.otl.AndroidRemoteApp1, or adjust your manifest to refer to your
> components with a correct fully-qualified package name.
>
>
>
>
>
>
>
>
>
> On Tue, Oct 16, 2012 at 5:15 PM, John Merlino  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 changed the
> > package name, I get errors like this:
>
> > 10-16 17:12:56.442: E/AndroidRuntime(620): java.lang.RuntimeException:
> > Unable to instantiate activity ComponentInfo{com.otl.AndroidRemoteApp1/
> > com.otl.AndroidRemoteApp1.SplashScreen}:
> > java.lang.ClassNotFoundException:
> > com.otl.AndroidRemoteApp1.SplashScreen
>
> > any ideas?
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 4.2 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] 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 this:


10-16 17:12:56.442: E/AndroidRuntime(620): java.lang.RuntimeException:
Unable to instantiate activity ComponentInfo{com.otl.AndroidRemoteApp1/
com.otl.AndroidRemoteApp1.SplashScreen}:
java.lang.ClassNotFoundException:
com.otl.AndroidRemoteApp1.SplashScreen


any ideas?

-- 
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] 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 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: 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
the play store supposedly transfered the app between the accounts but when 
I log into my account it still says "No applications uploaded" and when I 
tried toi upload the app again it gives same error "he package name of your 
apk is the same as the package name of another developer's application. 
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 > 
> wrote: 
> > 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. 
>
> Have the "someone else" sign and upload it, as it is their app, from 
> the standpoint of the Play Store. 
>
> Reputedly, there is some process by which you can get the Play Store 
> folk to transfer an app between accounts, though I am not seeing a 
> mention of how to do that in the Play Store docs. 
>
> Regardless, once an app is on the Play Store, the Play Store account 
> and signing key must both match the original ones used with that 
> package. So, if you do not have the signing key from "someone else" or 
> cannot get "someone else" to arrange to transfer the app to your Play 
> Store account, you cannot publish an updated version of the app. 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> Android Training in NYC: http://marakana.com/training/android/ 
>

-- 
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: 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  wrote:
> John Merlino wrote:
> > 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
> > com.otl.AndroidRemoteApp.SplashScreenNew.apk
>
> > and tried the upload again and still got the same error
>
> That isn't how you set the package name of an Android application.
>
> http://developer.android.com/guide/topics/manifest/manifest-intro.html
>
> Do you own the "otl.com" domain?
>
> If not, you shouldn't use it.
>
> --
> Lew

-- 
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] 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
com.otl.AndroidRemoteApp.SplashScreenNew.apk

and tried the upload again and still got the same error

-- 
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] 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 have asked me to put a
password before? I don't recall what this password is supposed to be.

-- 
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: uploading app to android market

2012-09-27 Thread John Merlino
It doens't take me to a developer console. It takes me back to the
developer signup page. But I already did this already and made the
payment and received the confirmation. I click the link on the
confirmation while logged in with my account and still see this page.

On Sep 27, 3:49 pm, Harri Smått  wrote:
> On Sep 27, 2012, at 10:34 PM, John Merlino  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 to Developer Console;
>
> http://developer.android.com/distribute/googleplay/publish/console.html
>
> ..from where you can publish your application and follow how it's doing on 
> the market.
>
> --
> H

-- 
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] 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 it took me back right to the sign up page:

https://play.google.com/apps/publish/signup

How do I upload my app?

-- 
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