yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] etx:
You can't. The application developer probably wrote it for the G1 screen size only.

Can we keep Application, Internet Connectivity, and other issues out of this thread for the love of science? This thread is for the Vogue port, not application support.
[Touch CDMA Android Development] blasteryui:
I have another question, will going on the browser cost data? I have unlimited webrowsing but no data plan.
[Touch CDMA Android Development] steve98:
How do you get unlimited web browsing if you don't have a data plan? Browsing the web IS data usage. I'm not sure this project is right for you...
[Touch CDMA Android Development] f00bar:
This is due to (one of) changes I made to fix dialer. Nothing else in base image uses tabs so I didn't bother to fix it. I can limit their size and upload a new img.
[Touch CDMA Android Development] blasteryui:
# Telus Text Message Unlimited Internal Deal

# Data @ $6 over 5MB

# Telus Wireless Web Browsing Internal Deal

That's what it says I have, is surfing the internet okay then?

Also I downloaded Meebo.apk is that okay also or?

Basically when I was just surfing the internet before I got android, I was never charged, is okay to just use the browser.. I'm not doing youtube just surfing the web.
[Touch CDMA Android Development] ~David:
Any internet activity should be covered under your unlimited browsing plan. I have the same thing with Bell, and it covers it all (IM, browsing, email, GPS data, etc). You can even watch YouTube videos if you want. Any "Internet Activity". The only thing you can't do is tether your phone to your computer, using you phone as a modem.

It's the same when you're running Android. You can still browse, IM, yatta yatta, all under your plan.
[Touch CDMA Android Development] Landon4576:
Data doesn't work

The data doesn't work, and my phone shuts off when I try to access Airplane Mode, but other than that, it's fine
[Touch CDMA Android Development] blasteryui:
Youtube works :|, really I never knew my plan covered this! Well I guess I could try watching one video and if it doesn't show up on my bill then I guess I'll have my answer ;D. Thanks for the info!
[Touch CDMA Android Development] Landon4576:
Alltel

If any knows the Username and Pass to the Alltel network, let me know
[Touch CDMA Android Development] LouKohley:
Battery Charging Over Night

First thanks for all the development on android for the vogue. It makes this phone actually worth owning as I can't stand windows mobile or using a stylus.

My question.

I've read and searched over this thread but I can't seem to find a definite answer.

Is it ok to leave the phone on the charger overnight. I know it won't display a fully charged message but I just don't want to ruin my battery.

I called htc about this and they said the battery charge shutoff was software controlled, so I'm nervous to leave it charging all night.

I'd like to run android full time as it is awesome and way better than winmo.

Thanks for any input.

LOU
[Touch CDMA Android Development] zapat0s:
I think since power managment is turned on now you should be fine even though its not perfect.
[Touch CDMA Android Development] etx:
Yeah, I dug through your patches last night and figured that out. Built a system image with all your patches except that one but I'm an a mac at work and my linux box is at home. So I can't mkcramfs, could up tweak that for us? I've run across about 4 really fun apps that have this problem on your build. Thanks man, you rock!
[Touch CDMA Android Development] f00bar:
actually, scratch what I said before -- my tree is broken again from pulling some new changes; I don't think I'll get a chance to fix this/upload a new image today. If you do, go ahead and post your img/patch here. Also, if you could link me to some apks, that would help alot -- I don't have any other apps with tabs.
[Touch CDMA Android Development] etx:
I think I can sneak some more work in on this today at work. But I'm nowhere near the programmer you or dzo are so it may take me a bit. I just left out your patch in question, compiled the system and loaded it in the emu to identify the issue. In the meantime, here are two apks that have the issue.

http://dl.getdropbox.com/u/120967/Imeem.apk

http://dl.getdropbox.com/u/120967/Phoneflix.apk
[Touch CDMA Android Development] LouKohley:
Battery Issue

Thanks for the help. I'm currently using the pre-cupcake build 12/01/08. This was the most stable and useful build. The calendar and everything else works.

Is power management on in this build.

Has anyone actually left their phone overnight on a charger while in android. I appreciate the input but everyone has the same answer as me. I think it should be ok. No definite answer.

Thanks again and I hope to me more of a help to this project than a burden.

LOU
[Touch CDMA Android Development] f00bar:
So, to remove the stripe down the center in netflix, you're going to need to edit the 4 tab_xxx.9.png (the 4 I changed in my diff). The problem is they are too big, and the NinePatch format is meant to scale things up not down. You need to open the files, cut out 2 chunks on both sides of that dot at the top, and save them (don't just resize, because its important that the border is all transparent except for 1 pixel at the location to stretch.)
[Touch CDMA Android Development] etx:
Oh! It's an error in the graphics!? I can fix that easy. Just to verify, it's no just the stripe, but the whole tab is extending the full width of the screen like this:

http://dl.getdropbox.com/u/120967/vogue.jpg
[Touch CDMA Android Development] blasteryui:
Quick question, when I press the camera button, the keyboard pulls up and when I hit a letter my phone vibrates how do I turn this annoyingness off?
[Touch CDMA Android Development] etx:
You cannot without editing and compiling Martins kernel unless he slipped a boot flag or something in there.

Use the cupcake build with the onscreen kbd. No more vibration.

Everyone PLEASE ask questions in the helpdesk thread, we're trying to keep this thread more technical in nature.
[Touch CDMA Android Development] etx:
Ok, I figured it out I think.

In "frameworks/base/core/res/res/layout/tab_indicator.xml" on the RelativeLayout node you set layout_height to fill_parent and if i'm not mistaken the parent would be the view. If you run an app that does not explicitly override that it would inherit that value and cause the tabs to be the height of the screen. It's working for me now that i set it back to the default 64dip, working on the emu and the vogue. I would post the image but i'm not sure where the setup modem script is hiding, so no interwebs. But the phone is working. The images need work like you said. I might try to tweak the images and find the modem script, put maps back in etc tomorrow.
[Touch CDMA Android Development] f00bar:
no its not that simple. look at tabs on dialer again; the bottom is cut off.
[Touch CDMA Android Development] AdamWill:
Lou - I'm running the Titan build, which is a slight modification of this build, but is actually at an older stage (the guy doing the Titan build has to take the Vogue build, tweak and test it, so the Titan build's always a bit behind). I've left my Titan charging overnight for the last two nights, and it's still working. It does feel a bit hot, though. Not sure if that's from the charging or simply because the Titan build doesn't do full power management.

I'm not worrying about this too much because I have two spare Titans if this one kicks the bucket :) but it seems OK so far.
[Touch CDMA Android Development] LouKohley:
Thanks

AdamWill - Thanks for your input. I appreciate your help.

Also I will move my questions to the helpdesk. I was unaware the helpdesk was there.

Thanks,

LOU
[Touch CDMA Android Development] etx:
I have it tweaked out pretty well now, the tabs are happy. I also made a new boot screen for qvga res. Im not sure which files need to get copied over for Maps.apk to work correctly, and the ppp toggle scripts arent working. I didn't touch initrd where those scripts are so I'm not sure what the issue is.

Here is a link to the patch: http://dl.getdropbox.com/u/120967/Android/012509/tweaks.patch
[Touch CDMA Android Development] f00bar:
For maps you just need frameworks/...maps.jar and apps/maps.apk. You also need to modify platform.xml (see earlier patch).

Yeah this is going to cause text to go ontop of tabs like above... but I guess that's much better than what it is now. My hope was to be able to just have dialer tabs be 54px and others be 64px, but for now I'll just make them all 54pix as you did. Also, I don't think you fixed the .pngs properly -- do the stripes show up? I fixed them already, but what you needed to do was make them narrower. I'll post an update sometime soon.
[Touch CDMA Android Development] excogitation:
I was wondering if that's of interest in that matter: Make the boot animation center aligned
[Touch CDMA Android Development] etx:
Yeah it does, but I figure its better than having the tabs take up the entire display. I was looking through the classes to try to find how to set the height of the TabHost or TabWidget class but I didn't find much.

I made the tab images shorter, not narrower, so you should probably use yours I guess. :)
[Touch CDMA Android Development] d3mon187:
I HIGHLY doubt it, but this multitouch mod for the G1 wouldn't be of any use to us would it?

http://lukehutch.wordpress.com/2009/01/25/get-multi-touch-support-on-your-t-mobile-g1-today/
[Touch CDMA Android Development] grktaurus83:
1) I would think our lower resolution would make this a bit less useful

2) This adds another patching step. Meaning that currently, the official apps (maps, browser, etc.) are being patched by people and released to the community. We'd have to wait for these apps to be patched, and then re-patch them to work for our specific build.

3) I think it would be much more useful to have the double-tap to zoom functionality instead of a pinching motion. It's one-handed operation vs. two. That one is big for me.

I'm not trying to shoot you down, just throwing in my two cents. I think that functionality is pretty interesting and a really good accomplishment, but not something I'd use. Utility over fancy effects for me~
[Touch CDMA Android Development] etx:
No, the hardware on the vogues touch panel is very different I believe.
[Touch CDMA Android Development] miamicanes:
It depends how "multitouch" the G1's "Multitouch" really is.

I have a hunch that it's matrixed, just like the Touch, but sampled at a VERY high rate, with drivers that can directly read the currently-selected rows and columns of the matrix.

Put another way, if the touchscreen has its own hardware driver, and sends datagrams to the phone via UART (the way most PC touchscreens do), there's no practical way multitouch can be implemented. If it IS possible to directly determine the pressed/not pressed status of every single row and column in the matrix, it MIGHT be do-able, as long as you impose a hard rule that gestures must involve exactly one or two fingers, that one finger must make contact a fraction of a second before the other, and at least one finger must remain motionless throughout the gesture.

Here's an example of someone touching the screen with two fingers:

1. Finger #1 makes contact. The hardware reports that columns 3-24 are selected, and rows 292-314 are selected. Conclusion: the user is pressing the lower left corner of the display.

2. Finger #2 makes contact a fraction of a second later. The hardware reports that the following rows and columns are currently selected: columns 4-29, columns 187-213, rows 29-42, and rows 290-316.

3. Applying the "two finger max" rule, we now know that there are two fingers touching the screen since there are two regions selected for row and/or column. We know one finger is near the lower left, and the range still more or less is selected there, so that means the other values must define the second finger: columns 187-213, and rows 29-42.

This also imposes some further restrictions. The two fingers need to be far enough apart to unambiguously see a gap between the rows and/or columns. You might be able to fudge similar rows OR columns, but if the fingers make contact TOO close together, it becomes a major judgment call to tell the difference between, say, two fingers making contact next to each other at the lower left and upper right corners of an imaginary square, vs a thumb mashing down on the screen and selecting a larger area.

I have a hunch that the iPhone actually has two overlaid touchscreens:

* A high-res conventionally-matrixed touchscreen, with the ability for apps to directly query it at high sample rates to find out which rows and columns are currently pressed somewhere

* A low-res non-matrixed touchscreen (say, 32 x 48 grid)

... and that the phone reads it by using the low-res non-matrixed screen to figure out how many places are being touched and their approximate locations, then reads the high-res matrixed touchscreen to narrow down the locations a bit more.
[Touch CDMA Android Development] excogitation:
The Story Of MultiTouch On Android G1

the video
[Touch CDMA Android Development] blasteryui:
Ah I knew this would F*** me over in the end, I now have to pay a 200 dollar bill because it's 6 dollars every mb over 5mb.. that's what it meant..
[Touch CDMA Android Development] blasteryui:
I have a keyboard that comes up on it's own, but the buttons are too small, I like the landscape keyboard because the buttons are bigger.
[Touch CDMA Android Development] derringdo:
Has anyone else experienced the screen calibration settings getting lost every time the phone is reset? I have to re-calibrate it each time I reboot the phone.
[Touch CDMA Android Development] miamicanes:
Somewhat of a side issue... I'm using the Android SDK with Netbeans via "Undroid" (a Netbeans plugin). Is there any easy/straightforward way to get the emulator to use (more or less) the same build of Cupcake that the current Vogue build is using? I want to start making a stab at doing a soft input editor, but that requires Cupcake.

Alternatively, if I find some way to get a newly-built .apk file onto the storage card without rebooting into Windows Mobile first (say, by FTP'ing the new .apk file to my website, then downloading it onto the phone using Android's web browser), how do I go about:

1. Killing the old version, if/since it's still running

2. Uninstalling the old version (assuming it's necessary to uninstall anything at all, and that Android doesn't run it straight from the .apk file)

3. Installing the new version (assuming I can't just use File Manager to navigate to the folder and launch the .apk file)

???
[Touch CDMA Android Development] BJNK:
I'm not sure how or if its possible to kill running applications, but if you want to uninstall you just into Settings->Manage Applications and then find the one you want. Open it and click uninstall. Then your done.

As far as installing files, my preference is to download them within the Android browser and they will automatically install once finished downloading, but with a file manager you should be able to navigate to the .apk and opening it should launch the installer.

Hope that helps.
[Touch CDMA Android Development] stefh:
good work here! thanks
[Touch CDMA Android Development] miamicanes:
OK, more fun... I found the .img files to get the emulator to run a build of cupcake, but I'm having zero luck trying to find a copy of android.jar that's built from cupcake so I can try to compile (and ultimately make changes to) the SoftKeyboard example. Does anybody have one?

On a related note... can I get away with making a copy of the 1.0R2 SDK, then just overwrite its android.jar with a Cupcake android.jar? Or are there other things that need to be changed, too?

If it matters, my immediate goals can be summed up as:

1. Change something trivial, but visible, within the SoftKeyboard example in the Cupcake SDK (like a character or two of text), get it to compile & build, deploy it to my phone as an .apk file, and convince myself that it actually worked.

2. Hack out everything from the example so it's just a container for a button that, when pressed, simulates someone pressing and releasing the 'x' key.

3. Eliminate the button, and get it to generate a fake 'x' keypress if I touch the screen, move horizontally, and lift my finger

4. Start doing the "real" work of implementing Graffiti.

5. ???

6. Profit! (just kidding)
[Touch CDMA Android Development] d3mon187:
Looks like another developer came to the rescue for one of the issues I've had with using android... SMS Notification. I don't know about you guys, but I often don't notice the weak and short vibration and sounds with android's SMS settings. Well with SMS Popup you can set a ton of different settings for notification, including making a custom vibrate setting. Right now I have mine set to vibrate a bunch of short bursts, and haven't missed a text since.

program is called SMS Popup and its in the SlideME marketplace under utilities, or you can grab it off the website here - http://slideme.org/application/sms-popup
[Touch CDMA Android Development] d3mon187:
Oh, and so now if we can just get the damn sms program to handle sending and receiving text messages longer than 160 characters or whatever that would be great.
[Touch CDMA Android Development] shadowbranch:
AT&T Tilt (8900)

I've been reading this thread since the beginning and followed the instructions at the beginning to get android to boot. Well, I run herat and it starts booting fine, then it says it can't find the sdcard to mount. Although this is running from the SD card. Anyone got ideas on how to get android to work on the Tilt?
[Touch CDMA Android Development] derekwilkinson:
Maybe by not using the version meant for the Vogue...
[Touch CDMA Android Development] dzo:
Hi,

I know I haven't done much work on this project for a while but I've just put a new version on my web site.

The only change is the kernel (zImage). It now supports changing the screen brightness. The phone fades out when you switch it off now and you can dim the display after a certain time.
[Touch CDMA Android Development] hipnetic:
dzo, do you expect to have either the Calendar app and/or GPS functionality working any time soon?
[Touch CDMA Android Development] dzo:
GPS, no, calendar, yes. The calendar used to work, it's just broken because the google login service doesn't work for cupcake.
[Touch CDMA Android Development] etx:
Great work on the screen brightness dzo, it's great! I was just admiring the g1's ability to fade the screen out while playing with one at work today! I picked up a HP Mini 1000 the other day so i haven't been playing with android a whole lot. I hope to port it over to this hp soon for fun! Keep up the good work, thanks!
[Touch CDMA Android Development] johnficca:
I think Martin's web site is down

I think Martin's website is down.
[Touch CDMA Android Development] ramontomzer:
can someone post the needed files on here or media share or something... i cant get to martins website
[Touch CDMA Android Development] tetrismonkey:
dzo site is down

hey i have the same problem with going to DZO website it seems to be down
[Touch CDMA Android Development] etx:
Hey guys, I posted Martins latest file up for you here:

http://dl.getdropbox.com/u/120967/Android/android-05-02-09.zip
[Touch CDMA Android Development] drezman:
Cheers! :D
[Touch CDMA Android Development] EmilianM:
Hello,

I am trying for the first time the android on Vogue.At the beginning it seemed very easy.I did exactly what Martin said.I copied all the files from http://dl.getdropbox.com/u/120967/Android/android-05-02-09.zip on my SD card and I ran the haret.exe with default.txt and after the linux boot screen I am remaining with an white screen.

Do you have an idea what is wrong ?

Thank in advance!
[Touch CDMA Android Development] etx:
Strange. What version of the radio firmware does your phone have on it?
[Touch CDMA Android Development] natelust:
touch screen

try changing your screen type in default.txt to a different number
[Touch CDMA Android Development] steve98:
DZO I downloaded your new build on Saturday and I am happy to say that my battery is still going strong... nice work!

Steve
[Touch CDMA Android Development] Ideal2545:
Yeah, battery is much, much, much better, ive been going strong since 3pm yesterday, its now 7pm, about 50 percent usage with higher than usual phonecalls and lots of data usage + just playing around with android.
[Touch CDMA Android Development] Ideal2545:
i hope we can get the gps to work someday(i know tons of work though), alot of these android apps have cool gps programs, plus google maps for searching! its the only reason i switch back to windows!

thanks for all the hardwork
[Touch CDMA Android Development] dzo:
I just put a new release on the web site, it has a few changes.

The radio should power down correctly, this lets airplane mode work and also stops the phone rebooting if android crashes.

The headset should work. It doesn't sound great and I can't figure out why, perhaps it's mono only but at least it works.

replace your system.img, and zImage to test it.
[Touch CDMA Android Development] ramontomzer:
forgive me if this is in the wrong spot but, is there a way to DL android apk files without having to get to android marketplace... im looking for the phonefusion apk files to get visual voicemail running on my vogue... any help would be greatly appreciated... and great work dzo and all others, i could never in a million years get this stuff working without your hard work, thx again!!
[Touch CDMA Android Development] moekind:
dzo can u remove all the gsm menus from android

like wifi and stuff

anything thats not cdma?
[Touch CDMA Android Development] steve98:
Does replacing system.img make you lose all your contacts, texts etc?

Cheers!

Steve
[Touch CDMA Android Development] jim256:
Wifi is not a gsm thing.

And even if it was, it might be sort of difficult to just go in there and remove them all from the os itself.

Either way...doesn't really matter too much right?

I don't think so, I think all that info is stored in data.img
[Touch CDMA Android Development] dabomb506:
is there a vibrate only mode?

i found silent mode but would like it if there was a vibrate option only for phone calls and text messages
[Touch CDMA Android Development] imfloflo:
Yeah when you reduice the volume your phone vibrate once and your passe in vibrate mode after there is the silent mode.

You can see the vibro icon in the topbar too.
[Touch CDMA Android Development] katmandu421:
Just got to work and now I cant wait to get home to try the headphone support.

Thanks dzo!!
[Touch CDMA Android Development] steve98:
Hey DZO -- I tried your latest build and there seems to be a problem with the key mapping. On the four-way directional pad 'up' and 'down' seem to be the wrong way round.

Cheers

Steve
[Touch CDMA Android Development] katmandu421:
Confirmed on the mapping, and couldnt seem to get headphone sound either...hopefully this is sorted out easily. Sound from aLastfm is great even when screen turns off...wicked ;)

EDIT: The headphones do work. I was trying to hot swap, but that does not work. Starting a song or call after the headphones are in place works a charm...except for the sound but it looks like some folks may be on to something from the latest posts (next page)

Cheers!!
[Touch CDMA Android Development] tetrismonkey:
i have the same problem with key mapping however the headphones work fine for me, not the greats sound like DZO side but it will do just fine

thank you again DZO for all the hard work
[Touch CDMA Android Development] f00bar:
what did you change in system.img?
[Touch CDMA Android Development] dzo:
I just changed the ril to do AT+CFUN=66 rather than AT+CFUN=0 to switch off the radio. I can send you a patch if you like.

I think we should really have a git repo for android qvga and cdma changes, anyone want to set it up?
[Touch CDMA Android Development] es3045:
When i do a update is there a certin file i have to replace or do i replace everything and wipe out my text and contacts?