Re: [android-developers] GCM extras Bundle from value
Hello Marten, Not sure why do you want to change the SENDER ID, the sender id would remain same/constant unless you create the new SENDERID through the google developer console and secondly the most RegistrationID which gets change that you can always update from the APK code to the DB (locally). and secondly if there is a change in the SENDER ID the apk will not receive the GCM at all ? On Tue, Feb 3, 2015 at 9:53 PM, Marten Gajda mar...@dmfs.org wrote: Hi all, in my project I need to be able to update/change the sender ids of the GCM registration. In general, this seems to work. However, after changing the sender ID the received extras bundle doesn't contain a from value anymore. When I register for the first time, the push messages look like: Bundle[{from=, topic=b1c398b8-a9c7-4c73-a98d-d89b5272beec, collapse_key=do_not_collapse}] where is the sender id. After I change the sender id to I receive this: Bundle[{from=, topic=b1c398b8-a9c7-4c73-a98d-d89b5272beec, collapse_key=do_not_collapse}] Is this intended behavior? Is it just temporary? Is there any way to get the sender id back in there? thanks Marten -- Marten Gajda Schandauer Straße 34 01309 Dresden Germany tel: +49 177 4427167 email: mar...@dmfs.org twitter: twitter.com/dmfs_org VAT Reg. No.: DE269072391 -- 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/d/optout. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- 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/d/optout.
[android-developers] Android Wear - is Google Maps API v2 available?
Hello, I'm trying to display a Google map (Google Maps API V2 for Android) on my Sony SmartWatch3. In my wear layout, i'm using a MapFragment with this code : fragment android:layout_width=match_parent android:layout_height=match_parent android:id=@+id/mapFragment class=com.google.android.gms.maps.MapFragment/ My wear main activity implements OnMapReadyCallback : @Override public void onMapReady(GoogleMap map) { SupportMapFragment fragment = ( SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.mapFragment); // Getting Google Map GoogleMap googleMap = fragment.getMap(); When I compile the program with Google Play Services for wearable in the classpath, it doesn't compile. When I compile the program with full Google Play Services in the classpath, it compiles successfully but when I execute the program on the smartwatch, I get this exception: 02-03 16:44:23.456 2377-2377/com.example.andy.myfirstwearablemapapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.andy.myfirstwearablemapapplication, PID: 2377 android.view.InflateException: Binary XML file line #7: Error inflating class fragment at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:763) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.wearable.view.WatchViewStub.inflate(WatchViewStub.java: 179) at android.support.wearable.view.WatchViewStub.onApplyWindowInsets( WatchViewStub.java:148) at android.view.View.dispatchApplyWindowInsets(View.java:6514) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5782) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5786) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5786) at com.android.internal.policy.impl.PhoneWindow$DecorView. dispatchApplyWindowInsets(PhoneWindow.java:2335) at android.view.ViewRootImpl.dispatchApplyInsets(ViewRootImpl.java:1205) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1423) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5779) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767) at android.view.Choreographer.doCallbacks(Choreographer.java:580) at android.view.Choreographer.doFrame(Choreographer.java:550) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer. java:753) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit. java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: java.lang.IllegalStateException: Unable to find dynamic class com .google.android.gms.maps.internal.CreatorImpl at com.google.android.gms.maps.internal.x.a(Unknown Source) at com.google.android.gms.maps.internal.x.U(Unknown Source) at com.google.android.gms.maps.internal.x.S(Unknown Source) at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source) at com.google.android.gms.maps.MapFragment$b.nO(Unknown Source) at com.google.android.gms.maps.MapFragment$b.a(Unknown Source) at com.google.android.gms.dynamic.a.a(Unknown Source) at com.google.android.gms.dynamic.a.onInflate(Unknown Source) at com.google.android.gms.maps.MapFragment.onInflate(Unknown Source) at android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2115) at android.app.Activity.onCreateView(Activity.java:5282) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:733) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.wearable.view.WatchViewStub.inflate(WatchViewStub.java: 179) at android.support.wearable.view.WatchViewStub.onApplyWindowInsets( WatchViewStub.java:148) at android.view.View.dispatchApplyWindowInsets(View.java:6514) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5782) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5786) at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:5786) at com.android.internal.policy.impl.PhoneWindow$DecorView. dispatchApplyWindowInsets(PhoneWindow.java:2335) at android.view.ViewRootImpl.dispatchApplyInsets(ViewRootImpl.java:1205) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1423) at
[android-developers] Android Maven Plugin 4.1.1 released
The Android Maven Plugin team is pleased to announce the release of version 4.1.1 of the plugin: plugin groupIdcom.simpligility.maven.plugins/groupId artifactIdandroid-maven-plugin/artifactId version4.1.1/version extensionstrue/extensions /plugin New features/bug fixes for the specific release are - Added Manifest Merger v2 example (tictactoe) Deprecated merge manifest v1 - Added proguard support from library (AAR) projects - Corrected unpackedLibsFolder default value - Documentation updates for the site rendering - Change default value for aidlSourceDirectory to src/main/aidl - Fix to allow both release-plugin and IDEs to correctly consume AAR deps. - Updated Takari lifecyle and integration testing setup to new releases - Improvement of versionCode generator https://github.com/simpligility/android-maven-plugin/blob/master/src/site/asciidoc/changelog.adoc We would like to thank the contributors to this release for their valuable help and invite you all to help us out as well: Specifically for this release we would like to thank the following contributors for their awesome work. Core Committers - Benoit Billington https://github.com/Shusshu - Manfred Moser http://www.simpligility.com - Malachi de AElfweald https://github.com/malachid - Johan Lindquist https://github.com/johanlindquist - William Ferguson http://github.com/william-ferguson-au Committers for this release - Benoit Billington https://github.com/Shusshu - Manfred Moser http://www.simpligility.com - David Sobreira Marques https://github.com/dpsm - Igor Fedorenko https://github.com/ifedorenko - Hoyt Summers Pittman https://github.com/secondsun - Csaba Kozák https://github.com/WonderCsabo - Pappy Stanescu https://github.com/pa314159 We would also like to thank for the help we received from the Maven community members and everybody else out there for any help we received in our issue tracker and beyond. Release build done by Manfred Moser http://www.simpligility.co http://www.simpligility.com/m Documentation, issue tracker and more can be found on the plugin websites at https://github.com/simpligility/android-maven-plugin/ http://simpligility.github.io/android-maven-plugin/ Please join the Maven Android Mailing List for relevant discussions: https://groups.google.com/forum/?fromgroups#!forum/maven-android-developers Enjoy and congratulations to everyone involved. Manfred Moser http://www.simpligility.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 --- 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/d/optout.
Re: [android-developers] Android SDK and Studio Installed Separately on Windows
You need to install both the same way (either all users or just you) or you will get this problem caused by the Windows permission system! On Feb 4, 2015 8:39 PM, Dan king...@gmail.com wrote: Hello, I installed Android SDK for all users, with then stand-alone Windows installer, then Installed the stand-alone Android Studio Installer. When I startup Android Studio it wants to use an SDK installed in my user's AppData. I give it the path of the stand alone SDK I first installed then Studio wants to install several packages. This didn't work until I ran Studio as an Administrator. Will I need to run Studio as an Administrator to fully use the SDK and IDE? -Dan -- 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/d/optout. -- 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/d/optout.
[android-developers] Android SDK and Studio Installed Separately on Windows
Hello, I installed Android SDK for all users, with then stand-alone Windows installer, then Installed the stand-alone Android Studio Installer. When I startup Android Studio it wants to use an SDK installed in my user's AppData. I give it the path of the stand alone SDK I first installed then Studio wants to install several packages. This didn't work until I ran Studio as an Administrator. Will I need to run Studio as an Administrator to fully use the SDK and IDE? -Dan -- 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/d/optout.