yashsingh1/xdaforums huggingface dataset:
[Android Software Development] kszup:
Hello Everyone,

I will be working on an Android application for a lab group I'm working with. The application requires the ability to "fine-tune" the camera on an Android phone. A little bit about the project:

1. Need to take about 50 pictures a minute for 3 minutes

2. Turn off Auto-focus

3. Turn off Auto-gain

4. Set exposure time

5. Images are preferred in gray scale

6. Control LEDs outside of phone hardware

I'm familiar with embedded Linux but very new to the Android platform. Looking at the API, it doesn't look like I'll be able do some of things easily. Might have to get into the camera driver?

I was wondering what would be the easiest phone to develop something like this? Could someone point me in the right direction?

Thanks in Advance!!
[Android Software Development] mk2munky:
50 pictures a minute for 3 minutes is essentially video...? Or would you just throw these images away?

I'm really new to java and the Android platform and all that too. I don't think there is really an easy or easiest phone to develop on. But you should probably design for medium-density phones (such as, my HTC Hero, even though it's old). Medium density phones are the most common. Otherwise, just download eclipse and the Android SDK and get to it.

By the way, I don't think you have to get into the camera driver or anything. I think you just need to declare what resources you will be utilizing.
[Android Software Development] seraph1024:
I think you just dug yourself a pretty big hole there. It depends on the android device you already have, Keep in mind a few things:

1. Which android device is going to be your test device (can't use the emulator).

2. Which platform do you want to support (1.6, 2.0, 2.1, 2.2, 2.3 etc)

3. What flavor of ROMs will you support.

We use Nexus one and an array of phones for our application development. We've played with cameras (augmented reality apps). Cameras behave differently on different phones. Cameras' viewable screens are also different on 4:3 vs 16:9 screens. They are also different on Sense UI ROMs vs stock vanilla roms.

This is my advice: Pick a phone that you think it'll help you most. Having the latest test phone (ie Nexus S) helps. but keep in mind that not everyone is on Gingerbread soon and they will not be on GB soon. Some of the GB features do not work on Froyo etc.

Good luck with your project. Just pick a phone, and run with it (and cross your finger and hope they all behave the same). Google says all androids are created equal right? But I quote Orwell and say "All androids are created equal. Some are more equal than the others."
[Android Software Development] kszup:
Thanks for the input. The application is far from being something for the general public. I just need to have it work for one phone as a proof of concept.

I'm looking at Nexus S, Samsung Galaxy S, and HTC Dream. Any +/- to programming for these?
[Vibrant General] phrozenflame:
Greetings,

Guys, first of all, I'm no pro, this worked for me, it may not work for you, and its not the 'solution' for people who wish to be connected to internet 24/7.

- I have no Dataplan, Vibrant would connect and eat through my balance on EDGE/GPRS.

- I downloaded an app from Google Market, "Quick Settings" (search for it)

- Run Quick Settings and Turn off Mobile Data. It should show "Disconnected"

Basically, I did this with intention to save my precious hard earned money :) but the side effect appears to be that my Battery life suddenly has gone insane.

Before when I did have GPRS on, I would regularly check Advanced Task killer and kill apps in attempt to stop apps from connecting.

My use has been more or less same, I'm not a Power user, just take it to office, use now and then, and the battery would finish up in ~9 hours, 10 tops.

Anyway, here is the result

My firmware is stock, (rooted):

I hope this can be useful for people who fit in same profile as me for the phone usage.

Keywords: Samsung Vibrant Save Battery extend life Galaxy sgh - t959
[Vibrant General] zephiK:
You can do this by just holding power then pressing Data Network.. or simply going into WiFi settings and disabling the phone from being connected from the internet.

Of course if you're using the phone without it being connected to the internet, a lot of power isn't going to be consumed. It's a smartphone, supposed to use the internet on it.

A tip I would recommend is to use SuperPower and it can do a bunch of tweaks to improve your battery (screen off; disables data.. things like that).
[Vibrant General] xriderx66:
i dont have a dataplan either, but i DO text, if i do that, will it just turn off all communications like text and phone calls? I only use web when im at home with my WIFI.
[Vibrant General] anthonys2r:
I'm just wondering, why did you get a smartphone with no data? I see that you're not even using wifi. Why not just get a Windows 6.1 phone or a Blackberry or something?
[Vibrant General] phrozenflame:
You can use Text and phone calls. Its on all the time.

I do have access to WiFi, tho I use it more at home and other places, less during work.

I dont have a data plan because there is only EDGE/GPRS available on it, no 3G *yet*.

So when I do want to check on something, I simply turn it on for a minute or two, check on my mails or anything else etc and be done. Otherwise, what was happening was, I'd get connected even tho when I did not wanted it to connect. It was costing me for nothing. I can do other syncs etc at home or 100 other places that have wifi.

I did not get Windows 6.1 phone or Blackberry is because Android > them both. I assume you know that already. + Awesome screen is awesome. :)

As I said very clearly earlier and I shall repeat it for you, this may be useful for people who have same profile of usage patterns as myself.
[Vibrant General] darkknight49:
Please tell me that 19 hours isn't the best you got.
[Vibrant General] kolyan:
If u turn airplane mode u gonna get even more battery :)
[Vibrant General] jamesd86:
also not going to receive texts and phone calls. but who needs either on a cell phone =P

As for disabling the internet, i just check the box in settings to not use data. under wireless settings or something. I don't pay for data because no 3g in my area also.
[Vibrant General] Col.Kernel:
Why not just put the Power Control widget on your home screen somewhere? The button between GPS and Brightness toggles whether you allow apps to sync on the 'Net or not.

IOW if you turn that toggle off you won't get email unless you launch your email reader, you won't get anything from the 'Net unless you initiate it.

Me? I just installed Onyx from Team Whiskey and I can go 3 days without worrying about my battery life if I'm just doing limited usage of the phone.
[Vibrant General] Shrivel:
Looking at his screenshot, it appears as though he's gone for 19 hours and still has around 50% battery left.
[Vibrant General] shreddintyres:
Ok im running axura 2.2 froyo rom and i routinely get 18-22 hours with everything turned on with the exception of gps.
[Vibrant General] phrozenflame:
I tried the power Control widget before, I kept getting the edge icon (E with up and down green/red arrows)

And offcourse, I do not doubt that custom roms would be the best solution :)
[Vibrant General] Molezou:
I think this is a 2.2+ feature.
[Vibrant General] darkknight49:
Ah yes, duh, look at the battery indicator.
[XPERIA X10 General] bluecandylover:
Just to let you know that we seem to be getting the new Android Market now on our X10's, they must be force updating it.
[XPERIA X10 General] Tri3Dent:
Yea I can confirm that. Saw the new updated market yesterday.
[XPERIA X10 General] batman_112:
Multiple threads have been opened discussing this. Please go here.
[XPERIA X10 General] hilaireg:
Please refrain from starting multiple threads on similar topics when possible.
[Windows Mobile Themes] cloudspine:
Hi all, here's something I've been working on these past two days.

I got tired of GTX Sense, and installed SPB MS, along with DOC3000 and Mskip's excellent Droid Pro+. Then I decided to give my device a little facelift, and, being a fan of pretty much everything post-apocalyptic, I came up with this.

The cab file will install the first taskbar (all it does is install the image, no color change or icons). I was going to make cabs for all three, but I'm having some trouble with my computer, so... What you can do is install the cab, rename the image you want to PAtaskbar.png, use Total Commander to move the file to \windows, and reset... You might want to do that because the first one doesn't look good in landscape (anybody know whether different images can be used for portrait and landscape?).

And a little extra, if anybody has some ideas, on how to improve it or something, here's the PSD file: http://www.mediafire.com/?d17mcr6t1vsccsw

BTW, the graphics were shamelessly ripped from S.T.A.L.K.E.R. and reworked/adapted, and here's what it looks like on my rhodium: http://xdaforums.com/showpost.php?p=9918676&postcount=864

Anyways, hope you like it :) :cool:
[Vibrant Android Development] speedysilwady:
12/23/10- V6

- Easy root. You only need to install Superuser app from Market.

V5

- Wifi semi-working (tend to crash the phone on Wifi sleep timeout)

- Calls working but no DATA for me (coolya had data, which means: erratic) - voice not tested.

- kind of laggy, but there is a lot of headroom.

- GPS working only by Wifi/Triangulation networking - No satellites.

Fantastic job by coolya who did most of the advancement, for Wifi, baseband and also OneDRAM partitions configuration. Really really awesome work.

We were so lucky the snow forced him to stay at home instead of going to work

This time you can really start to play with the phone, install apps, surf on the Internet all this with Gingerbread! kind of cool

12/22/10- V4

-Buttons fixed thanks to the contributions of xcaliburhands, pawitp, fenfir*

-No need to create some directories manually anymore.

-Kernel available as ClockWorkMod recovery update.zip - be sure you have access to 3 buttons !

*I havent tested this beta so im assuming the buttons are remapped properly for only i9000 using that kernel he posted. but if i read on twitter correctly, all phones have proper keymapping, not sure.

12/19/10 - V3

- SDcard now works

- As internal storage

- As USB storage

12/19/10 - V2

improved pre-init script and mounts:

no more insufficient space

improved dual-boot solution

faster boot

faster disk I/O

12-18-10 - V1

initial

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

READ EVERY WORD IN THIS LINK AND IN THE LINKED POST BEFORE FLASHING, I TAKE NO RESPONSIBILITY FOR YOUR CHOICE TO FLASH THIS AND ANY BRICKS OR UNPLEASANT OCCURRENCES THAT MAY FOLLOW - CLICK ME FOR THE ROM AND INFO

Make sure you have voodoo preinstalled and NOT disabled before flashing

Warning! Be careful ADB might not work for you. Im on Windows 7 64 bit and lost ADB access, you might need to go into download mode and ODIN!

^Update to this, make sure you have the latest usb drivers from the Android SDK. Still gonna leave this warning up though because it doesnt work for me after updating the drivers.

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

References/Guides

kennethpenn posted a detailed n00b friendly guide to flashing this here

Vibrant Voodoo Kernels can be found here

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

Enjoy the early taste of gingerbread, thanks to supercurio and the #NSdev channel! :)
[Vibrant Android Development] Neubian_Steel:
Link please
[Vibrant Android Development] speedysilwady:
its the first line in all caps lol, i wanted people to read it before clicking
[Vibrant Android Development] ozmulti:
Stuff like this that makes me wish i had bought an i9000 instead of the vibrant :P
[Vibrant Android Development] speedysilwady:
its no biggie dude, ports from the i9000 are getting easier to do it seems (im not dev myself but thats what it seems like lol)

also cool thing about this is that its actually dual booting gingerbread on your phone ;)
[Vibrant Android Development] justlovejoy:
be patient and you'll see that its going to get way better.
[Vibrant Android Development] r3skyline:
and so it has begun.... :D
[Vibrant Android Development] remixfa:
all the galaxy s variants exept maybe the epic are near identical minus a few things. so when the i9000 get it, the vibrant nomrally gets it. no worries.

woot!!
[Vibrant Android Development] DEFINITIONOFREAL:
Links broken
[Vibrant Android Development] ozmulti:
This may sound like trolling. But this voice inside my head just keeps on saying that i am getting the port of a port. Wish supercurio would develop for vibrant. ANd THAT would be ported to the i9000 ... take that Stock GALAXY S BEEEAACH
[Vibrant Android Development] speedysilwady:
try it now
[Vibrant Android Development] cashyftw:
True, when the i9000 gets something we basically get it also.

Sent from the speed demon
[Vibrant Android Development] kennethpenn:
I wrote up some more detailed instructions here for noobies. :) Although this is an alpha build... so be careful.
[Vibrant Android Development] speedysilwady:
I'll add the link to the OP :)
[Vibrant Android Development] jalyn02:
Is this real?
[Vibrant Android Development] mr.orange303:
Wow.
[Vibrant Android Development] bobbbb:
yes it is reallll
[Vibrant Android Development] speedysilwady:
its a few months too early for April Fools ;)
[Vibrant Android Development] oka1:
checked the Nexus out

checked the Nexus out and what I thought was correct. It seemed like a vibrant hopped up on 2.3 and the rest wasn't much different hardware-wise.... Now super-curio has proven this assumption to be correct

....congrats and excellent !!!
[Vibrant Android Development] msnuser111:
I'm not sure if anyone mentioned it in the other thread,I don't feel like reading through 39 pages when its already almost midnight and I need to wake up at 7am,but as a temporary solution until we get buttons working,as long as they didnt change anything major in the filesystem,you should be able to change the keylayouts file to make vol up and down remapped to home and back (or menu,search,... whatever you want.) I haven't flashed this yet,so someone please let me know if this works. If I remember correctly keylayouts are in /usr/keylayout/ and there should be a few files in there,one of which is the hardware button mapping,open it in a text editor,there will be a bunch of buttons on the left and their names on the right,find vol up and change it to say HOME,find vol down and change it to BACK. save the file and reboot,that should make them work as what you assigned them to.
[Vibrant Android Development] vvaffles:
to get adb working all you have to do is update the sdk to the newest version
[Vibrant Android Development] rsfaze:
there is a v3 now with both sd cards working.. OP time for an update :)
[Vibrant Android Development] kangxi:
You are supposed to post new threads for new releases to keep everything organized. This is going to turn into a big mess soon if you don't get it right. Thanks.
[Vibrant Android Development] rsfaze:
well since it's in the Alpha stages there is no real reason to create a thread every time there is an update.

The idea of posting new threads is for new roms. So going from Nero 1 to Nero 2, or Macnut 12 to 14 would warrant a new thread, however this is still the same rom just bugs being worked through.
[Vibrant Android Development] demo23019:
anyone with vibrant actually try this?

converted to ext4 did everything in instructions adb..ect flashed kernel with Odin sits on vibrant screen

EDIT

people that are on JK2, JK6, KL1, JL4 just flash one of these voodoo kernels to convert to ext4 and dont worry about bricking during Gingerbread process because the link also has flash-able Odin voodoo.tar files in case you get stuck at vibrant screen and unable to access clockwork to flash back kernel and will return to normal :)

might want to add to OP

http://xdaforums.com/showthread.php?t=870480
[Vibrant Android Development] yvliew:
seriously, why is i9000 rom posted here????? some newbie might just flash it and cause alot of trouble for them...
[Vibrant Android Development] zephiK:
OP is never responsible for the user's bricks. It's always up to the user.
[Vibrant Android Development] demo23019:
yea i dont think it even works tried twice with same results

I just want to compare couple benchmarks with my NS dont really care about functionality

NS is scoring low on quadrant 3d and nenamark compared to my vibrant and want to see if it is fact 2.3 compatibility issue or NS hardware
[Vibrant Android Development] cashyftw:
Well I would hope that a user realizes that this is a "Samsung Vibrant forum, and not a samsung i9000..
[Vibrant Android Development] demo23019:
removed misread
[Vibrant Android Development] speedysilwady:
Sorry I fell asleep on irc before v3 was out, time to update :)

lol its just an alpha with very few things working, once it reaches beta ill make new topics ;)

exactly! :)

will add that to OP thank you!

because the i9000 and Vibrant both still have the same exact issues including button mapping as of v1, Im gonna try v3 and see if its fixed but its not in the change log soo i dont think so. And Im not responsible for what n00bs do. I said to read every word in the link before dual booting the rom, so its the end user's responsibility

thank you sir Ill add that to the OP too =P

It works, make sure you read everything in the first link and did exactly what it says. There are also guides i linked to that should help you.

yes and either way the rom at this point has the same issues across both phones as far as I can tell.
[Vibrant Android Development] demo23019:
Ok this is how i did it let me know if this should be OK

converted to ext4 with voodoo kernel

put system dump.tar.gz on internal SD card

Reboot into clockwork

mounted system and from computer accessed cmd went to root directory were adb is located on computer..pretty much just copied and pasted every command everything seemed like it went OK

when done did "reboot download"

accessed download mode opened Odin installed the nsonsgs kernel and reboots and hangs on vibrant screen:confused: that's as far as i got
[Vibrant Android Development] demo23019:
omg another double post..sorry
[Vibrant Android Development] Segnaro:
You forgot to convert to ext4.

Find the Voodoo thread here, get into download mode, and flash a Voodoo kernel with Odin.
[Vibrant Android Development] demo23019:
I do have voodoo kernel installed and currently on ext4

forgot to mention that as my first step

I'm the one who recommended adding that link i posted that had the voodoo kernel for odin..ect :)
[Vibrant Android Development] speedysilwady:
hmm try doing it over again but this time dont go to recovery. stay on your homescreen, copy each line one at a time and accept the superuser permissions on your phone screen when you type su

also make sure youre on a 2.2 rom with voodoo for 2.2
[Vibrant Android Development] demo23019:
yea i got access denied that's why i went and mounted threw clockwork.

Im fine now I didn't relies i needed to open supeuser when i ran su command and seems fine now. Message popped up to allow and can run fine threw the OS... thanks got it working :)
[Vibrant Android Development] msnuser111:
I used heimdall to flash all the parts of eugene's JK2,then flashed one of his kernels with the universal lagfix built in,B_1120_100,set it to a=e4 whatever that one was (I think advanced? idk,the one that says a=e4.),then copied the stuff to my sdcard like he says to,flashed the new kernel and it boots and runs fine.
[Vibrant Android Development] speedysilwady:
not a problem! :D
[Vibrant Android Development] epakrat75:
Weren't XDA members that post ROM threads here asked to start new thread for each new / updated release? :confused:
[Vibrant Android Development] speedysilwady:
yes but this is technically a kernel update, and its very alpha, its not a major rom release with major refinements. if a mod has a problem though ill gladly make a new thread for each release but it just seems unnecessary this early in development
[Vibrant Android Development] demo23019:
OK so been testing just as fast os NS

since no data connection what so ever i pushed quadrant and here are my results with vibrant and 2.3 also note higher cache because of voodoo lagfix

and quadrant seems to have issues with 2.3 just like i thought... my main purpose for this was to compare vibrant 2.3 with my NS because of low 3D test results on NS but it seems its just they need to update quadrant to 2.3 standards

Not too bad ...NS with voodoo get avr 2500
[Vibrant Android Development] Robert8457:
This is unleashing the beast :-)
[Vibrant Android Development] speedysilwady:
Nice I shouldve tried linpack and quadrant when i was on it. thats a really nice score though!
[Vibrant Android Development] skypagers:
I have a Samsung vibrant I only rooted did lagfix on my phone I was trying to put froyo on my phone with the latest 2.2 release from the Samfimrware T959UVJL4 I was trying to install the froyo by Odin but it ask me for four file PIT, PDA, PHONE, and CSC file out of four file I have PIT and PDA file where to get the Phone file and CSC file from and should I click the Re partition can anyone help me how to install froyo Thanks in Advance
[Vibrant Android Development] HotShotAzn:
1) Search shows this http://tinyurl.com/2bc5b6rfrom this thread: (Should have searched but click me since I'll lead you to the source)

2) . Yes, a period. Please learn to use one.
[Vibrant Android Development] skypagers:
I Bricked my phone

I try to install the latest froyo from samfirmware the T959UVJL4 and i see nothing but black screen no more my phone power on any more how do i try to turn my phone back on can any one help or should I call Samsung for a repair my phone can any one help me on this. These is my second phone it did the same thing to my phone any help
[Vibrant Android Development] HotShotAzn:
1) Plug your phone in

2) Launch ADB

3) type in adb devices

3a) If your devices appears, go to step 4

3b) If your device does NOT appear, search on how to recover from a brick

4) type in adb reboot download

5) Select the appropriate files in ODIN and run

6) Use punctuation so I know when one problem ends and another begins
[Vibrant Android Development] lphillips80:
You should post in Q and A.
[Vibrant Android Development] NikolaiT:
For anyone that doesn't understand why this is posted in the vibrant forums: This does work on the Vibrant, Captivate, and any other GSM Galaxy S Version, although I would expect keymapping to be screwy
[Vibrant Android Development] :
Keymapping is almost done on all three saw it on twitter
[Vibrant Android Development] epakrat75:
v4 is out. Key remapping, etc now working on i9000.
[Vibrant Android Development] _DiMoN_:
For Galaxy S is ready!!!!!! I hope the others follow soon..

I suspect the GPS, Voice, WiFi will take much longer... We will see!
[Vibrant Android Development] nateysmith:
Look at this tweet: supercurio RT @dumdidum: looks goooooood :-) incomming / outgoing calls work, data works, incomming / outgoing sms work , only little polling prob. #sgs #gingerbread
[Vibrant Android Development] speedysilwady:
OP Updated
[Vibrant Android Development] _DiMoN_:
Just flashed to my Vibrant (v4):

- Only settings and back button is mapped

- Volume up and down are reversed

- WiFi no, GPS no

- Voice and data not yet
[Vibrant Android Development] _Opiate_:
Im really hoping we can get a real deal nexus s port going (file system and all) fully operational. I believe that'd be the pinnacle of AOSP for now at least.
[Vibrant Android Development] blackerwater:
Anyone running this yet?

Edit: I mean as a daily driver

Sent from my vibrant