May 2015

Solutions

Android Custom Edit Text Cursor Not Visible

[vc_row boxed_columns=”” section=”” vertical_centering=”” video=”” video_opts=”” multi_color_overlay=”” height=”medium” color_scheme=”” us_bg_color=”” us_text_color=”” us_bg_image=”” us_bg_video=”0″][vc_column animate=”afl” animate_delay=”0.2″][vc_column_text css_animation=”left-to-right”] Story I created a new simple project with a custom edit text without any logic (it just extends EditText). The code is the following: CustomEditText.java package com.example.customedittextcursor; import android.content.Context; import android.util.AttributeSet; import android.widget.EditText; /** * @author Diana PraÈ›a * Date:

, , , ,
Solutions

Android onActivityResult not called from fragment

Today I had an issue with onActivityResult() method which was not called inside a fragment. My first impulse was to move the method inside the activity that hosts the fragment, and that’s what I actually did. So, I ran my app in debug mode and when I saw that the breakpoint stopped in the onActivityResult method from

, ,
Tutorial

Android: How to reset score from Google Play Games leaderboards

[vc_row parallax_image=”” boxed_columns=”” section=”” vertical_centering=”” background=”” img=”” parallax=”” video=”” bg_type=”” parallax_style=”” bg_image_new=”” layer_image=”” bg_image_repeat=”” bg_image_size=”” bg_cstm_size=”” bg_img_attach=”” parallax_sense=”” bg_image_posiiton=”” animation_direction=”” animation_repeat=”” video_url=”” video_url_2=”” u_video_url=”” video_opts=”” video_poster=”” u_start_time=”” u_stop_time=”” viewport_vdo=”” enable_controls=”” bg_override=”” disable_on_mobile_img_parallax=”” parallax_content=”parallax_content_value” parallax_content_sense=”” fadeout_row=”” fadeout_start_effect=”” enable_overlay=”” overlay_color=”” overlay_pattern=”” overlay_pattern_opacity=”” overlay_pattern_size=”” overlay_pattern_attachment=”” multi_color_overlay=”” multi_color_overlay_opacity=”” seperator_enable=”” seperator_type=”” seperator_position=”” seperator_shape_size=”” seperator_svg_height=”” seperator_shape_background=”” seperator_shape_border=”” seperator_shape_border_color=”” seperator_shape_border_width=”” icon_type=”” icon=””

, , , , , , ,
Solutions, Tutorial

Google Play Games API + Playground

The Problem… So I wanted to reset my score on one of my google play games here(QuickAZ) and for that I could use Google Play Games API if the user was registered as a tester in the play console. In order to easily authenticate to the service and test the API I used Google’s Playground. The only

, , ,
Scroll to Top