Android : Way To Update SDK / Support Encoding Qcelp

Apr 8, 2009

I've added one new feature to Opencore & Framework to let them support encoding qcelp. But I found that Eclipse cannot figure out this new feature, e.g.

recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_QCELP);recorder.setAudioEncoder(MediaRecorder.AudioEncoder.QCELP);

Eclipse now does not think RAW_QCELP & QCELP as legal symbols. So, what should I do to update the SDK to pass though this issue? Overwrite its system.img, boot.img or some *.jar packages?

Android : Way to update SDK / support encoding qcelp


Android :: File's Chinese Characters Can't Be Displayed / Droid Support ANSI Encoding These?

Aug 26, 2009

I have two text file, both of them contains Chinese characters, one text file is saved using ANSI encoding, but this file's Chinese characters can not be displayed by htmlviewer on the phone. The Chinese characters in another txt file saved using unicode can be displayed ok by htmlviewer. Do you have any suggestions on this, does Chinese characters using ANSI encoding supported?

View 3 Replies View Related

Android :: Create A Composer For QCELP?

Mar 22, 2009

Anybody knows how to create such the composer? I've searched OpenCore source for a sample from which I can do learn to create it. But I just found the one for MPEG4. Meanwhile, It looks like very complicated and I think it has little things relative with Audio/QCELP. So, any hint for this issue? And does the latest OpenCore have any composer for AAC or AMRNB(WB) ?

View 3 Replies View Related

Android :: Multi Touch Support In OTA Update

Feb 27, 2009

HTC G1 is perfectly capable of multi touch support. Please guys implement that in the next OTA update if possible. I understand is something that Apple Created with their Iphone, but G1 has a lot of petential and multi touch i needed for the sucess of this product. Google works with Apple and I am sure you can implement that feature with the phone.

View 7 Replies View Related

Android :: Web View Encoding? Why?

May 28, 2010

I have started to work with the WebView component of Android Platform, but the API to load data to the component is confusing me, because it includes a parameter with a encoding. In both methods: public void loadData (String data, String mimeType, String encoding); public void loadDataWithBaseURL (String baseUrl, String data, String mimeType, String encoding, String historyUrl); you have to specify an encoding. In both cases, the API documentation says that is is the encodign of the data (data parameter). Well, as know, if you provide data as a String object, the String is internally stored in UTF-16 (unicode). To get a String object from a external source, you need to specify the external source encoding to convert it to UTF-16 and get the String internal representation (String(byte[] data, String encoding)). So, at this moment, when you have an String instance, everything from the original source has been converted to UTF-16. So, why do you need to specify an encoding if you are providing the data as a String object?

I don't know the internal implementation of WebKit, but let's suppose that, WebKit has a method, to render a source, providing as content an InputStream and a default encoding. Well, as I know, when you process a HTML page, you use the default encoding to read the HTML characters, and if you find a <meta> tag specifing a different encoding, from that moment, you have to use the new encoding to decode the characters of the HTML page. But what happens if you supply a HTML page that contains this <meta> tag: <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1"/> using one of the methods specified at the top of this post, how are you going to read ISO-8859-1 encoding from a String that it is in UTF-16 encoding? if the WebKit filtering this <meta> tags, and doesn't taking in account the encoding specified in this tag? Well, all of this is very confusing for me, because I don't understand why the API includes this encoding parameter. I also don't know if the <meta> encoding tags are filtered when the source is provided as a String? Can anyone solve my doubts?

View 2 Replies View Related

Android :: How To Check Encoding In Java

Nov 19, 2010

I am facing a problem about encoding.

For example,
I have a message in xml format encoding is "UTF-8".

CODE:.........

Now, this message are supporting multiple language.
Traditional Chinese (big5), Simple Chinese (gb), English (utf-8)

And it will only change the encoding in specific fields.
For example (Traditional Chinese),

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

Only "蘋果" and "橙" are using big5, "<product_name>" and "</product_name>" stills in use utf-8.
<price>1.3</price> and <price>1.2</price> are using utf-8.

How do I know which word is using different encoding?

View 3 Replies View Related

Android :: Defining Data Encoding Of SMS Messages

Aug 24, 2010

I'm working on an application using the SMS apis for android. The receiving end is an embedded unit that only supports 7-bit encoded SMS and the string I'm sending consists only of symbols from this particular alphabet which makes you think that Android is going to send it encoded as 7 bit. But that is not the case.Therefore I'm searching for a way to specify what encoding to use. See below for what my code looks like today. The method gsm7BitPackedToString turns a byte-array to a 7-bit string, i.e. the string only consists of 7-bit compatible characters and is copied from the internal android api. Code...

View 2 Replies View Related

Android :: Default Encoding Of Operating System?

Feb 5, 2010

What is the default encoding of android system?

View 1 Replies View Related

Android :: What Xml Encoding Work For Non European Languages

Mar 15, 2010

Assume I want to write an xml resource file with a a non-europian language, say japanese, thai or chinese-What encodings can I use and what do I have to to to both the xml header and the Writer to makes these work - Also is there an easy way to map a Locale into acceptable encodings

View 4 Replies View Related

Android :: Chunked Encoding - GZIP Input Stream

Mar 3, 2010

I found a problem with GZIP input stream when wrapping InputStream from HttpURLConnection. When the server response with Transfer- Encoding=chunked, Content-Encoding=gzip and Connection=Keep-Alive. The second post always return -1. After digging into the source code, I found the place that could be a bug: InflaterInputStream.java (line 190 to 192) if (inf.needsInput()) { fill(); } Because InflaterInputStream doesn't need more input, it doesn't try to read the end of chunked encoding (0x)(30 0a 0d) that cause the second post to return with -1 every time.

View 3 Replies View Related

Android :: Http Proxy And Chunked Encoding With Emulator

Mar 24, 2009

I am having a specific problem that is preventing me using the android SDK from work. We are using a MS Proxy here that all internet traffic has to go through. The problem seems to be when the emulator is trying to access a site that uses 'Transfer-Encoding: chunked' If I attempt to download www.nds.com (no chunked encoding) into the browser, it works fine. However if I try to go to www.google.com (uses chunked encoding), the browser fails with the message: can't determine content length, and client wants to keep connection opened My feeling (and I'm no expert in this area) is that the underlying code managing the communication through the proxy is not dealing with the null terminator on the chunk encoded response when the connection to the proxy is being kept open? Does anyone have any experience in this area? Is the source to the emulator available so I can try and understand what is going on here?

View 8 Replies View Related

Android :: Convert InputStream To String With Encoding Given In Stream Data?

May 20, 2010

My input is a InputStream which contains an XML document. Encoding used in XML is unknown and it is defined in the first line of XML document.
From this InputStream, I want to have all document in a String.

To do this, I use a BufferedInputStream to mark the beginning of the file and start reading first line. I read this first line to get encoding and then I use an InputStreamReader to generate a String with the correct encoding.

It seems that it is not the best way to achieve this goal because it produces an OutOfMemory error.

Any idea, how to do it ? code...

View 1 Replies View Related

HTC Hero :: No Multi Touch Support After 2.1 Update

Jun 29, 2010

No multi touch support on hero after 2.1 update? is it just me?

View 11 Replies View Related

Samsung Moment :: No AVI Video Support After 2.1 Update?

May 14, 2010

I downloaded the 2.1 update from sprint and I can longer watch AVI videos. Please tell me my phone is bugged! I've re-transferred videos I previously watched on CL14 but they all say "sorry this video can't be played."

I've tried several different media players. I really hope this is just a random bug on my specifiv phone because I watch a lot of tv on it and I really don't have extra time to convert file types everyday.

View 23 Replies View Related

Motorola Droid :: Handcent SMS - Update Available - Now Full Support Of Mms

Nov 15, 2009

I don't know if anyone had the problem of being able to send mms over handcent, but they got an update now that allows this. It even allows you to send slideshow messages. Ex) you want to send a picture with a small ringtone or audio file it will send it! It also auto splits messages longer than 160characters for us into mms. Awesome app, im glad they keep updating it.

View 19 Replies View Related

LG Ally : Mobile Phone Support / Software Update

Sep 2, 2010

First i want to apologize if this is explained somewhere.I could figure it out.I cant find the Ally in the model list on either the LG website for mobile support or the LG mobile support tool download. How do i set it up for the ally? Or is it even possible at this point in time?I've read that people use it but i cant figure out how they set it up.Once again i apologize if this is a repeat topic but any information would be greatly appreciated.

View 1 Replies View Related

Magic : Get Official Update Installed From HTC Support Page Yet?

Aug 25, 2009

Has anyone got the official update installed from HTC support page yet? just curious how it went http://www.htc.com/ca/SupportDownloadList.aspx?p_id=270&act=sd&cat=2

View 26 Replies View Related

HTC Incredible :: Best Video Encoding Settings

Aug 9, 2010

I'm trying to rip some DVDs from my collection and get them on my phone for a trip that I will be taking. I just tried to convert one 480x880, 30fps, Constant Bitrate @ 100%, MP4, x264. IDK what went wrong but it wouldn't play from my phone but played fine on my Mac. Does anyone have any suggestions?

View 4 Replies View Related

General :: Mail Characters Encoding?

Jun 3, 2012

I don't know why but some emails I sent aren't showing properly. If I write something like: "hey, what have you planned for tomorrow"?

It's delivered like this:

=?UTF-8?B?5pS25Yiw5LqM5pak5Zub55uS6ZOB6KeC6Z+z?=
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64[code]...

At first I thought it was because of some ROM so I made a clean install of Gingerbread.This didn't fix it so I updated to ICS. Not even changing my written language from Chinese to English worked.

View 7 Replies View Related

Sony Ericsson Xperia X10 :: 2.2 Update - Right Support In Competitive Market

Jul 31, 2010

Almost all major smartphones that have similar specs with the X10 are getting the Froyo 2.2 update treatment in the coming few weeks or in the pipeline and it's amazing that you are still sitting on this with regards to the possibility of this particular update. I hope you do realise that the company are losing customers fast and this will be killing the business as you are effectively flogging phones that are all out of date or not in keeping with the market. I only hope that the news will inevitably put some pressure on you to bring forward these updates including the 2.2 (only if...). The 2.1 update plan at the end of Q3 or beginning of Q4 and with no definitive answer whether the X10 is going to receive the 2.2 update in the future is just not good enough. Unless the 2.2 update comes in early Q4 which is highly unlikely with the way things are going if you are only going to release 2.1 then, it would be pointless.

It's no brainer to release 2.2 straightaway as opposed to the 2.1 update announced and with further updates to tweak the Timescape and Mediascape later on if they are the ones that are holding up the release of the 2.2 update. I am sick of being left in the dark with the 2.2 update. I want a definitive answer if this is going to happen OR NOT! SE's handling of this fast and competitive market is just inept and way to slow. It won't surprise me that you could be following Nokia's footsteps in the next financial year if the current situation continues. I want a phone that comes with the right support and updates it deserves (not out of date within 3 month period!). I am now thinking that perhaps I should get the Samsung Galaxy S instead. SE, please listen to the customers and take action to address what your loyal customers want and deserve.

View 1 Replies View Related

HTC EVO 4G : Flash Player Not Working / When Try To Update Device Doesn't Support It

Jul 24, 2010

My flash player no longer works on my phone and when I try to update it. I am told that my device doesn't support it

View 1 Replies View Related

Samsung Captivate :: DD 5.1 - Video Files Encoding

Aug 10, 2010

I'm able to get AC3 5.1 @ 640kbs to work with my 720p mkv files but the playback skips about every 5 seconds. Other then that It looks and sounds amazing! I've tried encoded to 5.1 FLAC and AAC but it doesn't play at all. Are there any encoding experts out there?

View 1 Replies View Related

General :: LG P970 Optimus - Incoming SMS Encoding

Jul 3, 2012

I have LG P970 Optimus black. I know this problem is about a lot of devices and a lot of regions. We are using latin alphabet with some special characters. like "ı, ş, �, ğ, �.." when someone sends me a text message with this characters,

It is normally shown in cm7 and its based roms.
It is normally shown in lg roms which are released for turkey
but it is shown like one space in different lg roms.

For fixing it, what can i do. Is it about message apk? or about some libs?

View 1 Replies View Related

Sprint HTC Hero :: Text Encoding Mean / Default Is Latin?

Apr 23, 2010

It's in the browser settings I have mine on Latin Japanese and unicode are also some other options. I think default is Latin?

View 3 Replies View Related

General :: Samsung Galaxy S - Force SMS Encoding From Unicode To ISO

Aug 16, 2010

I'm from Portugal and here we have some accentuated letters like "à á é ç ã õ".

When the system language is set to English and we insert one of these letters the SMS limit falls down from 160 charachters to 70 because it changes the encoding of the SMS .

What I would like to know is if it's possible to come with an hack to force the system to encode the SMS in a particular way so these kind of letters don't cut us 90 characters off the message.

Actually this is a problem in a lot of countries. Spain, France, Portugal, Italy, Brazil, Mexico, Argentina and the list goes on... Any country that speeks a latin language really.

PS: I own a Samsung Galaxy S at the moment

View 9 Replies View Related

Motorola Droid X :: Video Recording / Options For Encoding (MPEG4 Or H.263)

Sep 23, 2010

I have two questions regarding video recording on the Droid X.

1. What options are there for encoding? On my HTC Hero I can encode in MPEG4 or H.263. What about the Droid X?

2. My friend sent me a video from her Droid X, but I can't hear anything as far as audio in a normal setting. The only way I can pick up anything she's saying is if I max out the Media volume and hold the speaker directly up to my ear. Is there something she's doing wrong when she's recording the video? This has happened twice now.

View 1 Replies View Related

Android :: Way To Get Rid Of "warning : Unmappable Character For Encoding Ascii"

Apr 12, 2010

I'm compiling using android tools without eclipse.

I compile launching "ant debug" from command line.

I have found many many instructions around the web about how to remove with annoying warning, but I haven't been able to make any of them work.

I've tried -D option, I've tried randomly tweaking build.* files, I've tried exporting an environment variable... nothing.

I guess some of these methods just don't work, and some others would work but I've been doing them incorrectly. Anything is possible and I can't stand it any more: any advice on how to do it?

View 3 Replies View Related

Sony Ericsson Xperia X10 Mini/pro :: Searching For Update Says Phone Has Latest Software Available Does 02 Not Support Updates For This Phone

Nov 1, 2010

I have an Xperia X10 Mini Pro on the 02 network and when i'm searching for an update it says my phone has the latest software available does 02 not support updates for this phone or something? Am I stuck with this old software?

View 2 Replies View Related

Android :: XML Parsing With Encoding Using Android

May 25, 2010

I am facing some problems on xml parsing with android. The problem is that the xml from the server comes in "ISO-8859-1" set with setEncoding (I get <?xml version="1.0" encoding="ISO-8859-1"?>) format and the android device seems that its ignoring that encoding. For example this is part of the original xml that comes from the server:

<Result Filename="Pautas para la Present RUP Iteraciones de Construcci.ppt">
<Path>C:Documents and SettingszashaelMy DocumentsPFCRUPPautas para la Presentaci RUP Iteraciones de Construcci.ppt</Path>
<Hostname>computer_1</Hostname>
<IP>192.168.0.5:27960</IP>
<ModDate>01-ene-1601 2:06:34</ModDate>
<Size>33.280 bytes</Size></Result>

And this is what I get on the phone before parsing the xml:
</Result>
<Result Filename="Pautas para la Presentaci RUP Fase Inicio.ppt">
<Path>C:Documents and SettingszashaelMy DocumentsPFCRUPPautas para la Presentaci RUP Fase Inicio.ppt</Path>
<Hostname>computer_1</Hostname>
<IP>192.168.0.5:27960</IP>
<ModDate>01-ene-1601 1:32:06</ModDate>
<Size>26.624 bytes</Size>
</Result>

As you can see there is a problem with the word "presentaci". This is the part of code where I recieve the file, and then send it to the parser:

do { auxMessage = ois.readObject();
if (auxMessage instanceof ComConstants) {
receivedMessage = (ComConstants) auxMessage;
Log.d("Client", "Client has Search Results");
//Charset charset = Charset.forName("ISO-8859-1");
//CharsetDecoder decoder = charset.newDecoder();
//CharsetEncoder encoder = charset.newEncoder();
String test; test = new String(
receivedMessage.fileContent, 0, receivedMessage.okBytes);
if (finalMessage == null) { finalMessage = test;
} else { finalMessage += test;
}
/*try { // Convert a string to ISO-LATIN-1 bytes in a ByteBuffer
// The new ByteBuffer is ready to be read.
ByteBuffer bbuf = encoder.encode(CharBuffer.wrap(finalMessage));
// Convert ISO-LATIN-1 bytes in a ByteBuffer to a character ByteBuffer and then to a string.
// The new ByteBuffer is ready to be read.
CharBuffer cbuf = decoder.decode(bbuf);
String s = cbuf.toString(); finalMessage = s;
} catch (CharacterCodingException e) { }
}*/ } else { Log.d("Client", "Unexpected message " + auxMessage.getClass().getName());
break; } } while (!receivedMessage.lastMessage);
//test encoding
//String s = finalMessage;
//finalMessage = new String(s.getBytes("ISO-8859-1"));
System.out.println("antes de parsear" + finalMessage);
SaxParser sap = new SaxParser(finalMessage);

And this is my parser code:
package citic.android.remoteir;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Iterator;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
public class SaxParser extends DefaultHandler{
@SuppressWarnings("unchecked")
ArrayList myResults;
private String tempVal;
private SearchResult tempResults;
@SuppressWarnings("unchecked")
public SaxParser(String xmlString){
myResults = new ArrayList();
parseDocument(xmlString);
/* In order to test */ printData();
} @SuppressWarnings("unchecked")
public ArrayList getResults(){ return myResults;
} private void parseDocument(String xmlString) {
try { SAXParserFactory spf = SAXParserFactory.newInstance();
spf.setFeature("http://xml.org/sax/features/namespaces",false);
spf.setFeature("http://xml.org/sax/features/namespace-prefixes",true);
SAXParser sp = spf.newSAXParser();
XMLReader xmlReader = sp.getXMLReader();
xmlReader.setContentHandler(this);
StringReader sr = new StringReader(xmlString);
InputSource is = new InputSource(sr);
is.setEncoding("ISO-8859-1");
xmlReader.parse(is);
}catch(SAXException se) { se.printStackTrace();
}catch(ParserConfigurationException pce) {
pce.printStackTrace();
}catch (IOException ie) { ie.printStackTrace();
} }
@SuppressWarnings("unchecked") private void printData(){
System.out.println("No of Results '" + myResults.size() + "'.");
Iterator it = myResults.iterator();
while(it.hasNext()) { System.out.println(((SearchResult) it.next()).toString());
//System.out.println(it.next().toString());
} }
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { tempVal = "";
if(qName.equalsIgnoreCase("Result")) { tempResults = new SearchResult();
tempResults.setName(attributes.getValue("Filename"));
} }
public void characters(char[] ch, int start, int length) throws SAXException {
tempVal = new String(ch,start,length);
} @SuppressWarnings("unchecked")
public void endElement(String uri, String localName, String qName) throws SAXException {
if(qName.equalsIgnoreCase("Result")) { myResults.add(tempResults);
}else if (qName.equalsIgnoreCase("Hostname")) { tempResults.setHostname(tempVal);
}else if (qName.equalsIgnoreCase("IP")) { tempResults.setIpad(tempVal);
}else if (qName.equalsIgnoreCase("Path")) { tempResults.setPath(tempVal);
/*}else if (qName.equalsIgnoreCase("Author")) { tempResults.setHostname(tempVal);
}else if (qName.equalsIgnoreCase("File")) { tempResults.setIpad(tempVal);
*/}else if (qName.equalsIgnoreCase("ModDate")) { tempResults.setModDate(tempVal);
}else if (qName.equalsIgnoreCase("Size")) { tempResults.setSize((tempVal));
} } }
I dont know what to do. I tried setting the string I create after recieving the xml bytes to ISO encoding, but the only thing I got was a "square" instead of " ".

View 1 Replies View Related

HTC Desire :: Flash Update / Does Not Support This Type Of Flash

May 3, 2010

I was quite excited to have flash on my mobile devise and as I have an unlimited subscription to Lovefilm I was looking forward to watching the on demand movies for free. But I was disappointed when I was met by the message "does not support this type of flash". Is there an update or an app I can use? Lovefilm uses Flash Player 10.

View 7 Replies View Related







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