Android :: Verification Required On Including External Jar
Mar 21, 2009
In my Android app, I always get VerifyErrors! And I cannot figure out why. Whenever I include a external JAR, I always get VerifyErrors when I try to launch my app (except for once, when I included Apache Log4j.) I usually get around this by taking the source of the library and adding it to my project, but I am trying to put the GData client library (http://code.google.com/p/gdata-java-client/). I can get this in source, but it's dependencies (mail.jar, activation.jar, servlet-api.jar) I cannot, so I get verify errors. I would like to get to the root of this problem once and for all. I looked on the internet, but they all seem to talk about incomplete class files? which I do not know of.
View 7 Replies
Feb 6, 2010
Does anyone think that this external battery would work on the Eris for an extra battery? It has the same connection. DealExtreme: $12.99 1800mAh USB Rechargeable External Battery Pack for HTC Touch Diamond.
View 1 Replies
View Related
Jul 16, 2009
When I added the JExcelAPI http://jexcelapi.sourceforge.net/ to the class path and run my app.
I get: trouble writing output: shouldn't happen [2009-07-16 14:32:19 - xxx] Conversion to Dalvik format failed with error 2.
View 3 Replies
View Related
Nov 12, 2010
I included a WebView in my activity and load some Javascript in it which is then going to get data from an external website.This works and displays fine but the problem is that my activity doesn't scroll when the WebView is done loading so I can't see the bottom of the WebView such as all the other Views I put below this.
View 2 Replies
View Related
Jan 12, 2010
I have a library-only Android eclipse project (no main class, only library classes) that I want to include in my main Android Application project. I went to the Build Path and added the library project to the "Required projects on the build path" on the Projects tab, and checked it on the "Order and Export" tab. However, when the application is run, it emits VerifyError exception, because the class from the library project didn't happen to be packaged together in the apk.
View 1 Replies
View Related
Oct 30, 2009
I have some external sqlite files I'd like to include with my app. It looks like I can add them to the /assets folder, then read them from there? Is the /assets folder the appropriate location for them?
I've used SQLiteOpenHelper to open databases my app creates at runtime, which just uses a unique db name. Will the sqlite files in the assets folder also be accessible using SQLiteOpenHelper in the same manner?
View 5 Replies
View Related
Oct 28, 2010
Am downloading a ZipFile from web. where it contain folders and files. Uncompressing them using zipInputstream and zipentry. zipentry.getName giving name of file as "htm/css/aaa.htm". so i am creating New File(zipentry.getName); But problem it throwing an exception File not found. i got that it is creating subfolders htm and css. My question is that , how to create a file including its sub directories , by passing above path?
View 2 Replies
View Related
May 3, 2010
i'm trying to include a maven java project into my android project. the maven project is the greader-unofficial project which allows developers access to google reader accounts, and handles all of the http transactions and URI/URL building, making grabbing feeds and items from google reader transparent to the developer. the project is available here:
the code is originally written for the standard jdk and uses classes from java.net that are not a part of the standard Android SDK. i actually tried to manually resolve all dependencies and ran into a problem when i got as far as including com.sun.syndication pieces required by the class be.lechtitseb.google.reader.api.util.AtomUtil.java... some of the classes in java.net that are in the standard jdk (i'm using 1.6) are not in the Android SDK. in addition, resolving all of these dependencies manually is just ridiculous when i'm compiling a maven project that should be pretty simple.
however, i can use maven to compile the sources with no issue. how can i include this maven project, which is dependent on the complete jdk, into my android project in such a way that it will compile so that i can access the GoogleReader class from my android project? and for the record, i don't have the expertise to rewrite this entire api to work with the standard Android SDK.
View 2 Replies
View Related
Oct 29, 2009
The app I'm working on has 4 tabs, 3 of which share many features, including a navigation bar a the bottom with Back, Edit, and Map buttons. There is exactly the same xml in all 3 layouts, so I'm trying to DRY this out by extracting that xml into a separate component, including it, and then going from there. Previously I had:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/showedit_toolbar" style="@style/showItemToolbar">
<ImageButton android:id="@+id/show_person_back_button"
style="@style/blackToolbarButton"
android:src="@drawable/left_white_arrow"
android:layout_alignParentLeft="true"/>
<Button android:id="@+id/show_person_map_button"
style="@style/blackToolbarButton"
android:text="map" android:layout_alignParentRight="true"/>
<Button android:id="@+id/show_person_edit_button"
style="@style/blackToolbarButton"
android:text="edit" android:layout_toLeftOf="@id/show_person_map_button"/>
</RelativeLayout>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_above="@id/showedit_toolbar"
style="@style/CoinLightTheme">
// Lots more layout omitted
I extracted out the bit that's repeated into an xml file called show_toolbar.xml, changing the names of variables to make it more generic across the 3 views
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/show_toolbar" style="@style/showItemToolbar">
<ImageButton style="@style/blackToolbarButton"
android:src="@drawable/left_white_arrow"
android:layout_alignParentLeft="true"
android:id="@+id/show_back_button"/>
<Button android:id="@+id/show_map_button"
style="@style/blackToolbarButton"
android:text="map" android:layout_alignParentRight="true"/>
<Button android:id="@+id/show_edit_button" style="@style/blackToolbarButton"
android:text="edit" android:layout_toLeftOf="@id/show_map_button"/>
</RelativeLayout>
Then from within my original layout file, I replaced that big block of code with
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_width="fill_parent">
<include android:id="@+id/show_toolbar" layout="@layout/show_toolbar"/>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_width="fill_parent"
android:layout_above="@id/showedit_toolbar" style="@style/CoinLightTheme">
Now, the problem is that the view no longer shows up. Including Custom component causes it to be hidden behind main viewI can still click the buttons and they respond (i.e. if I click in the corner where the button should be, it still works), but I cannot see the buttons or bar onto which they were drawn. I cannot find very good documentation on how Include is supposed to work, so perhaps I am using it incorrectly.
View 1 Replies
View Related
Jun 20, 2012
I picked up a Zeki TB782B for my kids to use and I have been really happy with it as an entertainment tablet. I have put my daughters gmail account into it and gmail works great, but contacts app does not show up anywhere including apps. It is on the tablet as a native app, Titanium is backing it up and it seems like it should be running. I rolled back the system updates to the app and still nothing.
View 7 Replies
View Related
May 19, 2010
I have received the following error when trying to install packages through the SDK and AVD manager tool: XML verification failed for http://dl-ssl.google.com /android/repository/ repository.xml. Error: The markup declarations contained or pointed to by the document type declaration must be well-formed. I have downloaded the latest versions of the Android SDK and AVD manager (revision 5), Eclipse IDE for Java EE developers (version 1.2.2), and the ADT (0.9.6). I have checked the Force https box in the settings tab, I also have both an http and https version of the same url. I re-downloaded all components multiple times. I am using Windows XP service pack 3. Anything anyone could suggest would be extremely helpful. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers +unsubscribe @googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 2 Replies
View Related
Jul 31, 2010
Disabling / removing apps (including 2.2) here is list
View 49 Replies
View Related
Nov 10, 2010
I'm trying to install the Android SDK using AVD Manager. When it try to verificate the XML of the repository appears the following error: XML verification failed for http://dl-sl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'HTML'.I have the last ADV version (r7) and the last ADT plugin for Eclipse (0.99), downloaded today.
View 4 Replies
View Related
Aug 3, 2010
I updated my EVO 4G last night to Android 2.2. I started using the bluetooth voice dial feature this morning and I must say the new feature is still incomplete. There is no verification prompt after telling the phone who you want to call. You could say "Call Robin Cell" and it will dial Rob Cell without prompting you for verification. This means you have to scramble to grab the damn phone and hang up before it makes a connection with the wrong person. The lack of a hands free verification feature totally negates Android 2.2 bluetooth voice dial.
Microsoft Voice Command still has my respect in this regard no doubt. All it needs to do is repeat the name it is about to dial by saying (Prompt: "Call Robin at Cell" Answer: "Yes" or "No"). Why would they not do their homework on something like this and at least listen to how Microsoft Voice Command works? If they think there bluetooth voice dialing is flawless thats fine, but they still need to include the option for verification.
View 26 Replies
View Related
Sep 28, 2010
As of yesterday my predictive text has gone weird. It seems to be making very odd choices of words when I'm typing a text. It also seems to be including some foreign language characters which I think are Turkish. I've checked the language settings and it's definitely set to English. The problem isn't application specific as I've tried both the default messages application but it appears to be specific to the Touch Input keyboard as SwiftKey keyboard appears to be ok. I've tried rebooting but it's the same deal. I prefer the default keyboard so I really don't want to go to another one.
View 1 Replies
View Related
Feb 25, 2010
SO i pushed the volume rocker down all the way to silent on the sprint hero for my weekly office meeting, thinking that the phone was completely muted, and then I opened up gang wars on the phone and it started BLARING rap music on full volume through the speakers!!! WHAT IS WITH THIS??? Would the stupid phone know to mute everything? Or did I do somethign wrong and not doing this properly? My old treo had a volume kill switch on the top of the phone and NO sounds would work. Is there any way to quickly MUTE all sounds without having to also go to settings sounds media and scrolling it down to zero?? also, even when i set the media volume down, a lot of times an app causes it to be set to high again. WHATS WITH THIS?
View 12 Replies
View Related
Jun 2, 2010
A little advice please. i have been messing around constantly with my desire since i had it, about 3 weeks. Installing apps, uninstalling apps, etc, etc. It has become a little laggy, certainly not as fast as when it first arrived. The main things that concern me are how to backup all of my contacts, including their pictures. As this has taken me some time to compile. I have backed up my contacts to the sd card, but i dont think this does the pictures as well.
View 13 Replies
View Related
Aug 21, 2010
I've rooted my device, and there are some things I don't like about it, I'm also running a 'hacked' 2.2 not the ota one, basically I want everything back to normal so including the os. How do I do this?
View 2 Replies
View Related
Aug 4, 2010
I'm trying to integrate the LVL to my app, and I followed the 'Licensing Your Applications' document [1].
For some reason I'm receiving the ERROR_NOT_MARKET_MANAGED error, although my app (package: org.jraf.android.logcatlivewallpaper) is indeed available in the Market.
I suppose I made a mistake is on my side but all I did is follow the document (I used the ServerManagedPolicy and the AESObfuscator), so I don't see what I could have done wrong.
View 3 Replies
View Related
Oct 19, 2010
I can't import the License Verification Library to the workspace. In the Eclipse wizard I click "File > import" but no Android option available, if I choose normal Java project then it doesn't work because it has no Android api reference. How to do?
View 4 Replies
View Related
Dec 1, 2010
I reset it to factory settings using the normal procedure, but things like the photos are still there. How do I get rid of them D:?
View 2 Replies
View Related
Aug 28, 2012
is there a way to turn it off for all functions, including apps? i have a motorola droid 3.
View 4 Replies
View Related
Aug 20, 2012
I badly need a good video player with playlist support and shuffle.
I have one of those cheap Chinese ICS tablets (btw working pretty good) and I planned to use it in my car to let my 17 month old daughter watch some videos I got from YouTube while driving home from our vacation. That is a 7 hours drive and she won't handle it without some entertainment. However I cannot find a suitable app, paid or free
I got so far
- Act Player.. does the job but only on Gingerbread (I have a GB Galaxy S phone). On ICS the playlist feature does not work
- Vplayer - does not support shuffle and after 4th or 5th video starts to stutter
- Mobo player - does the job but does not support shuffle and the little monster is getting tired of the first 10 vids she has to watch all over again every day
View 3 Replies
View Related
Aug 12, 2010
Does the Android License Verification Library support a device logged in to multiple Google accounts?
Does it use the first Google account to determine who purchased an app?
View 1 Replies
View Related
Aug 4, 2010
I'm having a problem with the LVL in one of my apps. Here are the projects in my eclipse workspace: com_android_vending_licensing - standard LVL my_app_1 my_app_2 my_app_3 All three of the apps use the same licensing library project (including the same SALT), and share the same code in their main activities for checking the license. But when testing, one of the apps continuously fails the license request and the others respond correctly depending on what test response I set in the market "Edit Profile" page. The error I get in logcat is: 08-04 15:20:20.863: ERROR/LicenseValidator(4883): Signature verification failed. And the dontAllow() function of the LicenseCheckerCallback is run. This error message originates from line 104 of LicenseValidator.java in the licensing library. I've done some debugging and the responseCode is set to LICENSED (see line 94 of LicenseValidator.java).
View 6 Replies
View Related
Mar 18, 2010
I have setup for Android development with 1.5 SDK on Mac O.S X - Eclipse 3.5. I want to upgrade the SDK, so as i followed to choose Window->Android SDK and AVD Manager from Eclipse. But it throws error as follows: XML verification failed forhttps://dl-ssl.google.com/android/repository/repository.xml.Error: cvc-elt.1: Cannot find the declaration of element 'sdk:sdk- repository'. Failed to fetch URL I tried "http" instead of https, but still getting the same error. I don't know why such crap error comes. If i see Android website, http://developer.android .com /intl/zh-CN/sdk/index.html its confusing.Could someone guide me easily to update Android SDK to 2.x or later without uninstalling my current setup environment.
View 1 Replies
View Related
Oct 26, 2009
I am trying to extend a class in android.widget, specifically AbsSpinner class for some change in behavior. For that I need to access some protected members of the Classes up in the hierarchy, so I decided to put my new class in the same package android.widget It compiles fine in Eclipse but when I run it, it gives me java.lang.VerifyError. When I tried to find the cause, I came to know that this error is caused by the format of the class file different from what Android expects it to be.
View 9 Replies
View Related
Aug 5, 2010
I'm still experimenting with the LVL and I noticed that, with the recommended strategy (ServerManagedPolicy), in case of no connectivity, the callback's dontAllow() method is called.
This seems a bit odd to me and I wanted to make sure this is the expected behavior, and not a bug on my side.
View 11 Replies
View Related
Aug 31, 2010
There's a large chunk of apps on the market that are free, with ads. Users can pay for an "unlocker" app to remove ads in the "free" app, presumably by doing a check on whether or not the unlocker app package is installed.
If LVL is verified intermittently on a paid app, is it useless for these unlocker apps? Presumably a user would never run the unlocker app, so how would LVL even check the authenticity?
View 10 Replies
View Related
Oct 9, 2010
Hi, I have a "Remote Service", which I am starting at Bootup of the emulator. I want my service to keep running as a foreground service. For this, I am calling startForeground() from my service's onStartCommand(). I don't want any notifcation from the service. But startForeground() needs a notification object as its second parameter. How can I set my service as a foreground service without using any notification.
View 2 Replies
View Related