yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] sam5757:
Hello guys,

I'm trying to make an app that sends a sms when it starts. the problem is: it sends to many messages (it keeps on sending). can someone help me please?

here is my code:

public class SMSOnStartUpActivity extends Activity {

/** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

send();

finish();

}

public void send() {

new CountDownTimer(20000, 1000) {

@Override

public void onTick(long miliseconds) {}

@Override

public void onFinish(){

Toast.makeText(getBaseContext(), "timer finished", Toast.LENGTH_LONG).show();

sendSMS();

}

}.start();

}

public void sendSMS()

{

PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent("Message Sent"), 0);

registerReceiver(new BroadcastReceiver()

{

public void onReceive(Context arg0, Intent arg1)

{

Toast.makeText(getBaseContext(), ""+ getResultCode(), Toast.LENGTH_LONG).show();

switch(getResultCode()) {

case Activity.RESULT_OK:

Toast.makeText(getBaseContext(), "SMS sent", Toast.LENGTH_LONG).show();

break;

default:

send();

break;

}

}

}, new IntentFilter("Message Sent"));

String phoneNumber="5554";

String message="this is a tesdt";

SmsManager sms = SmsManager.getDefault();

sms.sendTextMessage(phoneNumber, null, message, sentPI, null);

}
[Android Q&A, Help & Troubleshooting] cabagekiller:
I would try and use tasker for such an app. I feel it cuts be set to launch after a delay on boot
[Android Q&A, Help & Troubleshooting] sam5757:
Ok, but i want to program it myself...
[Android Q&A, Help & Troubleshooting] motioncoding:
ou should listen to the OnBootCompleted intent via a BroadCastReceiver and send the SMS once from there.
[Android Q&A, Help & Troubleshooting] sam5757:
The problem is that when my phone sends the boot_complete to the apps I don't have any reception. That is why I check if the message is sent
[Android Q&A, Help & Troubleshooting] gollyzila:
You could wait a couple of seconds after boot till you have a signal.

Or somehow check that you have a signal at all.

Then run the method finish() to close the app after you have verified the text was sent.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] abdulmoizkhalid:
I really need help

The thing is

My Galaxy ace uses about 70% of battery in cell standby.

I even installed cm 7.2 stable and it only last 2 hours doing actually nothing

I found this about s3 and wanted to know if there's a similar solution

http://softwareandstudy.blogspot.com/2012/07/how-to-solve-samsung-galaxy-s3-battery.html

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

help will be really appreciated

ps

My usb port has gone bad and it only charges it and doesn't connect to pc even in download mode it does not get detected by odin

so no flashing stock roms

Thanks in advance:good:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] yanchenglee:
Under clock ur phone when ur phone is in standby or screen off

Phone:GT-S5830

ROM:SGSII V9

Sent from my S5830
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] MicroLizard:
check if deep sleep is working or not with Cpu Spy.

if It's work, maybe something is wrong with your battery.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Mandark52:
Do one thing- drain your battery till the phone sleeps completely! Then using cwm open the recovery mode- advanced- wipe battery stats. Then charge your phone to 100% without switching it on! I guess it ll work as I did the same
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] abdulmoizkhalid:
Cpu spy say time in state 50 mins 40%
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] yanchenglee:
No check if it cpu goes to deep sleep

Phone:GT-S5830

ROM:SGSII V9

Sent from my S5830
[Galaxy Tab 2 Accessories] jskolm:
Anyone know if this adapter will work with the P3113? I know it's not listed as working with the Tab 2 at all, but I was hoping someone had one already or something

http://www.samsung.com/us/mobile/galaxy-tab-accessories/EPL-3PHPBEGSTA

If it doesn't work does anyone know of something that will work for video out from our device?
[Galaxy Tab 2 Accessories] clipse94:
I have that adapter and, no it will not work with my tab.
[Galaxy Tab 2 Accessories] jskolm:
Ah bummer. Thanks for checking!!
[Galaxy Tab 2 Accessories] poopsie5:
hdtv adaptor

Also, I went to a local radio shakc and I used that 30 pin to usb adapter and got a usb to hdmi adaptor on the end of it, and the TV detects that here is an input, but no dice. I knew it was a long shot, but just an FYI for everyone out there..
[Galaxy Tab 2 Accessories] eman3316@optonline.net:
So does the Galaxy Tab 2 not support HDMI out? I have looked online and keep seeing no one haveing luck. I was actually kind of shocked to see this.

I have the US version of the Tab 2 10.1

Any suggestions or help is appreciated.
[Galaxy Tab 2 Accessories] bark777:
I think its the seven inch that does not support HDMI, so far.

http://www.samsung.com/us/mobile/galaxy-tab-accessories/EPL-3PHPBEGSTA
[Galaxy Tab 2 Accessories] HB_Mosh:
Yes, looks like its a problem with the 7" model. BUT, for those who have the adapter, are you testing it with the latest Software update ? ICS 4.04 or whatever ?
[Galaxy Tab 2 Accessories] DarkTempler:
I have the german 10.1. No adapter is working, thats also what samsung told me.

So far I have tested 2 Different adapter.

Gesendet von meinem GT-P5110 mit Tapatalk 2
[Galaxy Tab 2 Accessories] weenerdog3443:
anyone know if it will work with the 10.1 5113 tablet? saw it in the lil booklet that came with mine? would be nice
[Galaxy Tab 2 Accessories] Szighy:
on the link what was posted in the first post clearly says under the title Galaxy tab 2 10.1, how it's not working then?
[Galaxy Tab 2 Accessories] Tabs78:
so no way to connect to tv my p5110?

wifi?like sharecast?
[Galaxy Tab 2 Accessories] necktru:
can try this other adapter, at least the vendor will sell us (we shop) says it is compatible with all tab, I'm asking for a free sample to see if it works well on lcd and projector, I have P3110 and P5110 in my office to check if ti works

EPL-3PHPBEGZTO
[Galaxy Tab 2 Accessories] DarkTempler:
I am Very interested To know if you get it to work..

Please keep us informed.

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy Tab 2 Accessories] Crasssy:
There are some adapters on ebay (non-Samsung) that works with the tab2. I can't post the link because i don't have 10 msg yet.
[Galaxy Tab 2 Accessories] DarkTempler:
You can :) just without the http :// and www

I could not find anything on ebay

Gesendet von meinem GT-P5110 mit Tapatalk 2
[Galaxy Tab 2 Accessories] Kumabjorn:
Has anything happened in this area since the last posting?
[Galaxy Tab 2 Accessories] DigitalMD:
Geezz how many threads does it take for everyone to get the message that the P31xx series Tab 2 7 inch does not have the hardware to support Video output of any type?

http://xdaforums.com/showthread.php?t=1643303&page=5&highlight=hdmi

Also its pretty clear from the Samsung website. The 10 version has HDMI out , the 7 inch does not.

Check the accessories page

http://www.samsung.com/us/mobile/galaxy-tab/GT-P5113TSYXAR-accessories

The P5113 list the Galaxy Tab™ HDTV Adapter

EPL-3PHPBEGSTA

THe P3113 does not.

"Galaxy Tab™ HDTV Adapter

“**Compatible with the Samsung Galaxy Tab 10.1, Galaxy Tab 8.9, Galaxy Tab 7.0 Plus, Galaxy Tab 7.7, Galaxy Tab 2 10.1”

The HDTV adapter supports HD signals up to 1080p. Connects directly to a standard HDMI cable for easy connectivity to home theater or monitor. Can connect directly to the Galaxy Tab to create an HDMI docking station. (HDMI cable sold separately) Not Compatible with Galaxy Tab 7.0."

Also on the adapter compatible products page the P3113 Tab 2.7 is not listed.

http://www.samsung.com/us/mobile/galaxy-tab-accessories/EPL-3PHPBEGSTA-compatible

Doesn;t work folks,, can;t work folks, Get a grip or get a GT-6210 7 Plus.
[Galaxy Tab 2 Accessories] Kumabjorn:
Sorry, New to this tablet, thought it might be a software restriction.
[Upgrading, Modifying and Unlocking] karaskaras2:
hello to all...i have a coby kyros mid8127 with android 4.0.3 installed...and i was searching for a proper root method until today...my tablet updated to android 4.1.1...!!! and now i want to find a way to root this...!!! can anyone help me???
[Sony Ericsson XPERIA X10 Mini] delta001:
i wan't 2 update my xperia e10i

all the member off xda say itzz imp 2 unloack bootloader to install custom rom...is dere some another way so that i can update my xperia e10i to 2.2 or 2.3....

without unlocking bootloader ..............

is dere some way so...plezz dev help me 2 get.........
[Sony Ericsson XPERIA X10 Mini] SmG67:
if you want 2.2, all the roms based on 2.2 will work on stock kernel, so you don't need to unlock the bootloader, just hope the download links still work.

If you want 2.3, go to the MiniCM7 thread, the last version to run on stock kernel is 2.0.7, which can still be downloaded from the dev's repository, there is a link in his first post where you can find it.

Any later versions are all based on a custom kernel, so you won't have any luck with those.

Good luck :)
[Sony Ericsson XPERIA X10 Mini] delta001:
can u give me the link for 2.2 n also for 2.3.....

& tell me all bugz r removed...........

thanxx for your support....

:):)
[Sony Ericsson XPERIA X10 Mini] stikkki:
I posted similar questions the other day on here trying to update my x10 mini pro to 2.3 which I got resolved.

My post towards the bottom tells how I got my phone updated without having to unlock the bootloader and only took about 20 minutes and since installing that rom other roms that don't require an unlocked bootloader are simple to install now and take a matter of minutes to install through cwm recovery.

http://xdaforums.com/showthread.php?t=1823973
[Sony Ericsson XPERIA X10 Mini] delta001:
dude that post is for pro not for mini......

if any dev have link so...plezz give it 2 me i wan't 2.3....full working in my xperia without any bugzz

thanxx 4 your support
[Sony Ericsson XPERIA X10 Mini] stikkki:
Do you have your phone rooted and clockworkmod installed?

If not you will need that done.

Use super1click to root your phone http://xdaforums.com/showthread.php?t=803682

Then install cwmrecovery for x10 mini http://xdaforums.com/showthread.php?t=1513534

Then you should be able to install roms that don't require an unlocked bootloader using cwm recovery, booting into it by pressing the back key repeatedly when the white sony ericsson logo text comes up. You need to copy rom to your sd card and once in cwm recovery back up your current rom and then install a new rom.
[Sony Ericsson XPERIA X10 Mini] delta001:
bro.....i wan't 2.3......if dere any link for 2.3...with unlocking bootloader

plezz provide me

i would be thankfull 2 u....
[Sony Ericsson XPERIA X10 Mini] stikkki:
I

Is your phone rooted and do you have clockworkmod recovery installed?

If not you will have to root your phone and install clockworkmod recovery - I had some problems getting clockworkmod recovery installed on my 2.1 stock rom but the link I put in my previous post installed it without any problems.

Once rooted and clockworkmod recovery installed these roms will install through clockworkmod recovery without the need to unlock your bootloader

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

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

http://xdaforums.com/showpost.php?p=16296323&postcount=1

http://xdaforums.com/showpost.php?p=16802421&postcount=1

There will probably be a few more in the XPERIA X10 Mini Pro Android Development section too.
[Sony Ericsson XPERIA X10 Mini] delta001:
i think the rom has some bugzz like camera n reboot ...

can any1 help me here....

or provide me some other rom wch is bug free....
[Sony Ericsson XPERIA X10 Mini] SmG67:
This is the last version of MiniCM7 (GB 2.3.5) which will still run on stock kernel on the E10i.

There is not much else, but it's fairly bug-free as far as i can tell from personal experience.
[Sony Ericsson XPERIA X10 Mini] itsrafael16:
I think you can do that by going on your Settings Menu.
[Sony Ericsson XPERIA X10 Mini] delta001:
can u explain ......
[HTC One X] Altec103:
Hello, pretty new to this forum, but just wanted to thank everyone for the help in advance. I know there are similar threads and there is a master thread for cases, but I've looked though most of it and was unable to find a solid answer.

Basically, I am looking for a semi transulent thin case for the HTC One XL (US Version) that provides a lip for camera protection. I have found some interesting models online, but I am unable to figure out if they would be comptabile with the US version. If anyone could link me or provide insight on the fit to the US model that would be great.

I have listed below a few names of possible cases that I need verification on for fit to US version.

Nillkin Hard Cover Case (White)

HTC HC C700 Ultra Thin Hard Shell Case (Clear) <--- Would be my favorite option, but most concerned about fit

BENKS Magic Cookies <--- Looking for a place to buy this, but also concerned about fit

Once again, I understand that there are similar threads, but this thread is mainly concerned with the fit to the US version of the HTC One X.

Thanks gain.
[HTC One X] KLUVJ:
buddy, try the xl forums. i dont think the internatinal hox forums can help you. we all have the int hox, and minimal people have both, ue luck is better off there.

also, cases that are stated for the int hoc would have misaligned camera holes for the lte hox, so really no luck for you there
[HTC One X] diego9x:
I'll give you my experience.

I bought an AT&T One X and lots of cases (8) for the US Version One XL, unfortunatelly I received a Grey one instead of the one I requested so I took the paypal money and bought and international version and let me tell you that all my cases, car dock and desktop dock work like if it was the same phone, and to be honest with you I saw no difference in tickness.
[AT&T Samsung Galaxy S II SGH-I777] dev997:
Hey Guys,

Just sharing the link to find almost every theme that exists for cm10/AOKP till date. As we are having more and more cm10 based roms, I thought it would be beneficial for the people like me who lookout for new themes to get refreshed look every now and then.

Original Link : http://xdaforums.com/showthread.php?t=1801752

Make sure to thanks the OP krazie1 for the same if you use them.

Thanks !!!
[AT&T Samsung Galaxy S II SGH-I777] dev997:
So what theme u guys using ??

I'm using the Sense4 one.
[AT&T Samsung Galaxy S II SGH-I777] Karashta:
Cobalt inferno. I like the whole cobalt series of themes

sent from my magic shiny box using the tap tap tap
[AT&T Samsung Galaxy S II SGH-I777] REOGrand:
I have used Cobalt. Kiwi Cobalt. right now Im using Epic Blue beta 1. Really like this one.
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Matted blues! It's paid but it looks sweet on CM10 :)
[AT&T Samsung Galaxy S II SGH-I777] budfarmer420:
I'm using the Nebula UK theme. Loving the green, plus the battery gauge looks like a fuel gauge. Badass!
[AT&T Samsung Galaxy S II SGH-I777] specialfx2012:
themes

will these thems run on an I777 running 3.0.36 Siyah-v3.3.3c kernel and Semi v15c UCLE5 Base,thanks for any and all input..
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
No! These themes are for CM10(JB). Semi is a sammy based rom and its not JB 4.1
[AT&T Samsung Galaxy S II SGH-I777] specialfx2012:
themes

ok thank you kindly for the information.do you have a link to some themes that will work,I do appreciate your input,thanks in advance..
[AT&T Samsung Galaxy S II SGH-I777] ali788:
:)

is'nt there a pack which have all of them in it?
[AT&T Samsung Galaxy S II SGH-I777] moelleven:
oh yeah

thanks for sharing buddy , that was pretty helpful , now using bluefire and its awesome
[Sprint Samsung Galaxy S III] saeroner:
Following the latest youtube video on how to root the S3. The guy (QBking77) directs me to download the CWM file (tar file). The CWM download file has .md5 after the .tar (example: CWM-Recovery-LTE-SGS3-v5.tar.m*d5). In his video there is no .md5 - -﻿ just .tar... should i delete the .md5 so it's just .tar or leave it alone?
[Sprint Samsung Galaxy S III] jamcar:
Leave it!!!! It just add a MD5sum to the tar file, Odin will check the MD5sum and make sure the file is good before you flash it
[Sprint Samsung Galaxy S III] Philosuffer:
As above poster said, leave it.

QBking77 just has "Hide extensions for known file types" enabled in Windows.
[Samsung Galaxy Nexus] jiwengang:
Before I start anything, let me mention that for battery life testing, this is extensive as in what is done in factory or other professional reviewing places.

However, the seat I am sitting in Office, is the "perfect storm" section. Basically despite having < 100 signal strength all time, the strength swings volatile fashion which cause the phone to constant switch between 4G/3G/1x/no signal which is most challenging test from radio cost perspective to a battery. The only phone previously survived this location with more than 10 hours is Razr Maxx , not surprisingly. All other phones failed.

My phone is US Verizon Galaxy Nexus in NYC. Currently I applied extended battery of 3300 mAH on it but I am comparing those at same basis, which is with this extended battery.

[DISCLAIMER: THIS IS BASED ON MY PHONE MY SETUP. It may not work in your case or your usage pattern]

Roms and Kernels combinations used

1. Vicious Jelly Bean V1 with Stock Kernel

2. Vicious Jelly Bean V1 with Lean Kernel

3. Vicious Jelly Bean V1 with Haux v19 Kernel

4. XenonHD v6 with stock kernel

5. XenonHD v6 with lean kernel

6. XenonHD v6 with Haux v19 kernel

7. Jelly Belly v3.5 with stock kernel

8. Jelly Belly v3.5 with lean kernel

9. Vicious CM10 Kang with CM default kernel

10. Vicious CM10 Kang with Haux v19 kernel

Winner? 10. Vicious CM10 Kang with Haux v19 kernel.

Hit here to see more discussion with some pictures folks.
[Xperia Arc Q&A, Help & Troubleshooting] mistrsu:
Hey everyone,

i'm having some problems with my xperia arc. I tried to install cm9 by following a tutorial on youtube named: [HOW-TO] Install Cyanogenmod 9 RC1 on Xperia arc & arc S [HD & HQ]. (can't post the link because i'm new)

I flashed my device using his rom and now it won't start up. Basically, it just shows a black screen and the background-light is on. It's probably because i didn't reset my device before flashing.

How do i get my phone working again? I prefer to go back to the stock software, because i'm too noobish for this anyway.

thanks
[Xperia Arc Q&A, Help & Troubleshooting] popthosegaskets:
If your bootloader is locked, you can use SEUS to help you restore the stock software.

Likewise, you can use flashtool to flash a ftf file of the stock firmware.
[Motorola Photon Q 4G LTE] Acvice:
Not gonna lie.. Regardless of its shortcomings its still a pretty sexy phone.
[Motorola Photon Q 4G LTE] mattlgroff:
It comes with an unlocked bootloader? Have you checked AP Fastboot?

And you are sure you didn't have to go through a process asking if you wanted to void your warranty? It seems strange to ship with a voided phone ;)
[Motorola Photon Q 4G LTE] xNicoyAx:
ICS, I see? Are the specs superior to the current Photon?

Sent from a phone!
[Motorola Photon Q 4G LTE] mattlgroff:
Specs are here: http://www.motorola.com/us/consumer...,pd.html?selectedTab=tab-2&cgid=mobile-phones
[Motorola Photon Q 4G LTE] hellot1M:
Nothing worked on the phone besides the launcher. The slide up notifications per icon was badass. But it had no network service or WiFi. Not even a play store. Had a bunch of apps but they were dummy icons. He said it was for development purposes and show. It was extremely smooth though. I asked about the boot loader and he said yes to being unlocked. He was quick to answer and said that it is the first Motorola device to ever ship with an unlockable boot loader. He said it would be kinda similar to the gnexs. There will be an easy to access option out of the box to unlock the boot loader.
[Motorola Photon Q 4G LTE] hellot1M:
He also gave me a statistics speech about why they have ignored bootloader unlock claims in the past but I don't remember. I was playing with the phone lol. But I'll ask again when he comes around next month. Had something to do with percentage and how we the people asking for the unlocked boot loader are only a 1%
[Motorola Photon Q 4G LTE] hellot1M:
Its android 4.0.3 I checked. And the quick tap easter egg is there too lol
[Motorola Photon Q 4G LTE] inimitableac:
not going to lie I MISS my keyboard from my epic and after watching the videos Motorola has on youtube about smartactions and the such I really want this phone its so close to stock its ridiculous I dont even need to download a new launcher to cover up the horrific blur dock bar
[Motorola Photon Q 4G LTE] perrotype3:
Nothing about release date?
[Motorola Photon Q 4G LTE] inimitableac:
Supposedly August 19th
[Motorola Photon Q 4G LTE] mattlgroff:
If you can get information on the bootloader unlock process that'd be awesome. The Atrix HD has an option but doesn't say a code. If the Photon Q shows the code for you when you run 'fastboot oem unlock' then I think it would mean hard work to get the Atrix HD unlocked.
[Motorola Photon Q 4G LTE] MexPwrEng:
Price??

Is there any mention of the price for photon Q?
[Motorola Photon Q 4G LTE] hellot1M:
Just like any new high end device most likely $199 on contract
[Motorola Photon Q 4G LTE] sirscrubsalot:
Thanks for sharing this - still surprised that the phone is marketed with business users, as subjectively put... in mind - being that the battery is fixed, what options have you heard for individuals needing more power for voice calls on the go?

I loved the previous one which I still use - mainly for it's swappable batteries for continuous voice calls - not everyone has the chance to be by a power source to charge (e.g. wall / car). There are external power packs as I mentioned in another post; (either by solar or pre-charged that plug into the microusb).
[Motorola Photon Q 4G LTE] hellot1M:
They can market it as a business phone but I love the new features and I know most other consumers would. Of course smartactions and the new swipe feature for notifications on icons. He said the RAZR already has smart actions. Why hasn't anyone ported that feature yet?!
[Motorola Photon Q 4G LTE] shabbypenguin:
whats the model number?

need to keep an eye out for the kernel source ya know? :P
[Motorola Photon Q 4G LTE] hellot1M:
oh damn! i didnt even think of looking. he was in the store for about half an hour talking to us about it. i spent most my time testing out the keyboard and messing around with the new UI. which btw on the 19th, 20th at the latest i hope to see this new launcher ported to other devices! trust me, everyone will love it! they took features from jellybean and pimped them up for ics on the q

our store should get them by this friday. if so then ill get the model number for you then. and whatever else you need. and sense the bootloader is unlocked it should be fairly easy for me to extract an image from it to post here before the 19th
[Motorola Photon Q 4G LTE] hellot1M:
actually.. we would probably get the demo phone before the actual phones.. which should be in the next few days. demo phones are no different than the real thing. they come to us with a demo video app preinstalled. we have factory reset our demo phones before and used them as a store phone. could someone point me in the right direction of getting an image from this phone? **safely**. dont want to **** the phone up and get fired lol
[Motorola Photon Q 4G LTE] shabbypenguin:
ive never tried with dump_image but i would imagine that might work. ideally we could root it and grab the images that we need then unroot it easily enough. once it launches and the tool comes out i could put out the CWM and have people unlock to root :)