Can't use "Intents"

Pops

Member
Licensed User
Longtime User
Anytime I try to use
B4X:
Dim Intent1 As Intent
in my code I get an error asking me if I'm missing a library.
I have the Phone library checked. I've tried re-installing b4a. I've gone back to the old Phone library. I've gone so far as to check ALL libraries.
My next step, unless someone has a solution is to uninstall b4a and start over. I redownloaded the latest Phone library just in case.
I'm hoping it's just some simple thing I did without realizing it.
BTW, it has worked for me in the past, although I've done too much since the last time I messed with it to pin point what I might have done wrong.
This is a great piece of software, much better than beating myself over the head trying to figure out Eclipse!
 

Pops

Member
Licensed User
Longtime User
Notice the difference in color between "intents" and "phones"
 

Attachments

  • WithoutPhone.PNG
    WithoutPhone.PNG
    2.5 KB · Views: 179
  • WithPhone.PNG
    WithPhone.PNG
    4 KB · Views: 169
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Which version of Basic4android are you using? I guess that you are using version 1.6 or below?
The Intent object has moved to the core library in version 1.7. It was removed from the Phone library. This means that you should use the Phone library that was released together with version 1.6 (or you can upgrade to 1.7).
 
Upvote 0

Pops

Member
Licensed User
Longtime User
I'm using version 1.7. I've re-installed (without uninstalling) twice and downloaded the latest (1.7) phone library. Do you think I need to save my projects and uninstall, then re-install? I haven't tampered with any libraries.
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
My version of the core library is 1.67.

Rolf
 
Upvote 0

Pops

Member
Licensed User
Longtime User
It's fixed now, and yes, the core library is 1.67.
I eliminated the "path" to additional libraries and everything went back to normal. Must be a bad one in the bunch, don't know. I'll just download the ones I need or want, one by one until I find the culprit.
Thanks Erel and rbsoft for taking the time to help. I've learned a lot by following some of the questions and answers on this forum. Great bunch. Since it's 3AM here in Broken Arrow, Oklahoma, I think I'll go back to bed. :sign0098:
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
After the problem solved you probably will sleep better.

Rolf
 
Upvote 0
Top