Stream

Join this community to post or comment
 
Updating your location in Genymotion is extremely slow. What happened?  I have the GPS widget turned on and i opened up the map dialog and clicked on the map to update the location however the Google Maps app has a blue dot with the current location and that current location is updating way too slowly.

Did something break recently?

#Genymotion   #Android #Location #GPS #GoogleMaps
1
Add a comment...
 
I ran into a ton of issues trying to simulate and test Geolocation and have finally figured out a way to get it set up.  Check out my findings here

http://lawloretienne.github.io/blog/

#Geofencing   #Android #Location #Testing
Testing Geofencing on Android. The current set of tools to test Geofencing are all over the place and maybe one day Google will create these tools to make developers lives easier. So here is how I was able to test out the Geofencing API. I installed the latest Genymotion (Android emulator) ...
1
Add a comment...
 
Hi guys

Anyone have a clue why this is happening ? I need some help on these
http://stackoverflow.com/questions/29275859/android-widget-getviewat-called-too-many-times

Thanks
2
Add a comment...

Chevon Champier

General Discussion  - 
 
Hi guys im working on my umpteenth game(i tend to stop working on projects :/) and im try to figure out how to load a tiled map and have the player spawn at a specific location. for example the player enters a house from one map and loads up the house map and is spawned at the door of the house. so far im loading up the map but my player doesnt necessarily re spawn he just remain at the same position relation to the last map.
here some pieces of code that i use to know when the player is at a door
private int isEntrance(){
        Cell cell = collisionLayer.getCell(
                (int) (position.x / collisionLayer.getTileWidth()),
                (int) (position.y / collisionLayer.getTileHeight()));
        if(cell != null && cell.getTile() != null&& cell.getTile().getProperties().containsKey("entrance")){
            //convert result from string to int
            return Integer.parseInt(cell.getTile().getProperties().get("entrance",-1,Integer.class)+"");
        }else{
            return -1;
        }

the Integer returns is a value i use to load the new map. I pass it to the players atentrance value

if(player.atemptingEntrance){
            if(player.atentrance != -1){
                map = mloader.load("data/map"+player.atentrance+".tmx");
                player.setCollisionLayer((TiledMapTileLayer) map.getLayers().get(0));
            }
        }


//////////////////
1
Daniel Reyes's profile photo
7 comments
 
Create a public class startingPosition and have methods in there stating different starting positions and call them on each level as you see fit.
Add a comment...
 
The Geofencing sample that google provides
https://github.com/googlesamples/android-play-location/tree/master/Geofencing
adds geofences in an an activity

LocationServices.GeofencingApi.addGeofences(
                    mGoogleApiClient,
                    // The GeofenceRequest object.
                    getGeofencingRequest(),
                    // A pending intent that that is reused when calling removeGeofences(). This
                    // pending intent is used to generate an intent when a matched geofence
                    // transition is observed.
                    getGeofencePendingIntent()
            ).setResultCallback(this); // Result processed in onResult().

Is it possible to add geofences inside an IntentService?

#Geofencing  #Android #IntentService #Activity #Geolocation
1
Add a comment...

Codenvy

General Discussion  - 
 
Start developing Android apps with just one-click. 

Here's a link into a pre-configured Android development environment, complete with an editor, runner, builder, debugger and emulator.

**Make sure to read the WELCOME.txt file
https://codenvy.com/factory?id=g08a3escw5kxj2xk
7
Add a comment...

Stefan Hennemann

General Discussion  - 
 
Anyone else here who misses the update from the Google Developer Console? Since Saturday 21st my developer console does not update anymore.
 Means, the app statistics (downloads, exceptions, sells etc.)last entry is from 21st of march.
1
Stefan Hennemann's profile photoFlorian Möhle's profile photo
3 comments
 
Ist bei mir noch nie passiert, ich hatte aber auch ein wenig Angst als nach dem dritten Tag immer noch kein einziger download dazu gekommen ist :p
 ·  Translate
Add a comment...

Eliseo Martelli

General Discussion  - 
 
Hi guys, i've a problem... I have a HashSet<Integer> that i want to store in memory so when i close and reopen the app i've the previous set.

How can i do that?
1
simon bassey's profile photokc ochibili's profile photo
9 comments
 
Try using this library, it makes it so much easier.
https://github.com/kcochibili/TinyDB--Android-Shared-Preferences-Turbo
Add a comment...

Janet Tompson

General Discussion  - 
Big sale for Android users, Google is offering 33 great deals on apps and more for a limited time. Can you believe that the Google Play app store is only three years old? Android apps have been around for a bit longer, of course, but the Google Play app store as we know it today just turned ...
7
Kieron Quinn's profile photo
Add a comment...
 
Is anyone here great with Android 5 shared element activity transitions?
I've done my research and consumed every blog post I could find, but am getting a glitch where the transition doesn't work, as shown in this video.

I re-created it in a very simple app here: https://github.com/clay-to-n/shared-element-transition-glitch

Any advice would be much appreciated! This seems to me like a very basic implementation of shared elements, so there might be something obvious I've missed.  If you have any ideas, lemme know here or on the StackOverflow question I posted here: http://stackoverflow.com/questions/28867416/shared-element-transition-glitch-in-android-lollipop

Thanks!
1
Chris P's profile photoClayton Brand's profile photo
2 comments
 
THANK YOU! Replacing the line with:
View photo = (View) listView.getChildAt(position).findViewById(R.id.photo);
Did the trick!
Add a comment...

Fred Grott

General Discussion  - 
 
on GoogleFit we need FitActivities.Eating in the api as dieting is in fact a Fitness Activity..come on Google get with it
2
Add a comment...

Michael Scamell

General Discussion  - 
 
How often do you develop an Android App that's been designed for iOS? What are the common problems you come across and how did you solve them? How close did you stick to the design? Did it take longer than the iOS version to develop?
1
armin ariyani's profile photo
 
+Michael Scamell if you want to make a good app you SHOULD have two different design one for android and another one for iOS. The interaction is not the same and neither the language concept of objective-C and android. I always doing 2 separate architecture and design per app. Otherwise your app will look crappy on both of platform.
Add a comment...

Kamil Stawiarz

General Discussion  - 
 
Hello everyone i have some problem with Android Studio. Whem i drag Button or SmallButton on layout and i run it on Mobile Phone (htc wildfire S android 3.3.5)  my Buttons are not visible in app, i can see only text on them and on avd i see everything. Can some1 tell me what is that issue? My friend is using Android Studio and he dont have that problem.
1
armin ariyani's profile photoKamil Stawiarz's profile photo
2 comments
 
same phone with same android version on avd im using android 5.1 api 21 armeabiv7a cuz my procesor isnt support virtualization friend was using api 22 x86. I dont understand because me and friend was running application only on phone with 3.3.5 android and for him everything is ok but for me not. something like button texture doesnt load. sorry for my english
. I forgot to add that reinstal android studio clean project doesnt help me, checkbox or imagebutton are visible and 100% fine only button and smallbutton have this problem.
Add a comment...

Janet Tompson

General Discussion  - 
Personally, I'm usually not a secure lock screen user. Very rare is the occasion that my phone is out of my sight, so I usually just breeze right past the lock screen. But after a tip from a reader, I'm giving the lock screen a second look on Android 5.1. For users who rely on a pattern-based ...
2
Add a comment...

Chris Raley

General Discussion  - 
 
I've read the OkHttp GitHub page @ http://square.github.io/okhttp/ and it says it supports Android 2.3 and above. Does anyone know if it also support TLS 1.1 on Android 2.3 above or does it require the native support added in Android 4.1 (API 16)?
An HTTP & SPDY client for Android and Java applications
1
Add a comment...

Stefan Hoth

General Discussion  - 
 
 
#PSA  for #AndroidDev and their PO colleagues: *App discoverability on #AndroidTV *

After your pockets and handbags already have been conquered by Android  #AndroidTV  is Google's next attempt to conquer the living room, too. The platform offers a good #AndroidDev  experience through keeping API usage and distribution consistent with "normal" apps but adjust input methods and user interface to the living room case.

So that's all fine and it's surprisingly easy to get started with Android TV (if you have access to a device).

BUT - as of now-  you need to know the following fact: If you're not featured on +Google Play for Android TV it's incredibly unlikely that users will ever find your app if they don't know it yet. Without being part of a featured collection you will be invisible.

I certainly hope Google decides to add a "Others.." or "All apps..." listing, preferably on a grid instead a long horizontal list, but until then: Build an awesome feature-eligible app or save your efforts at all.
Drive
20150320 - Android TV - App discoveryApp discovery on Android TV be featured or die* *as of March 2015
View original post
3
Add a comment...

Pradeep Bheron

General Discussion  - 
 
Google Play Store updated APK  is now available to download. The all new Google Play Store 5 carries more elements of Material Design as has been seen earlier in the Android L Developer Preview releases. Google Play Newsstand...
3
Gianluca Pacchiella's profile photo
 
For what reason in the universe I should download the Google Play Store from a random link on the internet?
Add a comment...
 
Awesome custom view library using reveals!! Take a look! https://github.com/Serchinastico/CoolSwitch
9
2
jorge victor muñoz padilla's profile photoFahad Alduraibi's profile photo
Add a comment...

mister ligi

General Discussion  - 
 
can someone here point me in the right direction? http://stackoverflow.com/questions/29233110/assets-for-unit-tests
1
Stefan Hoth's profile photo
Add a comment...

Dany Fradika

General Discussion  - 
 
[ASK]
Hi everyone...
I need your help, how to make transparent shape .xml with blur effect? I will use this shape xml as background....so it will look transparent and blur.....

Any answers will be appreciated.
Thanks in advance
☺
1
kc ochibili's profile photo
Add a comment...