about RPC dev

by Danny Wu » Thu, 20 Jan 2011 03:17:00 GMT


Sponsored Links
 Hello,
Can someone teach me how to or where can I build the rpc? I have no
idea where the /dev/oncrpc/3000008c:00010000 can be generated...
Thanks a lot.

I m porting the Androind GPS, however, there seems something wrong in
my android what the RPS seems does not exist. I have added chmod
0777 /
dev/oncrpc in the common/init.rc but it seems no works. The following
messages are my logcat, please teach me how to solve it, Thanks a
lot!

E/lib_api_rpc_glue(  806): Trying to create RPC client...
E/RPC     (  806): error opening /dev/oncrpc/3000008c:00010000: No
such file or directory
E/RPC     (  806): ERROR OPENING [/dev/oncrpc/3000008c:00010000]: No
such file or directory
E/RPC     (  806): failed to initialize client (permissions?)!
E/lib_api_rpc_glue(  806): Created loc_api_clnt ---- 0
D/lib_locapi(  806): loc_eng_init called, client id = -1234
D/lib_locapi(  806): loc_eng_ni_init: entered.
I/lib_locapi(  806): Starting Loc NI thread...
D/lib_locapi(  806): loc_eng_process_deferred_action started
D/lib_locapi(  806): loc_eng_set_gps_lock mode, client = -1234,
lock_type = 1
D/lib_locapi(  806): loc_eng_set_gps_lock mode failed

-- 



Other Threads

1. Marketplace html error - cannot administrate my downloads or create new applications. Will someone in google please read !

Is there nobody here who can help? Is there anybody here who can
suggest who I ask ?



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

2. Problem : Overriding a couple of styles using a theme..

I ran into a little weird problem.. Maybe anyone can help me out...

I want to change the background drawables  (the listSelector) of a
Listview so that I can use my own images. I wanted to do this by
somehow "overriding" the items of the Default Theme that I want to
change while keeping (or "inheriting") the ones that remain
unchanged.

So what I did is I created a styles.xml which looks like this:

-----------------------------------------------------
<resources>
    <!-- Base application theme is the default theme. -->
    <style name="MyOwnTheme" parent="android:Theme">
      <item name="android:listSelector">@drawable/
list_selector_background</item>
    </style>
</resources>
-----------------------------------------------------



The top of my AndroidManifest.xml looks like this:
-----------------------------------------------------
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mydomain.myownapp"
    android:theme="@style/MyOwnTheme"
    >
...
-----------------------------------------------------


I thought this would override "android:listSelector" everywhere in my
application. Instead nothing happens.


what I can do is set my own style in the ListView-Tag in the layout
xml file:

....
<ListView android:id="@android:id/list"
               android:layout_width="fill_parent"
               android:layout_height="fill_parent"

               android:layout_weight="1"
               android:drawSelectorOnTop="false"
               android:layout_marginTop="15px"
               style="@style/MyOwnTheme"
               />


If I do that I, the ListView shows with my own style which is some
PNGs in the drawable folder..


Am I missing something? How can I apply a theme to my whole
application, so that every list uses my own PNGs?

thx!

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

3. Neeeeeed HELP......How to get the text's length after TextView.setText()?

4. WMA / MIDlet-push support

5. beginner question.

6. my PacMan version released

7. How do I find qualified Android Mobile Application Developers