yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] tonemonkey:
I have a Galaxy S2 T989 and am on T-Mobile with 4G access. I updated to Android 4.1.2 through Kies and the rooted, and when I'm running that OS I have normal 4G and Wifi action. I flashed Cyanogen 10.1.0, 10.1.1, and 10.1.2 and I lost 4G on all three, even though all of my T-mobile network settings (APN, network mode) were identical to those on my wife's T989 - still running official 4.1.2.

Someone over at Cyanogenmod forums said that I needed to update my radio/baseband. How do I do this?
[T-Mobile Samsung Galaxy S II SGH-T989] soupysoup:
Do u still have service, are u able to make calls and such? If not I can give u a link to the radio and u just need to flash it in recovery just like a rom, but if u can still make calls and such ur fine but most aosp ROMs like cm don't use a 4g icon so 4g would be equivalent to h++ over signal bars, I only say this because ppl get confused about the actual icon too and wasn't sure what u meant
[T-Mobile Samsung Galaxy S II SGH-T989] tonemonkey:
I do have service, can make calls, internet works. It just seems like internet and wifi are slower on this mod than they are on the official 4.1.2 update. Isn't CM 10.1.2 supposed to be Android 4.2? Wouldn't that be more powerful than 4.1.2?
[T-Mobile Samsung Galaxy S II SGH-T989] idbl_fanatic:
I have also saw "DC" in place of the 4G icon
[T-Mobile Samsung Galaxy S II SGH-T989] tonemonkey:
That was going to be my next question! I'm getting DC and 3G a lot. DC makes me happy, then!
[T-Mobile Samsung Galaxy S II SGH-T989] :
But nothing is more powerful than Hulk. Hulk strongest there is!!!

Sent from my cell phone telephone
[T-Mobile Samsung Galaxy S II SGH-T989] soupysoup:
DC is the same as 4g or h++ just aosp roms use those icons to show speeds instead of the 4g icon, if u look t the actual speed of ur network its the same as 4g
[Java for Android App Development] adamj1910:
Hi All!

I'm new here and new to the Android Eclipse/development side and I'm having a bit of a problem with a java script.

I have a small advertising app with 2 buttons (looking to expand to 4 but that's a different thread), one for Facebook (Button1) and one for Twitter (Button2) and Button2 won't work until Button1 is clicked. It works fine except for that.

Any ideas on solutions? Aggravating me a bit lol

Thanks!!
[Java for Android App Development] zalez:
We will need to see your layout XML and java code to help out.
[Java for Android App Development] adamj1910:
not sure how i'd do that atm cos im a new member? i know that some admin members get pi**y when you dont wrap any code for formatting reasons??

i've got ready and i can imagine a senior member such as yourself will notice the mistake straight away.
[Java for Android App Development] zalez:
Use pastebin http://pastebin.com/
[Java for Android App Development] adamj1910:
not sure how to use it, just tried and i got the same message about not being able to post things outside links until 10 posts and so on? even tried pasting the raw text and still wouldnt let me

any suggestions?

thanks
[Java for Android App Development] bassie1995:
Or use the CODE tags: [CODE ] and [/CODE ], but without the extra spaces.
[Java for Android App Development] zalez:
Take http off or www and just paste it as text
[Java for Android App Development] adamj1910:
pastebin.com/4Q0g9ryg

pastebin.com/rHvFePNM

hopefully that should work?

thanks!
[Java for Android App Development] zalez:
You had your button definition in the wrong place for your twitter button

package com.MYAPP.MYAPP;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {
/** Called when the activity is first created. */
[MENTION=439709]override[/MENTION]
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); //Set the screen's view to your xml file

Button facebookbutton = (Button) findViewById(R.id.button1); // Retrieve the button from the XML file
facebookbutton.setOnClickListener(new View.OnClickListener() { //Add a listener for when the button is pressed
[MENTION=439709]override[/MENTION]
public void onClick(View v) {
sendToFacebook();
}
});
Button twitterbutton = (Button) findViewById(R.id.button2); // Retrieve the button from the XML file
twitterbutton.setOnClickListener(new View.OnClickListener() { //Add a listener for when the button is pressed
[MENTION=439709]override[/MENTION]
public void onClick(View v) {
sendToTwitter();
}
});
}

protected void sendToFacebook() {
String url = "https://www.facebook.com"; // You could have this at the top of the class as a constant, or pass it in as a method variable, if you wish to send to multiple websites
Intent i = new Intent(Intent.ACTION_VIEW); // Create a new intent - stating you want to 'view something'
i.setData(Uri.parse(url)); // Add the url data (allowing android to realise you want to open the browser)
startActivity(i); // Go go go!

}

protected void sendToTwitter() {
String url = "https://www.twitter.com"; // You could have this at the top of the class as a constant, or pass it in as a method variable, if you wish to send to multiple websites
Intent i = new Intent(Intent.ACTION_VIEW); // Create a new intent - stating you want to 'view something'
i.setData(Uri.parse(url)); // Add the url data (allowing android to realise you want to open the browser)
startActivity(i); // Go go go!
}

}
[Java for Android App Development] adamj1910:
Thanks for that ill give that a try!!! Really appreciate it
[Java for Android App Development] adamj1910:
it works!!! would i just repeat that for any additional buttons, same format;

Button onclicklistener etc etc etc

Button onclicklistener etc etc etc

protected void

protected void

and so on

does it work like that?

thanks!
[Java for Android App Development] zalez:
Yes, just besure you place the code in your onCreate method for defining your buttons
[Java for Android App Development] adamj1910:
Ill remember that haha thanks again really appreciate it!! =D
[Java for Android App Development] adamj1910:
Hey zalez

I just tried adding a youtube button in the exact same format obviously changing the button source and so on, eclipse couldn't find any problems so I ran it and it just crashed the app on the avd and on a real device?
[Java for Android App Development] bassie1995:
There are multiple ways. I like setting a listener, then using an onClick method with switch-case statements for every button.
[Java for Android App Development] adamj1910:
you've lost me lol i understand the onclick but switch cases? if you check my .xml and .java from pastebin or the .java that another member posted further up ^ ^ ^ ^ that might show where im going wrong?

edit *** i just googled the switch case thing and ive seen it before, just not sure how i'd implement it into my .java?

thanks
[Java for Android App Development] adamj1910:
bump?
[Java for Android App Development] bassie1995:
Sorry, I'm away. I'll look up an example from one of my apps later.

Basically, just make an onClickListener. You are then required to use that interface and implement the onClick method. Do that, you have an empty method, with a parameter like View v.

Then, make a switch statement for v.getId(), and do cases for the buttons (use their XML IDs!) that you have.

Hope that's kind of clear? :P
[Java for Android App Development] adamj1910:
That's actually starting to make sense! But it's just putting that into a script, not really my strong point yet, I'm more of a designer lol

It would be good if you could find some examples for URL buttons, it'd really help. Thanks! :)
[Java for Android App Development] zalez:
There shouldn't have been any issues adding more. I would need to see your updated java code. Using switch cases is a good idea but at this point, if I was you, I would avoid it for now until you get the hang of the basics. Also, a log cat would be beneficial in debugging.
[Windows Mobile Development and Hacking General] MadMaka13:
right, as every1 has issues with memory i had a brain storm,

i was wondering if i got a hold of a 20gig IPOD, would it be possible to intergrate the mini hard drive into my XDA2? and piss off the flash all together???

if its just a case of soldering sum points together & sum newly created software to find & format it i'll rip my baby apart!!!

seriously if its possible, i'll start looking 4 a cheap ipod...

Thanks in advance for sum techi's answer.

(there must be a way!!!)
[Windows Mobile Development and Hacking General] KTamas:
Sweet dreams...

(iPod has an unique PCMCIA hard drive)
[Windows Mobile Development and Hacking General] MadMaka13:
Thanks,

Hey it was worth a shot,

if it was possible it would of been great - i can handle 20gig plus....
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] tmagritte:
Hi,

I've got some bluetooth devices with playback controls (play/pause, FF, REW). I listen to podcasts in an app called Podkicker Pro. It's nice in that FF, REW will skip ahead or back within the same podcast rather than skipping tracks like a regular audio player, and remember my position.

The problem is the Apollo music player is the one to always receive commands from the bluetooth device. Even if Apollo isn't loaded/playing anything any use of the bluetooth controls will cause it to load and steal focus. The only way I can reliably get the controls to work in Podkicker Pro is to disable Apollo from the apps settings. Of course if I want to play music I then need to re-enable it.

Is there any way (settings, apps, patches, takser rules) to specify which app will receive the bluetooth playback commands?

Thanks!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Parthalucky:
Hello friends, developers and users, i dont think i have got the permission to even ask this of u but still have gathered my courage.

This time i am speaking for the MMX A110 community,although this is the Samsung Note community and i shouldn't post it here

Our device can run CM10.1 but we do not have the kernal sources.

So i humbly ask of u to please help us by signing this petition:

https://www.change.org/en-IN/petitions/micromax-informatics-ltd-

MMX is not like Samsung and doesnt even release their kernal, but the A110 is a good device and i wish to help the developers in anyway i can even if by begging

I will post this in Xperia and HTC device threads also but Samsung is a large community and we would like ur help. Thank U for listening to me.

Who am I to say all this?

Just a kid with brain full of ideas and simple dream to make device better than manufacturers stock rom

Why am I posting it here?

Becoz this way interaction between the developers and users of diffrent community will be more and we will help everyone that way and in the end our devices will benefit better from it.

Thanks for hearing me out but still i beg u to just sign it
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] SpyderTracks:
Lol, sorry mate, but that link isn't recognised.

Hats off to you for trying though.
[One (M7) Q&A, Help & Troubleshooting] TylerBR97:
So, now my HTC One is working. I just updated back to the newest firmware and now the wifi doesn't want to turn on.
[Nexus 7 General] R.Suave:
●●● [NEW][HOW TO] ●●● Google's Android Device Manager / Security ●●●

From Google...

"Have you ever lost your phone in between the couch cushions or forgot it in a restaurant? Or maybe searching for your phone before you rush out the door is part of your morning routine? Let the new Android Device Manager help you out! It's one of a few simple features you can use to keep your device—and the data you store inside—safe and secure.

Locate and ring your misplaced device

If you ended up dropping your phone between those couch cushions, Android Device Manager lets you quickly ring your phone at maximum volume so you can find it, even if it's been silenced. And in the event that your phone or tablet is out of earshot (say, at that restaurant you left it at last night), you can locate it on a map in real time.

Protecting your personal information and data

While losing your phone can be stressful, Android Device Manager can help you keep your data from ending up in the wrong hands. If your phone can’t be recovered, or has been stolen, you can quickly and securely erase all of the data on your device.

Availability and getting started

This service is now available on devices running Android 2.2 or above; to use it, you also will need to be signed into your Google Account. There will also be an Android app to allow you to easily find and manage your devices. Stay tuned!"

How to start using

*note: This is not a standalone app. Google is pushing the update in batches so you may not have access to it yet.

1. Navigate to Settings > More... > Security > Device Administrators and check the box Android Device Manager and hit activate

2. Check to see if access to Android Device Manager is in your Google Settings application.

3. Go here on your computer's web browser and test it.

If you don't see access to it in your Google Settings app, its likely that the feature is not yet available to you.
[Nexus 7 General] mikeyd85:
Nice. Works on my Nexy but not my phone yet.
[Nexus 7 General] dilldoe:
activated on n7 and google can't locate it or ring it.

wifi on, location access on (even gps)
[Nexus 7 General] dareino:
works great..... but I rarely take it out of house

d
[Nexus 7 General] hassam_tariq2003:
I enabled it on my phone and my Nexus 7...Worked but i dont loose my devices
[Nexus 7 General] overrule:
It doesnt give an option to track it. And the ring button doesnt do anything =X
[Nexus 7 General] khaytsus:
So is this pushed in like some other Google apps like the Play Store, GSF, etc, which is independent of the ROM, or is this only going to show up on standard Google images and later trickle in from carrier images etc?

EDIT: Its on my AOKP phone, so must be independent ;)
[Nexus 7 General] tumo135:
I'm having the same issues.
[Nexus 7 General] ace-user:
will it erase all the data in my n7? It shows that it will =/
[Nexus 7 General] khaytsus:
No, it shows that it CAN.
[Nexus 7 General] zolaisugly:
I have this enabled now but how would I use it if I did lose my device.......

Where would I go what commands etc are needed
[Nexus 7 General] demandarin:
I just tested and it works with my N7. Assuming you followed instructions and have everything activated. To use just go to Google android device manager website. Either from a PC or another mobile device. Then I'm assuming you have to log in Google account if device being used to browse website is not your device. Once in, you will see the devices you own that has the android device manager feature activated. Then you have a choice to ring the device or wipe its data. Of you press Ring tab, your device will ring at max volume. Even if you previously set it silent or low volume. Either before or while its ringing, it will locate your device. For more details go to Google settings app. Them android device manager. Then press the options tab up top. Then go to help. It gives a lot more details there. Plus tells you how to locate device of its showing unknown location bit you know its on and connected.

Device can only be located if its on. You can preset remote wipe. Spo that as soon as thief cuts it on and connects to a network, it will secretly wipe everything. Pretty cool feature. Just tested. I went to website from my phone then located and rang my N7. Worked fine. So I made sure to activate this cool new feature on all my android devices. Better to be safe than sorry. Might be needed one day.
[Nexus 7 General] bwalz:
I will have to try this. I use android lost to find my devices. For some reason the android device manager won't show my D4 or Nexus 7, I guess I need to send some data to google to have them see that they are on
[Nexus 7 General] khaytsus:
Just to make sure here.... You did click the device name for a drop-down list of all devices, right? It only shows one device, you have to pick the device you're interested in.

This threw me a little the first time I went to the website, expecting a list of devices, not a single "Device" with a drop-down to pick the specific device.
[Nexus 7 General] msimindlessmsi2:
Not as fully featured as Cerberus, but it will make a nice backup just in case.
[Nexus 7 General] bwalz:
It finally showed my n7 but won't locate it even though its enabled as a device admin and location services are on.
[Nexus 7 General] tcat007:
My Nexus 7 shows up, but keeps saying "location unavailable". I can click the ring button and it rings immediately. Tried with wifi location services on, tried with GPS on (and 6 sat's in view), no go. Maps finds me instantly. Pretty worthless if it's not reliable.
[Galaxy Note II Q&A, Help & Troubleshooting] Parthalucky:
Hello friends, developers and users, i dont think i have got the permission to even ask this of u but still have gathered my courage.

This time i am speaking for the MMX A110 community,although this is the Samsung Note II community and i shouldn't post it here

Our device can run CM10.1 but we do not have the kernal sources.

So i humbly ask of u to please help us by signing this petition:

https://www.change.org/en-IN/petitions/micromax-informatics-ltd-

MMX is not like Samsung and doesnt even release their kernal, but the A110 is a good device and i wish to help the developers in anyway i can even if by begging

I will post this in Xperia and HTC device threads also but Samsung is a large community and we would like ur help. Thank U for listening to me.

Who am I to say all this?

Just a kid with brain full of ideas and simple dream to make device better than manufacturers stock rom

Why am I posting it here?

Becoz this way interaction between the developers and users of diffrent community will be more and we will help everyone that way and in the end our devices will benefit better from it.

Thanks for hearing me out but still i beg u to just sign it
[HTC One X] mr.dj26:
Hey guys

lately I updated my hboot to 1.36 I think the one after 1.31

I was running cm 10 but I wasn't using the phone that much so most of the time the screen was off.

later on I changed the rom to slim beam I think and there I started getting random reboots(once or twice a day). I changed the rom to PROBAM and still same issue. some times the captive buttons dont woke and the phone is slow and buggy.

I always do a full wipe and flash the boot from the rom zip.

any ideas about whats causing this problem?
[HTC One X] treebill:
have you tried clearing fastboot cache?

fastboot erase cache
[HTC One X] mr.dj26:
yes more than three times on every flash
[HTC One X] DeeZZ_NuuZZ:
Flash a custom kernel has barely something to do with hboot

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] Mr Hofs:
I see you are only speaking about aosp roms, have you tried a sense rom (or stock) just to test it out ?
[HTC One X] mr.dj26:
well when I got the it was running sense fine but as i said I was barely using this phone later on I updated by the stock recovery which updated the hboot then I unlocked it ,root and flashed aosp.

I try sense viper soon

thank you all
[HTC One X] mr.dj26:
Been running viper sense Rom for about a week.

Not single reboot or lag and works perfect.:good:

Any reason why AOSP Roms are buggy on my phone?:rolleyes:
[HTC One X] Mr Hofs:
Your phone just doesn't like aosp like i dont like vegetables ;)
[HTC One X] treebill:
You tried wiping /data and /system and installing?

You could try a custom kernel I haven't ran cm 10.1 on stock kernel at all so I can't say if its buggy or not.
[Desire Android Development] WoH:
ParanoidAndroid 3.99-RC2 | Android 4.3.1

ParanoidAndroid 3.99-RC2 | [JLS36I] | Android 4.3.1 | Test 10 | Advanced users only

​

​

Requirements:

- Stock HBOOT

- for a2sd: ext4 sd-ext partition

Disclaimer:

1) Nothing is expected to work

2) If anything works, but you have issues, #1 applies

3) No bug reports

4) No trolling! Stay on topic, only provide dev feedback like this!

5) As always:

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/

5) This is not supposed to be your daily driver, in fact I just hope to get some feedback and maybe even some pull requests on github (=miracle). Unless you don't rely on this phone, don't use this yet.

Changelog*

test1:
- boot
- diplay
- audio
- calling
- bluetooth
- bt / wifi tethering
- Hybrid
- PA Color
- Expanded Desktop
- PA Settings
- Superuser

Test 2:
- 2g/3g

Test 3:
- No Display issues

Test 4:
- Screenshot
- SD-EXT

Test 6:
Camera/Video (choppy! + tearing)

Test 7:
Android 4.3_r2.2
qsd8k: use smaller dalvik footprint
bionic optimizations
Theme Engine
Launch floating notifications from notification panel (long click)
ScreenShot QuickTrash
Allow theming of lockscreen
Reintroduce button-backlight
HALO Mods
* Animation Controls (options)
* Long press status info

Test 8:
Fixed webkit -> no more browser/gmail/... tearing
Android 4.3_r3.1
Ninja level +1 (HALO now disappears if only persistent or pinned apps are present and of course if its empty)
Fixed Linked volume settings bug
Fixed turning off persistent notifications bug
Fixed notification icons not showing when HALO is active (Tablet UI bug)
Other Tablet UI fixes
Added incoming call screen transparency
Reordered settings menu

Test 9:
Fixed broken data
Navbar layout landscape fixed
Statusbar QS/Notification cut-off fixed
Statusbar signal color fixed

Test 10:
Android-4.3.1
Massive code cleanup
Fixed issues of last build (a2sd, usb mount)
Full HWA

Things that shouldn't even work:

- 2g / 3g

- Screenshot

- SD-EXT

- Camera / Video recording

- bug/tearing-free webkit

- Full HWA

- USB tethering

- ION

- vsync

- ParanoidOTA (It'll try to sell you a new gapps package but: --->>

pa_bravo-3.99-RC2-20131011.zip | Test 10*

pa_gapps-full-4.3-20131010-signed

*Please install the MediaProvider.apk from the Fixes section linked one post below.
[Desire Android Development] WoH:
Credits:

Source:

Fixes:
[Desire Android Development] Chromium:
Awesome, thanks for the hard work WoH. Downloading now and will be flashing shortly. Ill let you know how it goes.

Edit: Ok while flashing i got a message saying "Warning: no file_contexts" ... i ignored this and it flashed successfully. Other than that, everything is just like you stated in the OP.

Heres a couple other things i noticed:

- I cant turn mobile data off. When i the switch to off, the screen goes black then goes back to on

- When rotating the phone, the screen turns black for a couple seconds before rotating

- A lot of black screens/freezing in general
[Desire Android Development] WoH:
Uploading a new version with 2g/3g :victory:

Edit: http://d-h.st/lDv

Pls refer to this one as T(est)2 to avoid confusion.
[Desire Android Development] WoH:
Please read OP carefully. I know everyone @ xda has like x-ray vision and only sees the download link but this eases up the whole thing so much.

I won't quote anything, but I colored the stuff you didn't notice.

If 2g/3g doesn't work, you might run into issues turning it on/off, that's quite obvious.

I know about 99% issues and I don't think the 1% left is that important.
[Desire Android Development] Chromium:
Ooops sorry. I read the OP but i misunderstood what you meant by "No logcats, bug reports". I thought you meant "dont give me logcats, give bug reports instead". Now i get it :) You should change it to "No logcats, or bug reports".
[Desire Android Development] ze7zez:
Thanks for your great diligence.

Is the old kernel 2.6.38 in this ROM may well manage Android 4.3?

.
[Desire Android Development] laiq:
thx for your great! work, please can u give link to working gapps?
[Desire Android Development] WoH:
Advanced user = make your own :D

Jk, I'm working on it