Android :: OpenWnn Project Disappears In Latest Cupcake Code / Why Is So?

Apr 23, 2009

The OpenWnn project was involved in the cupcake project when I got the code at 1st April, but it disappears in the latest cupcake code. Why? Will it be in the final cupcake release?

Android :: OpenWnn project disappears in latest cupcake code / Why is so?


Android :: Cupcake Memory Bug With WebViews - That Disappears When Debugger Attached

May 15, 2009

I've literally spent 15+ hours trying to figure out this one bug (when I should be studying for finals). Any help is greatly appreciated. The bug appears on the dev1 phone running cupcake. It was not present before the upgrade. Basically, the problem is that when a activity with a webview and 2 threads is run, the service that runs after it will always crashes the process (but it works fine when the debugger is attached). The worst part is that it crashes at arbitrarily places in the service, so I can't isolate the error.

The details:

I have an activity with a WebView. The activity executes two threads, one after the other using the basic new Thread(new Runnable() {public void run()... Both threads use the same handler to report back results to the main activity. Flow works like this: when the activity starts, the first thread gets data to construct the URL that the webview will load (using DefaultHTTPClient). Then when the user navigates to a certain page, the second thread is again fired (using DefaultHTTPClient) to get some xml. This works fine.

The problem happens right afterwards. Once the activity with the webview finishes (it calls finish on itself), a service is started that has a thread that using DefaultHttpClient to downloaded some xml, process it, etc. The service crashes at arbitrary points with no error messages, simply displaying a memory dump, and kills the main process with it. When I attempt to debug the process, it runs just fine w/ no crashes. I've repeated this at least 30 times, with the same result. (no crash w/ debugger, crash when installing signed apk file to device and running it).

The program doesn't crash when the threads are removed from the activity with webview. So even if the webview activity runs (but all threads are removed), the service runs just fine regardless of the debugger.

Here is how my threads start (both of the ones in the activity with the webview, and the main thread in the service that is launched afterwards):

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

.................

Here is what logcat displays:

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

View 2 Replies View Related

Android :: How Can A Code In Library Project Call Code In App Project?

Oct 8, 2010

In an effort to reduce duplication, I have my app's workspace split into 3 projects:
Main (A library project, where all of the common code lives)
Free (To make the free version)
Paid (To make the paid version)
Behavior in the free version and the paid version must differ sometimes. How can I "call into" the final projects from the library project? Here is some sample psuedo-code to illustrate my question: Code...

View 4 Replies View Related

Android :: R.java Disappears After Project Clean

Oct 9, 2010

After I added some .png files into my Project Workspace drawable folder I refreshed my drawable folders in Eclipse and the newly added files showed up. But when I tried to access those resources using R.drawable.xyzimage, xyzimage although in the folder could not be resolved. So I did a Project Clean and guess what after this clean R.java is totally gone and all my classes accessing resources using R.java is showing all sorts of error and Eclipse won't let me run the code anymore. I have backup of my source code but I want to explore if R.java can be regenerated and how?

View 6 Replies View Related

Android :: Coverage With Ant In Test Project From Another Directory Report Disappears

Jan 15, 2010

I've encountered a problem, when I run coverage with ant in my test project from another directory the report disappears, e.g. "ant -f some/dir/tests/build.xml coverage". This seems to be the cause that I cannot get reports when building through hudson.

View 3 Replies View Related

Android :: Test For SDK Version / Switch Code For 1.5 Cupcake

Oct 15, 2009

Is it possible at runtime to determine whether the platform is running cupcake or donut? Due to some variation in my app between the two versions I'd like to run different code based on the SDK version.

View 4 Replies View Related

Samsung Galaxy S :: Latest Firmware Code

Aug 24, 2010

Connected my Galaxy S to Kies for the first time last night to check for firmware updates. It says I'm running JM3 and that there are no newer versions available. Just wanted to check that that is actually the latest version? Also, only one of my contacts (in phone memory) shows up in Kies.

View 6 Replies View Related

Android :: Reusing Code And Resources From Another Project

Dec 10, 2009

I have project A with some classes and some resources (used for classes configuration). I'd like to reuse its classes (and resources necessary for them) in another project B (and possibly in more projects). Currently I have 2 projects in Eclipse and they both builds fine, but when project B is started in emulator it fails with error.It should get classes and resources from both projects and package them together. 2) Make a third project which consists of symbolic links to classes and resources of those two projects. 3) Make project A as a service and consume it in project B. They all are imperfect: - 1 and 2 would pack classes and resources of project A into the .apk of project B. - 3 has performance penalty and reuse is not so easy.

View 16 Replies View Related

Android :: Using Project With Google Code Hosting

Apr 7, 2009

I've been working on my project for a while and have decided to share it's source so that I can get help from people and finish it and post it to the market (it's a highly addictive and fun card game). However, I have published it on google code at:
http://code.google.com/p/bestcardgameever-android/
And when I tried to download it with a friend that can help I kept getting messages saying that it is not an android project from eclipse I'd appreciate it if somebody could tell me exactly what needs to be uploaded and what doesn't need and how can I make it work - if you have done it before - you probably can easily help Thanks! also, if you can and want to generally join the project as a developer graphics person or web designer.

View 2 Replies View Related

Android :: Code Works In One Project But Won't Compiler

Oct 14, 2010

The following code was copied from one project to another. No errors in project one.

In project 2 I get:
-The method onClick(View) of type new View.OnClickListener((){} must override a superclass method
-implements androd.view.View.OnClickListener.onClick

View 1 Replies View Related

Android :: Writing Test Code In One Eclipse Project For Classes From Other?

Oct 2, 2010

I want to be able to have two projects, one that contains production code and one that contains test code. This shouldn't necessarily be an Android-specific question, but I'm want to write some unit tests for some non-platform-specific Android code on the host PC.

I created a new Java project so I can run the unit tests on the PC and only include the non-platform-specific classes from the Android project. Both projects are opened in the same Eclipse workspace. I assume I need to somehow include these Android-project sources explicitly in the new project where I'll run the Junit tests, but I can't figure out how to do this.

View 3 Replies View Related

Android :: Shared Code Project Across Applications In Common Library

Apr 14, 2010

I am currently moving from Xcode and iPhone development to Android with Eclipse. I want to have a shared code project so that I can store all the code to be shared across apps in one common library. However it would appear that the only android project available is for applications and not for code libs how can i achieve this?

View 4 Replies View Related

HTC Incredible :: Android Wired Tether - Project Hosting On Google Code

Nov 14, 2010

Have anybody tried this on Dinc? Android-wired-tether - Project Hosting on Google Code

View 1 Replies View Related

Android :: Way To Start Droid Project With Downloaded Sample Code In Eclipse

Jun 1, 2010

I'm pretty new to android, and just finished setup my environment and reading some tutorials. Then I got sdk samples from the web. Okay, what I wanna ask you is that is there a way to start a sample as a project in the Eclipse? I mean like clicking a project file in c# or a solution file.code...

Or, do I need to make a new android project and import (or add files? maybe) them?

View 4 Replies View Related

Android :: Reuse Main Code Base Without Having To Copy Whole Droid Project Each Time?

Nov 15, 2010

I have an Android code base which uses APIs with settings to get different data for several apps. All apps use the same code base but with one or two design tweaks. So how do I re-use the main code base without having to copy the whole Android project each time?

iPhone uses multiple targets in the same project which works well. If android cant do this do I need to compile binaries of the code base in one project and then import into each new app project? If so how? I'm using Eclipse and am an intermediate Java developer.

View 2 Replies View Related

HTC EVO 4G :: Wired Tether / Project Hosting On Google Code

Jul 17, 2010

I have tried everything found several wired tether options none work. I will start with the market pdanet randomly looses connection (if you have the answer please this seems easiest rout)
easy tether just plain doesn't work not sure why I think it's cause I am on windows 7 x64. Now I found a couple out of the market that also don't work android-wired-tether - Project Hosting on Google Code not sure how to get it to work and this azilink - Project Hosting on Google Code. This I got as far as trying to load it and I get OpenVPNClient start azilink_p1634: process started and then immediately exited: []. I like pdanet but it just keeps dropping connection.

View 10 Replies View Related

Android :: How To Push Code Change To Android Open Source Project?

Nov 21, 2010

How to push the code change to Android open source project? Anyone could provide a push command for me?

View 3 Replies View Related

Android :: Project Contains Errors - Eclipse Won't Compile Project

Mar 21, 2010

Somethings I'll have an? .xml file selected when I compile a project, only to have a? .out.xml generated. Deleting the file doesn't clear the error, and Eclipse won't compile the project. It just reports that your project contains errors. The solution is to go to Project/Clean. This will clear the error in the project and allow it to compile.

View 6 Replies View Related

Android :: Get Project And Std Java Project To Play Nice?

Aug 11, 2010

I can now get our Android project to talk to our non-Android project. But there's still an issue: I are trying to have an Android class call a non Android Hello World class. I tried compiling our non-Android Hello World class in a separate Eclipse workspace. I then packaged it into a jar. I imported that jar into our Android Hello World class.

I then called one of the methods in the non-Android Hello World class. When I ran the Android Hello World class as an Android application, the following runtime error occurred. Here are the Android debug logs:

08-11 09:07:56.764: ERROR/AndroidRuntime(333): FATAL EXCEPTION: main
08-11 09:07:56.764: ERROR/AndroidRuntime(333): java.lang.ExceptionInInitializerError
08-11 09:07:56.764: ERROR/AndroidRuntime(333): at com.hello2.hello2.onCreate(hello2.java:27)
08-11 09:07:56.764: ERROR/AndroidRuntime(333): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047).....................

View 1 Replies View Related

Android :: Reference Project Library From Another Project

Jun 6, 2010

I have 2 android projects out of which I modified one to work as a library. I want the main project to refer to this library to perform few functions. While this scenario works just as expected, I want to introduce one more functionality. I want to link this library project with another just a java project which has code common to both Android and Blackberry applications. This second part however doesn't seem to work and throws "The application <appname> (<package name>) has stopped unexpectedly. Please try again" with a ForceClose button. I would greatly appreciate if someone can give a brief information on how to make this work.

View 2 Replies View Related

Android : How To Add Project Reference To Droid Project?

Jan 25, 2010

I am a C# developer and getting started with Android. I am attempting to duplicate a couple applications I already have in VS. The project is made of 2 executables and 1 common assembly. The 2 executables contain the application specific logic while the common contains centralized forms and logic (such as login form). I am using Eclipse. So how can I accomplish this layout?

View 1 Replies View Related

Android :: R.java File From Android Library Project Not Importing Into Application Project

Aug 8, 2010

I followed the instructions here on how to create an Android library project, and use it in an Android application:

http://developer.android.com/guide/developing/eclipse-adt.html

But it is not working. I can see the library project is added to my application but I cannot reference anything in it because it won't build. The R.java file from the lib is NOT being added to my application project, so the lib project contains tons of errors, everywhere it tries to reference it's own R.java file.

I don't know if this has anything to do with it, but in the console there are messages stating that the there is "No resource identifier found for attribute 'X' in package 'Lib Package'. My library package has a a few styleable attributes defined for a custom view I made, all of which are being complained about in this console message. The library builds just fine, and I don't get those messages in the console until I hook the library to my application, so I don't know what's up with this.

View 1 Replies View Related

Android :: Add Library Project To Project?

Sep 15, 2010

When I right click the project in the eclipse, select "Properties". In the property page, select Android. According to the document, you can add the library project through that page. But my problem is that, there is no library information on the page. It only lists "project build target"

View 2 Replies View Related

Android :: Use Library Project In Other Project

Jul 19, 2010

I have created a library project. When I use the library project in other project, it compiles. How ever, when I run the application, it always get the error "The application has stopped unexpectly.".

View 4 Replies View Related

Android :: Tab Host Disappears

Aug 10, 2010

I am developing an Android application consisting of 4 tabs. On the first tab I have a button, which again calls an Activity called ActivityA.When my ActiviyA is started, the tab control is not shown anymore.

View 1 Replies View Related

Android :: Exchange Account Disappears

Apr 18, 2010

My exchange account disappears at least once a week and I have to set it up again. I also get unable to connect to server sometimes and I have to pull the battery to reset to make it work. What is going on?

View 1 Replies View Related

Android :: Gps Icon Disappears / Way To Get Back?

Jul 22, 2010

I am using the GPS and something I do in my program causes the GPS icon in the notification area of my phone to disappear for a few seconds then come back, then disappear again. None of the other GPS programs I use have this "problem"... if it is actually a problem. I've read all kinds of articles about the GPS icon staying on after the program exits, but I can't find anything about it disappearing while the application is using it. What causes the GPS icon to disappear?

View 5 Replies View Related

Android :: Controller Disappears After A While / Show It Always?

Jun 4, 2010

I am adding MediaController to a VideoView, but it does not show up unless I tap the phone. The controller disappears after a while.

Is there a way I can have the MediaController show always?

View 2 Replies View Related

Android :: ADB Bug : Italic TextView Disappears / Fix It?

Mar 15, 2010

I am layouting my xml file with eclipse using adb.

Changing the Text Style to italic makes the whole TextView disappears.

View 2 Replies View Related

Android :: What Came Before Cupcake?

May 20, 2010

I have tried finding the names of the Android OS prior to 1.5 (cupcake), but no luck. Did Google give "A" and "B" versions of the OS dessert names or did that start with cupcake?

View 10 Replies View Related







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