Unable to use Fragmentation API with android compatibility package

by Premier » Fri, 04 Mar 2011 23:25:52 GMT


Sponsored Links
 In
 http://android-developers.blogspot.com/2011/03/fragments-for-all.html 

Xavier Ducrohet, Android SDK Tech Lead says Google releases an Android
Compatibility Package by SDK Manager.

I've installed it, but, how i can use it now?
how can i integrate Android Compatibility Package in my project?

Thank you.

-- 



Re: Unable to use Fragmentation API with android compatibility package

by Streets Of Boston » Sat, 05 Mar 2011 00:56:00 GMT


 Have you tried copying the JAR that was download with that package into your 
Android project (and adding it to your Java library path)?

-- 


Sponsored Links


Re: Unable to use Fragmentation API with android compatibility package

by Harry » Tue, 08 Mar 2011 20:56:04 GMT


 I have this same problem. I have imported the library and have edited
my Java files to use that instead of the Honeycomb APIs. My only
problem is the XML files; The <fragment> tag doesnt work.

I have set the API Level to 4 to make sure that it is not using
anything from the Honeycomb SDK so it will work on lower version
devices.


Any help would be great. Thankyou.

-- 



Re: Re: Unable to use Fragmentation API with android compatibility package

by Dianne Hackborn » Wed, 09 Mar 2011 01:44:55 GMT


 Please read the comment on FragmentActivity, which points out the
limitations of the <fragment> tag for this implementation.  Look at the
sample code in API demos for uses of the <fragment> tag.

On Tue, Mar 8, 2011 at 4:55 AM, Harry






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 



Other Threads

1. How to pass on extras to a custom intent?

hi there,

I am trying to pass on a videoclip from one activity to another by
calling an intent: What I would like to do is to pass on the clicked
video (the video's uri) and display it in a videoview within the novel
activity. But I am a bit stuck and don't know what I should do...

This is what I got so far for calling the intent and passing on the
extra:

String uri = videocursor.getString(0); //uri holds the currently
selected/clicked video uri
                 Intent editorIntent = new Intent(EditGalleryView.this,
EditorView.class);
                 editorIntent.putExtra(???);
                 startActivity(editorIntent);

My problem is what I should to pass on the uri as Extra and how I can
retrieve that in the other activity...

If someone could help me out here, that would be fantastic, thank you
very much in advance

-- 

2. Samsung Extravaganza plus plus on Mirdak Yogya @Starbucks Amplaz dimulai jam 16:00 hari Rab

meluu







>> > Join:

3. sms pending tp terkirim

4. Attaching to DDMS

5. Questions/Help with Long Running Service Please

6. Calling a MapActivity from another activity

7. Live Wallpaper configuration