yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] nikwen:
Ok.

Add a string this way:

<string name="[name goes here]">[the string]</string>

(Add this in the strings.xml file in the res/values directory.)

Then in your app you can get it this way:

String s = getString(R.string.[name goes here]);

Set the text in the xml file that way:

<Button ...
android:text="@string/[name goes here]"
... />

Add the Activity the normal way. You do not need a second strings.xml file. Just add it to the old one. One for everything. :D
[Java for Android App Development] crazy4creationstudios:
That helps alot, but,

But whenever I add the [MENTION=936943]string[/MENTION]/ before the text it changes the button name on the visual editor to [MENTION=936943]string[/MENTION]/...."

Also when I added a new activity it replaced my strings file, deleting what I thought was proper strings.
[Java for Android App Development] nikwen:
Which revision of the Android SDK do you have? Updating might help.

Could you please post some pieces of your code which do not work (just the important parts, you can change the names etc.)?
[Java for Android App Development] crazy4creationstudios:
Also im using the SDK and IDE from Google (Eclipse).

And Java JDK
[Java for Android App Development] nikwen:
Eclipse has not been created by Google. ;) But this does not matter. :)

Which version of the SDK did you install? (To check this and whether updates are available open the SDK manager. You might need to do this as an administrator.)
[Java for Android App Development] crazy4creationstudios:
I don't know, i'll check in a few minutes at lunch. I downloaded it about 2 weeks ago.

I'll post the codes then too.

Btw none of the code is custom it is from Eclipse when I used the GUI tools
[Java for Android App Development] crazy4creationstudios:
I know but developer.google.com includes it with the ADT bundle. :)

And I meant to send that b4 u replied haha
[Java for Android App Development] nikwen:
What is the exact name of your strings file and where is it located?

Where are the problems in the rest of the code?
[Java for Android App Development] Acela1230:
try right clicking the button or textview from the graphical layout page of your xml. then go to edit text and click on project resources at the top. this should list all the strings that you have. you can choose a string that you have already made or you can click the new string button to create a new string directly from there.
[Java for Android App Development] crazy4creationstudios:
In the "res" folder directory near "layout", where Eclipse puts it automatically.

The other errors were in the manifiest becuase I had ".r" in some wrong places (wich I dont get becuase I never did it in the first place :confused:
[Java for Android App Development] nikwen:
What does "near layout" mean? Is it in the res/value folder? And is the file called "strings.xml"?
[Java for Android App Development] crazy4creationstudios:
Yes, I just checked

Its in the res/values folder named strings.xml
[Java for Android App Development] nikwen:
Did you see that?
[Java for Android App Development] crazy4creationstudios:
Yeah. The other problems I was having are:

My Manifiest has some incorrect snippets that I didnt add involving action settings(?) Check my strings it was one from it
[Java for Android App Development] nikwen:
It was one from it? Which one? We cannot tell what is wrong with your app if we do not get enough information. You know where the error occurs. If you want help, provide us the information we need. ;)

It has got nothing to do with that, but it is still something to correct: In the line

android:value="c4cs.try4.everydayagian.MainActivit y" />

there is a space between Activit and the y. Remove the space.
[Java for Android App Development] crazy4creationstudios:
Ill find some more specific sections when I have the class tommorrow and PM it to you.
[Java for Android App Development] nikwen:
Great. :D
[Java for Android App Development] PdroidAndroid:
Set the android:targetSdkVersion to 17 in your manifest ;)

Envoyé depuis mon CINK SLIM avec Tapatalk
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] cpufrost:
Wondering if my phone is defective. It's a Korean GS4.

Seems to work fine but videos have occasional pops in the audio. Using 1080P setting (why use anything different? LOL).

I heard it originally and just thought it was from my hands, fingers moving but it's in all the videos and happens at random.

The camera does write to a 32GB microSD but I've been using that in my Note II for about six months and that takes perfect video in comparison.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jetlitheone:
Yes it happens to me at some moments but I think its the microphone picking up finger movement..
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] spectrumfox:
Yes, I hear a pop at the beginning of only some of my videos as well.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] cpufrost:
I hear the pop at the beginning of nearly all the videos.

I did the OTA update yesterday, lemme take some more video and see if it comes back.

Most of the videos are quiet.

Just shot some video at the studio with some pretty good drum smashing and heard no popping, just lots of snares and cymbals LOL. Doesn't seem to compress the sound, I know the GS3 clipped quite badly but I have a few tests to see if its mic just rolls off sharply below 40Hz to stop that.

These cameras can record pretty decent video but the sound is smashed, probably done intentionally to keep good videos of concerts out but a good digital recorder in the pocket and editing can fix that. ;)
[Sprint Samsung Galaxy S III] mlin:
When I connect my phone to my MB GL350 via Bluetooth, the phone connects and disconnects about 5 times before the connection stays. This happens with both mine and my wife's GS3's and only in the MB, not the Audi. I did a search and found others complaining of GS3 connectivity issues but nothing like I'm experiencing. I am trying to figure out if this is a weird anomaly between MB and Samsung or if there is an issue with the car or phones. I'm hoping to get ahold of a family members iPhone to see if it has the same issues but for now I want to see if anyone has experienced something similar.
[Sprint Samsung Galaxy S III] Slow5Ohh:
Works fine in my Bentley
[Sprint Samsung Galaxy S III] mlin:
Spectacular. But seeing as I don't own a Bentley, I don't much care. Hence the reason the thread is addressed to MB drivers.
[Sprint Samsung Galaxy S III] FLBoy1991:
Not the same vehicle but I had the same issue in an infiniti M series... with both my MacBook and my S3

---------- Post added at 06:52 PM ---------- Previous post was at 06:49 PM ----------

It always takes a few times to catch but works fine afterward
[Sprint Samsung Galaxy S III] CNexus:
I'd suggest to just root your MB and then edit the build.prop to connect BT faster.
[Sprint Samsung Galaxy S III] monstaX:
+1 lmfao. Wish I owned a freaking MB or a Bentley xD I'd root the **** out of it and boost up the heapsize Lol.
[Sprint Samsung Galaxy S III] FLBoy1991:
Lmmfao
[Sprint Samsung Galaxy S III] mlin:
Right on. I did a search of MB bluetooth connectivity issues and most of the threads that come up pertain to either the SGS3 or SGN2 so it seems its not an issue with the car which was my biggest concern. It's weird, we have an Audi A6 as well and it connects very quickly without ever a hiccup. So it goes...

I wish I could. I've looked into hacking it to do other things and there just isn't a lot of literature on doing so. Even if there was, not sure I would go down that road. Hacking $500 phones is way different than hacking $3k computers in $80k cars!
[Sprint Samsung Galaxy S III] retailguy:
If you've got the command unit, with the bluetooth adapter make sure you have the 3rd generation adapter. My system is a bit different, I've got an eclass, but we don't have the phone system. I've balked at the money to install the equipment to make it work. Just isn't worth it to us.

If your system is the one I think it is, then both the 2nd generation and the 3rd generation adapters should be compatible, however, I've read that the 3rd generation works better and is more reliable with the latest smartphones. Having not had the opportunity to try, all I can do is guess.

Good luck.
[Sprint Samsung Galaxy S III] Slow5Ohh:
You should get a Bentley then.
[Sprint Samsung Galaxy S III] mlin:
Don't really like em, too flashy and too much money for too many days in the shop. Thanks for the recommendation.
[Sprint Samsung Galaxy S III] mlin:
Thanks. It's got phone capabilities built in and I purchased the Media Interface Plus for bluetooth audio streaming. I noticed that if bluetooth is on prior to turning on the car, there is no issue connecting. I'll just do it in this order from here on out. Like I said previously, my biggest concern was that there was something wrong with the bluetooth receiver in the COMAND unit but this seems to be highly unlikely.
[Galaxy S 4 Q&A, Help & Troubleshooting] Untraceable:
Hello,

I need root for this rom I9500XXUAMDK I got update today and the old root won't work .. I hope any one can help...thank you.
[Galaxy S 4 Q&A, Help & Troubleshooting] Untraceable:
any one?
[Galaxy S 4 Q&A, Help & Troubleshooting] UpInTheAir:
Try wanam "Adam kernel"
[Galaxy S 4 Q&A, Help & Troubleshooting] Untraceable:
donwload link please?
[Galaxy S 4 Q&A, Help & Troubleshooting] UpInTheAir:
A little searching wouldn't go astray?

.....

http://xdaforums.com/showthread.php?t=2264454
[Galaxy S 4 Q&A, Help & Troubleshooting] Untraceable:
thank you mate .. and sorry for that.. ;)
[Galaxy S 4 Q&A, Help & Troubleshooting] UpInTheAir:
No problem. :)

Just be sure to read the OP and as much of the thread as possible before doing anything. So you know it's right for you ;)
[HTC One X+] fallenhrts:
Hi!

I just got a new sim free htc one x plus last 2 weeks. Yesterday, the phone started rebooting every 30 mins or so. I have done several factory reset but the problem is still there. It even reboots when am not using it. I am using stock Rom. Pls can anyone help me? Will loading a custom ROM fix this problem?

N.B: I know I should just return it but I bought it while on vacation in the UK and I stay in Africa so returning it will be a real hassle.
[Sprint HTC One (M7)] KL45SiiK:
http://androidspin.com/2013/05/01/htc-one-s-off-achieved-htc-users-can-now-rejoice-as-well/
[Sprint HTC One (M7)] leerage:
http://xdaforums.com/showthread.php?t=2260284
[Sprint HTC One (M7)] KL45SiiK:
My bad. I looked at the related threats and i guess the name "People are such capitalist" was kind of misleading. Didn't know someone else had posted the same thing.
[Sprint HTC One (M7)] ike101692:
sucks that you have to pay for a service for an os when the os itself is free lol. I guess everyone has to get theirs
[Sprint HTC One (M7)] motoelliot:
There's already a thread about this. Thanks man. But old news...

Sent from my aluminum T.A.R.D.I.S!
[Sprint HTC One (M7)] KL45SiiK:
I know there is, and a person already reminded me by posting a link to the other thread. I acknowledged there was another thread and said my bad. I don't need you or anyone else reminding me there's another thread unless you're actually going to close the thread.
[Sprint Samsung Galaxy S III] dahbossontop:
I'm using a Galaxy S III from sprint. I rooted and flash CM10. everything was working but i kind of wanted to go back to stock. i download the firmware from http://www.sammobile.com/ this and run Odin. http://www.hotfile.com/dl/180002524/2a86ca5/L710VPBLJ7_L710SPRBLJ7_SPR.zip.html. After running odin it said PASS and the phone went in to boot up. when booting shows the spring logo and after show Samsung but thts all it shows it gets stock on the Samsung logo. doesn't let me do anything else. i try to go to recovery but when i hold vol. up, pwoer and home button doesn't do anything. when i hold vol. down and power and home button goes to odin mode.

help please!!!
[Sprint Samsung Galaxy S III] prboy1969:
Are you waiting long enough ? TW takes a long time to load up.
[Sprint Samsung Galaxy S III] BammS2:
Go back into stock recovery and do a factory data reset and then reboot the phone.....:good:

volume up--power--and home key gets you into recovery
[Sprint Samsung Galaxy S III] dahbossontop:
Idk it worked by it self after doing the odin left it on the samsung logo whole nighr in the morning chrged it again n after half of the day I did the vol. Up n home power n it fix it self lol... rhanks
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
Hi, planning on rooting the device and installing PA (sticking with PA's kernel). New to this area, I hope the questions are fine.

1. What's the difference between Carbon Backup and WugFresh Toolkit backup?

2. How can I avoid bricking the device?

3. Does the toolkit offers an option to unroot the device? If so, will I have to do something else instead of unrooting with the toolkit?

4. If I decided to unroot and go back to what I have right now (all the apps etc.), how would I do that (restore all the data)?

5. Is unrooting wiping the device?

6. Should I update the ROM via GOOManager directlry or should I download from GOOManager and then flash via the recovery?

7. What do you recommend - PA's built in kernel or Franco's?

8. Do I need the SuperSU app? (PA ROM)

9. From SuperSU description:

It doesn't say how to uninstall it.

Thanks in advance!
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
XDA Rule 1, use the search button and try finding the answers yourself first. This is not a covenience store where you can order what you want. Don`t want to be rude but lazyness is not apreciated around here ;)

superSU can be set as default superuser app by converting superSU to a system file from within the app and then redownload the superSU app from Play.

Some advice: learn how to use adb instead of toolkits, look here https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNEEKsh9DfW_LuvfJlEbDsWBeAoe1Q
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
I have searched alot but couldn't find exact answers for the questions I've listed here (some of them).
[Nexus 4 Q&A, Help & Troubleshooting] klinkdawg24:
1. Pretty much all backup apps are the same, just with some different features, carbon lets you back up to the cloud I know, Titanium backup is also a pretty good/common one. Main difference is just the features, check the play store descriptions for specifics.

2. With a nexus device you don't really have to worry about bricking, you can always just use google's factory images off of their site to restore your phone from the bootloader/fastboot. It is really easy to do and plenty of guides available on it.

3. I don't know for sure if the toolkit will do it or not, but unrooting is pretty easy, just go into the system/apps portion of the internal storage and delete the superuser app that you have.

4. Just restore all your apps with the backup app that you picked, then once they are restored, delete the superuser app like i explained in the last one.

5. Nope, unrooting just removes the superuser app, nothing else

6. Doesn't matter, I use the same rom and I download on my computer then manually flash it in recovery mode, because the rom downloads faster that way. Remember to flash the gapps every time after you install the rom though!

7. I use PA's kernal, I have heard some people get better battery with Franco, but I can get like 2 and a half to 3 hours everyday on the PA one, and the color settings on the PA one look really nice. It is really a personal preference though, try both :)

8. Nope, it comes installed with PA already, don't have to worry about that.

9. If you go back to stock, you have to wipe the data before you install the stock aosp rom anyways, which will delete the superuser app for you. but just fyi, PA uses superuser, not superSU, it is newer and works a little bit better

Hope this helped, I love everything about PA! you won't be disappointed!

Happy flashing :)
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
I appreciate your answer, thank you very much!

So now all I worry about is the backup - There are three ways I know:

1. Carbon Backup

2. Toolkit backup

3. Drag and drop from the SDCard

I just want the apps + app settings to be the same after unlocking the bootloader. Which option is the best?

Thanks again!

BTW

About question 4, the locking of the bootloader wipes the device, so how can I unroot and keep the apps? Also, should I do a Nandroid backup before or after I restore all the apps from Carbon?
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
It would be appreciative and descent to hit the thanks button of klinkdawg24 after answering your questions ;) That`s how we do things around here.
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
You are absolutely right. Not used to a Thanks button, usually I just say thanks :)
[Nexus 4 Q&A, Help & Troubleshooting] klinkdawg24:
Use carbon backup or titanium backup I would say, I have never used carbon, but there should be a batch option to backup all your apps at once. Also, since the unlocking or locking of the bootloader will wipe all your data, including what is on the phone, make sure you copy the backup to your computer or something after you have completed it.

What I do for nandroid is just to run it before i flash a new rom, that way i always have a restore point that i can get back to.

So I:

1.) reboot to recovery, preform nandroid

2.) factory reset

3.) flash PA and gapps

then after you boot into PA, you can restore your apps and data, then if you wish, you can do another nandroid, but I wouldn't worry about it at that point, just do it before you flash a new rom or update if you would like. That way your nandroid will have all your current app data, not the app data from when you started using the rom. That just works better for me, but again, it is completely up to you :)
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
So couple of things I still do not understand:

1. You mean I should do a nandroid backup before I restore all the apps? (right after the root)

2. Right now my bootloader is locked. How can I backup my apps + app's settings so I will recover them after unlocking the bootloader?

3. After I make a nandroid backup, can I just move the whole backup to the computer and when I need it I return it to the SD Card?
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
Help please? These are the only question I need answer for before I root. I just don't want to be stuck without a backup.
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
1. Make a backup after you rooted and installed the apps and data (passwords etc)

2. Use Helium Backup or Appmonster (Pro) or adb command: adb backup –apk –noshared –nosystem –f /backup/mybackup.ab

3. Yes.
[Nexus 4 Q&A, Help & Troubleshooting] Tom540:
I wouldn't use a toolkit (apart from backing up) especially if it's your first time rooting, it's always best to do it manually in my opinion; it may take a little longer, but then you'll know the ins and outs of what really happens and it will help if anything goes wrong. :D

Sent from my CM10.1 Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] BomB@s:
1. But then I will have to install all the apps after the root, make a nandroid backup and then factory reset again to install PA rom. Shouldn't I just make a nandroid backup right after I root with no apps and stuff?

2. With adb backup, is it safe to restore to a different ROM than I used when I took the backup?

EDIT:

For some reason, I backed up with "adb backup" and the backup's size is 500MB. When I backed up with Carbon (Helium), I got 40MB. I think I'll unlock bootloader + root, then restore the adb backup, then backup with Titanium and then flash PA rom. Is that the right process?
[Sony Xperia T, TL, TX, V] madmurdoch:
Does anyone know how to make my HW buttons smaller or is there a MOD available?

It has to be for MIUI v5.
[Sony Xperia T, TL, TX, V] crazymister:
The HW (hardware) buttons can't be resized since they are not software but physical buttons

Do you mean the software on-screen buttons?

Check the themes and apps section, maybe you can find some tips there.

I know it has been done for stock Rom

---------- Post added at 12:46 AM ---------- Previous post was at 12:32 AM ----------

And next time don't just double post a question, because you asked the same in miui v5 thread.

Reported
[MDA II, XDA II, 2060 General] gumby:
My XDA2 now has a Sandisk 512MB card.

I also have Journal Bar, SPB pocket plus, Lextionary, Pocket Atlas, Pocket Stars, Currency Convertor X, a few games, (and a few others which I ran out of memory).

What I want to know is how exactly do I get the programmes to run from the sd card, so that the XDA2 memory isn't used to store them.

I have tried x-backup, and I have tried cutting the files using file explorer to the sd card, but then the programmes do not run from the start menu.

I'm sure it's something simple but please let me in on it!

So near, and yet so far!
[MDA II, XDA II, 2060 General] Rudegar:
well when you install programs using activesync you can choose between

if you want to install it in main mem or storage

some programs dont work though if you install them to the storage

if you dont want to install the programs again you may be able to edit the shortcut and pointing the path to the new location and some programs may also require some regediting for them to work after being moved

if you dont want to edit the shortcuts then you can just make new ones

whats under programs is just which shortcuts that are located in windows\programs
[MDA II, XDA II, 2060 General] gumby:
Thanks for the help.. made sure I said no to installing in default directory.. now to see if each programme works.. Thanks for the help!
[MDA II, XDA II, 2060 General] micken:
Similar position

Hi Gumby I'm in a similar position to you in that I just got a 512Mb SD today and I intend to rebuils my system with appropriate applications on the SD. Have you found out yet which work from the SD and which only work from ROM?

It would be halpful for everyone if we could get a list of what should go where.
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
Vengeance [1.46][3/5] kernel not work in xperia e dual.pls test and fix:crying:

tnx
[Sony Xperia Miro, Tipo (Dual), J, E] xrhstospro:
I dont have xperia e but try to flash previous version of kernel (1.45)...remember that this kernel works at stock only and not at cm10
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
Hey man I have an E dual.so there are ROMs for e dual too right.I was searching everywhere for custom ROMs.tell me what u did plz
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
I've tested the 4.1.1 official ROM.It does not work.
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
I Thought the tune-ROM for this phone. Whenever ready,I release:D

I'm waiting for CWM recovery
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
Official 4.1 ???u mean the one for single sim?or did u get ftf for dual SIM?!!!
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
Official 4.1.1 for xperia e dual
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
How come official Rom for the same

device does not work?????:eek::eek:

Could you please upload the ftf file ...

Really need it....

Hell lot of thanks if u upload the jb Rom.for e dual....

:(:(:(:(:sly::sly::):):)
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
for you

http://d-h.st/mco
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
Dude,,

U r wrong...that rom is for xperia e single sim(c1605)..our dual sim is c1604...

U flashed the wrong ROM...that's why your sim didnot work...

Correct me if I am wrong
[Sony Xperia Miro, Tipo (Dual), J, E] rangtab2005:
nooooooo

this rom for xperia e dual sim c1605

model code for xperia single sim is c1505

xperia e dual simavailable in two models: c1604 &c1605
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
Ohhhh I see,,,,thanks for the info....I'm grateful to you....:thumbup:

Edit:I updated my c1604 to jb.

Now tried vengeance kernel and didn't work

..:(:(:(:(
[Sony Xperia Miro, Tipo (Dual), J, E] Xmoose:
Hey...recovery is out...so why don't u upload it right now.

thank me if I helped you.Sent from my Xperia E dual C1604.