User Tag List

Results 1 to 3 of 3

Thread: Android intent to get WiFi dbi (or strength)

  1. #1
    No Products Registered

    Join Date
    Aug 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android intent to get WiFi dbi (or strength)

    Howdy! First post here, yay! So here is what I am having trouble with:
    I want to get a string or int back from an intent. I have successfully triggered the phone app pre-populated with a number as displayed by the example in the 'android object' help. So I can see how I can use intents to trigger events in other apps, but to get data back seems like it isn't working.

    What I have tried so far:
    every 5.0s > (Android object) Intent(outgoing): Start intent "(WifiManager)context.getSystemService(Context.WIF I_SERVICE)" with URI ""
    (Active) Set Alterable String A to IntentData$("Android object")
    (String) Set alterable string to Alterable String A("Active")

    Hacked out code from an android forum intended for java. I'm trying to apply it to ctf so I can make my awesome sauce wifi mapper.

    So after frame start +5s, the string goes blank. My assumption is no data is returning.

    Anywho, am I going about this wrong? Is there (as there usually is) some amazingly easy way to accomplish this that I am overlooking?
    I'm super comfortable with form data tokenizing so a long string where the data is buried within would be fine.
    Thanks in advance for any advice fellow clickers!

  2. #2
    No Products Registered

    Join Date
    Aug 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    37 Views and no replies :-( Is this not possible ? Anyone know ANY way to accomplish getting wifi strength?

  3. #3
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,003
    Mentioned
    20 Post(s)
    Tagged
    2 Thread(s)
    What's the return value type? You may need to do a Str$() conversion for the result?

Similar Threads

  1. Android Send Intent (Share)
    By Neildo64 in forum Android Export Module 2.5
    Replies: 41
    Last Post: 17th January 2017, 10:37 PM
  2. Using Android Intent to sent a file to a server?
    By turtle in forum Android Export Module 2.5
    Replies: 0
    Last Post: 30th December 2015, 06:22 AM
  3. CF 2.5 android wifi checker
    By Karrix26 in forum Install Creator and Patch Maker
    Replies: 4
    Last Post: 18th August 2015, 09:42 PM
  4. Android SDK - get MainActivity intent
    By ColdFire in forum Android Export Module 2.5
    Replies: 3
    Last Post: 10th March 2015, 04:39 PM
  5. Change Jump Strength
    By Mayfly in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th August 2008, 12:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •