• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, November 27, 2018

    Jake Wharton - Android's Java 9, 10, 11, and 12 Support Android Dev

    Jake Wharton - Android's Java 9, 10, 11, and 12 Support Android Dev


    Jake Wharton - Android's Java 9, 10, 11, and 12 Support

    Posted: 27 Nov 2018 09:24 AM PST

    Understanding Android’s vector image format: VectorDrawable by Nick Butcher

    Posted: 27 Nov 2018 10:06 AM PST

    Apple's App store is being taken to the Supreme Court of the United States for anti-trust issues and could set legal precedent for all "Walled Garden" app stores.

    Posted: 26 Nov 2018 06:16 PM PST

    Don't be lazy, use @Rules!

    Posted: 27 Nov 2018 07:41 AM PST

    Good resources on building a backend for my app

    Posted: 27 Nov 2018 09:21 AM PST

    I'm looking for some good tutorials/guides on building a backend component for an application. I previously built a backend for a small app but it wasn't the most efficient approach. I had created a Linux server of AWS which hosted a MySQL database containing all data relevant to the app. The same server also contained a handful of PHP scripts which would query the database and return information in JSON format. From within the app, an HTTP request would be made to the various JSON endpoints to get the necessary data. This app was more of a personal project than anything else so I wasn't thinking of efficiency, scalability, or maintainability when building it.

    I'm now looking to develop an application which I hope will have a larger user base and will grow over time, and I don't think my previous approach would be the best. If you have any good resources to help me out, it would be much appreciated.

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

    Help in deciding the database architecture.

    Posted: 27 Nov 2018 08:40 AM PST

    Help in deciding the database architecture.

    I have developed an Android app as shown below. The code section is a Webview. My question is, I want to maintain the state of the question as Bookmarked or Unbookmarked. For this app, I am using plain Sqlite. I am retrieving all the questions in a cursor. On Next or Previous button I am simply calling cursor.moveToNext() and cursor.moveToPrevious() methods to change the question in the Webview. Throughout the activity I am not closing the cursor at all. Because, it will move the cursor to first position and first program will get displayed. Now problem is, whenever I bookmark a question and go to next or previous question and come back to the bookmarked question, it does not reflect the state as bookmarked as I did not update the cursor. How can I resolve this? Is there any other method using which I can simply update the UI/Cursor automatically once I bookmark/unbookmark any question.

    Thank you!

    https://i.redd.it/10frpkq0iw021.png

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

    Article about converting an Android App to use Jetpack

    Posted: 27 Nov 2018 12:09 PM PST

    Sockets!

    Posted: 27 Nov 2018 11:28 AM PST

    Hello! I am developing an app to share files between devices with wi-fi as a capstone project. I am having some issues with sockets:

    -If we have an InputStream or an outputStream, we send an object, file, etc. Do we need to close the InputStream/Output as soon as we are done?

    -If we close the InputStream/OutpustStream, does the socket gets closed too?

    -If we close the InputStream/OutputStream, can we define new I/O Streams inside the while loop that reads the object? As in OutputStream stream=new OutputStream(socket); and once it loops, it is created again? or should I define it outside of the loop?

    I am trying to send serialized objects and streams of data/bytes to share the files and I am trying to it in sequence: 1st object sent, then send file, then wait for confirmation file has been written to disk, once confirmation is received send the next file until queue is empty.

    I've read a lot of documentation and examples of sockets but it is very unclear when to open and close I/O streams, samples usually do it inside a while so I am very confused.

    Thank you!

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

    Android Privacy policy on target marketing

    Posted: 27 Nov 2018 11:28 AM PST

    I get users have right to be forgotten. Therefore, we have advertisement ID that can be reset and opt-out.

    What happens if an app uses the Device ID or internal login account to collect user's behaviour data? Is it against the privacy policy?

    Let's say, the Amazon app collects a user's behaviour based on the Amazon login account and/or device id (Secure.ANDROID_ID/Build.serial) and shows a targeted promotion or send a customized email promotion, then does it violate Google's Policy?

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

    lifecycle-trojan

    Posted: 27 Nov 2018 09:24 AM PST

    One of our customers is looking at releasing an app with our library. It's just gone through their security testing and they have flagged a certain content provider that is listed in the manifest of the generated apk. It's called <app-packagename>.lifecycle-trojan. This seems to have been generated automatically and it takes the package name of the host-app. We are using lifecycle components so I speculate it's to do with that.

    I can verify that I get the same content provider in my app when I build a dummy app which contains the library.

    Can someone explain what lifecycle-trojan does?

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

    A quick story about async callbacks, memory leaks, WeakReferences, and misconceptions

    Posted: 26 Nov 2018 05:50 PM PST

    What are your thoughts on the "InjectorUtils" Class that Google uses in some of their samples?

    Posted: 27 Nov 2018 03:46 AM PST

    My App is Not Visible In Google Play Search

    Posted: 27 Nov 2018 10:12 AM PST

    Hello there,

    My app is not visible in Google Play search. Have you experienced this?

    Let's say my app's name is "My Expected Keyword". If I search in Google Play as My Expected Keyword my app is nowhere to be found?

    If I search my app with double quotes -> "My Expected Keyword" it shows up but without the double quotes nowhere to be found.

    I've tried many things as ASO-wise:

    • My package name is exactly like "com.my.expected.keyword"
    • I've named my app as "My Expected Keyword" and put out description containing "My Expected Keyword" and several other keywords repeated.

    Have you experienced this?

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

    Termux + Vim + Plugins: The perfect IDE for Android phones.

    Posted: 26 Nov 2018 11:51 PM PST

    Xamarin, Flutter or React Native?

    Posted: 27 Nov 2018 06:52 AM PST

    I'm not sure if this is the right place to ask, if it's not, please let me know where I can post this. Thanks.

    I'm planning to do a start up and would love to create mobile applications however I'm unsure of which framework to use. Can someone who's experience in this field please give me some advice? Thanks

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

    Dagger 2 modules

    Posted: 27 Nov 2018 05:17 AM PST

    I am using Google's new architecture components and my actual implementation of every layer from data source into usecase are interfaces then an implementation class for this interface . the question is when i provide every dependency should i provide the implementation class or the interface itself ?

    submitted by /u/dev-atef
    [link] [comments]

    [Podcast] Developing apps for enterprise companies - Richard Eaton - Founder - Appware

    Posted: 27 Nov 2018 02:45 AM PST

    Right ORM for read intensive app.

    Posted: 26 Nov 2018 10:28 PM PST

    I have published an app which is based on plain sqlite. My app is read intensive. Which ORM will be best suited for my app considering following requirements.

    1. Ease in transition from plain sqlite to ORM. As my app is already published this transition should not break code of existing users.

    2. ORM must allow me a better solution to modify/upgrade database in future

    3. It should be low on resource consumption

    Thank you and references will be appreciated!

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel