Search:

Type: Posts; User: martinmarinov

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    5,358

    Ok, thanks man :) I really appreciated you time...

    Ok, thanks man :)
    I really appreciated you time and effort :)
  2. Replies
    16
    Views
    5,358

    Yep, I have installed Android SDK but the fm...

    Yep, I have installed Android SDK but the fm radio is not in the SDK (because it is device specific stuff) and it's not documented anywhere :D So I thought I was able to reconstruct some of the...
  3. Replies
    16
    Views
    5,358

    Well, kind of. The class is on the Android device...

    Well, kind of. The class is on the Android device but it's in an odex file, not a jar file. I guess I can't import it into Eclipse. I decompiled it using smali. Hope that helps :(
  4. Replies
    16
    Views
    5,358

    How and to which one :( I don't have its source...

    How and to which one :( I don't have its source code...

    P.S. I can use getMethods and then invoke the one I need but that is very inconvenient.
  5. Replies
    16
    Views
    5,358

    Object instance = receiver_Class.cast(obj);...

    Object instance = receiver_Class.cast(obj);
    FmReceiver receiver = (FmReceiver) instance;

    instance is just an object which should hold an instance of the com.(...).FmReceiver class.

    Ok,...
  6. Replies
    16
    Views
    5,358

    :) Sorry for the confusing description. The whole...

    :) Sorry for the confusing description. The whole thing is one big mess :D

    Anyway, here's what I did. Firstly I wrote FmReceiver as an interface and that didn't work. When FmReceiver was an...
  7. Replies
    16
    Views
    5,358

    Yeah, it's hard to explain :D So here they are...

    Yeah, it's hard to explain :D

    So here they are


    public static final String FM_SERVICE = "blah blah";
    public static final String FM_RECEIVER_PATH = "blah blah";
    Class<?> receiver_Class =...
  8. Replies
    16
    Views
    5,358

    Well, sorry for the confusion. I wrote the name...

    Well, sorry for the confusion. I wrote the name IFMRadio just as an example cuz the real name doesn't matter but anyway. The real name of the class is FmReceiver and FM_SERVICE is just a string...
  9. Replies
    16
    Views
    5,358

    Class.forName and casting

    Hi there. I'm doing a bit of Android development and I stumbled across a problem :)


    Class<?> receiver_Class = Class.forName(FM_RECEIVER_PATH);
    Object obj = getSystemService(FM_SERVICE);...
Results 1 to 9 of 9