• Breaking News

    [Android][timeline][#f39c12]

    Thursday, April 2, 2020

    Protecting your Android App against Reverse Engineering and Tampering Android Dev

    Protecting your Android App against Reverse Engineering and Tampering Android Dev


    Protecting your Android App against Reverse Engineering and Tampering

    Posted: 02 Apr 2020 09:49 AM PDT

    Play Store now shows the person who has rated your app too!

    Posted: 02 Apr 2020 04:42 AM PDT

    Tip: Using External Tools and Macros you can add scrcpy in your android studio.

    Posted: 02 Apr 2020 06:59 AM PDT

    Kotlin Coroutines 101 - Android Conference Talks

    Posted: 02 Apr 2020 10:22 AM PDT

    “Merge adapters sequentially with MergeAdapter” por Florina Muntenescu

    Posted: 02 Apr 2020 07:43 AM PDT

    Evolution of Finding Views by ID in Android

    Posted: 02 Apr 2020 01:04 PM PDT

    first time releasing a library

    Posted: 02 Apr 2020 05:35 PM PDT

    This is my first time releasing a library here is the link
    https://github.com/aldrek/Flip_Digit
    Feel free to drop feedback :) :)

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

    I made a tool for personal financial planning and budgeting while being confined at home for 3 weeks due to the vrus.

    Posted: 02 Apr 2020 05:52 PM PDT

    TLDR:

    The app lets you input your budget or your planned expenses and earnings, then it shows you a forecast of your monthly cash balances for the next X years based on your input. Hence, it's a very useful tool for personal budgeting and financial planning.

    The app, which I aptly named Financire, is completely free and is available for the three major platforms: Web, iOS, and Android.

    FULL:

    First of all, the idea for this app came directly from a spreadsheet I've made which I used quite often. However, I figured that Excel is not powerful enough to do everything I want such as the features enumerated in this post. So after the current pndemic forced me to recalibrate my personal financial plan, I decided to convert the spreadsheet into an app because I believe I'll be using it more often due to the uncertainties presented by this vrus.

    This app will be useful if:

    • You're planning for major purchases
    • You're on a tight budget
    • You're concerned about your financial liquidity or solvency
    • You want to know what's the earliest time you can afford a certain purchase

    Productivity features that spreadsheets lack:

    • One-time expense/income vs. repeating (daily, weekly, bi-weekly, monthly, etc.)
    • Option to input multiple amounts for an item. This is useful if the item is variable (e.g., increasing salary, mortgage with downpayment, etc.)
    • Tags for easy filtering for grouping items (e.g. group expenses related to your car purchase)
    • Enable/disable item for comparing scenarios
    • Monthly and annual totals for each item to easily compare items (e.g. annual total of your daily food expense)

    Thank you for reading this and I hope the app will be useful for everyone.

    P.S. For those curious, the app is built using React, React Native, and Google Firebase.

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

    A Demo app with latest architecture in Android Development

    Posted: 02 Apr 2020 04:27 PM PDT

    A Demo app with latest architecture in Android Development

    Created a demo app for enhancing my Android Skills , Please have look and let me know how i can Optimise it more , Changes and pull requests are accepted

    Used MVVM Architecture, Android Architecture Components, Kotlin, Kotlin Coroutines, LiveData, Room Database, Retrofit, Dagger 2 , Kotlinx Serialization, Coil Imaging Loading Library, Navigation Fragments library

    https://github.com/amansingh63/zomato_api_demo_AAR_MVVM

    https://reddit.com/link/ftx1rz/video/nw5og9rpqhq41/player

    Happy Coding :)

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

    Best IDEs, platforms, databases, languajes to create a multiplatform app?

    Posted: 02 Apr 2020 12:04 PM PDT

    Hello, I want to create a simple carpool app, and I did make a first prototype only on Android with AS. I learned a lot but now I need a platform (like Xamarin) to do it both for iOS and Android.

    I'm asking for a platform or a tool to make mobile apps that can get me the following: a good responsive UI and a nice documentation or at least a lot of stackoverflow questions for the languaje.

    I also need a simple database (preferably SQL ones, firebase database didn't do much for me, it seemed not much complex) and to be able to make Push notifications.

    Taking in account those four element, what would be the best path? I've read a lot on this forum that Xamarin is very difficult, altough it's the most documented one. React seems appealing too but maybe it is not suitable for these kind of apps, and Unity is a good option for me because I have some experience on it and the apps would be exactly the same on Android and iOS, the drawbacks are battery comsumption and maybe looks? (altough it would be the most responsive one). If you can recommend me anything, I would appreciate it a lot as it would save me a lot of time. Thanks.

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

    What method is called when a user taps a navigation item in a NavDrawer?

    Posted: 02 Apr 2020 03:49 PM PDT

    I was 100% certain that the onNavigationItemSelected method is what is used to setup new fragments but the code is not doing anything and when I set a trace point in that method the debugger is not catching. Has something changed recently? This was working when I had a bottom navigation method but I'm trying to switch to a NavDrawer and now I am unable to setup my fragments correctly before displaying them.

    I'm using Android Studio 3.6.2 if that helps.

    import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.view.Menu; import android.widget.Toast; import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.snackbar.Snackbar; import com.google.android.material.navigation.NavigationView; import com.google.firebase.auth.*; import java.io.Serializable; import java.util.HashMap; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; import androidx.navigation.NavController; import androidx.navigation.Navigation; import androidx.navigation.ui.AppBarConfiguration; import androidx.navigation.ui.NavigationUI; import androidx.drawerlayout.widget.DrawerLayout; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; public class MainPageActivity extends AppCompatActivity { private AppBarConfiguration mAppBarConfiguration; private Serializable data; private String uid; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); data = getIntent().getSerializableExtra("data"); uid = getIntent().getStringExtra("uid"); DrawerLayout drawer = findViewById(R.id.drawer_layout); NavigationView navigationView = findViewById(R.id.nav_view); navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) { // this code is not called, idk where it's supposed to go Fragment fragment = new Fragment(); FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); switch(item.getItemId()) { case R.id.nav_skills: fragment = new SkillsFragment(); ((SkillsFragment) fragment).setData(data); ((SkillsFragment) fragment).setUID(uid); ((SkillsFragment) fragment).setInstructor(false); break; case R.id.nav_notes: fragment = new NotesFragment(); HashMap<String, Object> hashData = (HashMap<String, Object>) data; ((NotesFragment) fragment).setNotes((String) hashData.get(Constants.INSTRUCTORNOTES)); break; case R.id.nav_preflight: fragment = new PreflightFragment(); break; case R.id.nav_class: fragment = new ClassFragment(); ((ClassFragment) fragment).setUserData(data); break; } fragmentTransaction.replace(R.id.main_layout, fragment, fragment.toString()); fragmentTransaction.addToBackStack(fragment.toString()); fragmentTransaction.commit(); return true; } }); // Passing each menu ID as a set of Ids because each // menu should be considered as top level destinations. mAppBarConfiguration = new AppBarConfiguration.Builder( R.id.nav_skills, R.id.nav_notes, R.id.nav_preflight, R.id.nav_class) .setDrawerLayout(drawer) .build(); NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration); NavigationUI.setupWithNavController(navigationView, navController); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onSupportNavigateUp() { NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment); return NavigationUI.navigateUp(navController, mAppBarConfiguration) || super.onSupportNavigateUp(); } public void logout(MenuItem item) { FirebaseAuth.getInstance().signOut(); finish(); } } 
    submitted by /u/FRESH__POTS
    [link] [comments]

    Which socket io client to use for Android?

    Posted: 02 Apr 2020 07:52 AM PDT

    I am trying to find a socket io library for Android. I found this https://github.com/socketio/socket.io-client-java but it is very old and not updated for long time and depends on socket.io JS version 1. Can anybody help with which Socket io library are they using for their android apps. If anything in kotlin that would be great

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

    Can't find any good java tutorial

    Posted: 02 Apr 2020 04:34 PM PDT

    Hi, I couldn't really find some good kotlin tutorials that started from scratch. Even the docs don't really help... I was thinking that maybe I could watch good java tutorials and I could follow along by writing kotlin code instead (by doing some research about how to do that stuff in kotlin). I probably think that this could be an interesting idea, and probably effective because I won't just copy what they are doing, but I will have to actually thunk in order to convert their Java code to kotlin.

    What do you guys think?

    (I have no experience in mobile development, but I know C and I studied some low level stuff with it like memory allocation etc...)

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

    Java/Kotlin poll

    Posted: 02 Apr 2020 04:24 PM PDT

    Can't push information to a background task within a fragment

    Posted: 02 Apr 2020 03:13 PM PDT

    Hi guys, currently I'm attempting to use a button which pushes data into a backend server. I have the php setup, however I can't seem to get the correct code within a fragment to connect to my background task which communicates with the php. Here's my current code:

    package com.example.log_inpage;

    import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction;

    import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast;

    public class EditProfile extends Fragment implements View.OnClickListener {

    @Nullable @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_edit_profile, container, false); Button submitprofile = (Button) rootView.findViewById(R.id.SubmitProfile); submitprofile.setOnClickListener(this); return rootView; } @Override public void onClick(View view) { pushData(); Fragment fragment = null; switch (view.getId()) { case R.id.SubmitProfile: fragment = new ProfileFragment(); replaceFragment(fragment); break; } } public void replaceFragment(Fragment someFragment) { FragmentTransaction transaction = getFragmentManager().beginTransaction(); transaction.replace(R.id.frame_container, someFragment); transaction.addToBackStack(null); transaction.commit(); } public void onStart() { super.onStart(); EditText firstNameEdit, lastNameEdit, addressCityEdit, addressStateEdit, bioEdit, dobEdit, phoneEdit; SharedPreferences preferences; TextView profileEmailEdit; firstNameEdit = (EditText) getView().findViewById(R.id.firstnameEdit); lastNameEdit = (EditText) getView().findViewById(R.id.lastnameEdit); addressCityEdit = (EditText) getView().findViewById(R.id.addressCityEdit); addressStateEdit = (EditText) getView().findViewById(R.id.addressStateEdit); bioEdit = (EditText) getView().findViewById(R.id.bioEdit); dobEdit = (EditText) getView().findViewById(R.id.dobEdit); phoneEdit = (EditText) getView().findViewById(R.id.phoneEdit); preferences = this.getActivity().getSharedPreferences("MYPREFS", Context.MODE_PRIVATE); //Assigning the information pulled from the database to variables (separate from XML) String mFirstNameEdit = preferences.getString("firstname", "ERROR getting first name Edit"); String mLastNameEdit = preferences.getString("lastname", "ERROR getting last name Edit"); String mAddressCityEdit = preferences.getString("city", "ERROR getting city Edit"); String mAddressStateEdit = preferences.getString("state", "ERROR getting state Edit"); String mBioEdit = preferences.getString("bio", "ERROR getting bio Edit"); String mDobEdit = preferences.getString("dob", "ERROR getting dob Edit"); String mPhoneEdit = preferences.getString("phone", "ERROR getting phone Edit"); //Sets the XML variables equal to the variables which have the information stored firstNameEdit.setText(mFirstNameEdit); lastNameEdit.setText(mLastNameEdit); addressCityEdit.setText(mAddressCityEdit); addressStateEdit.setText(mAddressStateEdit); bioEdit.setText(mBioEdit); dobEdit.setText(mDobEdit); phoneEdit.setText(mPhoneEdit); Log.d("Edit Profile: ", mFirstNameEdit); } public void pushData() { String task = "submitprofile"; String FirstNameE = firstNameEdit.getText().toString(); String LastNameE = lastNameEdit.getText().toString(); String CityE = addressCityEdit.getText().toString(); String StateE = addressStateEdit.getText().toString(); String bioE = bioEdit.getText().toString(); String dobE = dobEdit.getText().toString(); String phoneE = phoneEdit.getText().toString(); BackgroundTask backgroundTask = new BackgroundTask(AddLocation.this); backgroundTask.execute(task, FirstNameE, LastNameE, CityE, StateE, bioE, dobE, phoneE); Toast.makeText(this, "Profile Has Been Updated", Toast.LENGTH_SHORT).show(); Intent intent = new Intent(this, komodo_startpages.class); startActivity(intent); } 

    }

    I'm assuming I'm using the incorrect in the pushData with the getText(). Any help?

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

    X-post: Developer Preview 2.1 patch now available!

    Posted: 02 Apr 2020 10:34 AM PDT

    Build an Encrypted Messaging App for Android - The Stream Blog

    Posted: 02 Apr 2020 01:49 PM PDT

    Help on Android Studio

    Posted: 02 Apr 2020 01:45 PM PDT

    Hey guys I'm totally new on android devlpmnt so the question may be really simple

    I just can't realize what's going on under the logcat when I connect my cellphone. I mean, I can read and see that it's something about 32 and 64 bits but I have no idea how to solve and if that's even a problem. The code I keep receiving it is:

    2020-04-02 17:44:45.203 32253-32253/? A/linker: CANNOT LINK EXECUTABLE "/system/bin/dpmd": "/system/lib64/libdpmframework.so" is 32-bit instead of 64-bit

    Can anyone help me? Tks

    submitted by /u/1Calai
    [link] [comments]

    Add comments to Android app

    Posted: 02 Apr 2020 09:44 AM PDT

    We need the users to discuss images inside our app. Obviously, a backend and Android UI required. Looks like a common task. However, I was not able to find a library or a service to plug into the app.

    Do you know any?

    How would you add comments to an Android app? Any shortcut ideas appreciated.

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

    How much can an android developer make with freelacing per hour?

    Posted: 02 Apr 2020 09:33 AM PDT

    Hi.I have a friend who started freelancing and he doesn't know how much should he charge per hour.He has some experience because he already published about 7 apps on the market and got 5k or more downloads on each of them.He knows how to build good apps and I whould say he is preatty good.He is also studing CS.So guys,how much do you thing he should ask per hour?And I am curios which is the realistic maximum amount that a android dev can make per hour(one with a lot of experience).

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

    Wich layout type should i use for a form

    Posted: 02 Apr 2020 09:25 AM PDT

    Wich layout type should i use for a form

    Hello,

    i would like to create an activity with the followind UI. For now i focus on the left part. I don't now if i should better use constraint layout, linear layout or another layout type. What are the pros and cons for each layout.

    My idea was to create an horizontal linear layout with two verticals linear layout , one with fields names and one with field values. Thanks for your help.

    https://preview.redd.it/3gvqsmt0lfq41.png?width=905&format=png&auto=webp&s=caf2d9346e5061a239b1cc91f3914bd90320ef02

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

    Test tracks and Review Process

    Posted: 02 Apr 2020 09:14 AM PDT

    When pushing a build through the different testing tracks, internal, closed, and open then releasing to Production... what are the review process like for each stage? My understanding is that after the first release the subsequent updates are faster and even don't get reviewed in certain tracks(internal)?

    Basically how many times does an app get reviewed going through the tracks? Or it only gets reviewed when rolling out to production?

    Thanks!

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

    Recommended tools and architecture?

    Posted: 02 Apr 2020 08:38 AM PDT

    I've developed apps before and have a few published on Google Play but haven't done any development in a while. When I wrote the published apps I didn't follow any architecture or anything and just did everything in Activities and Fragments. I've seen a lot of talk of Kotlin, MVVM, live data, Rx, coroutines, etc and I'm not sure where to start or what to use. What's the recommended way to go when writing a medium sized app?

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

    Advice on app review rejection?

    Posted: 02 Apr 2020 08:36 AM PDT

    I submitted an app 7 days ago. The app is for medical professionals in my country, to give them updates about covid-19 and to allow them to share best-practices.

    The developer account is owned by the national health service and I was invited to that account as a developer to deploy the app for then. The content in the app is created and managed by the health service.

    Google have rejected the app and suspended it as they say it's "insensitive or taking advantage of a natural disaster or event".

    To me this is absolutely ridiculous - it's an app for medical professionals and it's published by a country's official health service.

    I've lodged an appeal obviously, but do any of you have any experience of dealing with this or know if there's any phone number where I can talk to someone? I am in absolute shock that someone at google could possibly have reviewed this app and made this decision.

    Many thanks,

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel