query on local xml'files

by Peterman » Wed, 17 Sep 2008 18:06:30 GMT


Sponsored Links
 Hi

I would like to do a query to a local xml'file located in my raw
folder. With the m5 sdk, I use the "Jakarta" like a GDataCliente but
with the new version of android (0.9) this class dont's exist.

Somedoby know how I can do this?

thanks

--~--~---------~--~----~------------~-------~--~----~



query on local xml'files

by hackbod » Thu, 18 Sep 2008 09:21:53 GMT


 Is there any particular reason you want to parse an XML file stored as
raw data.  Parsing XML files stored in res/xml with Resources.getXml()
is much much faster (10-100x) than a raw XML file.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


query on local xml'files

by Pedro č„•ngel Serrano Trujillo » Fri, 19 Sep 2008 02:09:18 GMT


 There's not reason for this. I'll try with this way.

thanks

2008/9/18 hackbod <[EMAIL PROTECTED]>



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. problem in the touch event

Hi Dear,

i am having a problem handling the touch event on a button layout.
i added a button layout into the webview and have a touch event on
webview.

touch event is mixed with the button click event.

please help me how can i handle it
--~--~---------~--~----~------------~-------~--~----~

2. Intent-Filter for custom protocols

good morning :)

i have a problem with registring a reciever as i wish :/
My Problem: there exist links like "irc://someserver.org/channelXY".
When I try to open them with the browser, i always get some kind of
"not found, page maybe moved ..."-message.

Now im wondering if its possible to fetch those url-calls to my own
activity. First thought: registering an reciever in the manifest -
like:

<receiver android:name=".URIProtocolHandler">
                        <intent-filter>
                                <action 
android:name="android.intent.action.VIEW" />
                                <category 
android:name="android.intent.category.DEFAULT" />
                                <category 
android:name="android.intent.category.BROWSABLE"></
category>
                                <data android:scheme="irc"></data>
                        </intent-filter>
</receiver>

URIProtocolHandler.java:
[...imports]
public class URIProtocolHandler extends BroadcastReceiver {

        @Override
        public void onReceive(Context context, Intent intent) {

                Intent openSoundSettingsActivity = new Intent(context,
ConnectScreen.class);
                context.startActivity(openSoundSettingsActivity);

        }
}

As far as I understood the concept, this should at least open the
ConnectScreen-Activity.
But - well - nothing happens - the browser is still showing the error
screen.

Maybe someone has an idea and can help me? I seem to be tooooo tired
to get it -.-

Kind regards,
avi

--~--~---------~--~----~------------~-------~--~----~

3. GLSurfaceView show initially with black background before rendering first frame?

4. Geting SMS Center number

5. exception

6. Is their any way to debug the native sources from eclipse ?

7. Question about app widgets