back soft

مطالب مرتبط با «android ruingtaskinfo» در back soft | نویسنده: استخدام کار

android in-app purchase cordova phonegap

Vote count: 0 i want to implement in-app purchase in cordova phonegap , i have already tried all the ways but not get perfect result and the best way to implement it.i have also tried these below plugins https://github.com/poiuytrez/AndroidInAppBilling https://github.com/j3k0/cordova-plugin-purchase https://github.com/Fovea/cordova-plugin-purchase-demo https://github.com/AlexDisler/cordova-plugin-inapppurchase i have also product Id and bundle ids. but after get device ready when i call IAP.init...

ادامه مطلب

Can I turn off try/catch detector in AndroidStudio?

Vote count: 0 I've come to realize that AndroidStudio forces you to use the try/catch routine but there might be times I don't wish to use it. Even if it's just a temporary one. Is there a way to shut this off in the IDE? asked 22 secs agoDaniel K Let's block ads!...

ادامه مطلب

Android Custom Keyboard Change Background color key pressed

Vote count: 0 I ve got a problem and could not find a solution till yet! I ve implemented a custom keyboard with several keys. Each key got a background image. I would like to change the background color of the pressed key itself as shown in the original keyboard below: I dont want to have a preview, I would like to change the background color of the key itself, when the key gets pressed. Here are my files: keyboard.xml keybackground.xml The background color will be changed to my drawable, but w...

ادامه مطلب

I want to know some courses to begin studying backend for android

بخوانید I am new to backend development with android . I would like to know what are the best courses to start with and what is the best database to use. ?...

ادامه مطلب

Android MediaMetadataRetriever.METADATA_KEY_DATE gives only date of video on galaxy S7

Vote count: 0 I am writing a code to get video creation date and time from metadata, i am using following code to get creation date MediaMetadataRetriever retriever = new MediaMetadataRetriever(); retriever.setDataSource(path_to_video); String date = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE); it works perfect on all devices except Samsung Galaxy S7, it retus only date in "YYYY MM DD" format, no time stamp i need both date and timestamp. any help in this regard is much a...

ادامه مطلب

Android Multi Module Project With TestCoverageEnabled Throws Data Binding Errors

Vote count: 0 I have a multi module project which is structured something like this. Root |- Main Module (Application, Data binding enabled) |- Core Module (Library, Data binding enabled) Main module depends on the Core module. Core module contains all the android tests. When I run the androidTests of just core module with testCoverageEnabled it throws some weird data binding error. All these error are for custom bindings. :core:compileDeltaDebugAndroidTestJavaWithJavac FAILED FAILURE: Build fai...

ادامه مطلب

Handling round screen on regular Android

Vote count: 0 I have a smartwatch with round screen that is ruing regular Android 5.1 (not Android Wear). My layout is getting cut off on the sides and would like to adjust it so everything fits on the screen or make a separate layout. Is there a way to achieve this on regular Android? I've been reading up, but all the solutions require Android Wear APIs. asked 10 secs agofanboy555 Let's block ads!...

ادامه مطلب

Turn off camera driver in Android programmatically?

Vote count: 0 How can I tu off camera driver in Android programmatically? According to this website, and this image, there's a camera driver inside the linux keel. Is there a way to disable it temporarily? asked 16 secs agoGafer Let's block ads!...

ادامه مطلب

How to parse complex(Nested) JSON using Android Volley

Vote count: 0 I am a novice android developer and trying to lea JSON parsing for the last couple of days. I am able to parse simple JSON objects but when it comes to complex JSONs, I have no Idea how to go about it. I need to parse these two JSONs. Any help would be deeply appreciated. enter image description here enter image description here And I am only conceed about displaying the name. asked 11 secs agoshady Let's block ads!...

ادامه مطلب

Android SDK build tools 25.1.7 - google play services lib issue

Vote count: 0 after updated Android SDK build tools to 25.1.7, getting error. Please find the screen shot for more details. asked 21 secs agoRavikumar11 Let's block ads!...

ادامه مطلب

Are there best practices in Android Activities Service data serialization?

Vote count: 0 I have an Android App and an Android Service -- two separate APKs, managed and released independently. All that needs to be agreed is data interchange format, aka "local API". Currently, there is quite a lot of packing/repacking going on which costs development time. The Service also communicates with the backend web services using JSON/REST. So whatever the client passes, is often repackaged to JSON when leaving out and vise-versa. I'm trying to see if things can be simplified and...

ادامه مطلب

Android - Database Schema - unable to getContext and access schema

Vote count: 0 I'm following Android developers tutorial to set up a database but i'm having an issue . https://developer.android.com/training/basics/data-storage/databases.html This is my schema file : public final class ContactsDBSchema { public ContactsDBSchema(){}; public static abstract class ContactsEntry implements BaseColumns { public static final String TABLE_NAME = "contacts"; public static final String COLUMN_CONTACT__ID = "contact_id"; public static final String COLUMN_CONTACT__NAME =...

ادامه مطلب

onCreateDialog depreciated in Android licensing lvl

Vote count: 0 To correct the following by removing the deprecated code, would you use a dialogue fragment? Or is there is different/cleaner way to update this? I am fairly new and after much reading, I am wondering if I am over-complicating this? protected Dialog onCreateDialog(int id) { final boolean bRetry = id == 1; retu new AlertDialog.Builder(this) .setTitle(R.string.unlicensed_dialog_title) .setMessage(bRetry ? R.string.unlicensed_dialog_retry_body : R.string.unlicensed_dialog_body) .setPo...

ادامه مطلب

how to load Area Description File to Android Studio and retrieve the data from ADF to use in indoor navigation app?

Vote count: 0 I'm a newbie in Augmented Reality trying to create an indoor navigation application with Tango Project and Rajawali Engine. I'm struggling in this point as follows: - Adding a ADF file to Android Studio - Loading the ADF file within Android Studio, extracting the data from ADF file and draw to the Camera surface like this: This is an example Thank you for your help. I hope to receive an answer in details. asked 43 secs agoNam Doan Let's block ads!...

ادامه مطلب

Android fused location provider stop updating in sleep mode

Vote count: 0 Im using fused location provider in my background service, to get the result i tried using onLocationChanged and also tried using pending intent's broadcast receiver. When im using "PRIORITY_BALANCE_ACCURACY" everything is okay, and location is updating as expected, but when im using "PRIORITY_HIGH_ACCURACY" location just stop updating.... i even tried alarmreceiver but the result is still the same, everytime im using "PRIORITY_HIGH_ACCURACY" location wont updating when in sleep mo...

ادامه مطلب

android studio cant work with new sdk

Vote count: 0 i have android studio v1.2 with SDK API 15,18,23.i can make project with API15 but when i want to make a project with API 18 or 23 then i face with an error. i did: rebuild project sync gradle reopen android studio download latest sdk tools,api,... and error is: Error:A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not resolve com.android.support:appcompat-v7:23.+. Required by: MyApplication:app:unspeci...

ادامه مطلب

Android ViewPager Fragments Won't display

Vote count: 0 I am trying to add tablayout/viewpager in the middle of my page below a carouselview I have added. However, the tabs show up but I can't display the actual fragments. content_main.xml File Fragment_main.xml MainActivity.java public class MainActivity extends AppCompatActivity implements NavigationView.OavigationItemSelectedListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.l...

ادامه مطلب

Android SVG with Gradient on API +17

Vote count: 0 I decide to create my own splash screen for my android applications, i want to draw path and fill my brand logo as a SVG with Animation, so i searched about android SVG libraries and then find this : https://github.com/jaredrummler/AnimatedSvgView this library has a good performance on solid colors: Screen shot from emulator Question: My logo has gradient patte and this library and other libraries i've searched before doesn't support gradient. i created a xml gradient into drawable...

ادامه مطلب

When shut down android app

Vote count: 0 How can i get when kil processing app . For Example When One customer going to kill my app . i want to lea this state so when app killing. onDestroy method doesn't working. I need alteative for it. public class LoginActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); } @Override protected void onDestroy() { super.onDestroy(); Log.e("Activity","destroy"); } } ...

ادامه مطلب

Android Studio Button not Responding (OnClick)

Vote count: 0 I have tried various tutorials and no matter what , the button just never responds. Here is the Code: public class MainActivity extends Activity { Button handbtn; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.activity_main); handbtn = (Button) findViewById(R.id.btnHandSigns); handbtn.setOnClickListener(new View.OnClickListener() { @Override public void on...

ادامه مطلب