Vote count: 0 I want how to exactly use Video codec on android. recently I modify webRTC. this origin source ,perfectly work in my phone. but my tablet not showing video screen. I think VIDEO CODEC problem. of course, another problem. in other word. I want my webRTC source perfectly work my tablet thanks recently I use this private static final String VIDEO_CODEC_VP9 = "VP9"; //global variable private static final String AUDIO_CODEC_OPUS = "opus"; //global variable private GLSurfaceView vsv; //g...
ادامه مطلبVote count: 0 When I use this code: String numberToSendFor = "21987654321"; SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(numberToSendFor, null, "Test Message", null, null); The SMS Message is sent normally (and goes to sent messages list in my phone). But, when I use this: String numberToSendFor = "21987654321"; String messageToSend = "Test Message"; // put the message in a variable SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(numberToSendFor, null, messageToSen...
ادامه مطلبVote count: 0 i am making a WEB Java application. I would like to insert a button which can instantly send an SMS without the user's assent skipping the "Send SMS GUI" (the user will use the mobile browser to access the service). Pseudocode Example : If(condition) { sendSMSWithNoAssent(); } asked 26 secs agolbat Let's block ads!...
ادامه مطلبVote count: 0 I am trying to use default camera with Intent for both image and video capture. when i tu to front camera and capture the image or video preview (captured image or video ) is inverted . So now i want to put preScale in frontCamera. But didnt know where to find Camera ID in default Camera.!! Note : this is not Custom Camera.!! Help! asked 17 secs agoHarsh Bhavsar Let's block ads!...
ادامه مطلبVote count: 0 Im looking for word cloud /word salad, free library for android apps.I've found libraries in Github for IOS and Web but not for android. Is someone encountered in libraries like this? For example: asked 30 secs agomotis10 Let's block ads!...
ادامه مطلبVote count: 0 Following is my xml code. In my linear layout. I have two child Views, which are aligned using weight sum. I have an Image-view whose Width is aligned properly due to weight sum, but the problem is with its height. I want it's Height to be same dimensions as of its width. How can I do it without using static dp values. asked 1 min...
ادامه مطلبVote count: 0 I know that there is a REQUEST_SCAN_ALWAYS_AVAILABLE mode in android 4.3+ which let the device scan wifi even when the wifi is off. I want to know the result each time the scan performed and check to see if a specific wifi is available and if so do something. Is there any api for that? or the only way for doing this is scan wifi repeatedly and check the result? The main constraint is battery usage. Thanks. asked 48 secs agogate sumson Let's block ads!...
ادامه مطلبVote count: -2 i am wanted to make my app a default phone dialed and I want to handle outgoing and incoming phone calls track call time reject or accept phone calls i know I have to import android.telecom but where or how do i get that package asked 1 min agoDan Spelt Let's block ads!...
ادامه مطلبVote count: 0 I'm trying to re-compile android app from sources using Eclipse STS. I added the sources to plain new project. I ended up with missing dependencies for classes from android.* package. To solve this, I decided to locate android SDK on my disk drive and use the Project properties -> Java Build Path -> Source -> Link source. There I selected path to the android SDK. But this would produce lots of build errors for missing types, such as The import android.databinding.testapp.databindin...
ادامه مطلبVote count: 0 I wont start service at specific time everyday and also start when the device boot complete. For example.. at 13.00 Pm everyday the service started and show a Toast ("Service started"). not only that, but the service has to start also at boot complete but if you are not the 13.00 pm should not show the toast but must started Sorry for my english =) asked 23 secs agoEdoardo Goffredo Let's block ads!...
ادامه مطلبVote count: 0 I run my android emulator but i have the following issues I downloaded the API 19 for the Kitkat android 4.4. Apparently it has to do with libaries but I dont kow how to fix them, nothing is found on google. asked 1 min agoLéo Let's block ads!...
ادامه مطلبVote count: 0 Is there any new UI builder for Android? With Material Design components ready to drag and drop? Something better than the layout editor in Adroid Studio? asked 19 secs agoDov Let's block ads!...
ادامه مطلبVote count: 0 I've come to Android from web programming, and in the web, we've got a number of libraries for tracking application state and observing changes: Backbone models and collections Knockout.js Flux/Redux RxJS How do apps track and observe global state in Android? Obviously RxJS has an analog in RxJava, and I've seen some Redux ports, but are those common? If not, what is typical? asked 45 secs agoaaronstacy Let's block ads!...
ادامه مطلبVote count: 0 i have a problem with parsing of complicated (for me) xml. I have this xml: 0 .... .... I used Xml pull parser to parse this and i would create object likt this xml. This is the code that i created to read xml: .... public static class Output { public static String errorCode; public static List contents; public static class PDescription { public static List pDescription; public static class AYears { public static List aYears; public static class Attributes { public static Map attri...
ادامه مطلبVote count: 0 I'm coecting 2 devices via bluetooth and when I press the logout button on one device I want to send a message to the other device (telling the other to also logout), close the bluetooth coection, and close the current activity (i.e. go back to my login activity) The problem is I keep getting this exception which makes me think I'm not closing my coections properly: java.io.IOException: bt socket closed, read retu: -1 at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:5...
ادامه مطلبVote count: 0 I am making an Android app which uses OpenCV and Tessract for ImageProcessing. I installed all the nescessary components for both of them. But I stuck at one Point.I am getting Runtime error : Caused by: java.lang.NoClassDefFoundError: org.opencv.core.Mat but this class is Present in my app. How to solve this issue??? asked 55 secs agoprakshi Let's block ads!...
ادامه مطلبVote count: 0 I am trying to add data to a text file in android using the code below but it only overwrites the data with one line of data. private void copyImageToMemory(File outFile , Float number) { try { BufferedOutputStream fos = new BufferedOutputStream( new FileOutputStream(outFile)); PrintWriter pw = new PrintWriter(new BufferedWriter( new OutputStreamWriter(fos))); pw.append("result"+number); pw.close(); maxSpeed=0; } catch (FileNotFoundException e) { Log.e(TAGFile, "FileNotFoundExcepti...
ادامه مطلبVote count: 0 I am currently using android volley and trying to select the product detail by sending the productID to get the detail data of the product. JSONObject params = new JSONObject(); try { params.put("ProductID", intent.getStringExtra("productID")); } catch (JSONException e) { e.printStackTrace(); } JsonObjectRequest detailReq = new JsonObjectRequest(Request.Method.POST, url, params, new Response.Listener() { @Override public void onResponse(JSONObject response) { txtNama.setText(intent...
ادامه مطلبVote count: 0 From yesterday onwards, my Samsung S4 is not showing anymore in my PC. Infact, all android devices are not showing. Below is what I get when I coect my S4. I installed Samsung drivers also from Samsung website but still its same. Did anyone face such kind of issue? Any help would be appreciated. asked 26 secs agoFahim Parkar Let's block ads!...
ادامه مطلبVote count: 0 I have a Android Project with an unique Package name. It is also available in Google Play Store. But now I need a huge change over the App. So what do I do to avoid collision in Play store. Also in my local machine do I need to change the Package name because I am using GCM for push notification as well. Any solution for this or I have to use the old code and change all things . asked 2 mins agoSandhya Garg Let's block ads!...
ادامه مطلب