yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] direshark:
Hi NCommander,

Thank you for the great work. I'm developing an application that uses camera function. It worked fine with Android 1.5 and 1.6 but cannot work on this driver. Whenever I attempt to save the image to sdcard, the application freezes. Can you give me a hint on what may be the reason? If possible, can you please post your code to capture image?

This is the code I used to capture the image from camera:

try {
mCamera.stopPreview();
mCamera.takePicture(null, null, mCallbackJpeg);
mCamera.startPreview();
} catch (Exception e) {
Log.e(Settings.TAG, "captureImage() " + targetFile + " exception: " + e);
cleanUp();
}
}

where

mCallbackJpeg = new PictureCallback() {
public void onPictureTaken(byte[] data, Camera camera) {
//TODO: Pass by bundle to save on memory and calculations
Log.e(Settings.TAG,"callback JPEG is called.");

try {

Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);
File outputFile = new File(targetFile);
if (!outputFile.exists()) {
outputFile.createNewFile();
}
FileOutputStream outputStream = new FileOutputStream(outputFile);
bitmap.compress(CompressFormat.JPEG, 100, outputStream);
outputStream.flush();
outputStream.close();

Log.i(Settings.TAG,"Saved photo to " + targetFile);

} catch (Exception e) {
Log.e(Settings.TAG,"onPictureTaken() Exception: " + e);
}
};

Thanks.
[G1 Android Development] st0kes:
kernel question

I've merged ncommander's camera source into a local eclair repo and built my AOSP image again, and found that the camera works fine when I use the stock AOSP kernel, but if I compile my own kernel using cm's sources, the camera will not start. Instead I get a black screen and eventually a force close. Can anyone tell me what I am missing from my kernel config? From what I can tell, looking at the stock .config and my own one, the options for the msm camera are the same. Any thoughts welcomed ... :confused:
[G1 Android Development] thematrix2:
Anyone knows how to compile the source? Or give some documentation or something.... please?

Thanks!
[G1 Android Development] toastcfh:
u could just dl the source, cd to /hardware/msm7k/libcamera and "mm" in the directory. that is if u have the correct files in /vendor/qcomm already:D
[G1 Android Development] Icebergxx:
I'd rather you be smart than pretty hahaha thanks dude I'm amazed at how incredibly far the G1 has gone in development and you're part of this thanks/appreciation.
[G1 Android Development] thenameismax:
I guess buying a N1 will be a MUST soon..darn
[General Topics] hakkeshou:
1. This site, community and its years of blood, sweat and tears reverse engineering all the way down to very very last byte

2. HTC's effort to provide what Windows Mobile was missing.

3. Microsoft steadily and quietly releasing new versions of WM/PPC for a decade without any fanfare to the likes of of other vendors whom I won't mention

4. It is not meant for consumers, it is meant for business users or those who require/desire such capabilities.

5. It's like my PC, I need an app, I go and Google for one from the millions of sites which offer them. Cell Phones have always had vendor lock-in app stores for dinky little games and JME based apps. So I refuse to consider a phone that pretty much restricts or pushes users in this direction a smart phone.

6. Only just very recently have mobile devices come out with comparable horse power.

7. This site, community and its years of blood, sweat and tears reverse engineering all the way down to very very last byte (oh wait, I said that already)

I just needed to get this off my chest with all this consumer based phone crap over the last several years and HTC's steady release of non-winmo android phones. I truly hope they do not leave the winmo platform completely for it as I couldn't see myself using anything else but a good 'ol XDA-DEV/HTC/WM cooked ROM on a "quietly brilliant" device.

Sorry for the rant but I figure there is no place better than here and THANK YOU to all in the XDA-DEV community who have worked so hard giving us tools/apps that make these devices kick-a**!

XDA-DEV forever!
[General Topics] diamondX04HT:
well said...can't agree more wid u...htc n winmo is a deadly combo....
[General Topics] orb3000:
Welcome to forums

Very nice introductory words:)

+1!!!
[P3300, MDA Compact III ROM Development] rakamat:
Hi friends,

I have been a very happy user of the Artemis for a long time and a big fan of this forum. I have happily tested a lot of ROMs from this forum and am currently running the Dheewatara-s M2D Mega beta2.

My question is, now that the Artemis is getting on in years, what would be the next HTC model to look forward to? Something to replace the Artemis which I consider the best for the Price/Performance/Feature set?

Regards

Rajeev
[P3300, MDA Compact III ROM Development] AndreW82:
I think it is HTC Touch Cruise 2 (Iolite), because this model is from same model series aimed for autonavigation.
[P3300, MDA Compact III ROM Development] almozaffar:
I will be waiting for an HTC just like Artemis in hardwares and shape, but new in everything. Hope HTC company would do it.
[Touch Pro2, Tilt 2 Windows Mobile General] davenachocamacho:
All of the texts i receive are from 2016 but all the text i'm sending out are from 2010. What's going on? Can someone please explain this to me.
[Touch Pro2, Tilt 2 Windows Mobile General] irkan:
Yes, .. just search in Rhodium forum (this one), and type "2016" as a search query .. it has been solved.
[myTouch 3G, Magic General] cashoplz:
I was trying to update my magic into cyanogenMod (I had this mod before I was just using CMupdater to updating to the lastest version)

and during the applying step, I messed up (step 6) I rebooted my phone accidentaly. Now I have a phone with no OS.

Now how to I go back to the step I was at before? I did flash to the lastest recovery before but I have forgot what is in my SD card. (I have no card reader to read it)

SapphirePVT 32A ENG S-OFF H

HBOOT-1.33.2010

CPLD-12

RADIO-3.22.20.17

==========

Turn your phone off.

Hold the Home button while booting to get to Recovery mode.

Select "wipe data/factory reset") (MT3G/Magic boots to andrOid then black screen with back-lite if you don't do this.)

Select "apply any zip from sd")

choose "DRC83_base_defanged.zip"

Press home to confirm and let installation complete ('Formatting Cache' will stay at the bottom of the screen but once the menu reappears, the flashing is complete)

STOP - DO NOT REBOOT YOUR PHONE

==========
[myTouch 3G, Magic General] crankygeek:
Try starting over. All of your .zip's should still be on your sd!

load up recovery again[ EDIT: (home+POWER) ]and start from step 1.. remember not to reboot.
[myTouch 3G, Magic General] cashoplz:
Ah okay...thanks
[myTouch 3G, Magic General] crankygeek:
okay... cool!
[Touch Pro2 CDMA] wolffer691:
hi i would like to know how to enable the weather animations on the today screen i used the no curtains cab and its gone i uninstalled the no curtains cab but still no weather animation anyone know how to re enable it? Thanks in advance!!!!
[Touch Pro2 CDMA] wolffer691:
I had to edit this sorry!
[Touch Pro2 CDMA] orb3000:
Select your original background and see if its working now

And don´t forget to vote!

:)
[Touch Pro2 CDMA] drizztzou:
Which Rom are you using?
[Touch Pro2 CDMA] segadc:
Is there a way to force the weather animation to animate? I wanted to show someone but could not at that time.
[Touch Pro2 CDMA] wud_e:
Just use the Demo. Hit menu on the today screen and then go to Weather Demo.
[Touch Pro2 CDMA] segadc:
I don't have that option.
[Touch Pro2 CDMA] wud_e:
Hmm.. does it work on your weather tab?
[Touch Pro2 CDMA] segadc:
No but its not a big deal. It seems to animate more when the battery is at a higher level. I will just wait when it snows or rains to show the cool animation.
[Touch Pro2 CDMA] msh441:
Just open and close the task Manager in the upper right corner of the screen. If you're using the default background (or have weather set to animate with any background, like I do) it should animate with the current weather.
[Touch Pro2 CDMA] InfrnalSky:
How do you set yours to animate with any background? I am running the stock VZW 6.5 ROM.

Thanks
[General Questions and Answers] johnmyr:
Hi ... I am looking desperately looking for a new Official ROM upgrade in English above 1.48.4.5 I downloaded from the HTC website that gave me the Greek version because if my serial number.I stupidly thought it would only be a question of language but it is not. For example my index in People no longer works because the langauage is all wrong. Also I prefer English Ireland because we have Euro in Cyprus not Pounds.

Can anyone help!

It was HTC ambigious answers that made me download the stupid thig in the first place
[General Questions and Answers] orb3000:
Welcome to forums

It would be very important to know what device you have in order to help you:eek:

have a look on the Wiki to locate your HTC device

Good luck,
[Nexus One Themes and Apps] mesajoejoe:
I would like to remove this and Im having no luck?
[Nexus One Themes and Apps] Mi|enko:
Are you rooted?

If so,

adb remount

adb shell rm /system/app/*amaz*
[Nexus One Themes and Apps] djnutz:
Or with out adb get Su file explorer or root explorer from the market.
[Nexus One Themes and Apps] Mikey:
Also:

/data/data/com.amazon.mp3
[Nexus One Themes and Apps] Mikey:
Or just get Droid Explorer :) *Free* works if you installed busybox ;)
[Nexus One Themes and Apps] mesajoejoe:
Thanks alot, worked like a charm.
[Nexus One Themes and Apps] Mi|enko:
Weird. Since you mentioned it, I went to remove it, but it didn't exist.
[Nexus One Themes and Apps] Mikey:
it did on mine but that s cool :)

At least it's here for people that might have it :)
[Nexus One Themes and Apps] zeroONEex:
I keep getting permission denied. Any help?
[Nexus One Themes and Apps] hkfriends:
it is a directory, so need to remove with -rf

adb shell rm -rf /data/data/com.amazon.mp3
[Nexus One Themes and Apps] zok-star:
Does Driod Explorer still work if you havent rooted the phone?
[Nexus One Themes and Apps] OrganizedFellow:
Would the same method work for the default Facebook app?

I like Bloo better :)

IF SO: what's the app path, or, whatever?!
[Nexus One Themes and Apps] samawil:
Thanks, that worked for me...just a question, how do you know about *amaz*

?

Thanks,

Lou
[Nexus One Themes and Apps] Mikey:
No cause you need root to install busybox :)

*amaz* is a wild card....anything with them 4 letters will be removed.
[Nexus One Themes and Apps] Mikey:
/system/app/Facebook.apk

/data/data/com.facebook.katana/

Remember though, whenever you flash a theme or upcoming roms or add-ons, If these/this app is in the update.zip it will be re-installed on your phone ;)
[Nexus One Themes and Apps] stewart1988:
Could you also remove using a Terminal on the N1?
[Nexus One Themes and Apps] samawil:
I see...thanks
[Nexus One Themes and Apps] Mikey:
after you get su

mount -o remount,rw /dev/block/mtdblock3 /system

busybox rm /system/app/*amaz*

busybox rm -rf /data/data/com.amazon.mp3

use ls to get a listing of a directory ;)

So on with any other app you wanna remove ;)

If you're using Enomthers add-on:

you can also just;

To make /system read/write

rwsystem

Then when done:

rosystem

Per: Enomther :)
[Nexus One Themes and Apps] stewart1988:
did su and always allowed root:root.

when I do rm /system/app/*amaz* I get

rm failed for /system/app/com.amazon.mp3.apk, Read-only file system

Anything idea what I'm doing wrong?
[Nexus One Themes and Apps] Mikey:
Edit: Inserted mount /system command
[Nexus One Themes and Apps] stewart1988:
cd /data/data

I do ls and I can see com.amazon.mp3 but when I type rm -rf /data/data/com.amazon.mp3 I get the error

rm failed for -rf, No such file or directory :( Any idea?

Thanks :)
[Nexus One Themes and Apps] Mikey:
Im watching the game and giving half commands...sorry lol

busybox rm /system/app/*amaz*

busybox rm -rf /data/data/com.amazon.mp3

No need for cd command when performing a direct path.
[Nexus One Themes and Apps] lessthanjoey:
I had the same issue.

Just do rm -r (not -rf). That works fine.
[Nexus One Themes and Apps] jamesyb0i:
I could only install the ADB driver while being in custom recovery and adb could only see my phone with USB debugging enabled.
[Nexus One Themes and Apps] Talderon:
Removing Amazon MP3 is a HUGE drive to get me to root. I have NEVER used this applicaiton yet I always see it running in the background and it is taking up cache space as well.
[Dash 3G, Snap ROM Development] kluks:
Can the chefs share a kitchen for ozone please?

I have an ozone phone, but is a pre-release version, so the keyboard printing does not match any of the released version(TELUS, Verizo etc), I would like to use the kitchen to re-map all the keys.

thanks in advance
[Windows Mobile Software Development] darkhalf520:
It is sth like 2 days I'm searching for it and can find it nowhere, I'm looking for Bepe's kitchen and toolset, as well as the instructive videos, the links from bepe are all down and i can find no mirrors, so if smn has anth and could upload it would do me a huge favor. thx !
[Nexus One General] niiiick:
on my G1 i was able to record something via a voice recorder app (it saved as .3gp) and place that file into my sdcard/audio/alarms and the alarm clock would pick it up as something that could be my alarm.

it doesn't do that for the n1, but the other notifications/mail alerts/ringtones all show up. any ideas why the clock doesn't pick it up from the sd card?
[Nexus One General] uansari1:
First, I'm not sure about that format, so I can't help with that. But did you place the file in /sdcard/audio/alarms/?
[Nexus One General] Mi|enko:
Doesn't it need to be /sdcard/media/audio/alarms? Pretty sure it does.
[Nexus One General] mixpix405:
it didnt matter where for me, as long as a usable audio file was in a folder called "alarms", it'd show up as a choice on my G1 - no "media" folder or anything else needed, but it would work inside the media/alarms folder, too.

Haven't gotten that far on my N1 yet... I can't stop just staring at the screen.

This thing's a true work of art... I've had it for 2 full days and I'm still in such awe at the GUI and screen that I haven't done something as simple as adding my own ringtones/notification tones/alarm tones, etc...
[myTouch 3G, Magic General] crankygeek:
Hey everyone! Glad to join the community!

Anyways, I have a T-Mobile 32B Magic, with Cyanogen's Recovery 1.4 and CyanogenMod 4.2.12.2

I am debating going back to stock HTC ION Rom (I don't need any of the T-Mobile crap, MyFaves etc.)

I have a backup .img of the recovery that came loaded on the phone if that is needed.

Am I correct to assume that simply booting into recovery and flashing the "signed-google-ion-img" will revert me back to 1.6 stock? I know I'll lose root and everything.

I'm loving Cyanogen, but I'm curious as if there is a way back.

Thanks to anyone who can help me.
[myTouch 3G, Magic General] dferreira:
Check the link on my sign :)
[myTouch 3G, Magic General] crankygeek:
OK, sounds easy enough, but can I skip the SPL and fastbooting part and use the hacked recovery I already have on my MT3G? Like just copy the zip to sd, do a wipe and flash?
[Touch Pro2, Tilt 2 Windows Mobile General] droreni:
Hey all, need some help here.

short story - can't power up my device, since power botton stopped working.

anyonw knows a way to turn on the device otherwise?

(tried reset by reset button, plug to pc, to charger..)

longer story- yesterday i realized i can hear only on speaker phone, so i thought it is a bug and tried to reset the device (soft) and realized the power button isn't working as well, which increased my suspicion of a bug, and smart enough i just unplugged the battery and since then can't turn it back on..

thanks
[Touch Pro2, Tilt 2 Windows Mobile General] 4o4o:
I have same problem several times, and I have no idea why these happen, any ideas?

When its happen, I try call from another phone to my, and nothing happen phone not ring, but I heard normal sound from calling phone.
[Touch Pro2, Tilt 2 Windows Mobile General] InRBigness:
I would see if I could get the phone to hard reset. I know you need to push the power button but it may work for this purpose just not tell the software to turn back on.

Hard Reset:

With phone off push and hold the send and end buttons while pushing the power button. Follow screen instructions.

If you cant then you will have to return it I am guessing.
[Touch Pro2, Tilt 2 Windows Mobile General] droreni:
Nothing

nope, i tried also to hard reset but nothing works, as time goes i get the feeling that the phone is ok but the power button is the one breaked.

i guess i have to take it to a lab sometime this week.

thanks anyways
[Nexus One General] Crowe T. Robot:
For when I'm at the desk or at a table, would something like this:

http://www.extremepda.com/BTKEYBOARD.html

work with the Nexus One?
[Nexus One General] JHaste:
LOL! what would you ever need to type out that you would need a full size keyboard for? if you need to type something longer than 1000 characters you should just use a computer...
[Nexus One General] Crowe T. Robot:
LOL IM ON THE ROAD A LOT I KNO ITS SO FUNNY RITE?

Jees, I'm not interested in the why, but rather if it would work at all.
[Nexus One General] jairuncaloth:
Why not? The N1 is a computer. It just happens to fit in your pocket.

I too am interested in being able to use a bluetooth keyboard with it... Heck I'd settle for USB.
[Nexus One General] cartoonmonkey:
It may work with Android 2.1, not sure.

There's a solution you can buy for ten bucks that will make your bt keyboard work: http://www.mymobilegear.com/AndroidKBDriver.php

This keyboard is the best. I use it with my tablet pc. Folds to the size of a tiny paperback. http://cgi.ebay.com/iGo-Stowaway-Ul...wItemQQptZPDA_Accessories?hash=item3ca9149a2f

C
[Nexus One General] Crowe T. Robot:
Awesome, thanks!

Think I'll just pick that and a keyboard up. That iGo looks awesome.
[myTouch 3G, Magic General] cashoplz:
SapphirePVT 32A ENG S-OFF H

HBOOT-1.33.2010

CPLD-12

RADIO-3.22.20.17

==========

I turned my phone off during Step 6 (below), Now I have a phone with no rom loaded, what should I do?

:confused:

==========

Turn your phone off.

Hold the Home button while booting to get to Recovery mode.

Select "wipe data/factory reset") (MT3G/Magic boots to andrOid then black screen with back-lite if you don't do this.)

Select "apply any zip from sd")

choose "DRC83_base_defanged.zip"

Press home to confirm and let installation complete ('Formatting Cache' will stay at the bottom of the screen but once the menu reappears, the flashing is complete)

STOP - DO NOT REBOOT YOUR PHONE

Again, select "apply any zip from sd")

choose "update-cm-4.2.x-signed.zip"

Press home to confirm and let installation complete

When this is complete, reboot your phone by pressing Home & Back or selecting that option.

Wait. This will take a couple of minutes. Be patient!

==========
[General Topics] gprimr1:
I was wondering if anyone has explored the possibility of porting Windows Mobile to the android devices.

I know that it's been done the other way.
[General Topics] DaveTheTytnIIGuy:
Though many have requested it, Windows Mobile has never been ported to any device it was not shipped on. Windows Mobile is extremely complex at the lower levels, consisting of many hardware dependant components which make up the most critical parts of the OS. In addition, it's closed source, so there's no way to modify the source like when Android/Linux is ported to a Windows-based device. In short, don't hold your breath for a release, it won't happen.
[General Topics] psolunke:
If its immposible to port WM to Android device then is it possible to port Android ROM on windows Mobile based device..like we do on pc i.installing windows Vista after formatting old OS.
[General Topics] dcarr622:
@ psolunke

Yes its possible to get Android running on a WinMo device, its been done with a number of phones.

Basically without Windows Mobile being open source, the chances of it going the other way are slim to none. Not to mention that the HD2 is the only WinMo device with a capactive display while nearly all Android devices have one, which would make it hard to get even that to work.
[Nexus One General] brandenk:
I deleted my initial nandroid backup so I was hoping someone could post theirs.
[Nexus One General] crazyyellowguy:
Nandroid saves personal information also... probably no luck there.

You have only had the phone for a couple of days, so I hope you didn't lose too much.
[Nexus One General] setzer715:
I'll share my last nandroid without the data.img, if you want.
[Nexus One General] TheDudeOfLife:
bk, i sent you an email...
[Nexus One General] raymondf13:
may i please get a copy also? thanks :-)
[Nexus One General] brandenk:
Of course I could care less about the data.img but the dude already came through as usual. Thank you! And I will try to post it later without his data.img for anyone else that wants it.
[Nexus One General] tada116:
If you can get me the system.img. I'd appreciate it
[Hero CDMA General] skanndelus:
okay to do this on a rooted phone? will it have any effect on the root or are these just going to improve phone performance?
[Hero CDMA General] 702DROID:
go ahead and do the profile and prl ...firmware wont do anything
[Windows Mobile Themes] newone757:
Have a question for the people knowledgeable in the titanium format.

Is it possible to NOT have a titanium plugin selected??

or if anything is it possible to create a titanium plugin that is invisible (maybe 1 px?) so that the list of plugins in titanium show as a normal list??

see pic below for what i mean
[Windows Mobile Themes] newone757:
or better yet. is there a way to configure the clock panel so that it looks like this when selected??
[Windows Mobile Themes] agent.m:
I think if i get you right you can get home screen customzer. one is on the us marketplace. the other is on xda under titanium app/skin etc
[Windows Mobile Themes] TheRem:
edit your titanium cpr and bronzeres.dll... if you don't want to edit bronzeres.dll, read this:

http://xdaforums.com/showthread.php?t=536498
[Windows Mobile Themes] cache520:
I like the taskbar in the picture(theme) ,can you provide the source ?
[Windows Mobile Themes] kane159:
of course is possable

open your titanium's cpr

find the line

<Image ID="Image Default" Top="XX" Width="XX" Height="XX" Opacity="XX" />

change this data to 0.0
[Windows Mobile Themes] newone757:
i think ive done that before and it only made the "slider" transparent. meaning the clock is still big and shows the carrier and whatnot. I want it to look exactly as it does in the screenshot when selected

yes i will post when i get a chance. still working on it

what i really need to know is how to edit the layout of the clock plugin that shows when it is selected
[Windows Mobile Themes] claus1953:
You could open your cpr, copy the clock condensed view, and paste it into the expanded view, so both views look the same as in your picture.
[Windows Mobile Themes] newone757:
exactly what im looking for.

do you know the name of the cpr file i need to edit??
[Windows Mobile Themes] mallman:
Titanium_480x800.cpr
[Windows Mobile Themes] mallman:
but dont forget that even if you do that you are still going to have icons to the right of your screen when you select an item in titanium. you would have to make those transparent in bronzeres.dll to make them go away
[Windows Mobile Themes] newone757:
alright, thankyou for the help

will post back when i try it out
[Windows Mobile Themes] claus1953:
Titanium_480x800.cpr is if you have a WVGA device, do you have such one?
[Windows Mobile Themes] newone757:
Yes i do as seen in the 1st post screenshot

a touch pro 2 :)
[Windows Mobile Themes] srgudhka:
i think this something you were looking for. even i thought of the same thing. and managed to do this much. lemme know if its good. this is for qvga.

havent added the wallpaper yet.
[Windows Mobile Themes] lobo4806:
what font is that????
[Windows Mobile Themes] newone757:
sorry it took so long to get back to you

http://xdaforums.com/showpost.php?p=4838566&postcount=64