[Q]Add login/register to my app - Web App Development

Hello Xda,
I Have created a simple apk and i want to add login/register feature to my app.
Thanks

Rock-star said:
Hello Xda,
I Have created a simple apk and i want to add login/register feature to my app.
Thanks
Click to expand...
Click to collapse
We need more info as to what you're using.
IE: Any frameworks? Native?
Typically, how it's done is an HTTP request is made to a URL that returns JSON DATA.
I can't post links yet, else I'd link you to some tutorials, but, I would suggest Googling PHP login script, and a tutorial on JSON for whatever framework you are using.
If you let me know the details, I can create a simple example script that will help.

Ok

Its not using http requests

Rock-star said:
Its not using http requests
Click to expand...
Click to collapse
Then what are you using ?

I dont know
I am using backendless

Rock-star said:
I dont know
I am using backendless
Click to expand...
Click to collapse
:silly:
You will need a backend first...
You can make one of your own ,or use a BaaS like Firebase.

Related

[Q] Add apps to a custom 2.0 FW

Hi guys!
I'm trying to add some pre-defined apps to the sh.app. But I can't. I tried doing it as in Bada 1.2, copying the apps in Osp/Applications, but after flashing, the screen stops at the bada splash and reboots.
Can anyone help me? Thanks in advance
maybe only one app can be add
civil.scholar said:
maybe only one app can be add
Click to expand...
Click to collapse
It seems strange, ain't it?
Wat app did u try to add????
navinng said:
Wat app did u try to add????
Click to expand...
Click to collapse
I was trying Marca, an app to a Spanish Sports Newspaper. No spoofing if you were referring to that
P.S: You received a free thanks hahaha
I tried NFS(spoofing) along with Polaris....debug screen came...dont no if its that @ app issue
navinng said:
I tried NFS(spoofing) along with Polaris....debug screen came...dont no if its that @ app issue
Click to expand...
Click to collapse
Yeah! The phone reboots again and again. The question is how to add those apps and have a normal boot and a correct working of the phone
chetto106 said:
It seems strange, ain't it?
Click to expand...
Click to collapse
Yes it is , but i cant add more than one app
maybe in official rom ....
civil.scholar said:
Yes it is , but i cant add more than one app
maybe in official rom ....
Click to expand...
Click to collapse
That's the case. Actually, i found some .ini files that make calling to the apps, but I don't know the exact files to modify. Just wanted to know if anybody has had a look at that
civil.scholar said:
Yes it is , but i cant add more than one app
maybe in official rom ....
Click to expand...
Click to collapse
Wat i wanted to know is if we just add any1 app(1 app only) will it work bcoz polaris comes along with the frimware and so its supposed to work...but other apps(in my case nfs) have all those security codes which were generated by another phone and so its not supposed to work( u know samsung did this to prevent spoofing)
So i thought if we extract Aspalt 5 which came preloaded with bada 1 will work but was lazy to try it out
navinng said:
Wat i wanted to know is if we just add any1 app(1 app only) will it work bcoz polaris comes along with the frimware and so its supposed to work...but other apps(in my case nfs) have all those security codes which were generated by another phone and so its not supposed to work( u know samsung did this to prevent spoofing)
So i thought if we extract Aspalt 5 which came preloaded with bada 1 will work but was lazy to try it out
Click to expand...
Click to collapse
I doubt it. I´ve tried with non spoofed apps and it does not work. It is not the thing of adding just one app, but there is some linking file i can't find to make the app appear and work.

[Q] Advanced Parameters for Image Slideshow

Hey everyone i'm looking to make Zooper cycle through a few different bitmaps. I was thinking that the only way I could do it was based on the minute in hour but i'm not sure how to write out the parameter. Any help would be appreciated!
czonin said:
Hey everyone i'm looking to make Zooper cycle through a few different bitmaps. I was thinking that the only way I could do it was based on the minute in hour but i'm not sure how to write out the parameter. Any help would be appreciated!
Click to expand...
Click to collapse
Checkout this thread: http://forum.xda-developers.com/showthread.php?t=2546483. It should give you the information you need
kwerdenker said:
Checkout this thread: http://forum.xda-developers.com/showthread.php?t=2546483. It should give you the information you need
Click to expand...
Click to collapse
Got it working, thanks for the help!
kwerdenker said:
Checkout this thread: http://forum.xda-developers.com/showthread.php?t=2546483. It should give you the information you need
Click to expand...
Click to collapse
The images was changed automatically, and i also want to creat two buttons ( previous and next image) to change it manually, is it possible?
Oohhlala said:
The images was changed automatically, and i also want to creat two buttons ( previous and next image) to change it manually, is it possible?
Click to expand...
Click to collapse
Only with Zooper, no. You would need Tasker for this kind of setup.
kwerdenker said:
Only with Zooper, no. You would need Tasker for this kind of setup.
Click to expand...
Click to collapse
So could u tell me how to do this by using tasker ?

S3 Camera App Name

Hey guys,
Can anyone grab me the name of the stock camera app? Should be something like com.samsung.camera.
You can get it with an application called APK Extractor from the Play Store.
I need this info for work, so I would really appreciate it.
FYI: I manage devices via an MDM, built a general profile to allow apps, but forgot that apps have different names across different devices.
The app is enabled under the wrong name for this device and I need the name so I can add it to the MDM.
Thanks a lot!
You mean package name**
It's com.sec.android.app.camera
CNexus said:
You mean package name**
It's com.sec.android.app.camera
Click to expand...
Click to collapse
Thank you my good sir

[USERSTYLE/SCRIPT] XDA Forum Sidepanel Hider

What Is This?
New XDA 2015 theme is great and I love it. Too bad, my screen is not that big. This is a huge problem for me. Every post, every thread, every forum, you name it, all the contents are squashed to 30%-40% smaller due to the sidepanel on the right. So I look out for the right css ( yes only css ) to hide the sidepanel. And it works for both Light and Dark XDA2015 theme.
Screenshots
Download
I posted it on my Github. Simply click Raw to install if you have Greasemonkey or Tampermonkey installed on your browser.
Changelog
10-17-17 - Fixed wrong match pattern causing some wont be able to run the script on xda. Credit @tgp1994.
01-01-17 - Fixed script matching condition cannot find the right xda forum url. Thanks for the report @No1VIPER.
06-17-16 - Fixed script not working on recent tampermonkey/greasemonkey updates. Thanks for the report @Salty Wagyu.
12-01-14 - Fixed script not working on FireFox. Just remove the old script and reclick the Raw link above. Thanks @Gabriel51 for reporting.
FAQ
Q: Is this working for other theme?
A: I made this for both light and dark xda2015 theme. 2010 and 2013 doesn't need this.
Q: I found a page with sidepanel is still there!
A: Let me know, post a link to the page and I'll try to fix it.
Q: Are the ads removed?
A: No, but my script is for sidepanel, there's one or two ads on sidepanel. I tuned off adblock for XDA, that's my way supporting XDA.
Q: Can I check the source code?
A: It's available on my Github.
Q: Are there any risks?
A: You can always check the code to make sure it's clean.
Thanks to : @GermainZ for the original XDA Dark script. It took me a few minutes to make my own script yet it's not working so well. With his script, I just need 10 seconds to edit the css part.
This is fantastic, thanks so much!
P.S. I see you're enjoying my XDA Devs avatar template & fonts, eh?
thenookieforlife3 said:
This is fantastic, thanks so much!
P.S. I see you're enjoying my XDA Devs avatar template & fonts, eh?
Click to expand...
Click to collapse
Hah! small screen? [emoji23]
No problem bro, thanks to you too for the avatar. [emoji16]
anazhd said:
Hah! small screen? [emoji23]
No problem bro, thanks to you too for the avatar. [emoji16]
Click to expand...
Click to collapse
Small screen indeed.
Very nice. Tried and it works fine!
How do you install this script and where?
I'm glad the dark theme was mentioned, I was getting a tan off this 32" monitor while on xda.
@Gabriel51,
To use the script, install either Greasemonkey or Tampermonkey on your web browser; then, click here to install the script.
Enjoy! :good:
thenookieforlife3 said:
@Gabriel51,
To use the script, install either Greasemonkey or Tampermonkey on your weh browser; then, click here to install the script.
Enjoy! :good:
Click to expand...
Click to collapse
I assume your talking about Firefox?
I assume there is a place in the program Greasemonkey or Tampermonkey to install the script?
I see it's automatic with Greasemonkey, Thanks
It did remove the column at the right, but this part of the page stayed the same. Is there a way to expand this area?
Gabriel51 said:
I assume your talking about Firefox?
I assume there is a place in the program Greasemonkey or Tampermonkey to install the script?
I see it's automatic with Greasemonkey, Thanks
It did remove the column at the right, but this part of the page stayed the same. Is there a way to expand this area?
Click to expand...
Click to collapse
I did a test on firefox and yeah it's broken now. chrome is still working fine tho. I will fix it if I can. :good:
edit : fixed. easy one, i forgot to force it using !important
Yep that did it.
Thanks...
Gabriel51 said:
Yep that did it.
Thanks...
Click to expand...
Click to collapse
glad it works. thanks for pointing that out :good:
Does it work with Scriptish? I've installed, disabled all blockers, No-scripts ect but still panel is no hidden.
I made quick test and in Scriptish i won't work, but in Greasemonkey yes.
Tried it in Tampermonkey but it doesn't remove the side panel. Does the script need updating, or is there any newer alternatives?
Salty Wagyu said:
Tried it in Tampermonkey but it doesn't remove the side panel. Does the script need updating, or is there any newer alternatives?
Click to expand...
Click to collapse
tampermonkey/greasemonkey must have changed something, I will have a quick look and will update later.
edit: Okay I pushed a small update on the script. It's working fine on me now.
@anazhd It's not working again. Can you take a look at when you get a chance please?
No1VIPER said:
@anazhd It's not working again. Can you take a look at when you get a chance please?
Click to expand...
Click to collapse
Alright. I'll check it as soon as I'm free.
Fixed, thanks for the report @No1VIPER
No problem. Thanks for the quick fix.
When I click on RAW, I get an error message "Impossible to analyze the script" ?
ChefChaudart said:
When I click on RAW, I get an error message "Impossible to analyze the script" ?
Click to expand...
Click to collapse
That's odd. Anyway, just head on to my gist and try clicking raw from there.

[WIP][XPOSED]Trying to find a Lollipop FIX

Hi guys, like you know xposed for Android 5 on our device break some system app like LGCover and LGWeather. This because the new Xposed use some binary built from the AOSP source that don't work with the above apks that contain an encrypted classes.dex ( AES128-CBC ).
Since decrypt that classes is quite impossible i started a different approach. So i looked inside the dalvik-cache where all the dex built by the compiler are stored.
Theese classes contains also the original classes.dex code.
example: /data/dalvik-cache/arm/[email protected] @....dex
Structure:
USELESS CODE
CLASSES.DEX ( that start with the magic dex.035 )
USELESS CODE
Header of the classes.dex
Offset.............Size...........Description
0x0................8................'Magic' value: "dex\n009\0"
0x8................4................Checksum
0xC...............20...............SHA-1 Signature
0x20..............4................Length of file in bytes ( in Little endian and hex value )
....
Getting that class is quite simple when you know how the dex header is formatted so i cut off the useless code and got the original classes.dex that can be decompiled with baksmali and used inside the apk.
Unfortunately this method doesn't work for the dex that were encrypted. Or at least, I'm missing the last step because there's something wrong with the code in this extrapolated class since the SHA1 signature appears to be wrong and consecutively also the Checksum are incorrect.
So, from my point of view we have 2 possible scenario:
1- the length of the classes that we can find in the header is wrong; ( most probable for me )
2- the code of the dex has been changed by the system.
Wish you can suggest me some ideas.
@suljo94 @P_Toti pls check this and tell me what you think. Tnx.
Skin1980 said:
methode 1
Click to expand...
Click to collapse
could you check if an system service is activated when the lgcover apk is called(to decrypt), if not the key might be saved in the app source code (might be obfuscated)
suljo94 said:
could you check if an system service is activated when the lgcover apk is called(to decrypt), if not the key might be saved in the app source code (might be obfuscated)
Click to expand...
Click to collapse
Yes probably the code is obfuscated... might try with Ida pro and a dedicated plugin
Sent from my SM-N910F using XDA Free mobile app
Skin1980 said:
Yes probably the code is obfuscated... might try with Ida pro and a dedicated plugin
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
I am sorry that I can't help(ffor now), this week is an vacation and I as a poor student have to work to pay off those expensive books
ontopic: @jcase said he would look into it in the other thread, maybe he found something intressting in the meanwhile
suljo94 said:
I am sorry that I can't help(ffor now), this week is an vacation and I as a poor student have to work to pay off those expensive books
ontopic: @jcase said he would look into it in the other thread, maybe he found something intressting in the meanwhile
Click to expand...
Click to collapse
Well... with @jcase all is possible !
Sent from my SM-N910F using XDA Free mobile app
Skin1980 said:
Well... with @jcase all is possible !
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
so I found a system service that gets called when the lgsmartcover app crashes to many times. the system restarts it together with lgcover. it is part of lgcover so I am hopping lg was so stupid to save the key in the same file as the encrypted container
suljo94 said:
I am sorry that I can't help(ffor now), this week is an vacation and I as a poor student have to work to pay off those expensive books
ontopic: @jcase said he would look into it in the other thread, maybe he found something intressting in the meanwhile
Click to expand...
Click to collapse
Skin1980 said:
Well... with @jcase all is possible !
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
Its just encrypted, easiest route is to snag from the cache and deodex as someone said above, if yall really need something to decrypt it ill look at again when i have time
jcase said:
Its just encrypted, easiest route is to snag from the cache and deodex as someone said above, if yall really need something to decrypt it ill look at again when i have time
Click to expand...
Click to collapse
Would be great... tnx a lot!
Sent from my SM-N910F using XDA Free mobile app
jcase said:
Its just encrypted, easiest route is to snag from the cache and deodex as someone said above, if yall really need something to decrypt it ill look at again when i have time
Click to expand...
Click to collapse
Could you tell us why the SHA1 signature is incorrect?
suljo94 said:
Could you tell us why the SHA1 signature is incorrect?
Click to expand...
Click to collapse
incorrect? Which sha1? in the siguatre, or in the dex header?
jcase said:
incorrect? Which sha1? in the siguatre, or in the dex header?
Click to expand...
Click to collapse
Dex header(see op)
suljo94 said:
Dex header(see op)
Click to expand...
Click to collapse
meh who cares, the sha1 doesnt matter, just fix the alder32 checksum, or correct them both.
suljo94 said:
Dex header(see op)
Click to expand...
Click to collapse
Probably the sha1 is added before the obfuscation method.
Sent from my SM-N910F using XDA Free mobile app
Skin1980 said:
Probably the sha1 is added before the obfuscation method.
Sent from my SM-N910F using XDA Free mobile app
Click to expand...
Click to collapse
did you salvage th whole classes.dex or just partially?
and is recalculating the sha1 and alder32 an option (if you salavaged it completely)
can we use dexguard for deobfuscation?
how did you open the file? I can't dex2jar it because it keeps saying that it isn't a dex file.
so many questions......
suljo94 said:
did you salvage th whole classes.dex or just partially?
and is recalculating the sha1 and alder32 an option (if you salavaged it completely)
can we use dexguard for deobfuscation?
how did you open the file? I can't dex2jar it because it keeps saying that it isn't a dex file.
so many questions......
Click to expand...
Click to collapse
try to look into the classes dex with an hex editor, it's encrypted and that's why you can't use tool like that on the original dex.
If you want play, this is the dex i extracted from the dalvik-cache of the LGweather apk:
https://mega.co.nz/#!DsRHQaBL!YInp8fsaRpzZ3dbHogbNytWZfzedF9Le_PndvnmhSQs
The software i tryed fail to decompile it but maybe you are more lucky
Skin1980 said:
try to look into the classes dex with an hex editor, it's encrypted and that's why you can't use tool like that on the original dex.
If you want play, this is the dex i extracted from the dalvik-cache of the LGweather apk:
https://mega.co.nz/#!DsRHQaBL!YInp8fsaRpzZ3dbHogbNytWZfzedF9Le_PndvnmhSQs
The software i tryed fail to decompile it but maybe you are more lucky
Click to expand...
Click to collapse
some surfing aroud caused me to find which file decrypts lgcover it is the libgalmond.so file
the colprit it contains some interesting code "adler inflation"
@jcase it has been 2 months and I tried a few things but since you know more about this could you please tell me how to get the correct adler32 checksum? maybe for lets say 1 of those cheap wines you like
suljo94 said:
some surfing aroud caused me to find which file decrypts lgcover it is the libgalmond.so file
the colprit it contains some interesting code "adler inflation"
@jcase it has been 2 months and I tried a few things but since you know more about this could you please tell me how to get the correct adler32 checksum? maybe for lets say 1 of those cheap wines you like
Click to expand...
Click to collapse
Tim Strazzere and I may be talking about it at qualcom next week, wait and see if our slides cover it.
jcase said:
Tim Strazzere and I may be talking about it at qualcom next week, wait and see if our slides cover it.
Click to expand...
Click to collapse
so I got the slides and I am starting to think that the problem could be that xposed links app_process32 to app_process32_xposed and that the shared library gets injected into the wrong file (app_process32)

Categories

Resources