yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] Moonbloom:
Hello :)

I'm currently making an app and i want to spruce up the login screen with a video like Spotify currently has.

It plays a small video in the background, behind the login buttons/logo etc and simply loops the video over and over again.

I've tried to mess around with a VideoView and a MediaPlayer to control it, but i can't seem to get a proper grip on it. And especially not with setting the correct size of the video dependent on different screen sizes or looping the video.

If anyone got an idea/link/knows how Spotify does it, i'd love to get some inputs :)

- Moon
[Java for Android App Development] gh0stslayer:
For the loop part you could try alarm manager. Now I know this is not the ideal solution for your case, but it works well if you want to loop a function

PendingIntent pi;
BroadcastReceiver br;
AlarmManager am;

private void replay() {
br = new BroadcastReceiver() {

@Override

public void onReceive(Context c, Intent i) {

//The method which runs video

}

};

registerReceiver(br, new IntentFilter("com.your.packagename") );

pi = PendingIntent.getBroadcast( this, 0, new Intent("com.your.packagename"),0 );

int video_length =exact length of your video in seconds;

am = (AlarmManager)(this.getSystemService( Context.ALARM_SERVICE ));

am.setRepeating(AlarmManager.RTC, System.currentTimeMillis(), 1000 * video_length, pi);

}

call this replay method at the place where you are calling the method to play the video.

Worth a try, might work :)
[Java for Android App Development] danelab:
Did you tried to use MediaPlayer.OnCompletionListener to restart a video? To be honest I'm not sure, that this way will provide smooth restart.

I can't download Spotify, because it's not available in my country, but maybe Spotify uses something like looped AnimationDrawable?

AnimationDrawable works great with short animations.
[HTC Sensation] biohazzard9:
hi

im on rom vipers5.1.0

everytime my phone shuts down or reboots it gets stuck on htc logo

and i have to flash boot.img from the beginning

how do i flash the boot img permanently again ?

THx :good:
[HTC Sensation] Shree.bhagwat:
Hi try reflashing the rom from 4ext recovery with smartflash enabled
[Samsung Galaxy Young S6310] vlc07:
A Message To Developers ,contributors..

we need your help to get our device future development,if you have knowledge about linux,android devlopment,cm devlopment,building kernels then dont hesitate to join hand for our devlopment....plz share your thoughts....

by

galaxy young s6312 users...
[Samsung Galaxy Young S6310] vlc07:
Custom Roms Section

DEODEXED Rom

LINK:http://xdaforums.com/showpost.php?p=51153212&postcount=92

Inspire Holo version Rom

LINK: http://xdaforums.com/showthread.php?p=51664018:
[Samsung Galaxy Young S6310] vlc07:
Themes section

S5 THEME by elkhshap

Go here:laugh: LINK: http://xdaforums.com/showpost.php?p=51399155&postcount=11
[Samsung Galaxy Young S6310] vlc07:
Kernel Section

Mamutos Kernel for s6310/s6312

here v4.1 LINK:http://xdaforums.com/showpost.php?p=49778562&postcount=308
[Samsung Galaxy Young S6310] vlc07:
Unofficial Cyanogenmod Section
[Samsung Galaxy Young S6310] vlc07:
Rooting cwm odin section

HOW to root & install cwm recovery by androsamace

Fully Ready Package for Rooting & Flashing CWM !!Without Binary Counter!! to Galaxy Young GT-S6312

DOWNLOAD package LINK: http://d-h.st/2K6

Instructions:

1. Unzip Downloaded Package "Root-CWM-6312.zip" & copy to internal memory.

2. Install "Farmaroot.apk" (Thanks to alephzain)

> Open Farmaroot application & Select "Install Superuser"

> Select "Gandalf"

> Done with Success !!!!

> Reboot your phone.. & wait for proper boot up...

3. Install "Busy Box Installer"

> Open & Install Busy Box.

> Done!

4. Install Terminal.apk

> Open Terminal and type following commands:

su
cd /storage/sdcard0
sh cwm.sh

Done Your CWM is ready now.......

Entering in CWM!!

1. Switch off the Phone completely.

2. Press & Hold Volume Up + Home + Power Key.

CWM will appeared!

>Use UP & DOWN key to navigate items & Power key to Selection.

Regards..

Androsamace
[Samsung Galaxy Young S6310] vlc07:
Mods Tweaks

[MOD] Bootanimation enabler for s6310/s6312

http://xdaforums.com/showpost.php?p=51689713&postcount=71

[MOD] Bloatware Remover by r2dak

http://xdaforums.com/showpost.php?p=51713611&postcount=81
[Samsung Galaxy Young S6310] r2dak:
Odin flashable CWM v6.0.3.2 For Galaxy Young Duos

ClockworkMod Recovery v6.0.3.2 Can be flashed using Odin** :D

Download and extrect the 7z package, from the link below

Flash recovery.tar.md5 from the extracted folder using Odin

How to Flash

Download the package and extract it somewhere

Right click on Odin3 v3.09.exe and run it as administrator to start Odin.

Boot your device in download mode, you will need to do this Switch your device off. Press & hold Power + Home + Volume down buttons till you see a triangle and Android robot.Now press the Volume up button to confirm entering the download mode.

Once it is in download mode, connect your device to the computer via USB cable.

When your device is connected, one of Odin ID:COM boxes will turn Blue and display the COM port number.

Important: If you do not see the port number in any of ID:COM boxes or if the box does not turn yellow, please do not proceed and check if the USB drivers are installed correctly and the device is connected via USB. If you do see the message, it means that your device was detected successfully by Odin and you can now flash any firmware files onto your device using Odin.

Click on AP button, then browse and select the recovery.tar.md5 file that you just have extracted from the package

Make sure that you do not mess up with checkboxes:

Auto Reboot and F. Reset Time checkboxes should be selected

All other checkboxes should be unchecked.

After selecting the appropriate file, click on “Start” button in Odin.

This will kick off the process to flash the Recovery. Please do not disconnect your device during the process.

Once flashing is complete, your device will reboot. You can now disconnect from the PC and start using it.

NOTE: DO NOT RENAME THE " recovery.tar.md5" FILE

Download:

DEV-HOST

**For galaxy young GT-S6312/10 only
[Samsung Galaxy Young S6310] elkhshap:
good work bro
[Samsung Galaxy Young S6310] elkhshap:
S5 Theme MOD

S5 theme for Galaxy young Dous 6312

thanks to [MENTION=4631695]ronin790[/MENTION]

Download

systemui transparent thanks to [MENTION=5358181]vlc07[/MENTION]

Link

Galaxy S5 bootanimation thanks to [MENTION=4326349]bjtmosfet[/MENTION]

LINK

S5 shutdown.qmg

http://www.mediafire.com/download/jv6gprz7s9wb2in/shutdown.qmg
[Samsung Galaxy Young S6310] vlc07:
GOOD WORK:good: b bro only missing is transparent statusbar Right

suggestion for you change the name as galaxy s5 theme:o
[Samsung Galaxy Young S6310] vlc07:
[MOD] Statusbar NO SIM ICONS

How to remove the annnoying sim icon on Statusbar with simple mod

EXACTLY this

AFTER MOD THIS IS

HOW TO APPLY

BE sure you on Deodexed ROM

Download attachment

move to sdcard

mount system

then Flash the zip file :D
[Samsung Galaxy Young S6310] elkhshap:
yes bro this is only one and i think Touchwiz 2014 will be the ui of all brands in 2014 not s5 only
[Samsung Galaxy Young S6310] sagnikd96:
Hey, [MENTION=5358181]vlc07[/MENTION] when will you publish your theme?

im excited!!
[Samsung Galaxy Young S6310] vlc07:
HERE IS Screenshot:D i will share SOON
[Samsung Galaxy Young S6310] elkhshap:
nice bro
[Samsung Galaxy Young S6310] metalhead\m/:
what the hell??? 105 mb for a theme???:confused::confused::confused:
[Samsung Galaxy Young S6310] elkhshap:
its with some apk add in system/app so it is big
[Samsung Galaxy Young S6310] sagnikd96:
I have used the facebook styled theme for the s6310 . works great but is probably dual sim incompatible. Any one having plans to port it??
[Samsung Galaxy Young S6310] GeeteshKhatavkar:
www.sammobile.com/firmwares/

Sent from my GT-S6312
[Samsung Galaxy Young S6310] :
hi can any body here help me to change the colour of the clock and the notifications icons to white colour

Press thanks if I helped...Sent from my GALAXY Young DUOS
[Samsung Galaxy Young S6310] GeeteshKhatavkar:
Try Vrtheme system...its pretty easy...
[Samsung Galaxy Young S6310] rajured:
My gt s6312 not charging over 69% (3945mv) ...please help...
[Samsung Galaxy Young S6310] sagnikd96:
Try calibrating the battery. There are apps to do that. Search battery calibration on play store
[Samsung Galaxy Young S6310] rajured:
Already did it ...but no use...today i left it charging whole night with music playing on ..it shows charg to 100% but mv same..i.e 3945mv
[Samsung Galaxy Young S6310] imimo:
helpppp

hi can anyone help a me for getting my phone back.it gets stuck at boot after i mistakenly format my rom from cwm recovery.now i dont know how get through with it.
[Samsung Galaxy Young S6310] razvangrig:
Go to http://www.sammobile.com/firmwares/, make an account and download the firmare for your device. Unzip the firmware in a folder. Download and install samsung Kies because you will need the Samsung USB Drivers for Mobile Phones that Kies installs: http://org.downloadcenter.samsung.c...ath=SW/201406/20140626112848824/KiesSetup.exe

Download and install Odin from here:

https://www.google.ro/url?sa=t&rct=...OPDJboTA_V3D5S9eA&sig2=lyon9cvhfGiX2Sr3uo2-vg

Open Odin on your computer.

Shut down your phone. If you can't shut it down, remove and reinsert battery. Connect it to your computer by USB cable and then enter download mode by pressing Volume down + Home + Power keys. Wait. Press Vol up ley. Download mode should appear on your phone screen. See if Odin detects your com port (the bar on the bottom)

In Odin check PDA then browse for the firmware you downloaded, then press start. Wait for it to finish.

You can also check this page:

http://honai-android.blogspot.ro/2014/01/how-to-update-galaxy-young-duos-s6312.html
[Samsung Galaxy Young S6310] MihaitaRegele:
Hi guys,is there any posibility to install cyanogenmod for our device? :D
[Samsung Galaxy Young S6310] TeePOG:
Google Contacts Sync problem
[Samsung Galaxy Young S6310] r2dak:
Checkout my update for ElegenUI Mod trust me you not going to be disappointed
[Samsung Galaxy Young S6310] vishalv8428:
need clarity

I have tried to flash CWM recovery with odin after rooting my phone in stock rom but CWM recovery has not worked for me what should i do?

---------- Post added at 09:15 AM ---------- Previous post was at 09:05 AM ----------

Not working...
[Samsung Galaxy Young S6310] lil.masoud:
Tnx a lot bro,,,:thumbup:
[Samsung Galaxy Young S6310] nodi94:
Gt-s6312

Dear Friends

I've tooted my phone (Samsung Galaxy GT-S6312). But I'm unable to move installed apps on SD Card through many app moving software. Finally I tried by Link2SD plus software but it shows

Symbolic Link- Second partition not found

/dev/block/: device not fount

Failure

App2SD is not supported bu your device. Because your device has a primary external storage. You can link the app in order to move its files to your SD card.

So please help and advice me how can I move my apps on SD card.
[Samsung Galaxy Young S6310] Akshay Deokar:
Moving apps to sd card does not support to our device... :mad:

It do not have second partition

So firstly we neet to make partition in our memory card (external sdcard).

*Requirements

1) phone must be rooted.

2)external2intrrnal app

3)folder mount app

4)link2sd

5)mini tool software in ur pc

-plug ur memory card using card reader to ur pc

-open mini tool software

-select mini tool partition wizard

-u will see ur card as disk 2

-delete it

-now create new partition

-name it as My data

-select option create as PRIMARY

-select option file system FAT32

-then make the partition such that it should be 75:25

-hit ok

-now select second partition

-select option create as PRIMARY

-select option file system ext2

-click on apply

-let the process ends itself :banghead:

-after it complete put it in ur phone

-open link2sd app

-it will ask to select second partition select ext2

-then go to setings of link2sd check the auto link

-select apps u want to move

-select menu

-select create link

-let the process finish

-and its finish :D
[Samsung Galaxy Young S6310] abbyhacko:
I had a rooted phone . My download manager not working it shows processing downloading but not downloded anything plz help
[Samsung Galaxy Young S6310] HuNnEy:
please tell me the procedure how to to activate this :confused:
[Samsung Galaxy Young S6310] xlen:
I am going to make(next year) CM13 for S6312, so I would like to know who can help and with what, as i don't have yet experience of porting CM I will appreciate any help.
[Samsung Galaxy Young S6310] infinity.plus:
How much time now??
[Samsung Galaxy Young S6310] xlen:
If you would had seen that I was in ROYss team, then you would know that we abandoned this phone because of 2 reasons 1) too much work necessary for fixing bugs and 2) all of us has new phones
[Samsung Galaxy Young S6310] infinity.plus:
So now this thread will be no longer updated? If so where else can I find this stuff
[Samsung Galaxy Young S6310] xlen:
Well as simple as that, if nobody updates this device, then it is abandoned, although les told he is working on something that will run on ROYss I have no idea if he is going to support it as he destroyed his a while back
[Samsung Galaxy Young S6310] Abdullrahman_Dawaliby:
The link isn't working please upload or reply a working link because I need it so much

Thanks in advance🙂
[Samsung Galaxy Young S6310] elkhshap:
For me i don't like it but the makeing of it need modifying some xml files and i have some problems with this
[Samsung Galaxy Young S6310] sagnikd96:
Anyways,

Good luck :good:

I think it needs to be done because if it can be done on one theme , it can be done to all others also
[Samsung Galaxy Young S6310] metalhead\m/:
the only problem with those themes(i tried all of them) is that sim card manager isn't there in settings and phone has only one option(our young duos has 2)
[Samsung Galaxy Young S6310] r2dak:
[MENTION=2269659]elkhshap[/MENTION] bro you are getting famous saw your theme on a Facebook group for sgy, and people are going crazy for download link
[Samsung Galaxy Young S6310] bullonwheels:
New Custom ROM for S6312

Hi, my custom ROM of S6312 is now live on xda. Here is the link: http://xdaforums.com/showthread.php?p=51520354

Do try it and give feedback. :)
[Samsung Galaxy Young S6310] vinay7:
nice work bro

Very nice screen shots

when will it be completed.

please tell the expect time
[Samsung Galaxy Young S6310] vlc07:
Sorry for late guyz:( im little busy with my exams.... the remaining part is dialer & contacts only i will post within two days;)
[Samsung Galaxy Young S6310] elkhshap:
where the group bro
[Samsung Galaxy Young S6310] vlc07:
MY apktool is now fixed i.e problem with my java jdk

[MENTION=2269659]elkhshap[/MENTION] here is the TRANSPARENT statusbar for your THEME:D
[Samsung Galaxy Young S6310] elkhshap:
relly thanks and if you have to make more editing for xml file we must be good bro
[Samsung Galaxy Young S6310] r2dak:
can you share the apktool you are using my JDK is updated to latest but still getting Errors while recompiling files
[Samsung Galaxy Young S6310] metalhead\m/:
look in the first few posts, there is a tutorial to apktool

i followed it, and it gives no errors
[Samsung Galaxy Young S6310] r2dak:
No not that error bro whenever i edit Smali files the recompilation of apk get failed
[Samsung Galaxy Young S6310] elkhshap:
new update of systemui

resize battery icon and add 4.4.2 icons

http://www.mediafire.com/download/2de0886egam3l28/SystemUI.apk
[Samsung Galaxy Young S6310] vlc07:
you can use my apktool attached in my guide btw that error occurs when recompiling with any version of apktool because that error with samsung firmware(bad programming) itself to overcome that problems read my tutorial carefully how to fix that errors....or post your errors
[Samsung Galaxy Young S6310] ashishranjan738:
guyzzz plzz upload the latest stock deodexed rom DAML1,,,without anything modded and rooted
[Samsung Galaxy Young S6310] vinay7:
help

how to install ur systemui.apk file

i have tried as normal installation, but it says installation failed

please suggest
[Samsung Galaxy Young S6310] NiceIceDice96:
Oh common use :-[ any root explorer and navigate to system/app and paste it there then change permession to rw-r-r
[Samsung Galaxy Young S6310] elkhshap:
Xperia Rom

hay all bros

can any one help me to get xperia theme ruining in galaxy cuz i make an xperia rom but finished 95% of it until now
[Samsung Galaxy Young S6310] coolpranjal:
Hey can anyone tell me is it safe to delete the securityprovider.apk from system/ app.

I want to do it because it is eating lots of RAM..
[Samsung Galaxy Young S6310] vlc07:
no its not safe may be i.e related with contacts but you can make backup of your rom then try;)

btw why you want delete that young has 768mb ram mine free is always 300+:laugh:
[Samsung Galaxy Young S6310] coolpranjal:
Mine is hardly 260+
[Samsung Galaxy Young S6310] vlc07:
thats enough for gaming,multitasking etc or remove the samsung bloatwares they really eat up Ram

after removing bloatwares see the screenshot
[Samsung Galaxy Young S6310] NiceIceDice96:
Can you tell the guys What is the Blotwares you had removed to be like this?
[Samsung Galaxy Young S6310] vinay7:
cool

very nice bro

when will it be released

and can u cyanogenmod theme like above ones
[Samsung Galaxy Young S6310] r2dak:
What you need brother
[Samsung Galaxy Young S6310] elkhshap:
i need to get xperia themes work with xperia launcher and get white colore for font in setting cuz i will make it like zperia z1
[Samsung Galaxy Young S6310] coolpranjal:
Can you tell me which are safe to remove???????:confused::p:D
[Samsung Galaxy Young S6310] NiceIceDice96:
Please general question can we use 4.2 aosp systemui.apk foe another aosp 4.2
[Samsung Galaxy Young S6310] r2dak:
You need white color In launcher settings or system settings
[Samsung Galaxy Young S6310] vlc07:
[ROM] Inspire Holo Version for S6312

HEY GUYZ CHECK OUT MY INSPIRE HOLO VERSION CUSTOM ROM FOR S6312:laugh:

LINK:http://xdaforums.com/showthread.php?p=51664018
[Samsung Galaxy Young S6310] coolpranjal:
What an awesome ROM I'm right now going to download and install it..
[Samsung Galaxy Young S6310] vlc07:
Thanks for posting Sir gonna try now adding to main page :good:

EDIT: [MENTION=5243661]dugeriss[/MENTION] sir now it is overlapping date & Time
[Samsung Galaxy Young S6310] vinay7:
help

can u share that lidroid apk or zip file that can be flashed with cmw
[Samsung Galaxy Young S6310] NiceIceDice96:
Benchmark Stock 4.1.2 Non Rooted

I think it ia not bad on stock so with root and overlock and remove blobloware will gonna be higwh high
[Samsung Galaxy Young S6310] vlc07:
why it is low score bro mine gets easily 4,400 at stock rom without root on pure stock rom

[MENTION=5487517]vinay7[/MENTION] i will upload lidroid after it get fixed (see screenshot above see @ #54^^^^)
[Samsung Galaxy Young S6310] NiceIceDice96:
So why this even disabled all apps to get good bench why this weird:confused::banghead:
[Samsung Galaxy Young S6310] vinay7:
help

how to flash this

can u provide steps do it

should the mobile in download mode

please elaborate
[Samsung Galaxy Young S6310] r2dak:
Download the package and extract it somewhere

Right click on Odin3 v3.09.exe and run it as administrator to start Odin.

Boot your device in download mode, you will need to do this Switch your device off. Press & hold Power + Home + Volume down buttons till you see a triangle and Android robot.Now press the Volume up button to confirm entering the download mode.

Once it is in download mode, connect your device to the computer via USB cable.

When your device is connected, one of Odin ID:COM boxes will turn Blue and display the COM port number.

Important: If you do not see the port number in any of ID:COM boxes or if the box does not turn yellow, please do not proceed and check if the USB drivers are installed correctly and the device is connected via USB. If you do see the message, it means that your device was detected successfully by Odin and you can now flash any firmware files onto your device using Odin.

Click on AP button, then browse and select the recovery.tar.md5 file that you just have extracted from the package

Make sure that you do not mess up with checkboxes:

Auto Reboot and F. Reset Time checkboxes should be selected

All other checkboxes should be unchecked.

After selecting the appropriate file, click on “Start” button in Odin.

This will kick off the process to flash the Recovery. Please do not disconnect your device during the process.

Once flashing is complete, your device will reboot. You can now disconnect from the PC and start using it.
[Samsung Galaxy Young S6310] dugeriss:
restore ur tw_status_bar_expanded_dual.xml

paste line

<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />

wherever u want, n get the result

#sorry bad englsh
[Samsung Galaxy Young S6310] r2dak:
How to fix this error
[Samsung Galaxy Young S6310] vlc07:
i cant see the full log only half scroll up & capture or copy that whole content & paste here..
[Samsung Galaxy Young S6310] coolpranjal:
can anyone try to port the emotion v6 ROM by paul vity for s6310 to our device with dual sim support.
[Samsung Galaxy Young S6310] elkhshap:
system settings bro
[Samsung Galaxy Young S6310] vlc07:
No way cant port that because xml files & other stuffs are different in the s6310 but you can use that Rom with single sim only
[Samsung Galaxy Young S6310] r2dak:
Fixed it bro it was bad coding from my side :rolleyes:

---------- Post added at 03:21 PM ---------- Previous post was at 03:12 PM ----------

but the system settings are already in white color bro
[Samsung Galaxy Young S6310] NiceIceDice96:
Deleted
[Samsung Galaxy Young S6310] sagnikd96:
People,mammoth kernel v5. 0 is ready.
[Samsung Galaxy Young S6310] elkhshap:
sorry bro i need it in black
[Samsung Galaxy Young S6310] NiceIceDice96:
Hey elkhasahap leave it for me give me the apk I will try hard إن شاء الله
[Samsung Galaxy Young S6310] elkhshap:
if you have any files of 6312 you can do it in secsettings.apk
[Samsung Galaxy Young S6310] NiceIceDice96:
Okay
[Samsung Galaxy Young S6310] vlc07:
i can little help in your theme but the problem is i never used xperia devices i dont know how is their UI :D
[Samsung Galaxy Young S6310] elkhshap:
this is the look of it
[Samsung Galaxy Young S6310] NiceIceDice96:
But the font is already in black right si what do you want
[Samsung Galaxy Young S6310] elkhshap:
this is not our device i attach it to know what the final i need to get bro