Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
ted_hulick
Posts: 229
Registered: ‎11-21-2009
My Device: Not Specified

Compile with net.rim.device.internal.system .... RIM's internal APIs

Well,

 

 

I already know the RIM guys will say "Can't be done"..."Wasting your time"....

 

But I can get access to runtime to many of RIM's internal APIs...along with fields and methods, etc...

 

At runtime, they are available - just difficult to compile as it appears that they must have .jar

files themselves that contain the internal apis and then they have a stripped down version

for developers...

 

I have some ideas on how to "fake" rapc - however, I'd like to see if anybody else has had any success directly referencing the internal classes and what rapc options they used...

 

Suggestions?

 

 

 

 

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: Compile with net.rim.device.internal.system .... RIM's internal APIs

Not really.

 

I tried it a couple times (especially with Speech recognition/synthesis and RIM's reflection API [which does exist]) but they appear to have safeguards in place which cause a unsigned API exception or a message saying that it isn't supported.

 

For that reason I'm going to have to go with the RIM guys and say "waste of time."

 

Sorry.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
ted_hulick
Posts: 229
Registered: ‎11-21-2009
My Device: Not Specified

Re: Compile with net.rim.device.internal.system .... RIM's internal APIs

Where are the reflection API's documented...I've never seen any?

Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.997 Dev OS, Z30 (STA100-5)-10.3.1.997 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: Compile with net.rim.device.internal.system .... RIM's internal APIs

[ Edited ]

Look for a COD file labeld net_rim_reflect. They aren't documented.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.