Accessing Grayscale Data From A Photo?

Oct 7, 2012

I am wondering how do I go about writing code (or be directed to any existing relevant code), that allows me to average the grayscale values above a threshold (Otsu threshold) from a JPEG photo taken from an android device camera.

accessing grayscale data from a photo?


How To Get Grayscale Pixel Data From Image Or Preview

May 8, 2013

What I am needing is a method to get grayscale pixel data from an image or preview. I am not interested in saving the picture as a jpeg etc, just need the grayscale data.

I am aiming at API 10 (as this is the device available for testing).

On top of this, I am not having any luck getting the camera to work on the Eclipse emulator.

View 3 Replies View Related

Android :: Accessing Location Data In Emulator

Mar 20, 2010

I'm trying to access location data in the emulator but always receive null values :( This is the code: final Location Manager location Manager = (Location Manager) getSystemService( Context.LOCATION_SERVICE ); if ( location Manager == null ) { return; }

View 8 Replies View Related

Android :: Application Design - Accessing Website Data

Oct 19, 2010

I am new to Android development and am interested in working out a design of an application. I am however, unfamiliar with the best way to handle what I want to do. I am interested in obtaining information from my band's Joomla website and placing it into an Android application. At the moment I'd like to get News articles posted and potentially other information that I create on the site. I was thinking of doing this by setting up RSS feeds for the website. Would it be better to somehow access the data directly by connecting to the database? I don't know PHP so I can't develop a webservice to access the content. Any ideas?

View 1 Replies View Related

Android :: Accessing The Data - Voice Streams And IOS Platforms

Sep 28, 2010

I haven't done any work with the Android or iOS platforms, but I have recently been pitched a project and I'm trying to see if it is even feasible.

Is there currently API hooks in the iOS and Android platforms for accessing / manipulating the voice / data streams? What I would like to do is encrypt all outgoing steams and decrypt all incoming streams before they reach and other processes that need that data.

I would assume that because the Android platform is open source one should be able to do this, it just may have to be hacked together. I'm more worried about iOS.

View 2 Replies View Related

HTC Hero :: Data Useage - How To Know If Phone Is Accessing Internet Through WiFi Or Not

Oct 2, 2009

I just got a Hero, its really cool, but I'm worried about how much data this thing is going to eat up. I've got a 500MB limit, but I dont really know how long that will last. So heres a few questions

How do I know if the phone is accessing the internet through WiFi or not? Obviously WiFi doesnt count towards the limit, so I want to know that I'm using it as often as possible.

Do widgets on the home page count towards your data limit? I've got a weather widget, facebook, bbc news, email, all getting their info from the internet. Is this going to be raking up the MBs while the phone is just sat in my pocket?

Is there a number I can ring to see how much data I've used? I'm with Orange. A number to call to check my texts and minutes would be helpful, too.

View 8 Replies View Related

Android :: How Can I Get Photo Data?

Aug 2, 2010

Can you please tell me how can I get the photo data if I have a list of photo_ids? I try this:cursor = mResolver.query(Contacts.Photos.CONTENT_URI, null, "_id IN (?)" , new String[] {"458"}, null);But the cursor return null.

View 1 Replies View Related

Android :: Trying To Grayscale Bitmap?

Apr 20, 2009

I am trying to grayscale bitmap as follows, But it is crashing as soon as I run this method.

The problem is in last line. How can I assign "int" to "Color"? Or are there any better ways?

CODE:................

View 9 Replies View Related

HTC Desire :: Data Loss And Photo Corruption

Aug 1, 2010

1. I connect my phone to my PC and copy mp3 files to the phone's sd card. But then immediately when it's done it's all gone again! The files just don't stay there.

2. Taking photos, lots of them age getting corrupted.

Could this be a quality issue with the SD card?? Admittedly i got 32gb for only $50. Could it be as simple as that ?

View 1 Replies View Related

Android :: Converting Bitmap To Grayscale

May 20, 2009

I would like to convert a Bitmap to a grayscale array of bytes (one byte per pixel). At the same time I want to just crop at section from the middle. Having looked though the various api's it is not clear to me what the best way would be.

1) What is ALPHA_8? is that grayscale? I have a feeling that the grayscale effect should be done via some "saturation" on the paint object, right?

2) once I have the Bitmap in grayscale and the right size, what is the best way to get that to a byte[] of pixels (one byte per pixel)?

View 2 Replies View Related

Android :: Turn A Color Bmp To Grayscale?

Jul 5, 2010

I've seen this code on the web...

My questions are:
1. Is 'bmp' supposed to be the color bitmap I want to affect?
2. How do I get the 0-255 value of the grayscale?

View 1 Replies View Related

Transfer Photo And Bundle Data To Another Person Phone?

Mar 30, 2014

I am building an app that can transfer a photo and bundle data to another persons phone that has the app.

The person would be close by, basically face to face.

In a perfect world I would like the process of file transfer to be less than 3 steps but I think that would be too much to ask for.

I am trying to figure out ways to do it but I keep coming up with blanks for every way I was thinking.

1. Bluetooth (Easier to code, more steps for the user)

2. NFC (How to implement and test)

3. Wifi Direct (Still has steps but less than Bluetooth, just learned about it today so I am new to it)

4. Connect to a Server (Make a server and connect devices)

5. HTTP (Make a temporary server on your phone?)

View 2 Replies View Related

Android :: Accessing Contact Data Base For Adding / Deleting / Updating Contact Using Native Code

Dec 15, 2009

I want to add,delete,update android Contact Database using native c code. please tell me how to do if any one have done it.

View 3 Replies View Related

Android :: Convert A Bitmap To GrayScale In Droid?

Jul 30, 2010

I am new to this site, and I come with a question about Android.

Is there any way to convert a Bitmap to grayscale? I know how to draw a grayscale bitmap (using canvas operations: http://www.mail-archive.com/android-developers@googlegroups.com/msg38890.html) but I really need The actual bitmap in gray colors (or at least something that could be converted to a bitmap later on).
Do I have to implement it by hand (pixel by pixel operations)?

I've searched a lot, and still could not find. Anyone knows a easy/efficient way to do it?

View 2 Replies View Related

Android :: Want To Convert Image Captured By Camera To Grayscale?

Jul 8, 2009

I have a camera application that captures a 640x480 image.I want to convert this image to grayscale.I know I have to use the setSaturatio (float sat) in the ColorMatrix method to zero but I don't know how I can set it to grayscale.

View 3 Replies View Related

Android :: Turn A Color Drawable Into A Grayscale One (to Indicate Disabled State)?

Nov 24, 2009

What would be the right way to turn a color Drawable into a grayscale one (to indicate disabled state)?

View 3 Replies View Related

Android :: Apply / Convert Image From Colored To Grayscale Algorithm To Droid?

Oct 28, 2010

I am trying to use one of these algorithms to convert a RGB image to grayscale :

The lightness method averages the most prominent and least prominent colors:
(max(R, G, B) + min(R, G, B)) / 2.

The average method simply averages the values: (R + G + B) / 3.

The formula for luminosity is 0.21 R + 0.71 G + 0.07 B.
But i get very weird results ! I know there are other ways to achieve this but is it possible to do this way ?

here is the code...

View 4 Replies View Related

Motorola Milestone :: Camera - Photo Right Edge Shows A Thin Vertical Strip Of Next Photo

Oct 20, 2010

Has anyone else experienced a strange problem with the Milestone (running 2.1) camera - in every photo, the right edge shows a thin vertical strip of the next photo! Shows in both Gallery & Media Gallery.. but don't have a similar issue in a video.

View 5 Replies View Related

General :: How To Erase Google Photo On Google Plus App Data

Feb 5, 2012

I synced google foto on my gnex than i tried TO delete it.

Now i don't see any picasa folder in my Gallery but i cannot delete the USB memory of google+ app.

Ho could i delete every cache file of google plus? It's not possibile through settings/applications

View 4 Replies View Related

Android :: Way To Send / Tag A Photo To Facebook From Photo Itself?

Nov 5, 2009

I could be missing this, but is there a way to send/tag a photo to facebook from the photo itself? The Facebook app for my blackberry lets me do this. If I pull up a photo I just took, I have the option of sending it to Facebook, as well as tagging it. I can't figure out how to do this on my Moment.

View 3 Replies View Related

General :: Photo Organizer That Actually Moves Photo

Sep 22, 2013

Camera app or organizer app that actually moves pictures instead of just displays them differently via a viewing app?

For example it would be great to have photos automatically go into pre-set albums or quickly and easily reorganize them afterwards etc. I know I can manually move them via file managers but looking for a dedicated app with different options/filters etc.

View 8 Replies View Related

HTC EVO 4G :: EVO Photo Vs Canon DSLR Photo

Jun 4, 2010

Here are two pics, one from my canon dslr and one from the HTC evo. Both were reduced by Photo bucket because of a file size restriction. Not bad for a cell phone camera, imo. Sorry, but I didn't have time to do some other examples, Canon T1I, 18-55mm lens, set to 8MP, full auto On the left HTC Evo 4g, 8MP, full auto On the right.

View 5 Replies View Related

HTC EVO 4G :: Facebook Photo As Contact Photo

Jun 7, 2010

Anyway i can get the photos from my facebook friends to be the photo for there contact photo in my phone book?

View 2 Replies View Related

Android :: Best Way To Store Application Data / When Data Stored / Data Format Could Change In Future Versions?

Mar 4, 2010

I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.

View 3 Replies View Related

HTC Incredible :: Accessing Sd Card?

Jun 12, 2010

dont flame me but how can i see whats on my sd card?

View 1 Replies View Related

Android :: Accessing Raw Resources

May 18, 2010

In J2ME, I've do this like that:
getClass().getResourceAsStream("/raw_resources.dat");

But in android, I always get null on this, why?

View 3 Replies View Related

Android :: Accessing External USB Storage

Jun 4, 2010

Are there Android API's to access data from an external USB device, such as a hard drive? I need to write an app to interface with an external usb device, is this possible? What system calls are used?

View 2 Replies View Related

Android :: Accessing Fields Across Package

Jul 6, 2010

How do I make fields accessible across a package? Currently, even if they are declared public i'm not able to access the fields from another class in the same package.

View 2 Replies View Related

Android :: Accessing Images From Gallery

Nov 23, 2009

I'm using the blow code to open the gallery and grab an image for an incon im gong to store in a database and access later to populate a listview attached to a simpleCursorAdapter...........

The code runs, and then starts force closing (what seems like) randomly. I'm convinced that I've gotten something confused somewhere but since the force closure happens at all different points of my app I dont know where to start looking.

View 8 Replies View Related

Android :: Accessing Email Addresses

Mar 17, 2010

I have the following code through which i am able to retrieve phone numbers. Somehow , i am not able to retrieve email addresses by using android.provider.Contacts.People API. import android.app.AlertDialog; import android.app.ExpandableListActivity; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts.People; import android.view.View; import android.widget.ExpandableListAdapter; import android.widget.SimpleCursorTreeAdapter; import android.widget.TextView; import android.widget.ExpandableListView. OnChildClickListener;

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved