Android :: ADB Device Name Show Invalid Characters
Nov 22, 2010
I am using a Chinese version of android phone, when I type the $./adb devices
It gives me the following: List of devices attached ?? device
My DEV computer is Ubuntu 10.10, locale is en_US.utf-8.
Is there a way that I can rename my device to a name of only simple letters.
View 3 Replies
Apr 2, 2009
I am writing an application which reads the xml data and just prints it.The xml data consists of some escape sequence characters like &,"When trying to print the data, I am not able to get the original data.
View 4 Replies
View Related
Aug 1, 2010
Been waiting a long time, along with the rest of you guys for 2.1 update. One of the things for me was so i could send files via bluetooth to transfer my phonebook to my cars pioneer satnav/bluetooth handsfree kit, which couldn't be done with andriod 1.5. Just tried to connect and pair with my cars bluetooth but now the pioneer bluetooth just instantly dissconnects and comes up with "invalid device". So now i dont just have a phonebook missing from my handsfree bluetooth, but now no handsfree either. How frustrating is that! No matter what i do, i get the same outcome "invalid device"
View 2 Replies
View Related
Dec 11, 2009
I am able to see Map in emulator but once I load app on device map does not show up.
Emulator have target as google api 1.6 and device have android 1.6 loaded.
Is this diffrence causing issue?
View 3 Replies
View Related
Apr 26, 2010
I am using Activity-alias in AndroidManifest.xml to specify another entry point to my application using shortcut. I am seeing the shortcut in the shortcut list. How can I get my 2nd icon (shortcut) to show in the Home?
View 1 Replies
View Related
Jul 22, 2010
I created a custom map in Google Maps "My Maps". Now i want to show that map on an android device, but not just opening it as a web page but showing it using MapView or smth similar. I want to be able to center on a place I have marked on the map etc. My custom map is a map containing the location of all gas stations in a city.
View 1 Replies
View Related
Oct 15, 2009
I have two phones, one running 1.5 and the other on 1.6. When I connect the 1.6 device via usb, DDMS recognizes it and in the top-left pane shows: HT842....... | Online | 1.6, debug
It then lists the individual processes, I can select them and use various tools like allocation tracker.
But when I connect the 1.5 device, DDMS recognizes it but shows: HT95A....... | Online | 1.5
But it does not show any of the processes on the device, so I am not able to do use allocation tracker and such. The sysinfo tab works, and I can monitor logcat with filter and such in the bottom pane.
What am I missing here? Obviously the 1.5 device has USB debugging enabled. Why does it not show 'debug' in DDMS? I'm using SDK 1.5_r2 on linux (Ubuntu 9.04), if that makes a difference.
View 5 Replies
View Related
Feb 16, 2010
My Motorola Droid shows up just fine in this configuration and appears as a deployment target. Works like a snap. How do I get the HTC Eris Droid to show up as a deployment target? Is there some special driver needed for the Eris?
View 1 Replies
View Related
Mar 20, 2009
I have a background service component which is reacting to changes in network connectivity. I would like to alert the user that a a connectivity change event has occurred by popping up a Toast View on the device screen. Is this possible ? Can it be done even though a Service component does not have a UI associated with it ?
View 3 Replies
View Related
Jul 11, 2010
I'm writing this for the HTC Desire, but it should work for all other models and most likely all other Android phones. The process was identical for my old Sony Ericsson C905 and my girlfriends SE W580i.
The problem is the phone is looking for the album art within the track itself. So, we need to embed it, because having a .jpg file in the folder will not do. The phone does not look for the album art there, so it's not going to find it!
1. First you need to download a freeware program called mp3tag. Install it and run the program.
You may donate to mp3tag if you like the software. I've been using it for quite some time and I gave them $20. Not much, but I hope it helped them
2. Secondly, drag and drop all the music that does not have album art stored within the file. Highlight a number of tracks, best to do this an album at a time. Now you can either right click in the empty album art box like the image below and find the album art on your computer.
View 9 Replies
View Related
Oct 22, 2010
A few years back on my Dell Axim Microsoft PocketPC, I was able to tell my browser to not show I am a mobile device when surfing web sites.
Example, when I go to Ebay.com the web browser re-directs me to m.Ebay.com which is the mobile version of the web site.
Im using the standard browser, when I go into Settings > Advanced Settings -- Website Settings- View advanced settings for individual websites is greyed out
View 5 Replies
View Related
May 13, 2010
when i try to get my new feed, i get this msg. an error has occured while fetching data. 102 session key invalid or no longer valid how can i fix this?
View 3 Replies
View Related
Jul 29, 2010
I have an object that is used for calling callback functions ----- static jobject o;
I have assigned the callback function to that object through a pointer, env -----
o=env->NewGlobalRef(callback);
The same pointer, env, points towards the function CallVoidMethod( ) that uses JNI to reach to the java code.
env->CallVoidMethod(o, methodId, pDeviceId, deviceStatus, statusReason, connectionProgressInfo);
However on calling this function, the system is getting crashed, and VM says that it's an invalid reference to static jobject o and then it crashes.
My code is as follows :
CODE:..........................
View 2 Replies
View Related
Mar 1, 2010
I know the error will probably be painfully obvious to you but using cursor.getCount() on the result of the following returns a 0 when there are multiple items in the table and trips the error "Invalid statement in fillWindow()".
CODE:...............
View 3 Replies
View Related
Sep 30, 2009
I use AlarmManager to restart my service, code is:
CODE:........................
After 5 seconds, BootCompleteReceiver will startServcie(), but only see onStart() not onCreate() calls.
Is the way of destroying the service wrong? BootCompleteReceiver is written in AndroidManifest.xml
View 2 Replies
View Related
Jun 8, 2010
I'm trying to get and display a live .kml file from maps.google.com using
CODE:.................
However after opening the mapview I get a notification saying "The community map could not be displayed because it contains errors"
I only get this error if I download the .kml directly from maps.google. If I copy the exact same link into my address bar, download the .kml file, and upload it elsewhere then it works fine. I would like to be able to get the maps directly from Google that way I can make a change and it would be immediately reflected to my users.
View 3 Replies
View Related
Oct 14, 2009
I know this is not really the place to post this message, but this is the closest thing I could find to google android support. So a friend of mine did too many wrong patterns and the phone is asking for my username and password. When i fill in my login and password, it says "invalid username or password". I tried it like 20 times.I have of course verified the username and password on my gmail, and it works fine. Has this ever happened to anyone ? Is there a way around it ? I refuse to reset my phone to factory settings, i have all my contacts, and important notes in there.I was really looking forward to android, but stuff like this is just unacceptable, really disappointing.
View 2 Replies
View Related
Nov 16, 2010
i sometimes see this error in my logcat output, Cursor: invalid statement in fillWindow(). it sometimes happens when i press the back key and then it goes to the default android listview before going to my custom listview. what does it mean? how do i solve it? Because it does not point to any line of code where the problem is coming from?
View 1 Replies
View Related
Jul 29, 2010
I want to use the Google Maps API in my Project. I signed up and got the API key also. When I run my application now I'm getting an error "Error generating final archive: Invalid keystore" I m really fed up. It is very difficult to use Maps in an application.
View 2 Replies
View Related
Nov 14, 2010
While I was reading the xml file there a copyright symbol, while parsing that symbol i'm getting the not well-formed invalid token error, Can anyone suggest me the solution for this problem.
View 4 Replies
View Related
Nov 22, 2010
I have a mytouch slide and I'm getting an pakage file invalid error when I try to install an app.
View 1 Replies
View Related
Dec 17, 2009
I am having a bear of a time figuring out what colums exist for email contact methods. Specifically, I want to find out the "home", "work" or "other" of an email address. I have tried looking for it under integer "TYPE" (illegal column), and under Strings "LABEL" (illegal column) and "NAME" (this works, but it is the owner/person's name, not the name of the email address). Is there a place where these schemas (as they are actually used) is documented well? the Javadocs seem to mislead me................
View 2 Replies
View Related
Jan 1, 2010
I am using SAXParser to parse an html page (any better solution?) and have this exception:
W/System.err( 1358): org.apache.harmony.xml.ExpatParser $ParseException: At line 1, column 59: not well-formed (invalid token)
I have reduced the page to this:
<div id="submenu"><a href="/compte/console.pl? id=382730&idt=1cf6b94aa1a4cf84"></a></div>
And what causes the exception is the '&' inside the href attribute value.
Here is a minimalist test code:
DefaultHandler emptySaxHandler = new DefaultHandler() {};
String xmlstr = "<div id="submenu"><a href="/compte/console.pl?id=382730&idt=1cf6b94aa1a4cf84"></a></div>";
SAXParserFactory factory = SAXParserFactory.newInstance();
SAXParser saxParser = factory.newSAXParser();
saxParser.parse(new ByteArrayInputStream(xmlstr.getBytes ()),emptySaxHandler);
Is this a normal behaviour or kind of bug? If normal, what should do to preprocess the string before parsing?
View 3 Replies
View Related
Apr 20, 2010
I have a WiFi network at work and it requires a New password generated from a secure token each time when I try to re-connect. Since Android WiFi setting remembers the password, if it try to re-connect using the saved password (it becomes invalid after disconnected), my secure token become invalid. If I remember to remove the connection each time after I disconnect, I can enter new password when the connection is discovered as a new connection again. The problem is what if I forget. In addition it is inconvenient. Do you know any Android application supports remove a chosen WiFi connection password each time the connection is lost?
View 1 Replies
View Related
Oct 16, 2010
the Android phones in Slovakia have a custom locale - en_SK and cs_SK. Language is either Czech or English, location is Slovakia. Now I would like to have strings that target these locales. The default approach is to create a folder "values-CountryCode", for Czech Republic it's values-cs.
But I get a build error if I add a folder name values-en_SK or values-cs_SK: "invalid resource directory name"
View 1 Replies
View Related
Dec 14, 2009
This subject originates here: http://groups.google.com/group/android-beginners/browse_thread/thread...
To sum up:
When I click on an item in the ListView, the background color that gets changed is not that of the clicked item but instead of the other item in the opposite side relative to the middle item:
1 <-- I click here 2 3 <-- Acts as a mirror 4 5 <-- This is the one that gets changed
1 2 <-- This is the one that gets changed 3 <-- Acts as a mirror 4 <-- I click here 5
This problem persists even when I use CheckedTextView like what is suggested in the post.
I use the latest stable SDK.
This problem occurs when the target platform is Android 1.6, 2.0 or 2.0.1.
The problem does not occur when the target platform is Android 1.1 or 1.5.
However, the problem will also occur when the program is compiled for 1.5 and run in 2.0.1.
The simple problematic code can be found here: [url]
There I also put the screenshots showing the problem: demo01.png: I click an item. demo02.png: the clicked item doesn't get changed but the reflective item does.
Is this a bug in newer Android platforms?
If it is intended, what is the reason and could you please show me how I should fix my code?
View 6 Replies
View Related
Jun 9, 2010
I want to play a live streaming in mp3, but when i call prepareAsync, "invalid percentage value xxx" shows. This is a example of live streaming:
http://83.231.187.202:80/rtve/radio1.mp3
And this is my simplified code:
CODE:...............
I understand why this is happening, but other apps use this method and don't show any error in logcat. How can i get this?
View 2 Replies
View Related
May 28, 2009
I am trying to send large SMS more than 160 characters using SendMultipartText() API. But On receivver side , i am getting two messages ( SMS). Query: Is there any way to send as one shot SMS (size more than 160 characters) and it should be received in one SMS only?
View 4 Replies
View Related
Jul 7, 2010
I followed the tutorial here but when I create the project in Eclipse, i get an error "invalid resource directory name. Resource: "drawable-hdpi" path "/HelloAndroid/res" type "Android AAPT Problem"
View 1 Replies
View Related
Nov 14, 2009
The following works fine on a G1 but gives an error on the Samsung Galaxy. I was hoping cross-platform support would be better than this. See error below.
private final static int RATE = 44100; private final static int CHANNEL_MODE = AudioFormat.CHANNEL_CONFIGURATION_MONO; private final static int ENCODING = AudioFormat.ENCODING_PCM_16BIT; private AudioRecord recorder_; public boolean open() { int bufferSize = 4 * AudioRecord.getMinBufferSize(RATE, CHANNEL_MODE, ENCODING); recorder_ = new AudioRecord(AudioSource.MIC, RATE, CHANNEL_MODE, ENCODING, bufferSize);
last line gives the following on the Samsung Galaxy phone: 11-14 19:04:07.507: ERROR/AndroidRuntime(7617): java.lang.IllegalArgumentException: Invalid audio buffer size.
View 5 Replies
View Related