yashsingh1/xdaforums huggingface dataset:
[Android Studio] frank-floripa:
Being new to Java, Android OS and Android Studio, I am a bit overwhelmed by all the information and hope I am asking the right questions on the right forum. I am developing an application where the user creates and edits files of a specific format. I want to include example files in my deployment so that the user can play with them right away. Now my questions are:

How do I include those files with Android Studio?

How do I define/create a directory for these files?

What would be standard locations for this directory which allow the user to access the files with a file manager?
[Android Studio] matthew_h_wagner:
I've not yet made the transition to Android Studio, but in Eclipse there's a folder called /assets in the project structure. That folder gets built into the root of the APK. You can then access files in the /assets folder with the AssetManager.

Android puts tight controls on your access to devices resources. Each application has a default location for files that it can manage. You can retrieve the default working directory through the app Context. Check out Context.getFilesDir(). The application has the necessary privileges to read and write files to that location.
[Android Studio] frank-floripa:
The crucial thing about internet search is keywords. The one I didn't know is "assets". Together with "android studio" I found a wealth of valuable links. Thanks for the help!
[Verizon HTC One (M8)] carfreak715:
I have a question regarding recovery flashing because I am unable to flash any updated recoveries at all. I currently use TWRP and have been using Flashify for quite some to update anything.

However, whenever I go to update TWRP by hitting the "download TWRP" option, I always get the error that I am unable to write to the SD card, even after a number of reboots. I'm not really sure about how to fix this because I previously was able to flash recoveries to my device flawlessly, without issues. I have attached a screenshot for reference. Any help with this would be greatly appreciated!

I am also using DigitalHive's Lollipop ROM as well.

Thank you in advance!
[Verizon HTC One (M8)] cntryby429:
I would just download the file to your computer and flash it in fastboot.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] kevingcfcb88:
Hi, after i root my Xperia Z1 Compact with the Kernel of the .108 and reinstalling only the Kernel of the .157, when i update the super su app, it shows me this message 'Super su binary needs to be updated', then i choose Normal installation, and always got an error saying me 'Installation Failed! Please Reboot and Try again'

Anybody have the solution to this issue?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] spudata:
Choose the recovery method instead of "normal "
[Xperia Z1 Compact Q&A, Help & Troubleshooting] kevingcfcb88:
Su needs to be updated

I already try, and the result is the same
[Xperia Z1 Compact Q&A, Help & Troubleshooting] spudata:
Does the phone actually boot into recovery or not?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] kevingcfcb88:
No, reboot normally, with every option i choose, and always get the same error.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] SXUsr:
Uninstall then reinstall it.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] re_mo:
I had the same problem.

Solution is to flash .108 kernel and than Su binaries will update in 'normal mode'. Last step is to flash .157 kernel again.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] kevingcfcb88:
I have to do these stepes everytime SU gets an update?
[Xperia Z1 Compact Q&A, Help & Troubleshooting] re_mo:
I don't know. It was the first time when I was unable to update Su.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] crimsonnight:
I had the same issue, tried to downgrade back to .108, and although there's no errors during flashing, it stays on .157 - any ideas?

*EDIT* Although I have an update alert for .157 on my phone - it still says .157 in the build number @_@

*EDIT 2* When I connect it to flashtool it says: 'Android version : 4.4.4 / kernel version : 3.4.0-perf-g0109737 / Build number : 14.4.A.0.157' - 'Root Access Allowed'

*EDIT 3* Just check persevering and reboot and it eventually just worked...
[Xperia Z1 Compact Q&A, Help & Troubleshooting] re_mo:
I tried to do 'full unroot' in supersu and that's impossible with..157 kernel. So I think that we will have problems with updating binaries everytime.
[8525, TyTN, MDA Vario II, JasJam General] rjefferis:
anyone that wants it
[8525, TyTN, MDA Vario II, JasJam General] MrDSL:
Is this a trick question?
[8525, TyTN, MDA Vario II, JasJam General] rjefferis:
nope, sorry took me a min to upload it
[8525, TyTN, MDA Vario II, JasJam General] MrDSL:
lol oh okay I was wondering..
[8525, TyTN, MDA Vario II, JasJam General] digitalfx:
is this new, or the same one thats been around awhile?
[8525, TyTN, MDA Vario II, JasJam General] Malik05:
wondering the same thing...can we get some screen shots of it????
[8525, TyTN, MDA Vario II, JasJam General] intrglctcrevfnk:
:mad: This needs to go if it is the same thing... I have it. and if anyone really wants it they can go and find it pretty eazy. (just google warez and youll find it).

I do dig it and currently use it. But remember why it was taken off of here in the first place. This is a proper and respected site and it's intlectual property of palm (though obviously I dont care too much about that:) ).
[8525, TyTN, MDA Vario II, JasJam General] digitalfx:
it looks like the same one
[8525, TyTN, MDA Vario II, JasJam General] rjefferis:
Yeah it is the same one. I had a few people ask for it so i thought i may as well just plonk it on here. Removed it now though just incase.
[Greenify] freeza:
I'm using a Galaxy Note 3 on Sprint with the NK4 update (december2014) and with GCM ticked, android will "hot boot" every few minutes. Unticking this solves the problem instantly. I'm not sure if it is a problem with an app I have Greenified or with the a problem with the GCM option. I'm assuming something got changed from our previous update NH7 to NK4 that would cause this problem even though both system versions are 4.4.4. I didn't have this issue with NH7.

Anyone else have hot boot issues with GCM ticked in Greenify?
[Greenify] NickosD:
Try reinstalling the app

Sent from my bacon!!!!!
[Greenify] amit.bagaria:
Same problem. Reinstalling doesn't help.
[Greenify] Ciakk1:
I have the same problem with my Nexus 4

(i use the latest SimpleAOSP rom and HellsCore kernel)
[Greenify] arllk10:
Same problem. runing in android 4.4.2
[Greenify] oasisfeng:
Can you confirm whether the soft-reboot issue is fixed in latest beta 3?
[Greenify] amit.bagaria:
It has definitely fixed the issue for me in beta 3. Thanks.
[Galaxy S3 Neo Q&A, Help & Troubleshooting] olekskw:
Hi guys.

I have my Galaxy S3 Neo bought in Poland (without simlock). I'm off to Korea in a few days and trying to figure out how is this gonna work.

So - I'm in Poland yet, but I have a Korean sim card already - when I put this in, phone is turning on fine, language is switched to Korean, but there is no signal.

1. Is there and block I need to take down to properly use Korean sim?

2. Is this possible that I don't have a connection, because I'm in Europe now, not in Korea?

Cheers
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
I have a note 2 I currently use- when I plug the usb in - in windows 7 I get the option to view files etc....

I just bought a used sprint galaxy s5 from my ol ladys sister who had it hooked up at one of those corner wireless shops.

I want to root it but read to make sure your pc recognizes it first- which it does not.

Ive downloaded the latest usb drivers for the phone.

Ive enabled debugging mode.

Ive used the original supplied cord and also tried my note 2 cord.

When I plug it in it recognizes it and detects drivers but the phone does not show up under my computer and I dont get the window popup asking if I want to view files etc.

Getting really frustrated.

Any ideas?
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
When I plug the s5 into my pc and pull down the notification bar ...it doesnt even show usb connected.

I cant find any usb options other than usb debugging.

I just went through all this same crap with a galaxy mega a buddy had.

I just dont get why there is no "usb connected as" notification and why this is so complicated to connect to pc when my note connects fine
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] tommy p:
Bad cable? Maybe Bad Drivers? Where did you download them from? Windows is going to try to recognize it as a media device. Ill give you a couple tips

Just because the "popup window" doesnt popup, you probably just have auto play set to recognize it a certain way.

Just copy and paste this into your explorer window:

%windir%\system32\control.exe /name Microsoft.AutoPlay

and then reset it for your phone.

Also.

1. Make sure the cable is actually connecting, like charging the phone, consistantly, not on and off. If it is, then you know thats good, if not, switch the usb drive you have the cable plugged into. USB Ports actually on the motherboard are the ones Ive always had luck with never disconnecting.

2. If you want to root your phone, and you want the adb drivers, Windows wont find those for you.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
Thanks for the reply.

I downloaded the drivers straight from the windows usb driver dowload page for my phone from samsung.

Ive uninstalled reboot,installed rebooted.

Ive set usb debugging off/on.

Tried dialling *#0808# which ive read is the code to enable usb but it doest work it just calls the #.

Tried all my moyherboard usb ports

Tried different cable

The original cable charges fine.

This sg5 NEVER has a usb icon when connected to usb... i find that odd.

A samsung mega a buddy had which was also previously hooked up at the same wireless shop that this s5 was..... also has the same exact issue.... no usb icon and not recognised as media by windows and no way to change usb settings.

Its like that wireless shop disabled usb on there phones for some reason.

I had the phone 2 weeks and cant do anything with it untill I can root it.

My note 2 works fine , i get usb icon in notification area,i can switch to media device from there.

On the sg5 theres no usb icon even though it connects fine to the pc as installer
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] tommy p:
Maybe Im misunderstanding you, but when I have my phone plugged into my pc there is no usb icon, its just connected as a media device and shows its charging. Both screenshots are of my phone while its plugged into my computer

When you plug it into your computer can you access the files on the phone through your windows explorer, like in the first screenshot?
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
Thanks for replying and the screenshots.

When my phone is plugged into the computer it shows the charging status but no "connected as media device" it doesnt show a connected as anything so nothing to touch for options.

The phone does not show up under windows explorer in my computer.

Ive been using galaxy phones since the original galaxy and never had issues like this.

I just dont get it
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] steelas4life:
I'm similar issues...my phone will just time out in the middle of transfers or won't see the phone at all
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] tommy p:
Both of your issues sound like driver issues. Heres the link from Samsung for Windows for the S5

http://www.samsung.com/us/support/owners/product/SM-G900PZKASPR
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
To make this issue stranger....

My neighbor came over to borrow juice for her ecig. I noticed she has an s5.

I ask if i can connect it to my computer and as soon as I plug it in with my s5 cable...bam ...connected as media device , touch for usb options.

And my computer brought up the screen to view files.

So i now know its not my pc,drivers, or cables.

I did however notice when I plugged my s5 in.... in the notification area where it would say touch for usb options.

It says "system update"

But i have no sim or service on the phone so it doesnt update.

Could the system update be needed for the usb to work?

How would i even update system ?its nolonger on sprint. I wouldnt want any more over the air updates anyway as im wanted to root so i can save a straight talk apn and probablly flash a custom rom
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
Yea... this is nuts.

This sprint s5 i got looks and performs like a brand new phone.

But cannot for the life of me get "connected as ......" to show when a usb is plugged in. When i search settings for "pc connection" , "media" , mtp" , usb" etc.....

Theres nothing I can find to enable how to connect when usb is connected.

I dont even know who or where to ask anymore.

Bought this phone weeks ago and cant do anything with it.

My neighbors s5 connects to my pc no problems. So does my note 2.

I just dont know anymore what else to do
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] tommy p:
i dont see where not having a sim would matter. does the usb port on your phone seem loose or anything? do you have access to another pc to try connecting to that?

ultimately you can get around most things that require needing a usb connection. theres even a wireless adb.

i doubt this will work either, but have you tried seeing if odin will recognize the phone in download mode? (power off the phone and press the power+home+volume down buttons)

also what version of android is on the phone now? if its still on 4.4.2 or 4.4.4 then you might want to look into towelroot, but i think i remember reading thats not working with 5.0

as for rooting, you could try looking for a flashable update.zip , put it on a external sd card, put that in your phone and boot into recovery (power off the phone and press the power+home+volume up buttons) and flash it, then find a custom recovery like clockworkmod or philz touch or something

all in all im 99% sure theres a way to root the phone without having to do anything on a pc, its just a matter of finding a way to do it, and the before choosing a method to tell you to try, i need to know the android version. also im just assuming the model number is SM-G900P, is that right?

Go into your settings and tell me the

Software Version

Model Number

Android Version

and the Baseband Version
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] deezdrama:
once factory reset...usb works fine.

Im now rooted and flashed MOAR

thanks for all who tried to help
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] tommy p:
Glad you got it figured out
[Kindle Fire Q&A, Help & Troubleshooting] TastyMoocow:
Just loaded Slimpop on my 1st generation Kindle Fire but I'm having problem with video playback. All of the following players crashes except ES Media Player.

* BSPlayer, DicePlayer, MX, VLC, Mobo2, HD Video Player, MoliPlayer

Under Dev Option, I have NuPlayer on and off but it have no effect. With NuPlayer off, ES Media was not performing as fast (lagging video). I'm accessing video over SMB from a server. Encoding is H264 with AAC which is should be supported by Kindle Fire. LogCat didn't really say why the players are crashing. While I can use ES Media Player, it's just annoying that it doesn't have volume and brightness controls.
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
I'm trying to install the latest RUU for my developer edition. The RUU loads till the point where I accept the agreement and then nothing. I'm on Windows 8.1. Here is where I got the RUU from http://www.htc.com/us/support/htc-one-m8/news/

Any idea why is this happening or how to fix it? I'm having all sort of problems with the phone at the moment. I'm giving a RUU a try to see if it fixes it.

Thanks in advance!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Same thing happens to me, no idea why. Works fine in Windows 7. some people say it's to do with needing a C++ Update but that didn't work for me either

What you can do, though, is once at the T&Cs screen, open a run box and type in %temp% and it'll take you to the Temporary Files folder on your PC and if you look at the newest folders there should be 2. One will contain a compressed file called 'rom'. Copy this to your Desktop, then to a microSD card and flash that via HBOOT or flash it via RUU mode using htc_fastboot.exe (which you can find here)
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
Could you refer to this C++ update if you happen to remember which one?

How do I flash the rom file through HBOOT or the RUU mode using htc_fastboot.exe (87.7 KB)?
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
To flash the ZIP in RUU mode

fastboot oem rebootRUU

htc_fastboot flash zip rom.zip

And unfortunately no, I don't know which update it was as didn't work
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
I've never done this through RUU mode before, so I'll double check with you.

I'll open normal fastboot. Copy the rom.zip to the root of theSD Card or to the same folder where fastboot is? Also where to place HTC_fastboot.exe, same as fastboot or in the root of SD Card? Then I'll enter the command fastboot oem rebootRUU then htc_fastboot flash zip rom.zip? I'm sorry for the basic questions, thanks a lot!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
If you're flashing it manually you don't copy it to your phone, just put it in your fastboot folder along with the htc_fastboot file and then do it all with the phone in fastboot mode
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
This is the same like applying the RUU exe? This will wipe everything and install everything from zero, right? On HBOOT I have a modified software status , is this going to be fixed as well?
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Yep, completely resets the phone to factory defaults
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
[MENTION=2258271]EddyOS[/MENTION]

Sorry for asking more questions, but last time I applied a RUU was with my M7 when I first bought it. If I'm going to apply the RUU exe, does i have to be on fastboot or while the phone is on? Flashing the rom.zip, do I have to flash or format anything through fastboot or should reboot fastboot or simply reboot the phone? Applying RUU, does it reinstall HBOOT? Sorry and thanks again!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
My previous post answers your last bit - it puts EVERYTHING back to factory and the latest versions

RUU.exe you can run when in Android or in fastboot mode, RUU.zip HAS to be flashed in RUU mode.

I've said everything you need to know so if you still don't get it, don't bother trying it
[One (M8) Q&A, Help & Troubleshooting] M_Shaaban:
I'm just making sure. I don't have another phone at the moment and limited 3G internet connection, so I don't want to get stuck with the phone not working or downloading things twice. Sorry for repeating the same questions though
[One (M8) Q&A, Help & Troubleshooting] mraacidd:
hello...sorry for the noob question....is there a way for me to install the RUU in linux....in window 7....it is always askin for me to install drivers...etc...n error msg...device not found...etc....i dont have those errors in linux....
[One (M8) Q&A, Help & Troubleshooting] mraacidd:
never mind...I found it...
[Samsung Gear VR] twistedumbrella:
From the Oculus forums:

I haven't tried this yet, but I did play around with SBS mode in XBMC before and you will have to shrink the view a bit to work with the limited FOV of the headsets.
[Samsung Gear VR] hashcheck:
Can you make kodi default to menu being sbs on first launch?

-= Note 4 & Gear VR =-
[Samsung Gear VR] twistedumbrella:
Not on the first launch, but I'm pretty sure it saves the setting for any launch after that.
[Samsung Gear VR] shadowcliffs:
From my experience, 7 should be: ...navigating to Video Calibration and adjusting the ratio of height and width to be a square.
[Samsung Gear VR] Bernice01:
XBMC compatible with 3D SBS video? Wonderful
[Samsung Gear VR] vnguyen972:
Only trouble is, once any movie starts.. the stereo scope is disabled and I have to repeat the settings....

Any idea?
[Samsung Gear VR] developweb:
Don't know if my video will help?

https://youtu.be/NB-z5haFm0c
[Samsung Galaxy Alpha] robertkoa:
I am not a Developer but am a Power User of Android for work and play using for Proposals,

Invoices, and business and casual browsing.

No computer needed.

Let me confirm that this Model Alpha 850M an octacore made for North, South, Central America and the Caribbean Factory Unlocked LTE phone works great on the Metro/Tmobile

Network on LTE and drops to 3G on Voice Calls and a little H+ when signal weak in large buildings.

Excellent voice quality, strong radio transceiver which locks well to even low signal in buildings or near transmitting towers .

Only my second Android and my first Samsung-I have not found the horrible bloatware I have read about but do have the phone customized with many features toggled off etc.

I come from an Audio background and Phones are the only Devices which do not often sound better ( earpiece, microphones, speakerphones) on a $600 Device versus a $150 DeviceTHIS Alpha surprised me- it sounds much fuller and a little louder than 3 or 4 AT&T

Alpha 801 quad cores I auditioned before.

Either a bigger speaker, better cone material, or more power or all three- the AT&T850A is

tinny and thin sounding compared to this 850M- not sure if they are all like this but an excellent speakerphone !

So often even with Experts you can NOT get a DEFINITIVE ANSWER on whether a specific Model performs FULLY on a certain Carrier as well as branded Devices this one does on TMobile also has the 700band which TMo will be using more and more for LTE which penetrates buildings better.

LTE Bands are AWS/ 700/850/1800/1900/2100/2600

To use a highly technical Term even for Developers this little Phone "Kicks Ass".

As I have said before If this phone was about 8.5 millimeters thick with a 3000Mah Battery

a higher res screen, 3 Gigs of RAM, SD Storage and the Camera from the Note 4 and a second speaker it would have been a great hit Worldwide.

This phone has less lag than S5 and excellent as is but SHOULD have been great.

Samsung tried to COPY the Iphone rather than surpass it, underestimating the Tech Savvy of

Android Users who purchase $600 plus phones.

One BIG PROBLEM is I cannot be on Internet and a Call Simultaneously on this phone.

It DROPS TO 3 G on Calls which temporarily kills Data-not sure if this is Alpha or Network BUT I always have Internet on calls with Metro PCS.

So this Alpha may not have this feature ?
[Samsung Galaxy Alpha] foxbat121:
If you are on a compatible GSM network (like T-Mobile you listed), it should maintain network connection even on 3G mode unless the phone drops to 2G mode. Until VoLTE is enabled (Alpha does support it but not yet enabled), all LTE phones on AT&T or T-Mobile will have to drop to HSPA mode (H+ or 3G or 2G depending on the availability) for voice calls. But as long as you are not on 2G (E or G), you should still have simultaneous voice and network connection.

However, I did encounter similar problems on my AT&T version but a reboot of the phone solved my problem.
[Samsung Galaxy Alpha] Corvussimo:
Something interesting here: my G850A indicates "4G" during voice calls at the top of the screen, but bringing up the status indicates that it is indeed fluctuating between HSPA+ and UMTS. AT&T being misleading? The G850M fluctuates between saying 3G and H+. (And also, when the G850M is on LTE, the indicator only says "4G," but status check shows it's LTE.)

The other strange thing is that with both phones, I have them set up to make a sound when I press keys. During voice calls, the keys make no sounds. Go figure.
[Samsung Galaxy Alpha] Corvussimo:
I'm not finding that the Alpha supports VoLTE. I have VoLTE on my T-Mobile Galaxy Avant in my area, but not on the Alpha.