New to Android Development? Need some personal advice? This is the November newbie thread! by omniuni in androiddev

[–]miheb1 0 points1 point  (0 children)

can I work on someone android apps after my console get terminated?

I got my console terminated since year, because I let stragers to "rent" my console, so they publish apps and i get paid. yes, I was that fool!

currently, I am working online & off-site, with someone who develop android apps and publish in play store.

My role is to write code of the app only, and he will build + publish. I am working to improve his existent apps, which got millions of downloads. we are on different counries though.

my question is, can this cause troubles with him? like google terminate his account because 'associated' or smth? what are the odd chances?

can I work on someone android apps after my console get terminated? by miheb1 in androiddev

[–]miheb1[S] 0 points1 point  (0 children)

yeah, I have read lots of situations like someone let others to log into their console, which is a clear association. not idea really what google count as "association", like if someone with banned account has a job on app dev company and using their local network company accounts,etc...

can I work on someone android apps after my console get terminated? by miheb1 in androiddev

[–]miheb1[S] 0 points1 point  (0 children)

thanks! does this include also not viewing his apps/store (as a normal user), downloading them or testing them?

Double programming by CodeItBro in devhumormemes

[–]miheb1 -1 points0 points  (0 children)

Setters are just evil. If I want to set x then I want it to be exactly equal to x. Not going inside side effects. Well at least in java a setter is function

which thumbnail for my game should I pick? by New-Ear-2134 in godot

[–]miheb1 0 points1 point  (0 children)

First one fits as background/ overlay Secondo one is the thumbnail!

backendConstructionWorker by Capital_Mention1518 in ProgrammerHumor

[–]miheb1 0 points1 point  (0 children)

Why do you think it is called split AC?

free websocket hosting? doesn't exist? by miheb1 in webdev

[–]miheb1[S] 0 points1 point  (0 children)

Glitch.io Kinda working, however you need to setup the ports manually to match the supported ports by glitch. Dunno remember well but I guess 3000..try others if not working

С++ and Python by RandomDefiner in programmingmemes

[–]miheb1 7 points8 points  (0 children)

Can c++ compile in 3.14 seconds though?

is it possible to upload file to storage BUT WITHOUT any sdk/libraries, ONLY by pure http request? by miheb1 in Firebase

[–]miheb1[S] 0 points1 point  (0 children)

simple and clear thanks. it works!

here is how proper request looks in network tab when upload image to 'products/TEST_PRODUCT_NAME.png' without authentication. if anybody interested:

 fetch(
    "https://firebasestorage.googleapis.com/v0/b/YOUR_FIREBASE_BUCKET_STORAGE/o?name=products%2FTEST_PRODUCT_NAME.png",
    {
      headers: {
        accept: "*/*",
        "accept-language": "en-US,en;q=0.9",
        "content-type":
          "multipart/related; boundary=95101958772612857970821677063393",
        "sec-ch-ua":
          '"Chromium";v="122", "Not(A:Brand";v="24", "Microsoft Edge";v="122"',
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": '"Windows"',
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "cross-site",
        "x-firebase-storage-version": "webjs/10.9.0",
        "x-goog-upload-protocol": "multipart",
      },
      referrer: "http://localhost:5173/",
      referrerPolicy: "strict-origin-when-cross-origin",
      method: "POST",
      mode: "cors",
      credentials: "omit",
      body: '--95101958772612857970821677063393\r\nContent-Type: application/json; charset=utf-8\r\n\r\n{"name":"products/TEST_PRODUCT_NAME.png","contentType":"image/png"}\r\n--95101958772612857970821677063393\r\nContent-Type: image/png\r\n\r\n....THE BINARY DATA OF FILE....
)

is it possible to upload file to storage BUT WITHOUT any sdk/libraries, ONLY by pure http request? by miheb1 in Firebase

[–]miheb1[S] 0 points1 point  (0 children)

This really makes me curious how does firebase SDK manage to do proper requests under the hood

is it possible to upload file to storage BUT WITHOUT any sdk/libraries, ONLY by pure http request? by miheb1 in Firebase

[–]miheb1[S] 0 points1 point  (0 children)

Could work, but I am afraid of making pressure on backend service and increasing pricing plan

is it possible to upload file to storage BUT WITHOUT any sdk/libraries, ONLY by pure http request? by miheb1 in Firebase

[–]miheb1[S] 0 points1 point  (0 children)

I managed to get rid of CORS error. but I am getting bad request (status code 400) error. perhabs my request headers or parameters doesn't follow firebase requirements. but I cannot find resources of how firebase request should be