yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] cheznutts:
I went ahead and made a project using your code. I commented out the pending intent, I opened up two emulators. One with port 5554 and another with 5556. Now I compiled your code on 5556 and then text to 5554 and it went through fine, no exceptions. Here is what Im looking at in the Activity:

package com.example.test;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.telephony.SmsManager;

public class MainActivity extends Activity
{

@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}

@Override
public boolean onCreateOptionsMenu(Menu menu)
{
getMenuInflater().inflate(R.menu.activity_main, menu);
return true;
}

public void csend(View view) {

String _number = this.getString(R.string.number);
String _message = this.getString(R.string.message);

SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(_number, null, _message, null, null);

}
}

Here is my Android Manifest:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.test"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.SEND_SMS"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>

I left the layout alone. I say try it again. Check SDK is up to date and try creating new emulator using a different API level.
[Android Q&A, Help & Troubleshooting] dillonr:
okay, so i found the problem with the _number and _message

they were not defined in my strings.xml

the only problem is i cannot change who i send it to, or what the message is, even when i change what the text boxes say in the application...so my new question is how can i change a variable using an editable text box? (or how can i check what is in the text box before sending the text?)

EDIT: okay, i think i fixed it....

"

EditText number = (EditText)findViewById(R.id.pnumber);

EditText message = (EditText)findViewById(R.id.pmessage);

String _number = number.getText().toString();

String _message = message.getText().toString();

"

then

" sms.sendTextMessage(_number, null, _message, sentPI, null);

"

hope this helps other people :D

thanks everyone
[AT&T, Rogers HTC One X, Telstra One XL] lelloo:
I've recently noticed after installing CleamRom 3.0 and Clean Rom 4.1 that my sound, ringtone, notification volume is too low compared to other stock htc one X's. I've tried doing a format, and wiping cache, still didn't work.

Is there any solution?

Thanks.
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
It's been reported that wiping cache then re flash the rom fixes it. Don't wipe data just cache.
[AT&T, Rogers HTC One X, Telstra One XL] blaxican25:
try volume+ in the playstore
[AT&T, Rogers HTC One X, Telstra One XL] iUseHtcOneX:
try wiping dalvik
[AT&T, Rogers HTC One X, Telstra One XL] kechundu:
yes, as ups say try wiping dalvik
[AT&T, Rogers HTC One X, Telstra One XL] akamatic:
i always have same problem every time i flash but what works for me is disable Fast Boot from power option and hot reboot the phone and then reboot the phone asap vol goes back to normal...this is the only way it works for me wiping dalvik never did you might want to give it a try
[AT&T, Rogers HTC One X, Telstra One XL] lelloo:
I tried that and everything else mentionned, still doesnt work. Really really weird
[Galaxy S I9000 General] cyprusx:
Im on the rooting section and i dont know which kernel to download to root my phone with odin

http://xdaforums.com/showthread.php?t=788108

Firmware

2.2

Base

I9000DTJP3

Kernel

2.6.32.9 root@SE-S604 #7

Build

Froyo.DTJP5

Can someone plzz tell me
[Galaxy S I9000 General] AlwaysDroid:
For froyo use any kernel with a version less than 2.4
[Galaxy S I9000 General] cyprusx:
CF-Root-JPM-v1.2-Busybox-1.15.3.zip

Is that one okay?

Does it come with CWM

if not how do i get it

I just want to install CM9
[Galaxy S I9000 General] dark_knight35:
Update to value pack fw using Odin, root, flash CM9. Why the heck are you on FroYo?
[Galaxy Tab 7.7 General] sergani:
Hi all,

I'm getting the 7.7 tab these couple of days, and was wondering if all tab apps work on it without issues. The reasin I'm asking is that I understand that Samsung has discontinued the device.

Also, has anyone had any bad experience with the device? I'm getting positice feedback all the time, so just want to know if anyone ran into issues, specially with ICS :)

Thank you all!
[Galaxy Tab 7.7 General] marwanxx:
From my opinion, there is no very perfect device yet. I can say NOTHING is perfect.

I have had some dificulties with this device before. But now hoping that the ICS upgrade can heal the pain.
[Galaxy Tab 7.7 General] sergani:
Thanks Marwan.

I just bought it today and I have to say, I'm pleased so far... and I'm not on ICS yet :-)
[Galaxy S III Q&A, Help & Troubleshooting] agustincordoba:
Hi, a friend sent me this photo of the top bar on his SGSIII. As can be seen, where one expects to see "G", "E" or "H" there is this letter "N". Could any SGSIII user help identifying this symbol?

MTIA

Agustin

Enviado desde P1000 con Tapatalk

Sent from P1000 via Tapatalk
[Galaxy S III Q&A, Help & Troubleshooting] Lennyuk:
Nfc
[Galaxy S III Q&A, Help & Troubleshooting] agustincordoba:
Never mind. Thanks anyway

Enviado desde P1000 con Tapatalk

Sent from P1000 via Tapatalk
[Epic 4G Q&A, Help & Troubleshooting] Forever Justice:
There was once an app, unless you know of something else that does the same. The app charges phone while off and had timer when to turn phone on automatically. Something like mow moh power....anyone remember this app?
[Sony Ericsson Xperia Neo, Pro] mayankbhatia5:
Helo every one

i am on ics xperia neo v with locked bootloaders but rooted ,i can enter the cwm mode through cwm application but not able to enter through volume key can anyone help?
[Sony Ericsson Xperia Neo, Pro] iamdchosen1:
While your phone is booting.. When you see the 'SONY' logo, repeatedly press the 'volume down' button till you enter the CWM!

Press 'THANKS' if I helped you!

Have a good day! :)
[Galaxy S III Q&A, Help & Troubleshooting] awcfm:
I found this forum a day ago... and just got my Samsung Galaxy S3 with Bell in Canada.

A very annoying problem I ran into.. whenever I'm texting someone, with messages that include cursive words, it will try to autocorrect to the closest non-cursive words. For example.. "you are such an ass" will turn into "you are such an mass", "*****ing" to "pitching", when clearly I typed "b" first... etc.

Does anyone know a way to turn this off? This only happens with bad words..
[Galaxy S III Q&A, Help & Troubleshooting] Nickel Dime Bay:
Clean up your language, problem solved :)

Go into your keyboard settings and disable the auto correct
[Galaxy S III Q&A, Help & Troubleshooting] mrmooa:
if you go to settings /language and input/samsung keyboard settings /predictive text . there is a menu to change everything by holding predictive text
[Galaxy S III Q&A, Help & Troubleshooting] nodstuff:
First of all look up the definition of cursive.

It does not mean swear words, curse words, bad language etc. It is a style of writing.

Secondly this is the international S3 forum and lastly your problem has been solved already.
[Galaxy S III Q&A, Help & Troubleshooting] awcfm:
Jesus bro you want a cookie? Go outside and have some fun... relax.. and just chill

I know I can disable auto-correct... but I still want the auto-correct features, but just not avoid cursive.. sorry, CURSE words.
[Galaxy S III Q&A, Help & Troubleshooting] joshnichols189:
Add them to your dictionary. If that doesn't work, use a new keyboard.
[Galaxy S III Themes and Apps] Avilove.Cullen:
Let's make it a hub , share your favourite wallpapers here :)

Si usted le da respeto luego de tomar Respeto .. Cuidado con él .. ;)
[Sony Xperia P, U, Sola, Go] emppu:
hi ppl.

I was flashing my xperia u via flashtool when i realize that the fw i was flashing was for xperia sola.:p (dumb, i know)

I didn´t get too nervous , because knew that i could always reflash with flashtool , the right fw again,so i let finish the flash and reflash again , but this time with the fw for xperia u!

now the problem is that the touch screen is dead , no response at all!

I already try, to reflash a dozen times, i used seus repair option too, but the result is always the same,no touchscreen!

My bootloader is locked , i tought that a locked bootloader could prvent this kind of thing from happen, or am i wrong?

Now guys any ideia how to try to fix this, without taken the phone to a service center?
[Sony Xperia P, U, Sola, Go] rakeshnofear:
If ur Boot Loader is Locked .....

Try To Restore with Sony Update Service
[Sony Xperia P, U, Sola, Go] emppu:
"i used seus repair option too, but the result is always the same,no touchscreen...."

i already try that, but no the probem persist! :p
[Sony Xperia P, U, Sola, Go] pallavikv:
Flash stock ftf with flashtool first. Then update/repair again with pc companion..

Thanks,

PALLAVI KALYANAM
[Sony Xperia P, U, Sola, Go] lestercute08:
like Xperia Mini ST15i, if you flash the wrong firmware the touch will not work even you restore or update the software via SUS. my xperia mini work til i replace a new DIGITIZER.
[Sony Xperia P, U, Sola, Go] emppu:
So you saying that the digitizer broke?

How in hell bad drivers(i suposse is the drivers) can destroy a perfect piece of hardware?

Well ,the best solution is change the digitizer?

Sorry all this questions,but iam really intriged by this.
[Sony Xperia P, U, Sola, Go] lestercute08:
flashing wrong firmware can broke the digitizer, i dont know why happening this, so the best way for me to get out of this situation is to change your digitizer. note that screen and digitizer is seperated to each other.
[Sony Xperia P, U, Sola, Go] unreal3000:
probably because the sola has "floating touch"...

that must have pushed the hardware while trying to use it when it did'nt exist on our phone :P.......resulting in a screwed up digitizer :P

if its still bootloader locked, just flash a stock rom and get it repaired under warrenty..
[Sony Xperia P, U, Sola, Go] lestercute08:
i agree with unreal3000.. :D
[Sony Xperia P, U, Sola, Go] emppu:
thx for thw answers guys! :o

i send the phone to Service center today. :(

lets see what they gonna tell me!

I keep u guys informed what is the repair that they do to the phone!
[Sony Xperia P, U, Sola, Go] emppu:
Hi guys

I have my phone now,come today from service center.

The report from the repair says that they change the touch and repair the contacts in the digitizer connection sock.seems that the problem wasnt new and some st25i came out with some defect in that sock.

So that make me wonder if the thouch stop working because the wrong firmware i put in or the hardware problem they report.

Well nevertheless i have the phone running again :)

Thx for the support

Ps:the phone was repaired using the warranty
[Sony Xperia P, U, Sola, Go] Gothic-4-Schiffer:
I was wondering if you managed to boot after flashing?

Kind Regards

| -raison d'etre- |
[Sony Xperia P, U, Sola, Go] emppu:
Yes i manage to boot after the flash with the wrong fw.

May i ask why u asking?
[Sony Xperia P, U, Sola, Go] ksonu03:
Xperia u touch sensitivity problem.

I am facing the same problem.Yesterday I tried to put the ftf of xperia go..and now the touch sensitivity of my phone stopped working.Then after reflashing it with a proper ftf and relocking the bootloader i updated it through the SUS.and now it works fine with the usb mouse but touch is not working. So if i give it to the service center will they provide me the service in warranty or i have to pay for that??
[Sony Xperia P, U, Sola, Go] Gothic-4-Schiffer:
You'd get it in warranty most likely

[ If I've Helped Hit THANKS ] | -raison d'être- | [ ST25i ]

---------- Post added at 11:37 PM ---------- Previous post was at 11:36 PM ----------

Just curious, making a mental list of what/what won't boot

[ If I've Helped Hit THANKS ] | -raison d'être- | [ ST25i ]
[Sony Xperia P, U, Sola, Go] andryush:
So if the phone is generally booting and working after flashing different ROM, maybe there's a way to flash future JB update from Xperia P to Sola or Xperia U??? Replacing only the drivers of touchscreen to avoid problems like in this thread.

What about image resolution? ksonu03, if you flashed GO fw, UI and other graphical elements were properly displayed on Xperia U???
[Sony Xperia P, U, Sola, Go] miladmt66:
st27 stop working

i have the same problem.mt27 file flashed to xperia go and now touch screen stop working.please help
[Sony Xperia P, U, Sola, Go] doctor_droid:
try flashing gb ftf and see if it works or not
[Sony Xperia P, U, Sola, Go] Mtakween:
no no i had this prob in my old xperia mini when i flash lww fw

all you have to do is

1.flash xperia u/or your device fw you flashed in second time after sola/wrong fw

2.flash xperia sola/wrong fw you flashed in first time

3.flash xperia u/your devices fw again

4.reboot

NOTE:do all of this steps with out opening or restarting the device or even do not take the battery out

do this at your own risk

Press THANX If I Helped

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

flashing gb will not work
[Sony Xperia P, U, Sola, Go] jass8669:
Since u said u relocked the bootloader I think it will no longer be repaired under warranty coz unlocking the bootloader itself makes warranty void despite u lock it again
[Sony Xperia P, U, Sola, Go] Mtakween:
there is a fix look on my post no need to take it to service center
[Sony Xperia P, U, Sola, Go] ammarooooo:
thank you man very much you are my new hero you saved me from paying alot of money
[Galaxy S I9000 Q&A, Help & Troubleshooting] cezaralboiu:
hi.i ported an ics rom for i9001 but i'm afraid to install it. what could happen if it doesn't work?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] tonk12:
I have no idea if this works, but since the tab 10.1 and 10.1N are basically the same, can the N source be used for the 10.1 ??? I'm a noob so im probably talking sh&t lol correct me please

http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=GT-P7501
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] yohaib86:
first all - this rom works perfect! i love him!!!

when i choose hebrew in google keyboard and write message

the keyboard stuck for 30 sec and then closed

in english it's working fine...

what could be the problem?

i have this issue in 0.2 & 0.4 .
[Captivate Q&A, Help & Troubleshooting] xchrisknightx:
Just wondering how hot the cappy can get before I should worry about it overheating . My CPU temp was at 120° just curious if this high of a temp could damage the phone.

sent from my cappy running latest cm9 nightly and devil kernel
[Captivate Q&A, Help & Troubleshooting] xchrisknightx:
Battery temp not cpu

sent from my cappy running latest cm9 nightly and devil kernel
[HTC Amaze 4G] sportsstar89:
Hi guys, I've gotten quite a few pm's lately about learning how to develop things for our Amaze. So I decided to make this thread as a the one stop shop to ask all your development questions and to discuss the problems your encountering and get answers to them instead of keeping everything private so if you want to learn how to cook, modify, develop your own android rims this is the place to come :) Ask away
[HTC Amaze 4G] eggydrums:
Awesome! Well i wanna learn how to cook roms and modify them, like for example replacing apps and adding apps
[HTC Amaze 4G] ziggy46:
Umm... How do you flash a Rom :)
[HTC Amaze 4G] S1D3winder016:
ETA on an update for Team nightmare Sense 4.0? :)
[HTC Amaze 4G] sportsstar89:
A good place to start would be here http://xdaforums.com/showthread.php?t=633246 it' lets you extract roms and a bunch of other things so you can see how a rom is constructed. /system/app is where the system apps are they can't be updated from market so that's where you would put superuser and stuff but user apps would go in /data/app which you can make using the kitchen i linked you too :) I made my first rom with it http://xdaforums.com/showthread.php?t=1303850

Well ziggy first you take your amaze and put it in the oven for 1 Hour then you take it to a body of water and through it right in the middle and your done lol
[HTC Amaze 4G] ziggy46:
Thanks ill try that later. Are there any chances of a brick? Lol

Oh and I cab help out with this thread to cause I know a lot as well
[HTC Amaze 4G] eggydrums:
Thanks sports i will try. If im gonna try and cook a rom, can i use a rom thats already made, much like how eclipse speed rom that he made using energy rom?
[HTC Amaze 4G] ziggy46:
Yes you can make roms from other roms. That's what devs do when they say that they based a Rom from another.

Sent from my epic amaze 4g
[HTC Amaze 4G] eggydrums:
Dang my computer is too suckish to set up the kitchen :/
[HTC Amaze 4G] hasoon2000:
When I try and install the ROM, I get an error. I think it says, expected 4 args but got 3. something along those lines lol.
[HTC Amaze 4G] sportsstar89:
Your own rom?
[HTC Amaze 4G] Dark Nightmare:
Updater--script error?

Sent from a Galaxy Nexus?
[HTC Amaze 4G] sportsstar89:
Yep that's what it is
[HTC Amaze 4G] hasoon2000:
I tried making my own ROM. I looked at the updater-script. The kitchen makes it and add the MTD format type rather than EXT4. I have no clue how to fix it.
[HTC Amaze 4G] EclipzeRemix:
I have a few questions

1-what libs do you push so that the AOSP ics keyboard (or any other for that matter) to work

2- how do you set a default wallpaper for a sense rom, do you open up the Rosie apk or the htc resource... Because when I change the framework wallpaper it doesn't stick

3- what are some more examples of init.d scripts as I don't know many

These questions are relatively simple so don't scold me.....
[HTC Amaze 4G] sportsstar89:
The problem with the kitchen is it doesn't have an config script for the ruby so just take any updater script from any Rom and it'll work
[HTC Amaze 4G] sportsstar89:
1. I'm not quite sure try the latinime libs and input libs and i believe some of it is framework

2. customize folder i think just replace what the default wall paper is which a file with the same name

3. to Zipalign

LOG_FILE=/data/zipalign.log
if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

echo "Starting Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
for apk in /data/app/*.apk ; do
zipalign -c 4 $apk;
ZIPCHECK=$?;
if [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(basename $apk) | tee -a $LOG_FILE;
zipalign -f 4 $apk /cache/$(basename $apk);
if [ -e /cache/$(basename $apk) ]; then
cp -f -p /cache/$(basename $apk) $apk | tee -a $LOG_FILE;
rm /cache/$(basename $apk);
else
echo ZipAligning $(basename $apk) Failed | tee -a $LOG_FILE;
fi;
else
echo ZipAlign already completed on $apk | tee -a $LOG_FILE;
fi;
done;
echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

Calibrate Battery

SLEEP=120

if [ -e /data/.battery-calibrated ] ; then
exit 0
fi

(
while : ; do
LEVEL=$(cat /sys/class/power_supply/battery/capacity)
CUR=$(cat /sys/class/power_supply/battery/batt_current)
if [ "$LEVEL" == "100" ] && [ "$CUR" == "0" ] ; then
log -p i -t battery-calibration "*** LEVEL: $LEVEL CUR: $CUR***: calibrating..."
rm -f /data/system/batterystats.bin
touch /data/.battery-calibrated
exit 0
fi
# log -p i -t battery-calibration "*** LEVEL: $LEVEL CUR: $CUR ***: sleeping for $SLEEP s..."
sleep $SLEEP
done
) &
[HTC Amaze 4G] hasoon2000:
Can you give me some tips so I can make it work myself?
[HTC Amaze 4G] sportsstar89:
Well the problem is that it has the wrong mount points so you change MTD or yaffs to EXT4 and you'll need to change the partition numbers which you can compare on any other updater scrip I would need to see it to tell you more
[HTC Amaze 4G] Dark Nightmare:
Google amaze 4g mount points and also how to write updater-script, I found an excellent tutorial right here on xda that taught me to write a script and the mount points are helpful for the obvious reason, though there are some universal methods I found in peoples scripts that are much easier to write.

Sent from a Galaxy Nexus?
[HTC Amaze 4G] ziggy46:
That error your talking about is because of the update binary. There are 2 different versions of it. Try swapping update binary. (The way the script is setup has to match the update binarys coding)

Sent from my epic amaze 4g
[HTC Amaze 4G] hasoon2000:
Just to make sure, I edit the updater-script with the correct format system and mount points. Then I take the update-binary from a ROM and use that instead?

Someone should make a tutorial on how to set up the kitchen and how to make a basic ROM. That can start up some new devs to learn.
[HTC Amaze 4G] Dark Nightmare:
I can help with setting up the kitchen and a video of it and how to get it running.:D

Somebody else has to do the building though, I tend to use updater--scripts from old roms with my own light modifications to the script here and there, lol. Also I have no device to test, my mom is always on her amaze and so is my sister.
[HTC Amaze 4G] hasoon2000:
Great! I already set mine up on my windows laptop. I asked dsixda and he told me how to set up the amaze to the kitchen so it will make the correct format systems and mount points.
[HTC Amaze 4G] Dark Nightmare:
Cool, could you throw those pointers out here so I can modify mine and show that part as well when I'm setting up a new kitchen for the vid? I have mine set up on my laptop but I'll set it up on the desktop to do the vid.
[HTC Amaze 4G] hasoon2000:
I'll send you what I saw when I get home. My internet is down at my house so I couldn't remote access.it.and test it out myself.
[HTC Amaze 4G] :
If you don't mind posting the config file for everyone here im sure they wouldn't mind
[HTC Amaze 4G] hasoon2000:
Here you go. Just place it in /tools/edify_defs
[HTC Amaze 4G] :
Gotta be sure to put that in the tutorial for the kitchen :)
[HTC Amaze 4G] hasoon2000:
Make sure it is unzipped as well! I can't add an attachment that doesn't have an extension :laugh:
[HTC Amaze 4G] Dark Nightmare:
Bump and time to get this video rolling, any of you guys online?
[HTC Amaze 4G] hasoon2000:
Give me a minute. Let me get my lazy ass up. I'm gonna upload the new updated su files so you can show noobs to place it in the right directory.

Sent From My HTC Amaze 4G Via Someone's Room ;)
[HTC Amaze 4G] Dark Nightmare:
Having an issue with setting up the kitchen on my desktop, keeps telling me files are missing with the new version, but the older version on my laptop runs fine, wth? Already got most of it recorded but had to stop when the actual kitchen start up failed, now I have to learn to edit videos too, lol.
[HTC Amaze 4G] hasoon2000:
What's the error message?

Sent From My HTC Amaze 4G Via Someone's Room ;)
[HTC Amaze 4G] Dark Nightmare:
Says files are missing, but I have the feeling I'm being the noob and forgetting something I need to do, lol. Reading back the FAQ at the moment.
[HTC Amaze 4G] hasoon2000:
You need

* Devel / gcc

* Interpreters / perl

* Utils / cpio

* Utils / util-linux

* Utils / ncurses

* Archive / zip

* Archive / unzip

* Web / wget
[HTC Amaze 4G] Dark Nightmare:
Lol thanks, I figured it out just before you posted that, video is complete, I forgot you HAVE to absolutely choose install on the packages, I left it as default thinking it would install them for me.
[HTC Amaze 4G] hasoon2000:
Nice! I was gonna give you the updated root files so you add that to the video as well. Did you post in the config file for the ruby in it?
[HTC Amaze 4G] Dark Nightmare:
Yes sir, this video was only to set up, next one we'll do a rom, so then we can do the super user and stuff. :)
[HTC Amaze 4G] hasoon2000:
Ah okay. I updated the SU files as a set up as well lol