Downgrading 2 app to 1.5

by MartinM » Thu, 22 Apr 2010 22:36:23 GMT


Sponsored Links
 I've a (non-google maps) app that I want to install on a 1.5 phone.
However, it was originally built for 2 (can't remember if it was 2.0
or 2.1), and when I set the target as 1.5 I get some errors:

1. 'invalid resource directory name' - the directory exists and is
unchanged, the contents are listed in the Eclipse browser. Errors
shown on re/drawable-hdpi, re/drawable-ldpi and re/drawable-mdpi

2. 'R cannot be resolved'. This appears to be the fact that R.java is
no longer present. I've fixed this by importing android.R (not sure
why it needed to be done again), but now

setContentView(R.layout.main); cannot be resolved.

I see that I still don't have an R.java.


A bit confused here :)

--



Other Threads

1. Notification ringtone keeps on repeating.

Hello everyone,


Wonder if anyone could shed some light/recommend a solution to this
problem.


In my app I use a notification type ringtone to notify users. I use
ringtone.play(); to play this. This works fine on my G1 (running 1.6)
but on my T-Mobile Pulse (1.5) the notification ringtone is just
repeated infinitely, even if I close the app.


I have tested it on a 1.5 emulator also and it works fine.


Is there a way I can force it to only play the ringtone once?



I have had a look through the documentation for Ringtone and
RingtoneManager but can't find anything to help me. I'm wondering if
there is a setting somewhere that makes it repeat until it is told to
stop (in the same way that a ringtone will loop for an incoming call)?.


Any help would be great.


Thankyou,


Harry

-- 

2. Gamine 0.3 (3D game engine)

It's interesting...

But the Lgpl licence is not really developer friendly, especially on
Android, because it imposes that the developer gives all of its game
sources ( as the LGPL licence imposes that a user should be able to
recreate the game with another library version ).

Emmanuel
http://androidblogger.blogspot.com/
http://www.alocaly.com




-- 

3. [WTShare] SantaDroid

4. nexian jurney

5. [WTA] htc hero sprint to froyo

6. Project File HelloWorld Session I

7. Send location gps via sms