Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9286489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:25:45+00:00 2026-06-18T19:25:45+00:00

I tried this way but it’s not working. This is the url to convert

  • 0

I tried this way but it’s not working.

This is the url to convert to base 64

NSString *strUrlB64 = [NSString stringWithFormat:@"https://play.google.com/store/apps/details?id=com.ShiftSharerfree_new&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5TGlmdFNoYXJlcmZyZWVfbmV3Il0"];

NSData *dataUrl = [NSData dataFromBase64String:strUrlB64];

Then tried to send this to another url.

NSString *urlStr = [NSString stringWithFormat:@"http://server39.pnht.com/360ad/apps/ads/%@/android/136/ord0.910950258132325?json=1&package_url=%@",self.mStrPid, dataUrl];

It is giving me output: NSString *urlStr = [NSString stringWithFormat:@”http://server39.pbgs.com/360ads/apps/ad/%@/android/1360/ord0.910950252132325?json=1&package_url=%@“,self.mStrPid, url];

It is not base 64. please guide how to get base 64 out of it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T19:25:47+00:00Added an answer on June 18, 2026 at 7:25 pm

    I am using base 64 to encode and decode some text,
    can u tell me if it works with URLs,

    - (NSString *)base64Encode:(NSString *)plainText
     {
        NSData *plainTextData = [plainText dataUsingEncoding:NSUTF8StringEncoding];
        NSString *base64String = [plainTextData base64EncodedString];
        return base64String;
     }
    
    - (NSString *)base64Decode:(NSString *)base64String
    {
        NSData *plainTextData = [NSData dataFromBase64String:base64String];
        NSString *plainText = [[NSString alloc] initWithData:plainTextData   encoding:NSUTF8StringEncoding];
        return plainText;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried this way,but not working: <mx:Box includeInLayout=false visible=false> How to achieve the same
I have tried every way I can think of with this, but just not
I've tried to find a way to do this, but without success. I'm looking
I tried this here: http://jsfiddle.net/92HXT/1/ but it does not work. It only works if
JSF h:column tag fix width I tried this way, but I couldn't get this
Whats the best way to convert this code to jquery? I tried it this
I tried this way, but it doesn't draw on the image. Only if I
To check does preferences exist I tried this way, but it shows null every
I tried this way but it didn't work: var imglunch = new Image(); imglunch.src
I've tried this two ways. Way 1 function Login() { var email = encodeURIComponent($(#loginemail).val());

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.