yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] jondixon:
All the time, both for making calls "Call <Contact Name>" and for searching Google. Works about 85-90% of the time.
[Touch CDMA Android Development] cp0020:
i don't use voice command cause it takes forever to load after saying ''call mom''. in the time it takes for it to load i could manually search/call/finish the conversation lol now when using the google search bar widget, that is pretty quick.
[Touch CDMA Android Development] gedster314:
I would love to see the home button (center D-pad). Second choice is long press green.
[Touch CDMA Android Development] cp0020:
i wanted to change the d-pad aswell. but my touch screen broke recently, if it werent for the d-pad i would be screwed
[Touch CDMA Android Development] slow88lx:
The poll should ask "who uses voice command?". I sure don't...for all the reasons listed above. It's slow and hardly ever translates correctly.
[Touch CDMA Android Development] Tsuushin:
Indeed, I never use voice command for the reasons mentioned above.

Long press green would be nice but I wouldn't mind red+camera either.
[Touch CDMA Android Development] jnadke:
Again, to reiterate:

1. The Task Manager is still there (I think). We're just not sending the Home button press properly. It should be possible to fix it and make it work. It will work under the current Home button system. That means the Camera button will be your task switcher.

2. The "Hold Dialer" and "Hold End" buttons are mapped deep in the Android SDK. Myn and/or Msmission would have to change that.

3. I can change the rotate screen button to Power + Volup or Power + Camera to make it less annoying.

4. For those who wish, I'll add a parameter to swap the Camera / Power button functionality (I'd prefer this myself - Camera for menu/keyboard and power for wakeup/back/home/task switcher).

I forgot my phone at somebody's house. I'll be able to try fixing this on Wednesday.

This is the offending piece of code in the vogue-ts.c file:

252 static void longpress_timer_expired(unsigned long v) {
253 struct ts_data *d=(struct ts_data *)v;
254 printk("longpress_timer_expired\n");
255 input_report_key(d->idev, KEY_HOME,1);
256 input_sync(d->idev);
257 input_report_key(d->idev, KEY_HOME,0);
258 keys[0].last=0;
259 }

Essentially, holding the HOME (camera) button for any length of time ONLY sends a short keypress. This code needs to be rewritten to send the keypress corresponding to the length of the button press.
[Touch CDMA Android Development] mrono:
Is there a way you can do either option 1 or 2, I don't want to change the short press on power or short and long on camera
[Touch CDMA Android Development] jnadke:
All the change will do is introduce an extra-long press on Camera. The time required for this extra-long press to bring up the task switcher is configured by Android. It would be similar to the time it takes for the Quick Menu to show up when you hold the End Call button.

Short (< 1 sec): Back

Long (>1 sec): Home

Extra Long (> 2+ secs): Task Switcher

Option 2 isn't really do-able.

Option 1 might be do-able, but I'd recommend modifying rotate screen to not be a combination of the volume button, or a volume change will occur every time you want to use it (unless you hit the menu first, then the volume, in which case the task switcher or keyboard would pop up). This could get annoying quickly.

My solution is better, because as long as you hit the camera first, I can add some extra logic that disregards the long press of the Home/Task Switcher for the rotate screen command.

The more complicated it becomes, the more that can go wrong. I'd prefer if the Task Switcher and Home key were the same, since the Task Switcher is an extension of the home key.
[Touch CDMA Android Development] jnadke:
The home key is assigned in the Android SDK here:

http://android.git.kernel.org/?p=pl...a2cddf2cdb410b543f0d6769e5cd7d85;hb=HEAD#l463

Further, it looks like the Dialer key isn't intercepted there (in the same location). The Dial Key is intercepted here:

http://android.git.kernel.org/?p=pl...7134d25789ed6c058c74b6b8f871335;hb=HEAD#l1215

Like I said, that'd be a change for Myn or Msmission to do if they wish. I will fix the long press camera button though.

It's technically possible to add some code in the kernel to only send a short-press of the dial key, and do a HOME long-press when the dial key is held down.

I'm not going to do it though. The proper way to go about these modifications is to modify the lines of code above. Going about it any other way is a maintenance nightmare, and there's no reason to duplicate key presses. The long-long press of the Camera key works fine since it already generates a HOME press.
[Touch CDMA Android Development] mrono:
Agreed, if you can get it working i'd love to have the task switcher, any way possible. How would it be installed?

I'm trying to get ahold of Myn to see if we can get a green button task switcher working, since that is my fav, and also seems to be the most popular
[Touch CDMA Android Development] cp0020:
myn is on vacation and wont be back till sunday
[Touch CDMA Android Development] mrono:
I'M COMING FOR YOU MYN!!! BWAHAHAHAH*cough*

Ahem..

Yeah, he mentioned that in his rom thread.

It'd be nice if it could be modded into an androidupdate.tar that you could just install to get the task switcher, as then it would be a user preference thing.
[Touch CDMA Android Development] cp0020:
yeah that would be pretty neat. i talk to myn everyday. me and him have gotten to be pretty good friends. i'll ask him for you as soon as he gets back ok? he's got a pretty slick new build coming out when he gets back though ;)
[Touch CDMA Android Development] jnadke:
The problem is in the kernel. You'd need to flash a new NBH, or use a new zImage.

The task switcher is already there, it just needs the right button press.

It likely can. All it requires is changing a couple lines of code to initialize the app switcher instead of the voice dialer. You'd compile it into a new set of base files, which can easily be installed through a androidupdate.

I don't have Myn's Android Source though, any change I made wouldn't be compatible.
[Touch CDMA Android Development] slow88lx:
This would be ideal. Long press green button is the way to go.
[Touch CDMA Android Development] mrono:
Thank you, that would be quite kind of you :)

I'm excited about the new build, having ORD and all >.>

And having the task switcher would just about be the icing on the android cake for me right now.
[Touch CDMA Android Development] inertone:
android donut ;) lol

Sent from my T-Mobile myTouch 3G using the XDA mobile application powered by Tapatalk
[Touch CDMA Android Development] mrono:
Lmao, totally wasn't what i was thinking of but it completely fits!
[Touch CDMA Android Development] mrono:
Any news with this?

Sent from my Sprint Vogue using the XDA mobile application powered by Tapatalk
[Touch CDMA Android Development] jnadke:
Haven't really had much time. I have a functional kernel build system, but not a tested NBH generating system.

The changes aren't hard, the fix is literally moving one line of code (move the MENU button release from the timer to the button code).

However, to make the fix work reliably I need to add a flag variable and a semaphore. The timer is threaded, so we need to make sure the timer and the button code aren't triggering button presses at the same time. This adds another 5 or so lines of code.

I'll see if I can generate an NBH and make the changes tonight.
[Touch CDMA Android Development] WnG88:
Why don't we have the power button used for power on / (short press) sleep? Wouldn't it make most sense >> power = something related to power. This was the same logic that drove the change for using the volume button for volume.

The end key could be used for back, which is what I think makes most logical sense. Not sure about ability to do that though.

jnadke - to the extent that some sort of tool could be made to modify the nbh file pre-install to change the keys, which ones/can all be modified?
[Touch CDMA Android Development] mrono:
then you can't get out of the call screen without ending the call completely
[Touch CDMA Android Development] jnadke:
The sleep and wake-up mechanisms are done in different parts of the code.

The Android SDK is responsible for sleeping (I think), which is why the End Call button performs this function.

The kernel is responsible for wake-up, which is hard-coded to the IRQ of the Power button. When you sleep the phone, everything goes to sleep except the ringer, critical stuff, and this one IRQ. When you press it, the kernel wakes up, which then wakes up Android.

Oddly, I just noticed the left direction key currently seems to wake up the phone as well.... don't know if this was intended.....

The end key can't be used for back, or you could never end the call. As it currently stands, the Android SDK maps this to end call first, then sleep if there's no call in progress.

It must be understood that the functionality you're concerned about.... red/end call button being sleep, is an Android thing. This can only be changed by a ROM builder (Myn, msmission, etc).

The kernel side is the part that takes a button press, and translates it into a keyboard press (android takes keyboard presses.... like a computer). There are some that we pass directly:

564 {.gpio=GPIO_RIGHT,.code=KEY_RIGHT}, // Right
565 {.gpio=GPIO_LEFT,.code=KEY_LEFT}, // Left
566 {.gpio=GPIO_OK,.code=0xe8}, // OK
567 {.gpio=GPIO_UP,.code=KEY_UP}, // Up
568 {.gpio=GPIO_DOWN,.code=KEY_DOWN}, // Down
572 {.gpio=GPIO_HEADSET_BUTTON,.code=KEY_MEDIA}, // headset button
573 {.gpio=VOGUE_GPIO_HANGUP_BUTTON,.code=0x6b},
574 {.gpio=VOGUE_GPIO_CALL_BUTTON,.code=0xe7},

And these three we keep control of in the kernel to do special things:

246 static struct keymap keys[]={{VOGUE_GPIO_CAM_BUTTON,KEY_BACK,KEY_HOME,1,0},
247 {GPIO_POWER,KEY_MENU,-2,1,0},
248 {GPIO_VOLDN,KEY_VOLUMEDOWN,KEY_VOLUMEDOWN,1,0},
249 {GPIO_VOLUP,KEY_VOLUMEUP,KEY_VOLUMEUP,1,0},

We reserve those keys to enable functions such as on the Camera Button. A single press is BACK, and a long press is HOME. This is actually done by some code in the kernel, then translated to a keypress for Android.

The app switcher is a bug, because we weren't translated the HOME keypress properly.
[Touch CDMA Android Development] WnG88:
Actually, thanks, that's the first explanation I've seen that makes sense to me on the button selections. End key / back selection aside (was not really looking for End / back functionality, only a possibility), would still be good to have sleep on the power button, but like you mentioned, not without a kernel change.
[Touch CDMA Android Development] jnadke:
I think you missed the point.

Sleep can't be on the Power button without a ROM change. Meaning, msmission or Myn would have to compile sleep as the MENU key, instead of the END CALL key.

There is no power key. The top button is the MENU key. In the kernel, however, _the button_ also triggers the wakeup interrupt.
[Touch CDMA Android Development] jnadke:
Well, I got the app switcher working.

I'll fork it off to a new thread to address any issues.
[Windows Mobile Software Development] geneicon:
Is there a way to cook room with built in realvga 96 dpi? I m using treo pro with oskitchen.

Sorry if this has been brought up before. I have looked around but haven't found any answers yet.

Thanks in Advance.
[HD2 General] quasi_mojo:
attention all those EURO & US LEO lovers that have dismantled them!

can anyone help by supplying me some clear close-up shots of the ROM and RAM chips?

i dont want to tear mine apart...yet ;)

ive been poking around, lifting rocks to see whats underneath but no real help so far...
[HD2 General] :
hey guys... i've got a popular question...

how to deal this:

i don't want to save the pictures taken by the camera stored in "DCIM"

nor in "My Pictures"

i want the camera app store the pictures in a custom folder, searched in registry but not very successful...

could you help me?

"newbie, 17y, german :D"
[TG01 Themes and Apps] tomsutton529:
Hi folks..

Im getting bored of the stripes on my phone and want to change to something different.. I dont want to change the entire phone so am i right in saying that a "theme" is out of the question??

I want to keep the information box that tells me when i get message, missed call or email and the time, appointments etc....

I just want rid of the bloody stripes and some black and smooth in its place....
[TG01 Themes and Apps] anon-4:
You could try Arag0n85's ROM with sense 2.5 built in or spb shell 3.5.3 is also a nice looking.
[TG01 Themes and Apps] tomsutton529:
Can you point me in the right direction of where to get them and maybe and idiot proof guide on how to install them.
[TG01 Themes and Apps] anon-4:
Arag0n85's ROM is in the ROM devlopment forum, with full instruction's. (recommeded) SPB shell is available from there website (paid) or a well known warez site.
[TG01 Themes and Apps] arag0n85:
I think that the best option maybe, it's my rom + spb shell with manila desactivated. 10-20Mb more of RAM consumition but almost every menu with manila looking.
[Touch Pro, Fuze General] danbriant:
I am going on holiday away from the UK and basically i want to set my email to not download while roaming etc. How can this be done? As i can't exactly find a setting for it.

Running Windows 6.1
[Touch Pro, Fuze General] mat157:
When I'm roaming I delete Internet settings, it's the safest way to make sure nothing connects;)
[Touch Pro, Fuze General] danbriant:
Exactly how would you do that?
[Touch Pro, Fuze General] danbriant:
Figured it should be ok to bump this.

As im in major need of an answer etc, as i go away soon
[Android Software/Hacking General [Developers Only]] haxxo:
hey guys, ive been teaching myself how to develop andriod applications. ive been using online tutorials and seem to be stuck right now.

i dont want to paste the whole tutorial but if you go ere

http://www.vogella.de/articles/Android/article.html#first

scroll down to 5.4. Example. im stuck at that part and this is my error

error: Error: No resource found that matches the given name (at 'id' with value '@id/contactview').

EDIT: NVM i solved it "somehow" close thread plz.

i think i need to edit my strings.xml to add that resource but im not sure how.

any help is appreciated.
[HD2 Windows Mobile 6.5 Themes and Apps] htcfreak:
Well I am converting my fav know movies & puttin them in my SD card I wanna whats the best video resolution I can use to get the best video output as well as save some space on my SD card..!!!

PS : - Can you also suggest me the codec, I mean the video type..!!!

Thank you..!!!
[HD2 Windows Mobile 6.5 Themes and Apps] Svegetto:
Well screen resolution is 800x480, so that's gonna be the resolution you want. Format wise, use mp4 since that will play in the stock htc player and will therefore use the hardware acceleration.

Also, please use search as this has been answered. There's even tools that developers have made that will auto convert everything for you. Again, please search before starting a thread.
[HD2 Windows Mobile 6.5 Themes and Apps] htcfreak:
The ANS is here..!!!

http://xdaforums.com/showthread.php?t=628092&highlight=Video+format&page=1

LoLz I found it myself, thanks anyways my Q is answered..!!!
[HD2 Windows Mobile 6.5 Themes and Apps] DN41:
i convert my vids to mp4 with 400x240 res.

this is the quarter of hd2's wvga res, so it fits with 4 pixels on display and wont be stretched.

800x480 is too high, i need my storage :D

so for me, 400x240 is perfect. a 1,30h long vid needs about 320mb storage.

DN41
[HD2 Windows Mobile 6.5 Themes and Apps] Halle:
Is there any way to change the homescreen animations, the quicklinks, the clock etc, thru reg-tweaks? I want everything to move faster, the scrolling up and down of quicklinks, etc.
[HD2 Windows Mobile 6.5 Themes and Apps] Halle:
Bump, anyone?
[HD2 Windows Mobile 6.5 Themes and Apps] JayVee:
I am using the attached manila file to turn off the clock animation and the attached mortscript to toggle on/off the weather animation on home screen (you can also set the corresponding reg tweak manually).

Best regards
[Droid Eris General] groovel76:
Hi everybody.

I upgraded from Leak1 to Leak2 last night. I really find it to be better. Thanks to everyone for there efforts. I couldn't find this issue anywhere so if I missed it, my humble apologies.

I'm using the smallest of the three HTC calendar widgets.

I'd post a link but I'm too new it seems. hrmpf

The widget seems to update to the next event when it crosses the end time rather than the start time.

Example:

Event 1: 3:00pm - 4:45pm

Event 2: 3:30pm - 6:00pm

The widget will display Event 1 until 4:46pm before moving to Event 2 when it should move to Event 2 at 3:01pm.

Any insight is appreciated.

Thank you

-

Jason
[Hero, G2 Touch Q&A, Help & Troubleshooting] boy4ngage:
Hi Guyz

J

My Hero stuck with this Radio 63.18.55.06jH_6.35.09.26

And the new radio is 63.18.55.06JU_6.35.09.26

I try many time to change my radio for the new release but with out luck , is there any way to change this radio ?
[Hero, G2 Touch Q&A, Help & Troubleshooting] Eddie1506:
You do have the latest radio. On some phones it's displayed as JU and on som as JH. Don't worry about it.
[Hero, G2 Touch Q&A, Help & Troubleshooting] Lennyuk:
I can confirm this.
[Hero, G2 Touch Q&A, Help & Troubleshooting] boy4ngage:
Thanks guys i feel good now :)
[Touch 3G General] cignu:
Although I've seen MANY posts and threads about this using the search function, I still cannot find a solution: I'm using ironeagle's Jade_Leancut_Flame_WM6_5 ita rel, that lacks the block recognizer which I really use a lot, and it seems I'm too stupid to install it.

First of all, could it be by any chance that the rom itself doesn't support it? I'm trying so many things found in other threads that, instead of making my beautiful Jade graceful, I really feel like I'm ****ing it totally up.

Please help me!

Peace on you
[Nexus One Themes and Apps] britoso:
Is there an app out there to save the screen layout for all screens with the ability to restore (best attempt) if needed?

I'm thinking this would be a good app to write if it already does not exist.

Every time we switch to a new launcher we have to go through the pain of re-adding everything. Otherwise launcher constantly FCs with this error:

E/Database( 4797): sqlite3_open_v2("/data/data/com.helixproject.launcher2/databases/launcher.db", &handle, 6, NULL) failed
W/dalvikvm( 4797): threadid=17: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 4797): Uncaught handler: thread Thread-9 exiting due to uncaught exception
E/AndroidRuntime( 4797): android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1698)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:739)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:761)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:754)
E/AndroidRuntime( 4797): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:473)
E/AndroidRuntime( 4797): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
E/AndroidRuntime( 4797): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherProvider.query(LauncherProvider.java:105)
E/AndroidRuntime( 4797): at android.content.ContentProvider$Transport.query(ContentProvider.java:130)
E/AndroidRuntime( 4797): at android.content.ContentResolver.query(ContentResolver.java:202)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherModel$Loader$LoaderThread.loadWorkspace(LauncherModel.java:622)
E/AndroidRuntime( 4797): at com.helixproject.launcher2.LauncherModel$Loader$LoaderThread.run(LauncherModel.java:493)

This time when I moved from Helix2 0.6 to 0.7b I did the following:

opened launcher.db in SQLite browser

exported all the sql entries

inserted all the shortcuts I wanted to the new launcher.db (with SQLite browser)

restarted launcher2

This worked for all shortcuts but not for widgets, contacts and Astro links.
[Nexus One Themes and Apps] gIMpSTa:
MyBackup Pro can backup and restore your screen layouts, i've only done it once or twice but I seem to remember it restoring widgets as well?
[Nexus One Themes and Apps] britoso:
cool, http://www.appbrain.com/app/com.rerware.android.MyBackupPro

Will try it out.

Update:

backed up fully, then removed one widget and one shortcut from screen 4 (home). tried a restore... didn't restore either of the two :(. (checked after restarting launcher, even tried rebooting)
[Nexus One Themes and Apps] SiNJiN76:
Try titanium backup.
[Nexus One Themes and Apps] britoso:
This will replace ALL the data for the app with the saved version, Not just the screen elements.
[Desire General] declandoc:
i can connect to my router using passkey but it automactily disconnects and i cant browse the app store or web, wifi is constantly switched on but says disconnected. any ideas???
[Desire General] cez10:
tried factory reset?
[Desire General] declandoc:
yeah mate still not working
[Desire General] declandoc:
anyone on orange able to get wifi working?
[Nexus One General] thisisgil:
Hi all,

I am completely at my wits end here and just don't know what to do :)

I have successfully unlocked my stock Nexus One boatloader, and have installed superboot to root it.

- I am using Windows 7 64 bit with all USB drivers for the nexus one correctly installed

- I have remembered to reset debuggingt mode in the Nexus USB settings

- Rooted apps seem to be working fine - I've just been playing with the LED torch app and I have a 'Superuser Permission' icon in my programs list

I am attempting to install the Amon_Ra recovery file - I've tried two different versions of it with no joy so far.... 1.7.0 and 1.6.2

I am able to boot into fastboot (with the skateboarding droids) with no probs. I can see the device using fastboot devices. However, when I try to send any recovery image using fastboot, it just hangs there with an empty progress bar on the right hand side of the screen in green that doesn't fill up.... Here is the terminal output:

---

C:\AndroidSDK\android-sdk-windows\tools>fastboot devices

HT9C(-REMOVED-) fastboot

C:\AndroidSDK\android-sdk-windows\tools>fastboot flash recovery recovery.img

sending 'recovery' (3948 KB)...

---

Anybody have any idea why it hangs here and if there is anything else I can do to maybe figure out why? I'm pretty certain I've almost cracked it - installing this recovery image is a problem :(

Thanks in advance!

Gil
[Nexus One General] SiNJiN76:
don't rename the recovery.img file.

Then if that still doesn't work...maybe try using a terminal on your phone. Not sure myself which terminal app works.
[Nexus One General] thisisgil:
Thanks for the quick response!

It still fails even when I don't rename the recovery image.

Re 'using a terminal on my phone' - is there a guide to this anywhere? Do I download a shell or something?

TIA!

Gil
[Nexus One General] SiNJiN76:
Go to market and search Android Terminal Emulator.

Then follow these instructions:

via terminal app

Code:

Copy recovery-RA-nexus-v1.7.0.img to the root of your sdcard

start the terminal app

su(press enter)

flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.img(press enter)

reboot recovery(press enter)

Got those instructions from the Recovery thread.
[Nexus One General] aoch88:
It looks like fastboot is not properly detecting your device? Also, did you install "superroot" before attempting to flash recovery image?