• Breaking News

    [Android][timeline][#f39c12]

    Friday, November 30, 2018

    Weekly "anything goes" thread! Android Dev

    Weekly "anything goes" thread! Android Dev


    Weekly "anything goes" thread!

    Posted: 30 Nov 2018 04:41 AM PST

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

    submitted by /u/AutoModerator
    [link] [comments]

    Constructive feedback FTW

    Posted: 30 Nov 2018 02:07 PM PST

    Is anyone else's stable Android Studio, kind of unstable day to day?

    Posted: 30 Nov 2018 06:59 AM PST

    I have used Android Studio since the day it was released in beta. It's been a god send. Over the years more things have been added to it, but it has reached a point now where there are daily issues for me when I use it.

    • Often when I hit Ctrl+E and choose somewhere to navigate, it decides not to navigate there and pops me back to the file I was looking at.
    • Today it can't find Timber (only). Restarting doesn't help so I will try cleaning / rebuilding then invalidating/ restarting then reimporting. I find myself doing these things a lot more than I used to.
    • If I run it for more than about about 4 hours it pretty consistently slows down my whole system and I need to restart.
    • Often it will just randomly slow down my system and I need to restart.
    • Running the emulator cooks my legs more than ever so I have to be careful about laptop placement now :)
    • Even with the new snapshot loading logic, and with it turned off, I get emulators hanging for 5 mins before they will close.
    • Often I do things that used to be rock solid, for example clicking the little xml layout symbol in the gutter of a kotlin file to navigate to it. Now when I do that I get the red error balloon. If I submit an error I then get an error submitting that error. Error submission and that xml navigation are two little things I never saw break in the years I have been using AS.
    • The whole IDE freezes when I open an XML now while it loads a preview and tries to build.
    • My iOS colleague is trying to run the project and honestly without me beside him he wouldn't know what to do. First I had to reimport for him because it couldn't find anything. Then I had to figure out this bug for him. Then he had to update a load of stuff because AS couldn't do it automatically. The gradle upgrade message was also confusing him.

    Maybe I should just reinstall? My machine is an Aorus X3, 16gb, 1tb NVMe, GTX 970M, i7-6700HQ

    Edit: Invalidate+restart was the fix for missing Timber. I also had a similar issue where it couldn't find a different gradle dependency for a while yesterday.

    None of these issues are very serious, but they do slow me down a little every day now.

    submitted by /u/WingnutWilson
    [link] [comments]

    Accessing Pixel's new haptic feedback.

    Posted: 30 Nov 2018 06:10 AM PST

    So the pixel 2 and pixel 3 have a great "clicky" haptic feedback. However this seems available to only system apps and a few non system apps. Is there a different code needed to access this newer feedback? Using "Vibrator vibrator = (Vibrator) getSystemService(VIBRATOR_SERVICE);" just results in the generic "mushy" feedback.

    submitted by /u/dejii
    [link] [comments]

    Architecture components - Sending search query to the ViewModel

    Posted: 30 Nov 2018 05:12 AM PST

    I am working on a wallpaper search engine and using the latest libraries( Room, ViewModel, Paging Library) and Retrofit for fetching data over the network.

    The main activity only has reference to the ViewModel, as MVVM guidelines recommend.

    But, I need to be able to type a search query into the search box and to pass this query to Retrofit. But I can't wrap my head around it.

    Since i'm using the Paging Library, I am making the network request in the DataSource which is contained in a LiveDataSource observed by the ViewModel.

    Any idea?

    submitted by /u/stcojo07
    [link] [comments]

    Convincing my coworkers im an Android developer?

    Posted: 30 Nov 2018 10:46 AM PST

    I was hired last week as a Xamarin developer and I have been doing native Xamarin Android. The other guys do iOS and express their desire for an actual native Android developer. I do about 5 hours of native Android development a day outside of work. I have deployed Android apps to the app store and i currently have been focusing on kotlin. I also have a blog on Android development but my coworkers still talk about getting an Android developer, assuming i dont know much about Android. How can i get my coworkers to respect me as an Android developer?

    submitted by /u/mostdope96
    [link] [comments]

    Must-know things that I need to learn

    Posted: 30 Nov 2018 07:35 AM PST

    Hi everyone,
    I have started learning Android from scratch about 2 week ago as a preparation to a 6 months internship competitive challenge that I have tomorrow.
    I enjoyed learning Android, and here is what I have learned so far from the official Google courses on Udacity :
    -Layouts (LinearLayout, RelativeLayout, FrameLayout)

    -Views (TextView,ImageView,ScrollView,Button,ProgressBar..)
    -Create a Menu with different items
    -Make a polish by displaying error messages and hiding other views when needed
    -Lifecycle

    -AsynTask

    -Connect to internet and make a request to an API

    -Manipulate JSON data
    -Implicit Intents (passed data)
    -Explicit Intents (didn't pass data)

    -AsynTask Loaders
    -List items ( ListView + Adapter)

    -Display Audio with Listeners

    But unfortunately, I have been disappointed so many times. I have spent so much time to learn the AsynTaskLoader functioning, only to know that it is deprecated in API 28 and is considered an old technology now. Same goes to ListView + Adapter, I have spent a lot of effort only to find later that RecyclerView is much powerful. So I invested more time in RecyclerView and finally managed to transfer my old app that used a ListView to a new one with a RecyclerView.
    Time is running and I feel like I am missing so many things, so can you please tell me what are the must know things that I should go and learn before tomorrow? I have seen somewhere before that ViewModel is the AsynTaskLoader replacement, should I switch this one by the other? Are Fragments really important ? (because as far as I know, they are useful when I have multiple screen) What about preferences and content providers ?

    Thanks for reading and sorry for the long post.

    PS : Last year's challenge was about an application that fetches the Github repos of a given user from Github's GraphQL API and display it.

    submitted by /u/Quilwa
    [link] [comments]

    Publish from Android Studio

    Posted: 30 Nov 2018 06:09 AM PST

    Is there a way to publish my apk right from Android Studio using sort of "One click"?

    submitted by /u/denny_weinberg
    [link] [comments]

    How much dev time would a Bird or lime bike app take to develop

    Posted: 30 Nov 2018 02:36 PM PST

    I am a student who's starting an E-scooter Sharing program in my campus, and I wanted to know how much time would it take to develop the app on just android. And how much would it cost approximately.

    Another question I have is, how do Bird and lime bike connect the bikes to the app without an IOT Device on top. Any help from anyone would be really grateful.

    I am from a tech background so I have a general idea how development works etc.

    submitted by /u/huzaifa_hameed
    [link] [comments]

    Kotlin data class + Builder vs. Java + Lombok

    Posted: 30 Nov 2018 04:49 AM PST

    Hi, I wish to eliminate Lombok in our project and create Kotlin data class that is:
    - constructable with a Builder from both Java and Kotlin

    - usable from both Java and Kotlin

    Here's what it looks like in Kotlin currently:

    import android.graphics.Typeface import androidx.annotation.ColorInt data class Style( @ColorInt val buttonColor: Int = DEFAULT_BUTTON_COLOR, @ColorInt val buttonTextColor: Int = DEFAULT_BUTTON_TEXT_COLOR, @ColorInt val borderColor: Int = DEFAULT_BORDER_COLOR, @ColorInt val toolbarBackgroundColor: Int = DEFAULT_TOOLBAR_BACKGROUND_COLOR, @ColorInt val toolbarTitleColor: Int = DEFAULT_TOOLBAR_TITLE_COLOR, @ColorInt val toolbarTintColor: Int = DEFAULT_TOOLBAR_TINT_COLOR, @ColorInt val backgroundColor: Int = DEFAULT_BACKGROUND_COLOR, @ColorInt val textColor: Int = DEFAULT_TEXT_COLOR, @ColorInt val hintColor: Int = DEFAULT_HINT_COLOR, @ColorInt val errorColor: Int = -0x4d0000, val normalFont: Typeface = Typeface.DEFAULT, val boldFont: Typeface = Typeface.DEFAULT, val mediumFont: Typeface = Typeface.DEFAULT ) { class Builder { private var buttonColor: Int = DEFAULT_BUTTON_COLOR private var buttonTextColor: Int = DEFAULT_BUTTON_TEXT_COLOR private var borderColor: Int = DEFAULT_BORDER_COLOR private var toolbarBackgroundColor: Int = DEFAULT_TOOLBAR_BACKGROUND_COLOR private var toolbarTitleColor: Int = DEFAULT_TOOLBAR_TITLE_COLOR private var toolbarTintColor: Int = DEFAULT_TOOLBAR_TINT_COLOR private var backgroundColor: Int = DEFAULT_BACKGROUND_COLOR private var textColor: Int = DEFAULT_TEXT_COLOR private var hintColor: Int = DEFAULT_HINT_COLOR private var errorColor: Int = DEFAULT_ERROR_COLOR private var normalFont: Typeface = Typeface.DEFAULT private var boldFont: Typeface = Typeface.DEFAULT private var mediumFont: Typeface = Typeface.DEFAULT fun buttonColor(@ColorInt buttonColor: Int) = apply { this.buttonColor = buttonColor } fun buttonTextColor(@ColorInt buttonTextColor: Int) = apply { this.buttonTextColor = buttonTextColor } fun borderColor(@ColorInt borderColor: Int) = apply { this.borderColor = borderColor } fun toolbarBackgroundColor(@ColorInt toolbarBackgroundColor: Int) = apply { this.toolbarBackgroundColor = toolbarBackgroundColor } fun toolbarTitleColor(@ColorInt toolbarTitleColor: Int) = apply { this.toolbarTitleColor = toolbarTitleColor } fun toolbarTintColor(@ColorInt toolbarTintColor: Int) = apply { this.toolbarTintColor = toolbarTintColor } fun backgroundColor(@ColorInt backgroundColor: Int) = apply { this.backgroundColor = backgroundColor } fun textColor(@ColorInt textColor: Int) = apply { this.textColor = textColor } fun hintColor(@ColorInt hintColor: Int) = apply { this.hintColor = hintColor } fun errorColor(@ColorInt errorColor: Int) = apply { this.errorColor = errorColor } fun normalFont(@ColorInt normalFont: Typeface) = apply { this.normalFont = normalFont } fun boldFont(@ColorInt boldFont: Typeface) = apply { this.boldFont = boldFont } fun mediumFont(@ColorInt mediumFont: Typeface) = apply { this.mediumFont = mediumFont } fun build() = Style( buttonColor = buttonColor, buttonTextColor = buttonTextColor, borderColor = borderColor, toolbarBackgroundColor = toolbarBackgroundColor, toolbarTitleColor = toolbarTitleColor, toolbarTintColor = toolbarTintColor, backgroundColor = backgroundColor, textColor = textColor, hintColor = hintColor, errorColor = errorColor, normalFont = normalFont, boldFont = boldFont, mediumFont = mediumFont ) } companion object { private const val DEFAULT_BUTTON_COLOR: Int = -0x23bbfb private const val DEFAULT_BUTTON_TEXT_COLOR: Int = -0x1 private const val DEFAULT_BORDER_COLOR: Int = -0x8a8785 private const val DEFAULT_TOOLBAR_BACKGROUND_COLOR: Int = -0x23bbfb private const val DEFAULT_TOOLBAR_TITLE_COLOR: Int = -0x1 private const val DEFAULT_TOOLBAR_TINT_COLOR: Int = -0x1 private const val DEFAULT_BACKGROUND_COLOR: Int = -0x1 private const val DEFAULT_TEXT_COLOR: Int = -0x8a8785 private const val DEFAULT_HINT_COLOR: Int = -0x333334 private const val DEFAULT_ERROR_COLOR: Int = -0x4d0000 } } 

    and here's a similar thing with Java + Lombok:

    @NoArgsConstructor @Data @Accessors(chain = true) public final class Style { private int buttonColor = 0xffdc4405; private int buttonTextColor = 0xffffffff; private int borderColor = 0xff75787b; private int toolbarBackgroundColor = 0xffdc4405; private int toolbarTitleColor = 0xffffffff; private int toolbarTintColor = 0xffffffff; private int backgroundColor = 0xffffffff; private int textColor = 0xff75787b; private int hintColor = 0xffcccccc; private int errorColor = 0xffb30000; private Typeface normalFont; private Typeface boldFont; private Typeface mediumFont; } 

    Any proposals how to make the Kotlin one more beautiful or shorter? I've tried this annotation-based builder generator https://github.com/jffiorillo/jvmbuilder but it adds a kotlin-reflect runtime dependency which I dislike.

    submitted by /u/BacillusBulgaricus
    [link] [comments]

    Write an Android Studio Plugin Part 2: Persisting data

    Posted: 30 Nov 2018 01:27 AM PST

    Wrote some small helper functions for Kotlin Coroutines with MVVM. Looking for more, advices and improvements.

    Posted: 30 Nov 2018 02:05 PM PST

    Hello! I recently started learning Kotlin Coroutines and integrated them into a smaller project I made while working on my master's thesis. While integrating them I wrote some small helper functions that I used and made my code cleaner and more readable. Wondering if there is some other helpful stuff like this that anyone wrote that I could use or ways to improve the ones I already have. Also, feel free to use these and comment :)

    https://gist.github.com/marijannovak123/f0795f17b1d4f06c8ceefe4a7f197163

    EDIT:

    here's the project where some of the use cases are shown..made it when i just started learning kotlin, architecture components and mvvm, refactoring it now so be gentle :D
    https://github.com/marijannovak123/Autism_Helper

    submitted by /u/marijannovak123
    [link] [comments]

    How to merge multiple AndroidManifest.xml files without using build-types/flavors

    Posted: 30 Nov 2018 07:25 AM PST

    I'm developing an android app and have made a script that can generate a .xml file dynamically based on certain values. The content it generates are a bunch of <intent-filter> elements.

    After generating the file I want to use android's AndroidManifest-merging to merge it into my main AndroidManifest.xml

    The various documentation around the web states, that merging is possible by using different build types/flavors/etc or by having the manifest in its own module (because the manifest of libraries will always be merged into the main manifest).

    The issue is that I dont wan't to use different build types/flavors, I want this file to be merged into AndroidManifest.xml across all build-types and I don't want to use flavors. So my idea was:

    1. create a AndroidManifest.xml file somewhere in the project
    2. write content to it
    3. make android merge the manifests as if my manifest was placed in one of the build-type-folders.

    My questions is whether or not this is actually possible? and if so, where (in the project-structure) do I put my created manifest.xml file and how do I make android merge them?

    I guess one solution could be to create a separate module for the project, which only contains the AndroidManifest.xml file that I want to merge, but I'm hoping that my initial idea is possible, as it seems simpler and cleaner.

    submitted by /u/BammySikh
    [link] [comments]

    About SupportMapFragment and BottomNavigation

    Posted: 30 Nov 2018 01:21 PM PST

    I am currently working on an app which MainActivity has a BottomNavigationView with 3 MenuItems. Each of one is meant to show a different fragment. One of those fragments must be a map. According Google documentation, SupportMapFragment extends Fragment class, so I should be able to manipulate it like any other fragment.

    Every example I found use an Activity with a fragment as only layout, I meant to use an Activity with a FrameLayout so I can later on replace the map fragment with any other.

    Problem is that when I try to do it this way I'm getting this error on app's startup:

    2018-11-30 18:17:53.029 18526-18526/com.ahoy.app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.ahoy.app, PID: 18526 java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.maps.api.android.lib6.impl.bo.s()' on a null object reference at com.google.maps.api.android.lib6.impl.co.i(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):78) at com.google.android.gms.maps.internal.t.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):12) at fc.onTransact(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):10) at android.os.Binder.transact(Binder.java:667) at com.google.android.gms.internal.maps.zza.transactAndReadExceptionReturnVoid(Unknown Source:7) at com.google.android.gms.maps.internal.zzj.onStart(Unknown Source:6) at com.google.android.gms.maps.SupportMapFragment$zza.onStart(Unknown Source:2) at com.google.android.gms.dynamic.zaf.zaa(Unknown Source:3) at com.google.android.gms.dynamic.DeferredLifecycleHelper.zaa(Unknown Source:9) at com.google.android.gms.dynamic.DeferredLifecycleHelper.onStart(Unknown Source:54) at com.google.android.gms.maps.SupportMapFragment.onStart(Unknown Source:5) at android.support.v4.app.Fragment.performStart(Fragment.java:2477) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1494) at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852) at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269) at android.support.v4.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:3235) at android.support.v4.app.FragmentController.dispatchStart(FragmentController.java:212) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:628) at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1391) at android.app.Activity.performStart(Activity.java:7157) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:2937) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 

    This is my MainActivity.java

    public class MainActivity extends AppCompatActivity { private Fragment mapFragment; private Fragment eventsFragment; private BottomNavigationView.OnNavigationItemSelectedListener mOnNavigationItemSelectedListener = new BottomNavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) { switch (item.getItemId()) { case R.id.navigation_discover: getSupportFragmentManager().beginTransaction().replace(R.id.main_fragment, mapFragment).commit(); return true; case R.id.navigation_events: getSupportFragmentManager().beginTransaction().replace(R.id.main_fragment, eventsFragment).commit(); return true; case R.id.navigation_notifications: return true; } return false; } }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); BottomNavigationView navigation = (BottomNavigationView) findViewById(R.id.navigation); navigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener); mapFragment = new MapFragment(); eventsFragment = new EventsFragment(); getSupportFragmentManager().beginTransaction().add(R.id.main_fragment, mapFragment).commit(); } } 

    and activity_main.xml

    <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".ui.MainActivity"> <FrameLayout android:id="@+id/main_fragment" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_constraintTop_toTopOf="@id/navigation"/> <!--<fragment xmlns:android="http://schemas.android.com/apk/res/android"--> <!--xmlns:map="http://schemas.android.com/apk/res-auto"--> <!--android:name="com.google.android.gms.maps.SupportMapFragment"--> <!--android:id="@+id/map"--> <!--android:layout_height="match_parent"--> <!--android:layout_width="match_parent"--> <!--map:uiCompass="true"--> <!--map:uiRotateGestures="true"--> <!--map:uiZoomGestures="true"--> <!--map:uiZoomControls="false" />--> <android.support.design.widget.BottomNavigationView android:id="@+id/navigation" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="0dp" android:layout_marginEnd="0dp" android:background="?android:attr/windowBackground" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:menu="@menu/navigation" /> </android.support.constraint.ConstraintLayout> 

    And this is my MapFragment.java

    public class MapFragment extends SupportMapFragment implements OnMapReadyCallback, GoogleMap.OnMyLocationButtonClickListener, GoogleMap.OnMyLocationClickListener { GoogleMap map; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.map_fragment, container, false); } @Override public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); getMapAsync(this); } @Override public void onMapReady(GoogleMap googleMap) { map = googleMap; LatLng barbeer = new LatLng(-31.4213943,-64.1881791); map.addMarker(new MarkerOptions().position(barbeer).title("Barbeer")); map.moveCamera(CameraUpdateFactory.newLatLng(barbeer)); } @Override public boolean onMyLocationButtonClick() { return false; } @Override public void onMyLocationClick(@NonNull Location location) { } } 

    map_fragment.xml is just a fragment with

    android:name="com.google.android.gms.maps.SupportMapFragment" 

    Can anyone help me out with this?

    submitted by /u/sbd0223
    [link] [comments]

    How do you version your app?

    Posted: 30 Nov 2018 12:06 PM PST

    Do you use https://semver.org/, some other standard, or something else? Just curious what other devs / teams are doing.

    submitted by /u/kaeawc
    [link] [comments]

    App update prompt in Play Store not going away after update

    Posted: 30 Nov 2018 11:58 AM PST

    Yesterday I released an update to my app like I always do, but I'm getting reports from multiple users that the Play Store keeps saying that there is an update available for the app even after succesfully updating the app. No matter how many times you try to "update" the Play Store insists that there is still an update available. Apparently clearing the data of the Play Store and even uninstalling and reinstalling my app does not fix the issue. I also released another update to "overwrite" the issue the Play Store seems to have with the original one, with no success.

    I saw a few similar reports on stackoverflow today, but no useful response. Is this an issue entirely with the Play Store? Is there something that I or my users can do to fix it? I am kind of clueless on what to do.

    submitted by /u/MKApps
    [link] [comments]

    Build an automatic pet monitoring app with Fritz and Object Detection

    Posted: 30 Nov 2018 10:36 AM PST

    Client-Generated IDs vs. Server-Generated IDs

    Posted: 30 Nov 2018 03:00 AM PST

    Google's new permission policy

    Posted: 29 Nov 2018 09:23 PM PST

    So a couple of weeks before I received an email from google support that according to policy update, two of my apps do not comply with the permissions policy and I was asked to review it and submit adn application accordingly or remove permissions all along. So I reviewed the new permissions policy and sent application according to those policy changes that my app shows exceptional behaviour and core functionalities need those permissions. As of today, I received reply from google saying that my request was rejected. I don't know if I failed to understand the policy or I really need to remove those permissions (my app won't work without which). Any help from you guys is much appreciated. The links of apps are https://play.google.com/store/apps/details?id=com.applistic.hp.timesmessages https://play.google.com/store/apps/details?id=com.shake.user.shake

    submitted by /u/peakyfblinders
    [link] [comments]

    What should I do when my game is featured on Google Play?

    Posted: 29 Nov 2018 08:29 PM PST

    I want to run UAC but do not know which target to install or IAP. Can you recommend anything (for your strategy, experience, some cases ...) for me?

    submitted by /u/devol123
    [link] [comments]

    help me with android memory management

    Posted: 30 Nov 2018 05:52 AM PST

    I have an app where the App shows lists the large images from Internet. the Images are stored in ListView as Bitmap....I believe it is taking too much memory...the app works fine on Big Memory Device but on Small Memory Devices it crash. I have heard theres a library called Glide....Any Ideas How I can make it better....

    Looking for a library as solution

    Thanks in advance

    submitted by /u/vistain
    [link] [comments]

    Admob ads not showing

    Posted: 30 Nov 2018 02:01 AM PST

    When I have run in debug mode it was showing test ad but after publishing the real ads not showing anything, a blank screen. I have another published application use the same admob account and showing all the ads.

    submitted by /u/abenjmaa
    [link] [comments]

    [NOOB Question] Simple app builder

    Posted: 30 Nov 2018 01:57 AM PST

    Apologies for this intrusion into real app development. I want to make an app that does a calculation (for my Poker league)

    This is the formula for calculating points awarded after each game.

    (SQRT (Players * Buy-in * Buy-in / (Buy-in + Rebuys)) / (1 + Rank))*10

    I want to create a simple app that will allow people to enter numbers into 4 fields (#Players, Buyin, #Rebuys, and Rank) and it will do the calc and show the points.

    Is there a good tool or site that will let me create an apk for this with little or no environment setup?

    submitted by /u/delanger
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel