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. Android market rules are changed, you must accept it within 30 days but...

That's quite understandable.

But it would really help if Android Market supported more countries for buying and selling apps. The issue would just go away. -- Kostya 24.07.2010 13:22, Pent :
Obviously (and reasonably) Google don't want you using market for advertising your product and then they don't get any share of a sale...
-- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com --

2. Portrait & Inflate problem

Hi,

I've met a very strange issue that my app will crash if user first switch to
landscape, then back to portrait. I found that Activity.setContentView()
will throw an inflate exception. It said:

android.view.InflateException: Binary XML file line #29: Error inflating
class <unknown>

This crash will happens on Android 1.6/2.1/2.1-update1, but doesn't happen
in 2.2 Froyo. In Froyo, everything works fine.

If the XML I used is invalid, it should happens every time when I try to
inflate. But why it's okay on the first time of running and switching to
landscape?

This also only happens on some devices. For example, there two HTC G1 with
same software installed on it and has the same configuration, one has this
issue and the other one works fine.

Could someone help me? I really don't know how to start to solve this issue?
Thanks very much!

Alex

-- 

3. GridView not taking focus/selection

4. Coordinating Activity life cycle with Service life cycle

5. How to set the SeekBar progress value

6. addContentView obscures events

7. Desire a2sd