Sunday, June 30, 2013

[General] VLC Player and Audio Problems


VLC Player and Audio Problems



Hi All,

I'm running the latest VLC Player from the Google play store. Nexus 10, 4.2.2, stock.

Anytime I watch a .mkv using VLC I get a "clipping" sound. It is absent when I use BS Player; however, I prefer to use VLC. Is there any solution or codec I need to install?

Thanks all.



.

forum.xda-developers.com



[General] Go locker fourkey theme - how to change icons?


Go locker fourkey theme - how to change icons?



I am using Go Launcher Ex and Go Locker. My lock screen theme is Fourkey. The four default choices are home screen, SMS, Phone, and Camera. I read somewhere that you can customize these icons? Is that possible? If so, how do I do that? I want to replace the Camera icon with my AquaMail icon.

Thanks.



.

forum.xda-developers.com



[General] New music isn't showing in Library? Galaxy S4 issue


New music isn't showing in Library? Galaxy S4 issue



I have had the Droid 1 and 3 by Motorola, and when I used to add music it was simple, i'd throw it into USB mode, drag & drop music, open music player...it'd see the new tracks, and boom good to go. This is the first time I have tried to update to my GS 4 and all I get is "Connecting to Samsung account services" over and over...why the hell do they make easy things harder with better devices, I don't care about my stuff on the cloud or backed up anywhere, I want to access music off an sd card, plain and simple, it will play my previous stuff that was on the card, how do I get this damn thing to see my new music?

Sorry - frustrated



.

forum.xda-developers.com



[General] Huawei Smartphones to Experience Emotion UI


Huawei Smartphones to Experience Emotion UI



It may be the world's
Most emotional system

"Emotion UI is a Huawei developed, Android based man-machine interaction system for smart terminals. With Emotion UI, everything is easy to find, easy to enjoy, and easy to share. You can enjoy the vivid display and have fun customizing your phone. Customizable Home screens, applications, and easy switching between themes. "

> Uni Home
> Profile Switcher
> Smart Tutorial
> Customizable UI
Many More Features with Emotion UI.

The Popular Smartphones like Ascend P1, Honor u8860, Honor 2 upcoming Ascend P6 are now experiencing the advanced EMUI Features and Updates.



.

forum.xda-developers.com



[General] Too much ram being used? Help


Too much ram being used? Help



This isn't a problem the way most people intuitively think about it. For efficiency, you actually want to be using a steady stream of most of your RAM when it's needed, rather than spiking up and down, etc. This efficiency helps lead to a smoother transition between actions than would be observed with a start/stop fluctuation pattern. In general, unless you have a rogue app that is out of control, you don't want to arbitrarily start killing apps. Android will handle this in the background for you on an as needed basis.



.

forum.xda-developers.com



[General] help me. how to. check which folder is created by which app


help me. how to. check which folder is created by which app


Copyright 2013 Mobile Nations ● Terms and ConditionsPrivacy Policy

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. AndroidCentral is an independent site that is not affiliated with or endorsed by Google.



.

forum.xda-developers.com



[android help] Sorting items from an array of arrays


Sorting items from an array of arrays



I have a multidimensional array of dates, strictly an ArrayList>. I need to generate a new single-dimensional ArrayList made up of the items in all the arrays of the previously mentioned multidimensional one.


My first thought was to join all the arraylists together and sort them, but since I don't know the number of elements in each level, and only need a certain number of elements in the generated array, that would be a bit too much memory-and-processor-heavy. I mean, if I join all the Date elements in one ArrayList, I might end up with an arraylist of thousands of dates... to just eventually trim it to the first 20. That's why I dropped that solution.


So, which algorithm could I use to sort elements from N (or 2) levels into 1?



.

stackoverflow.comm



[android help] Open Image from Gallery Only in Potrait mode


Open Image from Gallery Only in Potrait mode



if you having an issue with the image rotation well i advice you to use this method as its the simplest and most efficient way.



String[] orientationColumn = { MediaStore.Images.Media.ORIENTATION };
@SuppressWarnings("deprecation")
Cursor cur = managedQuery(imageFileUri, orientationColumn, null,
null, null);
int orientation = -1;
if (cur != null && cur.moveToFirst()) {
orientation = cur.getInt(cur
.getColumnIndex(orientationColumn[0]));
}
Matrix matrix = new Matrix();
matrix.postRotate(orientation);
bmp = Bitmap.createBitmap(bmp, 0, 0, bmp.getWidth(),
bmp.getHeight(), matrix, true);
view.setImageBitmap(bmp);


hope this is what you are looking for :)



.

stackoverflow.comm



[android help] Create a new costumer component for android


Create a new costumer component for android


Create a new costumer component for android - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















Create calendar with customer view with displaying additional icons in the date field. I must also provide a calendar change themes and the ability to change the day, with kotorogto start the week (Monday / Wednesday). Please advise how to do it. Sorry for my English.



















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






.

stackoverflow.comm



[android help] how to set current time running continuesly with hours ,minutes ,seconds to textview in android?


how to set current time running continuesly with hours ,minutes ,seconds to textview in android?


how to set the current time running continuously with hours ,minutes ,seconds to textview in android? - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















Actually by the time my Activity starts i should display current time in hours ,minutes,seconds(HH:mm:ss) in 24 hours format, and this time should run continuously as seconds need to change continuously gradually minutes and hours also. I kept a stop button in activity. once stop is clicked the time should stop and that stopped time need to be saved in a string .





























Try like this.. onClick of STOP Button



String currentTimeString = new SimpleDateFormat("HH:mm:ss").format(new Date());


Use this string in Toast or TextView or whatever depending on your requirement


To get Watch like display refer here























Try this code..



Date date =new Date();
DateFormat format = SimpleDateFormat.getTimeInstance
( SimpleDateFormat.MEDIUM, Locale.getDefault());

// set the text of component TextView with id 'message'
textView.setTextViewText(R.id.widget_textview,"Current Time "+ format.format(date));



















default






.

stackoverflow.comm



[android help] How do I import android licensing into eclipse?


How do I import android licensing into eclipse?



I found a question about it:


After this I found out that the package called "Google Play Licensing Library" and not "Google Market..". I saw that its already installed.


I also find a guide that should explain how to add lvl like library project: http://developer.android.com/google/play/licensing/setting-up.html#download-lvl


But I could do it. I tried to look for the files in the extra directory also with no luck...


What should I do?



.

stackoverflow.comm



[android help] MediaPlayer(16454): Unable to to create media player


MediaPlayer(16454): Unable to to create media player


android - MediaPlayer(16454): Unable to to create media player - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I got this error:



06-28 09:32:24.266: E/MediaPlayer(16454): Unable to to create media player
06-28 09:32:24.338: W/VideoView(16454): Unable to open content: /data/data/com.laroche/cache/intro.mp4
06-28 09:32:24.338: W/VideoView(16454): java.io.IOException: setDataSourceFD failed.: status=0x80000000
06-28 09:32:24.338: W/VideoView(16454): at android.media.MediaPlayer.setDataSource(Native Method)
06-28 09:32:24.338: W/VideoView(16454): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:976)
06-28 09:32:24.338: W/VideoView(16454): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:955)
06-28 09:32:24.338: W/VideoView(16454): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:918)
06-28 09:32:24.338: W/VideoView(16454): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:870)
06-28 09:32:24.338: W/VideoView(16454): at android.widget.VideoView.openVideo(VideoView.java:236)
06-28 09:32:24.338: W/VideoView(16454): at android.widget.VideoView.access$2000(VideoView.java:52)
06-28 09:32:24.338: W/VideoView(16454): at android.widget.VideoView$6.surfaceCreated(VideoView.java:490)


when using the following code :



String cacheDir = getApplicationContext().getCacheDir().getAbsolutePath();
Log.d("video path",cacheDir+"/intro.mp4");
vvIntro.setVideoPath(cacheDir+"/intro.mp4");
vvIntro.start();


I want to play a video stored in cache folder


























First check your file permission. And try without the .mp4 extension if there is no other file on the same name otherwise try with a .3gp file similarly without extension.























Maybe MediaPlayer requires MODE_WORLD_READABLE for your Intro file. Try to save it in none PRIVE mode.


Or you forgot to add permission for READING internal storage.























default






.

stackoverflow.comm



Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...