yashsingh1/xdaforums huggingface dataset:
[Android Software Development] tekmunki:
I am 'just' getting into app development, so be gentle...

I want to build a very very simple app that opens txt files from email; and then work on formatting them myself.

Do put it simply; I don't mind doing the research- but I'm 'so' green at this I'm not sure where to start.

TextView tv = new TextView(this);
tv.setText("Hello, Android");

I assume this is the code I need to research; TextView(filenamevariable.txt)?

My question is this; how do I make my app call and display raw text from any app; for example if I open a txt file in Astro, or from an email attachment- I want my app to be the 'opening app'; Also, I need to know how to make it variable so the app will always look at whatever txt file called the app to start.

I'm OK with vague 'lmgtfy' answers- I'm just at a point where I'm not sure what code I'm looking for- some example code would be great; I really just want to play around with the way text can be displayed from an external file.
[General Questions and Answers] stimey:
Does anyone else have this problem. I have a touch pro 2 on Sprint running Mobile Shell 3.5. When I select a contact and hit send MMS it won't allow me to attach a pic. When I hit SMS it will. All 3rd party software does this. For example telesketsa. it just brings up a blank sms.

Would be nice if I could direct the registry to bring up arcsoft.
[HD2 Windows Mobile 6.5 Themes and Apps] omnia1994:
can anyone provide me a good suretype keypad cab? tq~
[Touch Pro2, Tilt 2 Windows Mobile General] djquim:
Dear helper,

I have my HTC Touch Pro2, but the front screen is loss now, that means the touch-part does not work anymore, but there is a lock on it (slide it and then enter a code), is there a way to get around the slide part to get my documents and contacts, because the repair-center can't help me get those personal contacts back, like a command sent trough the usb? or to get into the system without the code?

yours sincerely,

Kevin van Hoorn
[Touch Pro2, Tilt 2 Windows Mobile General] Aaron McCarthy:
not sure about the sliding it to unlock as I never use that feature... but you can type in your code with your slide out keyboard.

I just enabled my lock screen to text and as soon as I slid out my keyboard the lock screen went away. Granted I don't have a pin set though.
[Touch Pro2, Tilt 2 Windows Mobile General] djquim:
i know about the digits (numbers) but first i need the slider to go away :(

bye bye contacts
[Touch Pro2, Tilt 2 Windows Mobile General] Nameless21:
Try and install this

http://www.mymobiler.com/

If you can get it to install then you can control your phone on your pc’s screen.
[Touch Pro2, Tilt 2 Windows Mobile General] drewcam888:
yes my mobiler would help but only if you have sdkcerts installed to avoid the touchscreen question of yes to install a unkown program.
[Touch Pro2, Tilt 2 Windows Mobile General] Nameless21:
could use the arrow keys on the keyboard to move to yes, then press enter to confirm.
[HD2 Windows Mobile 6.5 Themes and Apps] morpheus1982:
Hi All,

Just a quick question.

I noticed today that my ROM and Manila version under Settings have reverted back to 1.66 despite the fact that ROM version under on the o2 boot screen is still 1.72.

How can this happen? Is it something to do with restoring a backup?

Any ideas?

Thanks in advance.

EDIT: Sorry Mods, I thought I was back in the HD2 General thread. Please move it.
[HD2 Windows Mobile 6.5 Themes and Apps] Demon_man:
what did you use to restore a backup it could have saved some registry bits and changed them in the phone,
[HD2 Windows Mobile 6.5 Themes and Apps] elburna:
Im sure you restored a full backup after changing the ROM :rolleyes: Dont do this !!! :) Seriously you get many problems with that. Just restore your contacts, messages etc. and install everything clean again...
[HD2 Windows Mobile 6.5 Themes and Apps] morpheus1982:
possibly, my bad....

I changed my ROM ages ago and checked the version under Settings straight afterwards and it was fine Im sure ( I think LOL). I need do a restore today after the HTC Messaging Client 2015 update didnt work and just happened to notice the inconsistency.

Anyway I reckon the ROM version displayed in settings is simply reading from a registry setting (I found the wrong manila version number in the registry also) , as the boot screen displays the correct version.

PS. I use SPBbackup in ROM upgrade mode when moving to a new ROM and and this is the first time I have experienced this. Bearing in mind that I have gone from 1.43 O2 to 1.66 stock to 1.72 O2 and this is the first time I noticing this, 2 months after last upgrade.

Strange...I havent noticed any issues, so I will probably just fix at the point of the next upgrade (assuming there will be one).

Thanks for input so far.
[Hero CDMA Q&A, Help & Troubleshooting] gorbisloth:
I'm running the DamageControl 2.09.01 ROM currently. I installed the Wifi tether this morning and when I tried to run it I just get the black screen for the SU app but no prompt at all.

Anyone have any suggestions on how to fix this without wiping and reapplying the ROM? I've got most things just he way I like them and would prefer not to have to do it all over again.
[Hero CDMA Q&A, Help & Troubleshooting] Kcarpenter:
Make sure USB debugging is turned on. Settings > Applications > Development.
[Hero CDMA Q&A, Help & Troubleshooting] gorbisloth:
Well that was simple enough. I didn't know that needed to be on for the prompts to show up. Thanks for the help. Much appreciated.
[Desire General] jamran:
HI guys. This is soooo irritating and just don't know what to do. I assigned photos to my contacts from my photo albums but every time I turn my phone on the photos become blurry n horrible!! I then hav to add them all over again but only for them to blur up again afterwards :-(

I read about blurry contact icons but that was when synced with Google or Facebook contacts, I only add from my own gallery so why is this happening and is there a way round?

Also has anyone had the same problem?

This is such a basic feature & dies work properly.

Thanks

-------------------------------------

Sent via the XDA Tapatalk App
[Desire General] psycho.ro:
This has been discussed extensively on other threads.

Check out the complaints and annoyances with workarounds.

Basically Google sync is to blame because it stores the pictures in a low format resolution.

You need to create a phone contact and add the picture to that one, then link to the "google" contact.
[Desire General] gogol:
Do you know where is the "photo" of the "Phone contact" stored?

In the SD-CARD?
[Desire General] jamran:
Yes its stored on my sd

-------------------------------------

Sent via the XDA Tapatalk App
[Desire General] hyaenidae:
it's the gmail-contact-sync fault.

either cap gmail from syncing your contacts or live with crappy pictures.

it sux, but I killed the sync
[Desire General] budvar:
Don't think it's google's fault

Hello, sorry if this has been discussed, but is it not actually more of a carrier issue?

I have synced my phone on my wireless at home and had good looking icons, however, once I've spent a day on 3G only, I notice the quality has dropped.

I had put this down to the fact, in my case, T-mobile proxy all images and reduce the quality for bandwidth purposes.

The best demonstration for this is using twidroid. Twidroid has the option of using SSL, meaning that t-mobile's proxies can't tell that it's an image and modify it. The difference between using SSL and not using it is drastic.

Digital blasphemy has page on this relating to AOL; same problem, different ISP.

The page is /aol.shtml
[Desire General] jamran:
But I transferred the contacts from my old phone, so I'm a bit confused when people say its got to do with Google. Can someone elaborate plz?

All my contacts are Vcards that wer imported from SD card and saved on phone.

Thanks

-------------------------------------

Sent via the XDA Tapatalk App
[Desire General] andycted:
Hi, I've just bumped into this thread while searching for the same problem, it wasn't very clear in others I've found.

It's well known that syncing your contacts with your gmail account results in semi-blurry / pixelated photos, which look very ugly especially while dialing in HTC dialer. This can be solved in a couple of ways, one is to disable contact sync.

Now I'm on plain Froyo (Defrost 2.1) and I've noticed that if you crop a photo to make the contact picture, if the photo has a high resolution and you crop a big enough rectangle, the photo becomes very pixelated when shown in the dialer. Oddly enough, contact photos which I've chosen and cropped with HTC Photos album, while on HTC rom, and which have been restored through titanium backup, are showing ok, so I'm guessing it's an issue with Stock Gallery not properly resizing images ? Anybody else experiencing the same ?

To reproduce - this happens (to me) in NON htc roms, with google contact sync disabled:

- create a contact

- add contact picture through Stock Gallery (the 3D view one)

- select a big picture (5Mpixel) and crop a good part of it, more than half, or most of it.

- call that contact and you should see the picture very pixelated / badly resized
[Desire General] DoomFragger:
I will assume that if it's a google OS, they will use the same policy regarding contact pictures. Because, in the end, it will save time in their servers when a sync is made.
[Desire General] andycted:
Uhm I don't know, while this explanation could make sense, I have the impression that in fact the image is stored in a high resolution, but then, when resizing it smaller to make it fit into the tiny square when calling a person, the algorithm used doesn't make it's work well. If I crop a small part of the picture, the scaling occurs much better.

You actually mean it happens the same on your device ?
[Desire General] andycted:
I have maybe understood what happens, since the photo is still pixelated even when opening it in another dialer or contact viewer.

Select contact photo -> Open Gallery -> Crop to desired size ->

Here is the problem, the Stock 3D gallery resizes the cropped section to the actual size that have to be stored in contact pictures (anybody knows the size ?), but does a horrible job in scaling down, especially if the original picture is very big.

Anybody can verify this ?
[Desire General] elburna:
Nope i made all my contact photos within the gallery and they are just fine (sharp etc.). For me the problem was GSync which i disabled now. I know not everybody uses it here and still has the problems but for me everything is OK since disabling contact-sync.

Maybe everybody should have a look at the GoogleSync-Settings as well as the Exchange ones. In my case both accounts where enabled to sync the contacts with Google.
[Desire General] andycted:
Lucky you, I have every sync disabled but can confirm that it's just the gallery that crops and resizes with bad quality scaling.

I have tried using astro to select the picture and while it doesn't allow you to select the cropping area, it doesn't scale badly.

Did you actually try to use a very big picture and crop a good part of it?

Also, are you on froyo or eclair?
[Desire General] elburna:
I use the standard eclaire ROM (1.21.405). The photos i used were taken with the 5 MP Camera of my former HTC HD2 so i guess they are big enough? Havent tried it with Astro so far. Hmm it seems hard to figure out, what could be wrong/different between our Desire-Contact-Manager-Photo-Thingy... :)
[Desire General] andycted:
That is weird, since it's not mentioned anywhere else or probably mixed up with the sync-contact issue. At this point I would think that it could be an issue with the froyo gallery or with this particular rom. I might try a nandroid backup and then install stock eclair to try it out.

Just to be sure, let me ask you one question: if you select the entire photo (or rather the square part that fits the rectangular picture) for one contact, then on calling it, does the photo look blurry or rather pixelated ? on mine it's very visible in curves, which become jagged. I'm just asking because probably most people crop to a smallish part of the picture, like the face, while I'm trying to include the whole photo

Thanks.

[EDIT] erm, you mean stock rom with HTC Sense ? Because my problem is with stock android froyo, without HTC Sense Gallery, but using stock android 3D gallery (the one by cooliris)
[Desire General] andycted:
I've just tried to install a eclair cyanogen (ERE27) and even without restoring anything I have been able to repicate the same exact issue.

At this point I think most people don't notice this because you mainly crop pictures in order to take the face and not the whole picture itself.

Just to make this clear once more, this has nothing to do with blurry contact sync issue and it happens in HTC Sense-free roms (i.e. DeFrost, cyanogen)

If anybody can come up with a better alternative than using astro or resizing images in separate applications, please post it here.
[Desire General] elburna:
Just to give you an idea i have attached an original pic and a screenshot with the caller-screen. It might seem (when you zoom in the caller-screen) that it looks a bit blurry but on the small screen of the desire it looks absolutely sharp. As said, i made this with the standard album and chose a quite big area of the original photo.

Cheers
[Desire General] andycted:
Thank you, I see that you in fact have a HTC Rom, and I guess that's the difference, I use stock froyo, non sense Rom, so I don't have the nice HTC picture gallery which does a fine job.

for standard album I meany the 3d gallery, developed by cooliris which is stock in non HTC roms.

Thank you anyway for your effort
[Desire General] elburna:
Yep and thank you for stating it clearly :) Didnt get it before, that HTC Sense is the cause. Didnt know, that Sense is integrated so deeply into the system that there are differences when setting up contact pictures just because of different album-applications.

Greets
[Desire General] andycted:
The gallery and possibly the dialer are the only reason why I would return to a HTC Rom, along with very few other things.

Still I can't understand how they can overlook such things...
[Desire General] EddyOS:
I'm using DeFroST at the moment and am wondering how I can set 'my' contact picture. Other contacts are coming up in SMS threads, etc. but mine isn't and I can't find where to change/add it

Anyone care to point it out (if possible)?
[Desire General] viper_campbell:
Add a contact called "Me" with your phone number and picture... Voila!!! Done :)
[Desire General] xXxIKoN:
My contact picture next to sms.

This does not work if you already have your contact and do an update or install another rom. The following will work.

STEP ONE:

(Skip this step if you allready have a contact for yourself in you address book!)

Add a contact called (Me, Mine, Your Name)"who ever you want" with your phones 10 digit number, Join it with Google, Facebook and set a contact picture just like a normal contact.

STEP TWO:

Navigate to the following:

Menu:

Settings:

Call Settings:

Additional settings:

My phone number:

Enter your phone number "0000000000"

And your Picture from your contact address book will apear next to your sms.;)
[Desire General] Lothaen:
bump app will create the 'my' contact too - or it did last time I used it
[Desire General] mmceorange:
Just had this issue myself.. fixed it by making sure i had the Facebook For HTC account properly syncing, then adding the friendstream widget on a homescreen and letting it sync. then my picture was everywhere I was hehe

Hope that helps yours, I dont know much about that rom
[HD2 General] Randomly Set:
Hi all, I've had my HTC HD2 since about Jan/Feb this year. When I first got it, I loved it! However, the past few months I have hated it, yet managed to "bear with it".

For example, it takes an age to load a text message once I have 15-20+ texts from a contact. Once it's loaded it then takes an age to reply. So, for the past 3 months or so, I read the text, come out of it, compose new text, add the recipient, add the message etc and send. Not a major problem, but rather just be able to hit reply, and ta-da, start composing a reply.

Another problem, I'm unable to send picture messages! I managed to send a few when I first got it, but now I can't send or recieve them! Spoke to my mobile provider (Virgin Mobile) a few months ago, went through all the settings, and everything was set up correctly!

Today, the final straw, the vibration has stopped! Turned it off and back on, checked settings etc, nothing.

On top of that, I must get an error report almost daily! Sometimes I'll get 2 or 3 in a row! It's getting so bad, I daren't install any apps etc. At the moment, all it's used for is texting, talking, and Opera. Not exactly using it's full potential! Battery life is also dire, but that another issue....

Anyway, just got off the phone from Virgin Mobile, and they believe the slow texting is a software issue, and should contact HTC direct. They also thing the vibration may be related! (somehow I don't think so).

They suggested a possible software update. How do I do this? Where do I download it from etc? TBH, they were pretty useless and offered no help what-so-ever.

So, I'm now asking you guys. Please help me! Really thought I would love this phone, and the one my mate has (a few years old now), was what persuaded me to get one as I loved his. Yet since owning one, it's been nothing but a ball-ache, and just a paperweight TBH!

TIA

Mat
[HD2 General] Demon_man:
Country?

ROM version?

Radio Version?

you can check them by sliding all the way to the end and scroll down to about phone and software version?

The txt messaging thing is a big problem, screw Virgin they got no clue, the vibration could be software ya never no, if you're on sock (ie what came when you bought the phone) I would suggest a custom ROM so much better performance wise

I', on virgin in the UK there tech team are a freaking joke :p
[HD2 General] spireite_uk:
Put a decent ROM on your phone and most of the issues will disappear. Especially the SMS one, which pee'd me off to no end when I was running stock ROM.
[HD2 General] Randomly Set:
I'll get the info in a min. Everything is standard from when I first got it!

spireite_uk: nice to see a local on here ;) Where you from? you can come and sort my phone out lol
[HD2 General] Randomly Set:
Country: UK (England)

I'll copy everything from the Software Information page

OS Verion: 5.2.21869 (21869.5.0.82)

Manila Version: 2.5.19211619.0

ROM Version: 1.48.405.2 (71294) WWE

ROM Date: 11/18/09

Radio Version: 2.05.51.05_2

Protocol Version: 15.28.50.07U
[HD2 General] spireite_uk:
Live in Tapton, work in Brampton mate. You?
[HD2 General] Randomly Set:
Live in North Wingfield, work in Sheffield....

So, how do I put a new ROM on my phone? Where do I get it from etc? Will I lose anything?
[HD2 General] spireite_uk:
Look in the HD2 ROM Development forum, there's loads and loads of ROMS. Read this first though if you've never flashed a ROM before or could do a bit of damage. It's easy as pie though once you get your head round it.
[HD2 General] Randomly Set:
cheers fella.... gonna have a read of that now
[HD2 General] Randomly Set:
sorry for sounding dumb, but where do I download a ROM from? I have the excel sheet from that link, and I was thinking of this ROM:

ROM Link: [WWE] LEON v3.0 - OUT!! by sharky IIRC

when I click the link in his sig, it just takes me her

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

but can't see any obvious download link
[HD2 General] Crudeoil:
Hi.

for LEON ROM, go down on that thread and look at post #4
[HD2 General] suyama8:
Convert java game nokia 5800 ===>> HD2 480x80???

Thanks!!!!!!!
[HD2 General] Demon_man:
!. Is that a question or a request?

2. Shouldn't this be in Themes and Games section

3. MANNERS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[General Questions and Answers] Nieceeb321:
I have a HTC Hero from Sprint and I recently got it updated at the Sprint Store. Since then the speakers sound awful, it sounds like they are in Mono form instead of Stereo. I had to go to a typical phone ringing for the ringtone and not a song ringtone b/c it sounds so bad. Does anybody have any suggestions for me??????????
[General Questions and Answers] wouternet:
it could mean 2 things: BLown-up speakers due to to much input, or screwed up drivers. and btw aren't phones most of the time mono? i dont see where the 2nd speaker would go... i think it's broken speakers. And no, i dont talk crap, i studyied as an sound engineer.
[Tilt, TyTN II, MDA Vario III Android Development] danlyc1:
Hi,

Anyone manage to get to try Papago GPS on any of the built?

Thanks

Dan
[Nexus One Q&A, Help & Troubleshooting] renegadEEE:
Hi,

Recently I bought myself a N1 to replace my HD2. I knew android already from my G1 and HTC Magic and I was pleased by the performance on those phones so I had high expectations for the performance of the N1.

But using the phone doesn't feel like it's superfast at all. Scrolling through pages just feels laggy/slow if compare it to my old Magic with Android 1.6 with Sense on top of it.

Are there other people who have had this feeling? And is there a way to smoothen up things? It feels like Android 2.1 has another way of scrolling through pages than 1.6 and on my phone it really feels choppy, even without live wallpapers.

I'm using CM rom btw and have tested froyo but I don't think any rom has made it better for me.

It can't be true that my old Magic feels faster/smoother than the Nexus One can it? :(
[Nexus One Q&A, Help & Troubleshooting] harryharness:
Yea I know what you mean. I wouldn't be looking for another rom as much as launcher. I like ADW launcher the most but there is also LauncherPro.
[Nexus One Q&A, Help & Troubleshooting] renegadEEE:
Wow, ADW Launcher has idd the same smooth scrolling like I had on my Magic. But I don't like the drawer tho, the original menu with the 3D effect is way cooler. Damn this sucks.

Why doesnt google fix this? They should know by now that their launcher is sloppy.

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Q&A, Help & Troubleshooting] Jep4444:
try LauncherPro, it offers 3D menu system(need to activate it in the settings) and its super smooth for switching screens
[Hero CDMA Q&A, Help & Troubleshooting] grifforama:
So I'm running Fresh Toast v2 Beta 2.

It's on software version 2.20.651.1

I've been trying to run the latest version of Fresh Toast v2.1, which is off of software version 2.27.651.5

The thing is, I've been getting all sorts of problems with the latest Toast release. People app keeps crashing, phone keeps FC'ing every time I make a call. Pro Launcher keeps freezing...

I curently have all the goodies. OC'd / A2SD etc.

My phone is running like a dream, but I wondered if I'm missing something somewhere ?

THere is something odd not happening. In my people app on my current ROM, the last time Facebook updates were updated seems to be around 27th May. I keep refreshing, but nothing updates. My facebook app obviously does, but my people app doesn't. Weird.

Any suggestions ?
[Hero CDMA Q&A, Help & Troubleshooting] sierpinski13:
Did you wipe beforehand? Any roms based on the final build (2.27) need a wipe if you're coming from a leak build (2.20).

-------------------------------------

Sent via the XDA Tapatalk App
[G1 Apps and Games] mssmison:
As per, please post your questions about apps in the Q&A thread.
[Android] .Sam.:
Apologies if this is in the wrong place, or the answer is extremely simple.

I'm setting up my kitchen, so I can hopefully begin developing. I looked on the HTC site for the shipped ROM for my G1 but it doesn't seem to be displayed there, neither can I find it on these forums with a search.

Any help would be great :)
[Android] NuroSlam:
I guess the first answer is a question, how rooted is your g1? have you upgraded the radio and spl? if so you''ll want to play with the defanged rom. if not there is a howto revert to to stock g1

/Full_Downgrade_Guide_-_CyanogenMod_to_Stock