yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab Q&A, Help & Troubleshooting] CapnAmerica2010:
Hi

First, I am rooted with superoneclick and on EC02. I replaced the wpa supplicant from an adhoc working cersion so I could upgrade to EC02. After successful upgrade to EC02, I then went back in and replaced the wpa supplicant file so I could connect to my AndroidTether, which works. I can connect to any other network as well as long as it is open etc.

The problem that I am having is that I cannot have WiFi auto switch to an open network, or my home network etc. I have to manually go in to WiFi settings and disable Wifi and then re-enable WiFi then select the network manually. All passwords are remembered for networks, I just do not have auto-switching capability. Before upgrading to EC02 via a guide here in XDA, my WiFi would auto-select an open network that was available and pass worded, when I would leave work my SGT would automatically switch to my home network WiFi. I have tried FXR WiFi fix and rescue and other apps to fix this but still have to choose manually to disable and re-enable WiFi or manually select a network. Also, even when a network that I was in range and connected to is still being held onto even when I am no longer in range of the network. WiFi won't automatically let go of the previously connected network.

Again, I have to disable WiFi and manually select a network to switch WiFi connectivity. Any help or suggestions would be welcome.

Verizon Samsung Galaxy Tab

Hardware version 1800.0.3

Model number SCH-1800

Firmware 2.2

Baseband version S:1800.0.3V.DL21

Kernel 2.6.32.9 root@SE1-28#3

Build number SCH-1800.EC02

Thank You
[Android Software Development] gengt:
Hi

First of all, sorry for my english, and for this basic question...

I've started to develop in android for the first time and i've a lot of doubts, but my main qüestion right now is, Its possible to use the same layout with different activities?.

I'm making a test app with a main screen with multiple buttons (for example player 1, player 2, etc.) and textView (showing the data recolected by the second screen), each button open a new screen with some form fields (name, bitrhday, age, etc...).

I've created a main layout and I want to create a layout for the second screen. This second layout is the same for every player, but the data for every player is different.

What is the best practice for this case?

1 main activity/layout - 1 second activity/layout and pass the data from one to other (it's possible?)

1 main activity/layout - x second activity - 1 layout

1 main activity/layout - x second activity - x layout

Thanks

Regards
[Android Software Development] killersnowman:
to answer the question in your title.. yes! and it is actually recommended. it is one of the perks of using a markup language like xml for layouts.

http://developer.android.com/guide/practices/design/seamlessness.html#multiple-activities
[Verizon Droid Charge] jagri44451:
I am currently using eg2 leak and the camera will take pictures but they will not show up in the gallery. If I use a file manager I can manually find them so I know they are there.
[Verizon Droid Charge] nitroglycerine33:
Are you using GummyCharged EG2 or just the leak?

I read somewhere that the MediaProvider.apk was removed from the rom (might not be in a newer version). This would cause the phone to never be able to scan for new media. Check and see if you have a MediaProvider.apk in your system/app.

Here is one just incase you need it. I can make it a zip if needed.
[Verizon Droid Charge] gman8966:
Try using QuickPic from the market and see if they show up in that program. I have found it to be much quicker than anything else.
[Galaxy S I9000 Q&A, Help & Troubleshooting] christopher2018:
I have flashed my phone with the rom:

PDA: I9003ZHKC1-REV08-ALL-low-CL940719

Phone: MODEM_I9003ZHKB4_REV_00_CL908871.tar

CSC: GT-I9003-CSC-TGY.tar

(It's a Hong Kong rom)

after flashing my i9003, it can't read my sim card and i can only have an emergency call. How can i solve this problem? I have flashed it twice and still can't read the sim card.
[Galaxy S I9000 Q&A, Help & Troubleshooting] fxsuprapto:
Try again with XXKB3 from http://xdaforums.com/showthread.php?t=1004647
[Galaxy S I9000 Q&A, Help & Troubleshooting] fooman123:
Did you backup your efs partition before your flash?

If your efs partition got messed up you may have lost your IMEI - If that is the case and you don't have backup -- your only option might be the samung service center..
[Galaxy S I9000 Q&A, Help & Troubleshooting] Misledz:
There are some firmwares that work for specific countries. Usually when you end up using a sim that is not supported by that baseband firmware. it wont read obviously. Where are you from anyways and why flash a HK Firmware?
[Galaxy S I9000 Q&A, Help & Troubleshooting] piernodoyuna:
perhaps, you must try to put your company APN manually.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Misledz:
That's only for mobile internet sir.
[Galaxy S I9000 Q&A, Help & Troubleshooting] piernodoyuna:
In my case, APN setting forced to recognize SIM card......
[Galaxy S I9000 Q&A, Help & Troubleshooting] anigr88:
Once it happened to me also and after flashing i have put ma sim in wrong position ...

Just check if that works :D :D
[Galaxy S I9000 Q&A, Help & Troubleshooting] sassychic:
did it work? I have the same problem with him but I never flash it.. It just happen that my phone can't recognized my sim card. :(
[Galaxy S I9000 Q&A, Help & Troubleshooting] thegalaxysplus:
Try if it works !

Also check out this Guide : http://xdaforums.com/showthread.php?p=27008603#post27008603
[HTC Inspire 4G] Printerscape:
It doesn't work in small areas of the screen, at random.

For example, earlier today, when typing on portrait, the "E" key won't work. I went to calibration, and when typing the "E" on the short sentence, it didn't register.

After the E-key starts working, all of a sudden the "N" key doesn't work. Same story with the calibration not working as well for that key...

When this happens, and I switch to landscape, the letter/item/object in that vicinity still doesn't work.

It's as if that small area is dead, and it happens at random, but enough that I am annoyed I can't text.

What's going on...?
[HTC Inspire 4G] DVA4890:
I had that problem with the P key a restart made it better again
[HTC Inspire 4G] ranklepup:
This used to happen to me on optimized stock roms with the stock keyboard. I would suggest you to find a keyboard on the market such as swype, or flexT9 and use one of those.

I am not aware of a fix for the keyboard not responding to touch gestures, So you have to improvise :)
[HTC Inspire 4G] swatcop1:
Same here, I searched but could not find a fix. When I used another keyboard (if I recall) the problem become less frequent. Now that i am rooted and running a custom ROM, problem resolved.
[HTC Inspire 4G] di11igaf:
Its gonna happen no matter what. Read the sensation forums its happening with that phone as well. Not sure if HTC is using the same touchscreen driver, but if they are that would explain it.
[HTC Inspire 4G] ranklepup:
Do you know if it is a rooting problem our just the phones driver? I never had any issues when my phone was stock...the keyboard felt better on stock also.
[HTC Inspire 4G] bpodz34:
This also happens to me on occasion but it happened to my captivate also. Both rooted and romed with ASOP source. Maybe thats the cause?
[HTC Inspire 4G] doublen1:
Same here. Rooted and running a CoreDroid rom right now. Annoying.
[HTC Inspire 4G] Hermdroid:
That happens to me sometimes. Usually when I clean the screen it works.
[HTC Inspire 4G] Scott_S:
This sure does appear to be a problem plaguing a lot of people.

I dont know why I've been spared this misery.

The closest I've ever experienced to this sort of problem was occasionally I'd be typing and it would sort of freeze, but all of the characters I typed in that "frozen" period of time actually went through, they just got delayed, like the phone had to catch up, as if they were buffered, but their actual output to the screen lagged by a second or or two. It doesn't do it anymore, and hasn't for a long time.

I can't think of what I did that would have made it disappear... I haven't flashed a different ROM for a long time. Running inspired ace.

What you guys are describing sounds different... Like no matter what you do, a certain key won't register, yet others will register just fine.
[HTC Inspire 4G] swatcop1:
Yep that is what happens. No matter what you do the certain key would not register. It would require a restart. But as I mentioned before, ever since I rooted and changed ROMS, I have not experienced this problem again, yet. It wasn't often this would happen. Maybe twice a week or so....
[HTC Inspire 4G] spenzher:
This happens on my inspire as well. For me its the H key sometimes. I'm running cyanogenmod 7.1 and strangely enough its happened for two different keyboards: swift beta and smart keyboard pro. I feel a little relieved its not just me experiencing this
[Legend Q&A, Help & Troubleshooting] Turwaithion:
Hello everyone

I have Cyanogenmod 7.0.3 running on my HTC Legend but am having trouble with the GPS.

I have used GPS test on both radio firmware 7.13.35.05 and 7.08.35.21 and get 6-10 satellites on both and about 5-8 in use. However I never get a position or accuracy reading and in apps such as Google Maps it just says "waiting for location".

What can be the problem ?
[Legend Q&A, Help & Troubleshooting] Asovse1:
I actually have the same problem, but the only time it locks (RARELY) when I use Maps. RARELY!

I flashed to CM 7.1 RC and don't think I experienced this problem in 7.0.3. I'm also curious as to what the problem is, I've updated the radio to 7.13.35.13 long ago and recently I've applied the GPS "Faster Fix" Mod buried somewhere in the Dev forum.
[Legend Q&A, Help & Troubleshooting] Turwaithion:
I have tried the faster fix without luck.

When the gps eventually gets a fix (after 10-20 minutes sometimes never) it works flawlessly.. . But then when i turn it of and on - the same story.. waiting for ages

Is this a rom problem or a general Legend issue ?

My 5 year old Garmin Nuvi gps for the car gets a lock within 8 seconds... So er new smartphone should be able to do this also.
[Legend Q&A, Help & Troubleshooting] doubleup:
I thought I share my GPS experience.

Ever since I updated gps.conf to point to a local ntp server,

I now always get a GPS fix in seconds.

I'm currently loving CM71 RC1 but have also had GPS success with B 0.84.

I hope this helps.
[Legend Q&A, Help & Troubleshooting] Turwaithion:
Ithought that was what fasterfix was supposed to to ? To modify the gps config file..

How do you do it manually ?
[Legend Q&A, Help & Troubleshooting] Asovse1:
Use Root Explorer.

Take a gander through here:

http://xdaforums.com/showthread.php?t=1066284
[Legend Q&A, Help & Troubleshooting] doubleup:
CM7 defaults to NTP_SERVER=europe.pool.ntp.org

HTC defaults to NTP_SERVER=north-america.pool.ntp.org

So replace that line with a server closer to your part of the world from pool.ntp.org.

The safest way to replace gps.conf is via recovery, for example:

adb reboot recovery

+/+/ then +/+/

adb shell mount /system

adb push gps.conf /system/etc/gps.conf

adb shell chmod 644 /system/etc/gps.conf

adb reboot
[Legend Q&A, Help & Troubleshooting] djsubtronic:
Do you see the GPS icon blinking? If so then you can try flashing the various GPS fix files, modifying configurations, or waving your phone in the air to recalibrate the sensors. However, after none of those solutions worked for me, I realized the issue was hardware related. The GPS sensor is directly underneath the loudspeaker on the back, behind the plastic cover. Similar to the way the battery cover is the antenna for WiFi/mobile network etc, the upper cover is the antenna for GPS. I found that fiddling around with it, or applying pressure where the speaker is can help achieve a better GPS signal, but if you stop applying pressure, it tends to stop working again.

Download the "GPS Test" app from the market, run it, look at the strength of the GPS and then check again after applying pressure. If you notice the bars go up, then you've found your issue. If you are adventurous enough, you can use a pin to pry open the cover (be careful not to scratch) and you'll see two small metallic connectors below the speaker. You could try to adjust them to provide better contact with the antenna in the plastic cover. That's how I fixed my GPS issues.
[Legend Q&A, Help & Troubleshooting] Turwaithion:
My config is now set to europe (where i live) and i get 9-11 satellites with 20-45 in signal strengthwith "gps test" but it still takes up to 20 minutes sometimes to get a fix. The icon is blinking but it still takes far more time than suppose to.

My garmin gps running watch lock on to a satellite in under 10 second..

This is crazy..
[Legend Q&A, Help & Troubleshooting] Turwaithion:
I have now tried to set to denmark (my home country) at that seems to do the trick.. But come on.. everytime i travle to germany and france i have to reset the servers ?

Can it really be true that gps in smartphones are so bad when older gps devices for cars and waches are better ?
[Legend Q&A, Help & Troubleshooting] doubleup:
You may also set up to 4 servers and they dont need to be from the same pool.

0.europe.pool.ntp.org 1.europe.pool.ntp.org 2.europe.pool.ntp.org 3.europe.pool.ntp.org

Yeah, I would expect the europe pool should be enough but see how you go.
[Legend Q&A, Help & Troubleshooting] loscassapalle:
i have cm7.1 rc1. i'm trying to change gps.conf with the one i made, but i can't:

if i paste it with root explorer (r/w) it tells me that it's been pasted, but after reboot there is always the same old file

with adb shell i have this error

- exec '/system/bin/sh' failed: No such file or directory (2) -

someone can help me?
[Legend Q&A, Help & Troubleshooting] doubleup:
use the recovery procedure listed before
[Legend Q&A, Help & Troubleshooting] loscassapalle:
i did, but when i type adb shell mount /system it gives me the error i wrote in the previous post
[Legend Q&A, Help & Troubleshooting] dancemonkey:
You need to start clockworkmod via update.zip
[Legend Q&A, Help & Troubleshooting] doubleup:
follow the launching recovery steps shown here

http://xdaforums.com/showthread.php?t=698404
[Legend Q&A, Help & Troubleshooting] loscassapalle:
thanks, you were right. i've updated it, but still not work:

with gps status i cleared previous data and download new ones, but after 10 min nothing happened.

i've radio 7.05.35.26, should i try to update?
[Legend Q&A, Help & Troubleshooting] dancemonkey:
I assume you have data turned on? Also what does your conf file look like?
[Legend Q&A, Help & Troubleshooting] loscassapalle:
yes, data on.

i copied it from that post , only changing the ntp server
[Legend Q&A, Help & Troubleshooting] doubleup:
interesting to know what happens after you update your radio

the post you got gps.conf from says is all good with radio 7.13.35.05

i went from b084 to cm71 so everything was wiped out and got that radio

keep us posted
[Legend Q&A, Help & Troubleshooting] loscassapalle:
i read somewhere (in there) that have gps working after flashing new radio is a placebo.

but i flashed it and, just after 1 min watching the sky from the window, it foud various satellites. for the first time i saw the gps icon.

thanks;)
[Legend Q&A, Help & Troubleshooting] doubleup:
good to hear gps works for you now :cool:
[Legend Q&A, Help & Troubleshooting] loscassapalle:
probably my problem is not completely solved:

it finds lots of satellites, but it needs 10 or more minutes to find my position (when the gps logo on the notification bar stop blinking)
[Legend Q&A, Help & Troubleshooting] doubleup:
in my case i only changed the first line of gps.conf

so i don't even bother with multiple ntp servers or

agps and always get a fast gps lock
[Legend Q&A, Help & Troubleshooting] Turwaithion:
GPC still does not work.

This is crazy

I have now set the servers to Denmark while ago and am using copilot live.

For the first time it takes about 15 minutes to get a lock - then it takes 20-40 seconds. If i wait a couple of days i go back to waiting 15 minutes again rendering the GPS totally unuseable.

Have friends with iphones having a lock within second. It the GPS in the Legend really that crappy ?

I do not have data turned on since it is very expensive. And the gps should work within seconds flawlessly since it does that in my much older car cps and running watch gps.. Or am I totally wrong ?
[Legend Q&A, Help & Troubleshooting] steveeJ:
i have smiliar behaviour.

have you ever solved that problem?
[Legend Q&A, Help & Troubleshooting] carkev:
I live in the UK and have had problems GPS on both CM7 and BlaYO's B.0.8.4

the attached file from 'wbam' solved it on both roms for me.

I should be fine for all Europe also.

drop it onto your sdcard and flash it from Clockwork recovery.

on my Legend the initial lock with GPS Status or GPS Test was slow, but is fine thereafter.
[Legend Q&A, Help & Troubleshooting] callmewind:
My experience:

If GPS takes longer than 1 minute to get fixed I usually reboot the phone. This normally fixes it thought sometimes I have to reboot one more time.

Normally my gps fixes un 30 sec or doesn't fix at all, and rebooting is the only solution. It happens with both CM and stock rom. Actually my old phone (sony ericsson c702) suffered from the same problem.
[Legend Q&A, Help & Troubleshooting] Turwaithion:
#27

I have tried your process - which i assume changes the gps.conf ?

This did not however change anything -

I have the newest radio and the gps.conf directs to a local server.

I actually get a "lock" within second - the accuracy is several kilometres however so I suppose it does not use the gps but the normal antenna.

rebooting does not change anything. Will this be better in CM 9 ?

After sitting for 30 minutes there is still only the 3 kilometres accuracy "lock"
[Legend Q&A, Help & Troubleshooting] carkev:
are you saying the flash did not work, or that it did, but the GPS was no better ?

it flashed to my Legend ok even though it is "S-ON"

the gps.conf file resides in /system/etc, have a look at yours with Root Explorer ... the one from wbaw reads:

## GPS FIX - Modified by wbaw - r0.2 ##

## NTP Time server, use a local one ##

NTP_SERVER=0.europe.pool.ntp.org

# NTP_SERVER=0.uk.pool.ntp.org

# NTP_SERVER=0.asia.pool.ntp.org

# NTP_SERVER=0.oceania.pool.ntp.org

# NTP_SERVER=0.north-america.pool.ntp.org

# NTP_SERVER=0.south-america.pool.ntp.org

# NTP_SERVER=0.africa.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

DEBUG_LEVEL = 3

## Intermediate positioning, reduces accuracy, increases speed

INTERMEDIATE_POS=1

## Accuracy threshold for intermediate positioning

## 0 for no threshold causes 'Skipton bug'

ACCURACY_THRES=5000

## Enables network positioning before you get a gps fix

ENABLE_WIPER=1

### AGPS SETTINGS ###

## Use Google AGPS server

SUPL_HOST=supl.google.com

SUPL_PORT=7276

## Comment the above 2 lines & uncomment the lines below

## to use Orange UK AGPS server

#SUPL_HOST=agpss.orange.co.uk

#SUPL_PORT=7275

## More AGPS settings

CURRENT_CARRIER=common

DEFAULT_AGPS_ENABLE=TRUE

DEFAULT_SSL_ENABLE=FALSE

DEFAULT_USER_PLANE=TRUE

beyond that I have nothing better to suggest, sorry.
[Legend Q&A, Help & Troubleshooting] Turwaithion:
It flashed the new gps.conf correctly - but still no lock after several minutes
[Legend Q&A, Help & Troubleshooting] carkev:
actually a thought has occurred to me ...

given that wbaw does work, it may be that the gps data from you previous gps.conf may be the problem now.

install GPS Status from the Market and in it's menus you have the ability to flush

current GPS Data and then download fresh data. (best via wifi)

this may do the trick.
[Wildfire Q&A, Help & Troubleshooting] darrie1:
I am trying to make a backup with CWM but it keeps hanging around 40-60% and than I have to pull the battery, because it wont do anything.

What I've done:

-S-OFF with ALFArevX beta

- installed CWM by having PC49.zip on sdcard and then go in HBOOT so it would ask to update

-ive rooted my phone with another .zip through CWM

and what should I have done with al the drivers i have downloaded on my pc to make it S-OFF, because i just left them in seperate folders

So... what do i have to do, to be able to make a backup with CWM and what did I do wrong>

EDIT: BTW what are the chances of making a full brick?

thankyou:D
[Wildfire Q&A, Help & Troubleshooting] anonimo95:
it is when you are trying to make a nandroid backup, are you? if it is , make sure you have free space in your sd card (around 250-300mb)
[Wildfire Q&A, Help & Troubleshooting] darrie1:
yes it is when im trying to do a nandroid backup. i still have 960mb free space, so that couldnt be the problem, right?
[Wildfire Q&A, Help & Troubleshooting] bx19:
Reflash different version of recovery and try again. And if your memory card can be formattable from connection in disk mode from PC, then there are no memory card read/write errors.

BTW, chances of brick are when flashing hboot and radio.
[Wildfire Q&A, Help & Troubleshooting] darrie1:
i have already tried with 3.0.0.6 and i used the one that is downloadable with rom manager, both didnt work. i havent tried to format sd, ill try that later maybe.

is CWM 4 fine to use or something experimental? if its fine, i will try to use that one
[Wildfire Q&A, Help & Troubleshooting] bx19:
Using the latest 4.x recovery. And haven't had any issues. Of course I haven't had any issues with recoveries I used. But I haven't used the 3.0.0.6 one.

You can also use the 3.2.x recovery which fixes the offline charging (if you feel the 4.x recovery is experimental).
[Windows Mobile Software Development] M3PH:
So basically this is what i need:

say i have a combo box that has 2 items, 0 and 1. When i say combobox1.SelectedItem and the number 1 is selected, it is then used within the program.

But what i want to do is have a combobox that displays say, on and off, but when on is selected a 1 is passed to the program.

Been googling this on and off for 2 weeks or so and I'm not able to find the answer and i know it can be done.

Thoughts and suggestions, as ever, are appreciated.
[Windows Mobile Software Development] stephj:
Use the SelectedIndex property of the ComboBox. It will return as an integer, a zero based index of the item selected, or -1 if no item is selected.

In your ComboBox, if the first item is 'Off' and the second, 'On', then the SelectedIndex property will return 0 and 1 respectively.

P.S. SelectedItem returns whatever is in the selected entry of the ComboBox.
[Windows Mobile Software Development] M3PH:
OK that sounds pretty easy. I'm surprised i didn't find that in my searchs. Now lets up the anty. In EXCT2 i have a combobox that has the following items.

0
512
1024
2048
5120
10240
20480
102400
-2
-1

These are values used by the exchange (sync) configuration OMA service provider to configure the truncation point of html email messages. 512 is 0.5KB and it moves up to 100KB. Then -2 is text but no pictures and -1 is for the entire message. So if i wanted to say 0.5KB as the item how do i tell the program to use the value 512?