dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

RPC Error on smsGet function [lua] #376

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following code don't work :

require "android"
t = android.GetMessage(false)

GetMessageCount don't work too

I've got the error com.google.ase.rpc.RpcError : Unknown RPC

I use an HTC Tattoo running Android 1.6 and the last ASE release on the main 
page of project.

Regard

Original issue reported on code.google.com by felix.vo...@gmail.com on 16 Jul 2010 at 8:34

GoogleCodeExporter commented 9 years ago
Could you please browse API. Am pretty sure we named methods smsGetMessage and 
smsGetMessageCount :)

Original comment by MeanEYE.rcf on 17 Jul 2010 at 12:11

GoogleCodeExporter commented 9 years ago
Oh sorry, i've made a mistake in the code written but it's of course 
smsGetMessages and smsGetMessageCount and i got the error with this function.

There is also the same error for call function.

android.speak() display the same error but android.ttsSpeak() work :/

Regard

Original comment by felix.vo...@gmail.com on 17 Jul 2010 at 12:42

GoogleCodeExporter commented 9 years ago
Oh, Ok then. Can you send us logcat?

Original comment by MeanEYE.rcf on 17 Jul 2010 at 12:44

GoogleCodeExporter commented 9 years ago
Euh year i will do it tomorrow it's 2.30 AM in my country =p.

Original comment by felix.vo...@gmail.com on 17 Jul 2010 at 12:46

GoogleCodeExporter commented 9 years ago
When receiving an Unknown RPC error, check to see if the API you're trying to 
use exists. The API has not yet stabilized and does change between releases in 
some cases.

Original comment by damonkoh...@gmail.com on 17 Jul 2010 at 4:43

GoogleCodeExporter commented 9 years ago
It work now ... really curious, thank for your help, i have look 
android/init.lua so as to understand RPC() function used to check index method 
in android table.

I don't now why it's work now, but i understand the meaning of "Unknown RPC" =D

Regard.

Original comment by felix.vo...@gmail.com on 17 Jul 2010 at 6:39