Android :: Pixel Format Conversion In SF

Nov 26, 2009

I am looking at the source code of a Camera Preview application and learning that the preview buffers coming from the sensor is in YUV422 format. However, this preview frame is showed on the display in RGB. Can someone please let me know where the pixel format conversion happens? Is it inside Surface Flinger? If yes, can you please point me to the code?

Android :: Pixel Format Conversion in SF


Android :: Date Format Conversion

Sep 23, 2010

I am having a date/time value as 2010-07-26T11:37:52Z , now i wants date in 26-July-2010 (dd-mm-yyyy) format, how do i do it?

View 2 Replies View Related

Android :: Conversion To Dalvik Format Failed With Error 1

Aug 10, 2010

I faced to the serious problem when building my environment. I use below software for compiling. android SDK (android 2.1) eclipse 3.5.2. At first, this problem occurred on eclipse 3.6. I looked for the reason and countermeasure on the web. As the result, I re-installed eclipse 3.5.2. however, the problem was not fixed yet... after building, the below message has been displayed. "Conversion to Dalvik format failed with error 1" if you know other countermeasure for this.

View 3 Replies View Related

Android :: Conversion To Dalvik Format Failed With Error

Apr 10, 2009

I include JMF in my application. When i run my application the following type of error will occurring...

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

How can i resolve this error?

View 8 Replies View Related

Android :: Utilities Conversion To Dalvik Format Failed

Apr 28, 2009

I just updated to SDK 1.5 and all of my projects are failing to build with the following error:

[2009-04-28 15:53:23 - Utilities] no classfiles specified [2009-04-28 15:53:23 - Utilities] Conversion to Dalvik format failed with error 1 ("Utilities" is the name of this specific project.)

I'm on Ubuntu 9.04 x64. Before the update to 1.5 everything worked fine.

View 20 Replies View Related

Android :: Conversion To Dalvik Format - Unable To Execute Dex Null

Apr 22, 2010

I'm trying to use the SmugFig SmugMug API on Android. It was designed for J2SE I would imagine, so I'm not sure it will even work on Android, but I figured it was worth trying as opposed to trying to create my own API. When I load the project though, I get the following error: Conversion to Dalvik format failed: Unable to execute dex: null. It doesn't say what package it fails on, just "Android Packaging Problem", but it did not do this before I added SmugFig and it's dependency JARS to the build path. Where should I look? Or does this mainly me that it just won't work with those libraries?

View 3 Replies View Related

Android :: Signing APK And Conversion To Dalvik Format Failed With Error 1

Jul 9, 2009

I've been trying to use Eclipse and the Export Wizard to create a signed apk. unfortunately, I cannot seem to generate an UNSIGNED apk. Every time I "clean and build" I get the error below, which I read I can get rid of by "reload" or refresh then building again. however, the debugger automatically signs with the debug key after I do this, defeating the purpose. how do I build the apk w/o signing it?

View 5 Replies View Related

Android :: Conversion To Dalvik Format Failed With Error 1 On External Jar

Apr 21, 2010

In my Android appliction in eclipse I get the following error:

UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/xmlpull/v1/XmlPullParser;....

Conversion to Dalvik format failed with error 1

This error only appears if I add a specific external Jar to my project.

I search long time to the right solution but all possible solutions don't work.

I even tried to change to android 1.6 instead of 1.5(current version I use)

View 6 Replies View Related

Android :: No Classfiles Specified And Conversion To Dalvik Format Failed With Error 1

Jun 14, 2009

I have a working(Released) project that needs some updating. The Project was created with SDK 1.1 on Windows and Ecplise 3.4. A couple months ago i moved away from Windows to Mac and installed all tools on the mac including Android SDK 1.1. Everything was working fine at that time.

I never bothered compiling the project against SDK 1.5 as the program was running fine on a 1.5 Device. But now i need to do some changes and installed SDK 1.5, following the installation guideline (http://developer.android.com/sdk/1.5_r1/ upgrading.html#UpdateYourProjects).

So I build my project against SDK 1.1 (as suggested) and failed with the following error messages : - no classfiles specified - Conversion to Dalvik format failed with error 1

I receive the same error if I compile with SDK 1.5 (clean + build).

First i thought there is something wrong with my code but could not find anything. After that I tried the example JetBoy and received the same error. Using "Fix Project Properties" was without effect for booth projects.

View 4 Replies View Related

Android :: Update To 0.9.9 - Conversion To Dalvik Format Failed With Error 1?

Sep 24, 2010

Anyone know why I would be getting the errors below. The message below is showing up in the Console view, and I'm getting a "Conversion to Dalvik format failed with error 1".

My app has been working quite well for some time, and I just tried to update the SDK and DDMS to 0.9.9, and now it won't build.

I've done a search for the CharBuffer class and don't find any matches in my files, but I am using several API's (BUMP, C2DM, Admob). I definitely don't use any of the core-library in my code. If the error message is correct, I just can't quite figure out how to tell which API is the problem without almost wiping out my code base, or starting a new project and copying a few files at a time.

Oh... but the two files at the bottom of the file are missing android-6sdk.properties and android-5sdk.properties. Anyone know where I find them?

I have tried uninstalling and reinstalling but so far, no joy :).

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

In something other than a core library. It is likely that you have attempted to include in an application the core library (or a part thereof) from a desktop virtual machine. This will most assuredly not work. At a minimum, it jeopardizes the compatibility of your app with future versions of the platform. It is also often of questionable legality.

If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine distribution, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message.

If you go ahead and use "--core-library" but are in fact building an application, then be forewarned that your application will still fail to build or run, at some point. Please be prepared for angry customers who find, for example, that your application ceases to function once they upgrade their operating system. You will be to blame for this problem.

If you are legitimately using some code that happens to be in a core package, then the easiest safe alternative you have is to repackage that code. That is, move the classes in question into your own package namespace. This means that they will never be in conflict with core system classes. If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation.
CODE:................

View 5 Replies View Related

HTC Incredible :: Video Format Conversion

Aug 4, 2010

I have quite a few videos recorded in .m4v which will noth play on the Incredible. I have Hand Brake and DVD Fab 7. I tried DVD Fab 7 but it errors out trying to record them in WMV. Hand Brake seems to only record them in .m4v. Anyone have a good converter to recommend? I tried syncing with Media player but it still puts it in the wrong format.

View 2 Replies View Related

Media :: EPUB Format Conversion Tricks?

Oct 10, 2010

I know that any format conversion sometimes (or most of the time) produces less than desirable results. So what are some tips for converting from text files to ePub format? For example, the best way to get chapters identified so they show up in a table of contents?

View 2 Replies View Related

Android :: Conversion To Dalvik Format Failed With Error 1 With Javax/net/SocketFactory.class

Jul 19, 2010

Encounter this problem when trying to Build Project getting such output in console:

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

I was looking for my project to use the package javax, not found, clean all also does not help.

View 6 Replies View Related

Android :: Type Conversion To Dalvik Format Failed: Unable To Execute Dex - Null

Oct 21, 2010

I am trying to create an Android maps project. Everything was working fine until i added Salesforce classes into it. Now it doesn't even compile. It gives me: Type Conversion to Dalvik format failed: Unable to execute dex: null error.

I tried 1) Increasing memory in the .ini file. That didn't help. 2) Project -> Clean option. It cleans, builds again and then gives me the same error.

I am using Snow Leopard and i have the latest version of Android on my system. I just installed it last week. Plus, my eclipse is Ganymede. I even tried it with Galileo.

View 4 Replies View Related

Android :: Bizarre Conversion To Dalvik Format Error Caused By Google Chrome APK File Lock

Jul 20, 2010

I have a small test Android Project used to test the MediaPlayer class.

For this project, usually after a few builds, the compiler gives this exception:

Conversion to Dalvik format failed with error 1

I've narrowed this down to Google Chrome locking the generated .apk file (in /bin). So, the build is unable to remove that APK to rebuild.

Sure enough, quitting Chrome, solves the issue.

This is bizarre, isn't it! Why would Google Chrome be grabbing a lock on that file?

I have never had this error with any of my other projects.

View 2 Replies View Related

Android :: Faster Way To Set A (PNG) Bitmap Color Instead Of Pixel By Pixel

Nov 22, 2010

I have some png files that I am applying a color to. The color changes depending on a user selection. I change the color via 3 RGB values set from another method. The png files are a random shape with full transparency outside the shape. I don't want to modify the transparency, only the RGB value. Currently, I'm setting the RGB values pixel by pixel (see code below).I've come to realize this is incredibly slow and possibly just not efficient enough do in an application. Is there a better way I could do this? Here is what I am currently doing. You can see that the pixel array is enormous for an image that takes up a decent part of the screen

View 1 Replies View Related

Android :: Whether Time Format Is 24 Hour Format ?

Sep 2, 2009

In the android phone, click "settings" and then goto "date & time settings" , user can choose "Use 24-hour format" or not. My question is how to find out this setting through api?

View 6 Replies View Related

Android :: Format Double To Currency Format

Jan 12, 2010

This maybe be a simple question but how do you format a double into a dollar format? For example I have a value of 4.2. In a textview I would like to see $4.20. Also what are my options for applying the correct currency symbol?

View 2 Replies View Related

Android :: Wrong Format From String.format

Sep 6, 2010

Passing two int values m =0 & s = 11, to below function String formatted = String.format("%1$02d:%2$02d", m, s); returning the value like .0:11 ,What could be the problem? m=0, s=11 -->.0:11 m=0, s=1 --> .0:.1. The 0 added to format the string always coming as '.' (dot). Can anyone know ,from where the number patterns are getting loaded in Android? I gone thorough the code, Its related the following file, androiddalviklibcoreicusrcmainjavacomibmicu4jniutil Resources.java ->localeData.numberPattern. How the pattern for particular locale is loaded, What could be the problem for the above?

View 3 Replies View Related

Android :: WAV To MP4 Conversion

Jul 16, 2010

I have a wave file and would like to convert into MP4 format which can be play back in Android phone thru android audio sdk. Please share your experiences. I have tried conversion using QUICKTIME. But could not work.

View 4 Replies View Related

Android :: Flv To Mp4 Conversion

Jun 26, 2009

I want to play the flv files in Android. So what I thought is to convert the flv file to mp4 or 3gp(for which there is a decoder in Android). OpenCore can be used to convert. I have looked into opencore code, there is a class in opencore "/android/external/opencore/fileformats/mp4/composer" to create the mp4 file. It has apis like AddTrack AddSampleToTrack. I should give the input as frames, but in Flv I will get the Sorenson Video and Mp3 audio frame(after doing some trivial string operations to remove the headers). Can I use these directly as input to above apis or is there any good way to convert flv to mp4? And also I have looked into "/android/external/opencore/nodes/pvmp4ffcomposernode" but it reads from ports not able to know how to send input to this class.

View 3 Replies View Related

Android :: Get Pixel Value From Display?

Jul 14, 2010

I'm not even concerned with the camera per se. I want at the closest thing to the display screen. Meaning: it could even be the desktop the user is looking at, completw w/ the background and the icons she moves back and forth.

Let's say, at time t=1 sec, the app goes to pixel (78, 300) on that display and obtains its value. What may be at (78, 300) could be a portion of the icon or some speck of tree leaf on the photo being used as desktop background.

I'm familiar with BitmapFactory.decodeFile() for getting at the pixel contents of a file. But what about the display?

View 1 Replies View Related

Android :: OpenGL ES Pixel ?

Aug 24, 2009

I am new to Android and OpenGL world. I've created a new ap using openGL ES. The package is attached with this mail. Android Simulator LCD size is 320 x 455 and i've set same size for OpenGL Viewport. But For creating visible rectangle i've to use vertices, which are of very high value.

E.g.

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

View 2 Replies View Related

Android :: How To Convert Date Saved In String Format To Date Format

Jun 29, 2010

I am trying to convert string to date, and then I ma saving this date in a file , which saves in the following format:Mon Jun 21 16:31:24 Asia/Karachi 2010.and then when later I read this date from file as a String, I again want to save it to a Date,

View 2 Replies View Related

Android :: Video Conversion From Flv To Mp4

Mar 24, 2010

I have been trying to convert .flv to .mp4 in the server with ffmpeg ,and stream it through the android browser:-This is the command I have been using: ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 25 -b 560000 -s 610x340 -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4* The output streams like a charm on the iPhone,but i have had no luck on the android G1 developer phone,has any one tried this?If so what are the parameters that I may be missing.I am not even a beginner as far as media related libraries are concerned. Any pointers will be helpful.

View 8 Replies View Related

Android :: ISO2022JP UTF-8 Conversion

Jun 4, 2009

"HT-03A" will be release to the market in Japan, I'm lookig forward to it. Then I wonder whether String class support following charset type. String unicode = new String(jis); try { unicode = new String(unicode.getBytes("ISO2022JP"), "ISO2022JP"); } catch (Exception e)

View 2 Replies View Related

Android :: How To Read Pixel Data?

Jun 24, 2010

File file = new File(fileName);
Iterator iter = ImageIO.getImageReadersByFormatName("Reader");
ImageReader reader = (ImageReader) iter.next();
ImageReadParam param= reader.getDefaultReadParam();
ImageInputStream iis = ImageIO.createImageInputStream(myFile);
reader.setInput(iis, false);
BufferedImage myJpegImage = reader.read(0, param);

How can i write equivalent codes for above codes on Android? Are there any hints how to read pixel data?

View 1 Replies View Related

Android :: Screen Pixel Size

Apr 12, 2010

I need to know how many pixels wide and tall the screen is. I know that there are a bunch of different localization folders that I could make for different views but I just need to know, programmatically, how many pixels are on the screen so I can do some drawing. How can I detect this?

View 4 Replies View Related

Android :: Intent And URI Conversion Result

Feb 14, 2009

We can convert from Intent to URI and from URI to Intent. From Intent to URI string Intent intent1 = new Intent ();
String uriString = intent1.toURI ();
From URI string to Intent Uri uri = Uri.parse (uriString);
Intent intent2 = new Intent ();
intent2.setData (uri)

After conversion, intent1 and inten2 should be same. for example:
Intent intent1 = new Intent ();
intent1.addCategory (Intent.CATEGORY_HOME);
intent1.addCategory (Intent.CATEGORY_LAUNCHER);
Log.v ("", "Intent1 = " + intent1);
if (intent1.hasCategory (Intent.CATEGORY_HOME))
Log.v ("Intent1", "#1 hasCategory TRUE");
else Log.v ("Intent1", "#1 hasCategory FALSE");
String str = intent1.toURI ();
Uri uri = Uri.parse (str);
Intent intent2 = new Intent ();
intent2.setData (uri);
Log.v ("", "Intent2 = " + intent2);
if (intent2.hasCategory (Intent.CATEGORY_HOME))
Log.v ("Intent2", "#2 hasCategory TRUE");
else Log.v ("Intent2", "#2 hasCategory FALSE");
result Intent1 = { categories=android.intent.category.HOME,android.intent.category.LAUNCHER} } #1 hasCategory TRUE

Intent2 {data=#Intent;
category=android.intent.category.HOME;
category=android.intent.category.LAUNCHER;
end } #2 hasCategory FALSE

In this sample code, Intent2 is a conversion result from Intent1. If you run this sample code, Intent1 result and Intent2 result are different. Because Intent1 and Intent2 have a same Intent.CATEGORY_HOEM, the result should be Intent1 and Intent2 is TRUE (intent.hasCategory). I think this is bug. And the hint is Intent1 and Intent2 's toString result is different.
Intent1 = {categories=android.intent.category.HOME,android.intent.category.LAUNCHER}
Intent2 = { data=#Intent;category=android.intent.category.HOME
category= android.intent.category.LAUNCHER;end }

I don't know how to convert Intent to URI(String) and convert URI (String) to Intent. I want to save Intent to DB and read Intent from DB.

View 3 Replies View Related

Android :: Speech To Text Conversion

Sep 4, 2010

i want to develop apps based on speech to text conversion.can you please share your suggestions and how to develop this app.

View 2 Replies View Related







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