yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] retrobits:
togga can be downloaded here:

http://code.google.com/p/retrobits/downloads/list

I still need to update the layout code so it looks better with the new screen dimensions. I was lazy last time and just hard-coded the height and width.
[Touch CDMA Android Development] d1rtyd33z:
tinyurl

The following URL:

http://retrobits.googlecode.com/files/Togga_103.apk

has a length of 51 characters and resulted in the following TinyURL which has a length of 25 characters:

http://tinyurl.com/83behj

=]
[Touch CDMA Android Development] DallasW:
Thanks for all the hard work guys, this looks great!

Sadly the keyboards make it unusable for me, I'm too dependant on my TouchPal. I'll have to wait for the update to make the switch over to Android, but I most certainly will as soon as there is a keyboard worth using...
[Touch CDMA Android Development] d3mon187:
Well, any idea if we will be getting the google login function working again? Right now it just crashes when I try to do anything in the google login service. Seems like if we could get that to work we would have a lot of other programs working too, besides the obvious calendar functionality back.
[Touch CDMA Android Development] prairiefire:
The "portrait" keyboard is a lot more useable for me than the landscape one. I do find that sometimes using the portrait keyboard that I think I manage to press between the keys, because the focus moves to somewhere else on the screen and not within the box i'm currently typing. Has anyone else experienced this?

Is it possible to increase the key size to eliminate the gap in between? (might also minimize the problems I have with pressing the wrong key (i.e. I am constantly pressing keys beside the one I intend to because a lot of accuracy is needed to get it right)

I am able to use the google login service, have for a week (i think, assuming that all that means is being able to log into google for gmail, reader, etc through the browser?)
[Touch CDMA Android Development] steve98:
No the Google Login Service being discussed here is the one you will find in the dev tools section. In previous builds once you log in with this you are able to access the native calendar app etc without it crashing like it does at the moment.
[Touch CDMA Android Development] katmandu421:
It's not your accuracy, it's the calibration (go to dev tools>pointer location and see for yourself). At this point we are not able to calibrate the screen.
[Touch CDMA Android Development] prairiefire:
I'm aware of the calibration problem and have tried to adjust accordingly on the edges, but I even have difficulty with the keys in the middle of the screen (they're pretty small keys to be pressing). A keyboard that I download for WinMo (HTC Touch Keyboard + Keypad .cab file) is a great example of what i mean by eliminating the gap between keys.
[Touch CDMA Android Development] KERKEDAGAIN:
After installing a few programs via AndAppStore the OS apparently restarted..it showed the Android boot screen and started over. Is there a way to initiate this type of restart instead of having to power down/soft reset every time?
[Touch CDMA Android Development] d3mon187:
This happened to me too. I didn't see it as a feature though...

Oh, but wait. It reset into Android? I'm pretty sure mine just reset the phone into WM. Why would you need to just reset Android?
[Touch CDMA Android Development] jatoeast:
gls

@foobar

Have u considered using dev tools and gls from dzo's last release? That would get us calendar and probably youtube too.
[Touch CDMA Android Development] KERKEDAGAIN:
it seems that some of the software i try installing doesnt register til i reset. I just wanna bypass booting up wm and just reset android. thatt would also provide a fresh start after having run a bunch of apps, seeing as android seems to keep them alive
[Touch CDMA Android Development] oceilot:
No sms or internet

I am recieving this error message when trying to start the internet connection in the terminal

ifconfig:error: no inet socket available:Permission denied

Turning ppp connection on.

su:must be suid to work properly

I tried changing my username in the default.txt file to my wireless mobile web provider username which is my number @mycricket.com

I also followed all the patches and I have the latest update as of the 1st of the new year 2009(cupcake).

Any thoughts?

I am also a little lost on the SMS messaging, I've scoward the formus, I have the latest build with the messaging app, but i recive bad "bad sms encoding" on all TEXT MESSAGING. I dont know if there was a fix, If someone knows where it roughly might be and want to point me in that direction It would be greatly appreciated.
[Touch CDMA Android Development] grktaurus83:
The su error is not referring to the username you specify in the default.txt, but the username you are logged into the terminal with (which is different). A username and password combination that has worked for pretty much everyone has been:

username: blah

password: [blank]

(blank as in no characters at all)

Just use that for now.

For the su problem, it looks like the script isn't being run as root (or with root-level permissions).

I wrote the toggle script to pipe some commands to 'su' so that users don't have to manually su before running the script. I haven't tested out the cupcake build because I've been way too busy recently, but the version of su on cupcake may be different from the su in our old branch and my workaround is no longer viable.

I'll try to look into this in the next day or so.

Why not use Togga? retrobits wrote Togga to run my scripts via apk (which is definitely much better than using the terminal). Let me know if this problem still exists when run through Togga. Regardless, I'll be looking into it.

edit: I just checked out the su issue with cupcake and it is indeed because of the piped command. Cupcake's version of su is a bit more stringent than the dev build we were running (it seems). I noticed that this could be a possible problem down the line when I was first writing these scrips because my linux machine won't allow me to pipe commands to su but Android did. I figured some day they might change this. However, running toggle.sh as root still works just fine, so you'll just have to do that from now on.
[Touch CDMA Android Development] grktaurus83:
So I finally tried cupcake for the first time...

Very nice work f00bar. The UI changes (smaller icons, etc.) are fantastic.

Some issues I've been wondering about (from before cupcake):

1) In the contacts list, is there any way to make only the contact name appear and not the contact name + phone number? We'd be able to get so many more contacts on screen at a time that way.

2) Has anyone tracked down what is causing the screen to wake up randomly 15-45 seconds after it goes to sleep (without any user involvement)? This issue only happens every now and then and never causes an infinite loop of sleep/wake.

3) Has anyone looked into why the speaker makes a pop noise whenever audio is first initiated? Seems like a spike of current is being sent to the speaker whenever audio server activated. This can be seen most easily with the dialer. The first number dialed will cause the pop and subsequent numbers will not (unless you wait 3+ seconds between key presses).

Issues 2 and 3 have been brought up several times in this thread, but I don't think these issues have ever been resolved.
[Touch CDMA Android Development] oceilot:
thanks you grktaurus83

grktaurus83, I restarted the whole process, brand new kernel, with your files and the whole step by step. I managed to get Togga to work and connect, with a diffrent IP than the one stated in your how to, hahah but however the web browser just seems to hang up it just keeps loading as well as maps. Togga says Ive connected? anyboby else encounter infinit loading of the web browser?
[Touch CDMA Android Development] glitchbit:
some of us already have other phones to fall back on, so I am willing to fry my Vogue in an attempt to load Android OS... although since my phone service is not currently on the Vogue it will be interesting activating it on a phone with Android OS vs WinMo... I bought the Vogue months ago with the sole intention of replacing WinMo... until then it is just sitting alone, unused...

Please PM me if you know how to replace WinMo with Android and I will be a ginnie pig for the rest of us.
[Touch CDMA Android Development] etx:
Replacing Windows Mobile with Android is easy as pie Sir! Just goto your file manager, load up harriet, click run and you're done! Wasn't that EASY!?!
[Touch CDMA Android Development] grktaurus83:
It sounds as if you're getting my files separately from the latest build (though I may be misinterpreting what you're saying). All of my modifications have already been incorporated into the latest build so if you download the "latest version" from dzo's site it's all there.

It's weird that you're getting an infinite loading situation. Usually if it seems like something is up with the connection, I test it out in maps. But you say it happens in both.

Hm...

Try establishing a connection in Windows Mobile before booting into Android. When you do boot into Android, is the connection up? If it is, test to see if it works. Then try turning off the connection and back on. See if that does anything. If it's not, then try turning it on.

Also, make sure to check if you have a valid IP (no 169.254.___.___ type of IP).
[Touch CDMA Android Development] glitchbit:
....No

..........
[Touch CDMA Android Development] thoughtlesskyle:
delete post
[Touch CDMA Android Development] miamicanes:
Were the Vogue's portrait and landscape soft keyboards written in C(++) & compiled into the kernel (or a module) as native code, or were they written in Java as Android extensions? I'm intrigued by the possibility of being able to write my own SIP (specifically, implementing a clone of Graffiti 1), but realistically, it's not going to happen unless I can do it in Java.

If they WERE written in Java, which source files deal with the keyboard implementations? If they weren't... but it's nevertheless known to be possible... what classes in the SDK should I look at for more info? Or alternatively, what specific Google'able term does Android use to describe a soft input panel implementation?

Thanks :)
[Touch CDMA Android Development] zapat0s:
I belive the soft keyboard that dzo included in earlier versions of the port was in the kernel. Im not sure about the keyboard included with cupcake.
[Touch CDMA Android Development] oceilot:
grktaurus83,

grktaurus83, yes i have your current build on the current kernel, ive tried booting a connection in WINMOB but still no progress, when i do connect on togga i recive this script

phone ip: 10.6.124.64

subnet 255.255.255.255

p-t-p 172.28.220.130

done

internet connection is on

(ip:10.6.124.64)

Also does the latest kernel have the fixes for SMS messaging, I am still recivening bad SMS messages from multiple providers.
[Touch CDMA Android Development] miamicanes:
Hmmm... it appears that the official magic phrases to google for are:

"input method framework" and "input method engine"

and both are apparently part of "cupcake". I'm still trying to figure out where the documentation for them is located... I'm sure it exists somewhere as an official (or leaked) beta, but all I've found so far are endless articles rehashing the same press release from late October announcing its arrival sometime in Q1 2009.

If I'm running cupcake, will it be obvious and dramatically different? Or does it look more or less the same? I downloaded what I thought was supposed to be cupcake from http://vogue-android.blogspot.com/2009/01/new-update.html, but it doesn't look any different.

Oh... one more question... if I receive a text message while Android is running, particularly if it's running and mishandling them, will it be gone forever? Or are text messages archived on a server somewhere at Sprint, so that the next time I reboot into WM6.1, it'll just grab its own copy of the message and show it to me then? I'm pretty sure GSM text messages are gone forever if they're caught and lost, but it kind of seems as though CDMA goes a step further and works more like IMAP -- at least, for a few days after the message is sent.
[Touch CDMA Android Development] samhub1982:
I have downloaded the link you told me to and moved the data.gz and the system image file to the phone but it seems that haret won't work with Window's Vista? Is there any work around for that? I have 32 bit Vista...
[Touch CDMA Android Development] miamicanes:
You launch haret on the phone, not under Windows.
[Touch CDMA Android Development] dzo:
I've just updated the release on my site.

It's not very different, all i did was replace the system image with foobar's and made a few small kernel changes.

Screen calibration should work again, press the cam button to display the onscreen kbd, then while pressing the end call button tap opposite corners of the screen.

This kernel will actually boot on MSM7200 based phones (though a lot of stuff doesn't work yet).
[Touch CDMA Android Development] miamicanes:
^^^ Is that Cupcake? I just downloaded and launched it, but it doesn't look any different from what I've seen before, nor do I see any obvious new keyboard support. According to settings/about phone, I'm running build number:

generic-sdk 1.0 110632 110632 test-keys

On a different note, I think I finally found the source to Cupcake so I can check out the javadocs for the new IME support... once I figure out how to get the files from the repository using Windows. I installed what seems to be the Git client for Windows, but when I tried passing it the git:// url for the cupcake repository, it complained and said it was invalid.

^^^

update#1... I forgot all about my old laptop with Ubuntu and Tomcat on it sitting in the laund^h^h^h^h^hserver room. Fetching the repo now :)

update #2... Apparently, the image MUST be in the root directory of the uSD card. In an effort to keep them straight, I was putting every downloaded copy into a new subdirectory on the card and launching haRET from there. Unfortunately, it seems that it was just using the 12/08 img file that was sitting in the card's rootdir and ignoring the newer ones in the subdir from which I launched haRET. Sigh. The good news is, I *am* getting the popup portrait keyboard now ;)
[Touch CDMA Android Development] criminalogic:
first off thanks for everything..

have been waiting for this but tha latest releace just freezes up ?? I'v deleted all files and re-extracted, re-tryed and all five trys it completly froze after a few seconds? any ideas? decembers releace worked perfect.. except camera, I cannot get sound at all.. some apps wouldnt run/work.. and no apk's i download will work or even show up next time im runing android? any answers why im having these problems or what to do?

(will go back to old releace as this new one will not work) but still ?

thanks again
[Touch CDMA Android Development] dzo:
You need to update your radio, then everything will work.
[Touch CDMA Android Development] skajaqueda:
I am having a problem with Togga. I had Android working fine back in the beginning of December, but then my phone broke. Now I have my replacement and I installed f00bar's system.img this past week. I saw that I needed to add Togga to it, so I did. But I kept getting an error message whenever I tried to use Togga:

"The application Togga (process net.retrobits.togga) has stopped unexpectedly. Please try again."

So I just installed dzo's latest (16-01-09), but I am still receiving the same message. Any idea what I am doing wrong? My radio is 3.42.50 and I am on Verizon.

Thanks.
[Touch CDMA Android Development] summerblink:
I was getting the same kind of problems . . . I deleted EVERYTHING Android-related from my phone, then re-installed - seemed to work! Give it a try.
[Touch CDMA Android Development] grktaurus83:
You are probably still using your old data.img. The installation files for Togga are located in data.img so if you try to install Togga on a new version of Android but with your old installed files still in data.img, it will crash.

Yea, that will work or you could just delete data.img (and replace it with a new one). That should fix it as well.
[Touch CDMA Android Development] grktaurus83:
That's odd. It should be working. I'll try to look into it some more.

The last time I was using Android a few days ago, I ran into the issue of Android not being able to connect to the net permanently. Not sure why this happens. I'll try to look into this as well.
[Touch CDMA Android Development] f00bar:
Hah, I just saw this. Looks like any shred of hope for android working perfectly on QVGA is gone:

http://www.news.com.au/technology/story/0,28348,24920806-5014239,00.html

Lol... whoever decided it would be a good idea to use QVGA on this should probably look for a new job. They had to cancel all their pre-orders and go redesign the phone with a better screen.
[Touch CDMA Android Development] bugzy:
i read that last night ... does that mean Android wont be supporting QVGA?
[Touch CDMA Android Development] f00bar:
I think the issue here is more what I've said earlier in the thread: third-party apps. They could have always hacked whatever they have the code for (all of android) to make it look nicer in QVGA(just as I have done) but many apps from the market/closed source ones won't work or will look messed up. I suspect that this was the reason they realized QVGA was a bad idea; nomatter how hard they worked to fix up the android core for QVGA, their phone would still seem crappy because third-party apps wouldn't work/look right on it.
[Touch CDMA Android Development] eatmeimadanish:
Internet fix for Togga

For sprint users, you must use your original sprint username (username@sprint.com). Edit the default.txt and add that to the ppp.username. You can view the login by ##3282# and use that. There is no password.
[Touch CDMA Android Development] d3mon187:
I never touch the default.txt on my sprint vogue, and it seems to work just fine.
[Touch CDMA Android Development] eatmeimadanish:
I could not get the new version (1/16/2009) to access the internet at all with the original files, even if I connected through IE before hand. TOGGA would get an IP address but I still couldn't access the internet. Once I changed the default.txt with my login information, it recieved a completely different IP address and allowed me to access the internet (still no gps). Obviously other users are having similar issues, and this was the fix that worked for me after 6 alterations.
[Touch CDMA Android Development] bugzy:
dzo ... is the new 1/16/2009 build adding anything for Vogue, or is specifically for Kaiser?
[Touch CDMA Android Development] samhub1982:
Can you give me a better example of what that would look like in the default.txt? I have tried to put it in a couple of places and it hasn't worked... Sorry... kinda new to this whole thing.
[Touch CDMA Android Development] bugzy:
with the latest 1/16/2009 build from dzo's site, when i launch Browser, it freezes
[Touch CDMA Android Development] saurik:
Cyrket & APK Downloads

(I am the author of Cyrket.) I have responded to the various e-mail requests I have gotten asking for this feature with something along the lines of "I am rather certain that Google would be quite angry if I offered that specific service: actually letting people download the applications is going to mess with their statistics and make developers feel their content isn't secure".

Regardless, what strazzere is saying is /also/ true. Those particular requests are done over a more secure channel, which makes it more difficult to figure out how they work. I actually don't even know how to support downloads currently, so even if I didn't care about the politics (which I do), I still couldn't offer that service at this time.
[Touch CDMA Android Development] oceilot:
grktaurus83

One more factor that might help, \I failed to mention was that the phone is flashed to Cricket wireless.
[Touch CDMA Android Development] f00bar:
are you sure screen calibration works? It still does nothing and I see no output in dmesg..
[Touch CDMA Android Development] samhub1982:
No Data

Here is everything that I have attempted so far to get the data to work on Android:

1. Figure out how to edit the default.txt to get it to work. I think that I have it figured out for the most part. I don't see any reason why it wouldn't work because of that. When my Sprint phone connects to data it doesn't even require a user name and password.

2. Update my phone radio because my radio version with Sprint is 3.42.30. I downloaded the Bell radio update but it won't let me install it on my phone because of obvious vendor reasons which leads me to my final attempt to figure this out.

3. I looked into unlocking my phone. Its CDMA so there is no sim card in it. The more I read into unlocking the phone the more I leaned away from that. It sounds to me like unlocking my Sprint phone would cause me to no longer connect to the Sprint network and I would no longer be able to make phone calls.

I have read in the forums that others have been able to get data to work on Android with their Sprint Touch so I really didn't see the need to take the chance of bricking my phone by unlocking it.

All in all I am really excited about using Android. I love the feel of it all the way around and if I can get the data portion to work I would use it almost exclusively unless I needed to use my GPS... then I would obviously have to go back to WM until that update comes along.

I am really hoping that someone out there can help me with this problem. Thanks for reading this long post. :)
[Touch CDMA Android Development] samhub1982:
Disregard that post. I have the data working now. It's awesome. :)
[Touch CDMA Android Development] Red49er:
Try using your sprint.com login/pass (login@mobile.sprintpcs.com) and see if that works for you, it seemed to work for a couple of the guys above (not for me though)
[Touch CDMA Android Development] ryanbg:
I noticed if you have an active data connection before you run haret, it doesn't matter what your login/password is. This is weird, I have tested random login/passwords and it works as long as I have an active data connection.
[Touch CDMA Android Development] Red49er:
Cool! That worked, thanks a lot, ryan
[Touch CDMA Android Development] kellybrf:
doesnt seem to be working for me. do you have to do anything special to make sure the connection is active, or is just loading pie enough?
[Touch CDMA Android Development] Red49er:
I just load a web browser and go to a website
[Touch CDMA Android Development] eltommy:
HELP

hi,

on my htc touch nothing seems to work..

if i run haret and click run, an error message shows and it says: Failed to load memorycard\android\zImage

i just can't seem to figure out the problem,

can someone help me please?`:confused:
[Touch CDMA Android Development] tpdtopcop:
I get the same thing???
[Touch CDMA Android Development] naiserie:
are you running it from your memory card? if so, try putting all the files in a directory on your phone and running haret.
[Touch CDMA Android Development] eltommy:
i tried that but i can't, cause i only have about 21 mb free storage on my phone, and the "initrd-android.txt" file is 23 mb alone! :(
[Touch CDMA Android Development] eltommy:
now i have tried to run it in the directory, and it still can't open zImage..!

could the file be corrupted or something????????????????
[Touch CDMA Android Development] mletourneau:
same

Same for me!

It is on a HTC Touch Vogue 6900 Bell Mobility (Canada) CDMA

install on the memory and not on the card.
[Touch CDMA Android Development] nzaw4:
wow,

thanks ryanbg, that did work!! i really like the browser!!!
[Touch CDMA Android Development] eltommy:
mine still doesn't work!!!

mine is a danish version??? :(

can't figure out what to do!!

anyone??
[Touch CDMA Android Development] kellybrf:
unfortunately youre out of luck then, it has to be run from the device memory as of now