Can I use MySQL with an Andriod app? - Android Studio

I'm just learning Android. I have web sites that I have built that connect to a MySQL database. I'd like to use this information in an app I'm thinking of building. Can I connect to and use data in MySQL?

deleted

Crystar Games said:
deleted
Click to expand...
Click to collapse
Why?

Just make query to server. In android, it support SQLite, almost the same as SQL

Mysql used on web server. You can use "SQLite" database on android. And then also you can use ORM(ORMlite, Activeandroid, Greendao)
---------- Post added at 12:11 PM ---------- Previous post was at 11:51 AM ----------
Also you can use SharedPreferences to save data.

Related

Error casting tabs

I've rooted, installed Eureka and everything has been peachy until tonight. Now I'm able to cast YouTube from my tablet and from the player in Chrome but if I try to cast a tab then the Chromecast shows "404 cannot find the requested version of the receiver app." Something something try again later, update the browser's CV extension. I've been able to cast tabs before tonight without issue. Searching was fruitless. Chrome and the cast extension are up to date. Rebooting the desktop and chromecast did not help either.
Any help in resolving this would be greatly appreciated.
im having the same problem. Im able to use Fling but not Cast a tab
Sorry to hear this, I'll check my own now and do some troubleshooting!
Get back to you shortly with the results of my tests.
---------- Post added at 09:55 PM ---------- Previous post was at 09:24 PM ----------
Hi All,
Just did some checking and this appears to be a problem based on some changes from Google.
As of the latest updates to the Chrome plugin for chromecast it is no longer trusted against the older receiver (that we use for fling support). This is greatly unfortunate and we'll look to a solution as soon as possible.
In the mean time you can regain this functionality by changing your whitelist provider to google and restarting (however will lose fling and all the other nice goodies), we'll look at getting this fixed as soon as we can.
Kind regards,
Kyonz
---------- Post added at 10:13 PM ---------- Previous post was at 09:55 PM ----------
Hi All,
I managed to force the receiver version so it believes it's being sent from the old receiver and thus loads correctly.
This appears to be working (have tested via both tab casting and fling) and is now pushed out to the Team Eureka whitelist (you can reboot to force your device to update or it will receiver it within the next 24hours).
Sorry about this bug being experienced and thanks for bringing it to my attention via this thread. If you have any issues please let me know.
Kind regards,
Kyonz
Error Casting
Kyonz said:
Sorry to hear this, I'll check my own now and do some troubleshooting!
Get back to you shortly with the results of my tests.
---------- Post added at 09:55 PM ---------- Previous post was at 09:24 PM ----------
Hi All,
Just did some checking and this appears to be a problem based on some changes from Google.
As of the latest updates to the Chrome plugin for chromecast it is no longer trusted against the older receiver (that we use for fling support). This is greatly unfortunate and we'll look to a solution as soon as possible.
In the mean time you can regain this functionality by changing your whitelist provider to google and restarting (however will lose fling and all the other nice goodies), we'll look at getting this fixed as soon as we can.
Kind regards,
Kyonz
---------- Post added at 10:13 PM ---------- Previous post was at 09:55 PM ----------
Hi All,
I managed to force the receiver version so it believes it's being sent from the old receiver and thus loads correctly.
This appears to be working (have tested via both tab casting and fling) and is now pushed out to the Team Eureka whitelist (you can reboot to force your device to update or it will receiver it within the next 24hours).
Sorry about this bug being experienced and thanks for bringing it to my attention via this thread. If you have any issues please let me know.
Kind regards,
Kyonz
Click to expand...
Click to collapse
I rebooted the chromecast multiple times and it says that it updates through Eureka but when it's all done I keep getting the message "404 - Not Found cannot load the requested version of the CV receiver app. Please try again later. If the problem persists, try updating the CV extension in your browser".
Kyonz said:
Just did some checking and this appears to be a problem based on some changes from Google.
As of the latest updates to the Chrome plugin for chromecast it is no longer trusted against the older receiver (that we use for fling support). This is greatly unfortunate and we'll look to a solution as soon as possible.
Click to expand...
Click to collapse
With the public release of the SDK the receiver went from V1 to V2.
Both should still work (because Plex is still using the old receiver if I'm not mistaken) but there may be something different in the way it gets called such as doing a check on the Whitelist for which receiver is required?
A few things to try:
Make sure you network is set to Home Network not private or public.
Make sure you disable any virtual network cards like what Virtual Box installs.
If on Windows 8 , right click on your wireless network and make sure Sharing is turned ON.
Windows 8.1 Change PC Settings, Network, pick your network, Find devices and content is set to ON.
r00t4rd3d said:
A few things to try:
Make sure you network is set to Home Network not private or public.
Make sure you disable any virtual network cards like what Virtual Box installs.
If on Windows 8 , right click on your wireless network and make sure Sharing is turned ON.
Windows 8.1 Change PC Settings, Network, pick your network, Find devices and content is set to ON.
Click to expand...
Click to collapse
Well, I tried casting today and without rhyme or reason it started working so, thanks for the suggestions.
Also, I wanted to know can I cast TWC via Chromecast browser because I get the message "contents on this page is not supported"
loceys said:
Well, I tried casting today and without rhyme or reason it started working so, thanks for the suggestions.
Also, I wanted to know can I cast TWC via Chromecast browser because I get the message "contents on this page is not supported"
Click to expand...
Click to collapse
I suspect it was always a Google Backend problem...
How to implement V2 of the receiver while trying not to break those who still used V1 or had not updated to the new GServices yet.
They didn't succeed at first try I bet! LOL

[Q] Sync all, at the same time?

Feeling really stupid here... there should be a way to do this, but for the life of me, I can't figure it out.
I want my gmail, facebook, newsreader, etc... to all fetch data at the same time and on the same interval. I see tantalizing clues here and there that this is possible and should be easy, but I can't get it.
Relevant info:
Moto X
Republic Wireless
4.2.2
No Root
According to RW, I should have 4.4.2 in a couple of weeks, if that changes anything.
Thanks
Tasker could work, but needs root.
Not sure of anything else myself. Will be tricky cause Google syncs, and apps like Facebook are pushes..... Very different things.
---------- Post added at 04:15 PM ---------- Previous post was at 04:13 PM ----------
You could use something like juice defender to only allow a data connection at set intervals.....but if you're a moderate to heavy user, it will consume more battery than it saves.
If you're a very light user, well then it may be beneficial.
Thank you!
kj2112 said:
Tasker could work, but needs root.
Not sure of anything else myself. Will be tricky cause Google syncs, and apps like Facebook are pushes..... Very different things.
---------- Post added at 04:15 PM ---------- Previous post was at 04:13 PM ----------
You could use something like juice defender to only allow a data connection at set intervals.....but if you're a moderate to heavy user, it will consume more battery than it saves.
If you're a very light user, well then it may be beneficial.
Click to expand...
Click to collapse

Fonts without ads

I am looking for some different fonts I can download without having ads put up in my notification panel. I've tried a couple from the PlayStore, but I got crazy ads because of them even though I have a blocker.
Sent from where the wind begins....
What blocker are you using? Does it get updates? Can you blacklist host names with it? If so, run tcpdump so it's empty. Then make an ad appear so the tcp logs it. Now read the tcp log to see host names and blacklist the ones bringing ads.
Another way...... If you're using a font application that's bringing ads, you can use an app like android tuner to revoke it's network permissions.
440bro said:
What blocker are you using? Does it get updates? Can you blacklist host names with it? If so, run tcpdump so it's empty. Then make an ad appear so the tcp logs it. Now read the tcp log to see host names and blacklist the ones bringing ads.
Another way...... If you're using a font application that's bringing ads, you can use an app like android tuner to revoke it's network permissions.
Click to expand...
Click to collapse
Using AdAway. I've always wondered though I'd the was a better alternative to it.
Never heard of Android Tuner, but will look into it. Sounds interesting.
Sent from where the wind begins....
https://play.google.com/store/apps/details?id=ccc71.at.free
Android tuner has many, many features! If you open it and select "app manager" you will see a "perms" tab, or permissions. Touch that and let it load. Once it's loaded touch the "perms" category at the bottom so you can see all your apps. Now scroll down to rogue app abd touch it. You can now revoke permissions. Like Facebook messenger needs half it's permissions revoked. The font app you use probably doesn't need full network access, and that's what is bringing the ads in. Block it, and test. Use caution when revoking permissions. Revoking the wrong one may break the apps function. If it does, just unblock it. Never revoke system app permissions.
---------- Post added at 11:49 AM ---------- Previous post was at 11:46 AM ----------
http://adfree.bigtincan.com/
I use adfree by bigtincan. It's never failed me in the 5+ years I've used it.
---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------
Sorry if my tutorial is poor. I'm on lunch and using the phone. I can provide better walkthroughs later if desired.
440bro said:
https://play.google.com/store/apps/details?id=ccc71.at.free
Android tuner has many, many features! If you open it and select "app manager" you will see a "perms" tab, or permissions. Touch that and let it load. Once it's loaded touch the "perms" category at the bottom so you can see all your apps. Now scroll down to rogue app abd touch it. You can now revoke permissions. Like Facebook messenger needs half it's permissions revoked. The font app you use probably doesn't need full network access, and that's what is bringing the ads in. Block it, and test. Use caution when revoking permissions. Revoking the wrong one may break the apps function. If it does, just unblock it. Never revoke system app permissions.
---------- Post added at 11:49 AM ---------- Previous post was at 11:46 AM ----------
http://adfree.bigtincan.com/
I use adfree by bigtincan. It's never failed me in the 5+ years I've used it.
---------- Post added at 11:50 AM ---------- Previous post was at 11:49 AM ----------
Sorry if my tutorial is poor. I'm on lunch and using the phone. I can provide better walkthroughs later if desired.
Click to expand...
Click to collapse
Understood with no problems.
Thanks.
Sent from where the wind begins....

Old Android Phone and RPi's CPU&memory power combined

Hey guys,
I've been thinking of how to put my old Android phone to good use (aside from using it as a remote for RPi). What I had in mind is, if it is possible to boost Rpi by somehow making Android's CPU power and memory available to the Rpi. Let's say for instance I have a phone with a dual core mtk6577 processor and 512MB of RAM. If it was possible to combine it, we could improve Rpi's computing power and maybe even add some new functionalities...
This is just a wild guess for me, but that's why forums are for, right?
You could create a high
performance cluster out of at least 2 RPis to combine their computing power.
But with an android phone it won't work...
Yes, I've seen multiple Rpi's connected together.
But to recycle old phones, is there no option to connect and use them via GPIO?
This sounds possible...
Something like gpiotoolforraspberrypi app ?
Kind of... I'm thinking of simultaneously sharing phone's resources (CPU and RAM) and also other hardware (BT, GPS sensors, gyroscope, etc.). To enhance the RPi without having to buy all of the components that are already in the smartphone? And instead make use of them?
Sharing the android's sensors is pretty easy (there are some apps such as Wireless IMU )
But what do you want to run on your RPI?
---------- Post added at 03:43 PM ---------- Previous post was at 02:52 PM ----------
Here is a good solution for you (works also with PCs):
On android you will need Linux deploy app that emulates a soft version of linux on to your phone. Then you can install the cluster software on it...
(Ask me for a full tutorial )
outis151 said:
Sharing the android's sensors is pretty easy (there are some apps such as Wireless IMU )
But what do you want to run on your RPI?
---------- Post added at 03:43 PM ---------- Previous post was at 02:52 PM ----------
Here is a good solution for you (works also with PCs):
On android you will need Linux deploy app that emulates a soft version of linux on to your phone. Then you can install the cluster software on it...
(Ask me for a full tutorial )
Click to expand...
Click to collapse
I only want to enhance the performance of the Rpi, since it's a bit laggy sometimes (primary use is XBMC media center).
To further expand my imagination... What about using only the phone's touchscreen as a display?
rhri3 said:
To further expand my imagination... What about using only the phone's touchscreen as a display?
Click to expand...
Click to collapse
Easy, use teamviewer. Probably want a screen to set it up though.
Jesse72 said:
Easy, use teamviewer. Probably want a screen to set it up though.
Click to expand...
Click to collapse
SSH (putty) and vncserver
sudo apt-get install vncserver
sudo vncserver : port to listen on

[Android 3.0+] Phone Tracker - Android phone tracking application

Update 17 June 2016
For anybody who ever lost their phones.
There's few sufficient phone tracking application for Android that still can work after Factory Reset. If you lose your phone and the picker doesn't want to return it back to you, all he need to do is reset your phone and Android Device Manager will down right after. You may lose your phone forever.
NSA Tracker is an invisible Android Phone Tracking Application that can help you you:
1. Record all your phone calls into audio file
2. listen to your SMS incoming and outgoing
3. Hourly record your device location.
4. All information will be attached and sent to your own email.
My app doesn't have any icon on device screen, opened by USSD code with password protected, so if anyone illegally possess your device, he will certainly not aware that the NSA Tracker was installed and is running. This app doesn't use intermediate server, so you can be free from worrying about privacy. NSA Tracker support Gmail, Yahoo mail, Hotmail and Outlook Mail.
NSA Tracker will need your email address and email password to send email to you. With the above mentioned information that she's listening, there will be a lot of email that will be sent to you everyday. So it's better that you give her a new email account.
I- How to install
Download NSA Tracker from this link below:
https://drive.google.com/open?id=0Bxgc8Lcuu3PWNHFmWlRiemprb2c
II- How to open
For the first-time start up, NSA Tracker will be opened by NSA Helper (app-to-app opening). But from the second time afterwards, you have to open it using USSD code:
*2718*password# -->call (Please be reminded that 2.718 is mathematical constant e)
After the first time, you can remove NSA Helper. don't forget the USSD code above to open NSA Tracker.
III- On Root Device
If your device is rooted with superSU installed, NSA Tracker can install itself (named NSA Service) into /system/app/ folder. If NSA Service is successfully installed, it will be very difficult to uninstall it, even factory reset will not be able to remove it. After Factory Reset, NSA Service still can run immediately without the need of re-configuration and continue send email to you.
V- Why I develop it
As mentioned above, I don't want any of us lose our devices. So this app is expected to be installed on your own device. In some countries or states, phone call recording may be illegal without the permission of one and/or two callers. So you have to make sure by yourself that, call recording is legal in your country. You can turn it off.
VI-Disclaimer
By installing NSA Tracker, you acknowledge that the usage or redistribution of NSA Tracker, herein after referred to as This App, conforms to all applicable laws in your country. This App will be installed only on your own devices. Any behavior that trying to redistributing This App or to install This App on other people's devices, includes but not limited to smart phones, tablets, smart watch... without their prior permission is illicit. You have to bear full liability for that kind of behavior. The developers of This App assume no liability for any kind of law violation regarding to your usage or redistribution of This App.
Step-by-step installation manual
softphan.com
Hope you enjoy my app and don't do evil things with it.
New update on Version
1. NSA Tracker work more persistent.
2. Update Report form.
3. Fix bug lost email
4. Minor interface update.
New update for XDA member: no limitation on free version for SMS listening and GPS Location report. Link update.
Well, a member inbox me ask about whether it can send phone activities after get Internet Connection. The answer is yes. It will store everything in its own database. When the phone resume internet connection, It will start re-sending email to you. There is only one case that cause my app fails, that is when you make a phone call longer than two hours and the recording file size is larger than 25 Mb. Google Email will not accept that size and NSA Tracker will delete the file without sending it to you.
The reason why I don't use server is that, your very sensitive data if upload onto a server, will face security threat. Without server, i don't have to maintain anythings and you don't have to pay any extra money. Pay one- use forever.
hi,
what if my phone is non-root. what are the disadvantage of this??
sample - if my phone is factory reset it will remove the "NSA Tracker" or not?
tiancris said:
hi,
what if my phone is non-root. what are the disadvantage of this??
sample - if my phone is factory reset it will remove the "NSA Tracker" or not?
Click to expand...
Click to collapse
Hello,
If your phone is not root, you could not install NSA Service to system/app folder. So factory reset will remove every thing, you can not track it after reset. On unroot device, you still can install Smart Call Recorder and then NSA Tracker and NSA Tracker is still invisible.
thanks for the answer.
i think about it for rooting my device.
tiancris said:
thanks for the answer.
i think about it for rooting my device.
Click to expand...
Click to collapse
Your're welcome.
New release will be public today or tomorrow. New function to be added:
Remote configuration/ Remote Configuration Clearance (evident clearance)/ Remotely Turning On Tracking: by 144-character encrypted SMS message.
New function has been added on latest release on NSA Tracker 1.1.2. Now you can:
1. Remotely configure NSA Tracker through SMS
2. Remotely clear all configuration (evidence clearance if you think your phone will not be back anymore)
3. Remotely turn on tracking.
This function was added as per request of an xda member. But frankly speaking, I think only the No. 2 is useful.
tiancris said:
hi,
what if my phone is non-root. what are the disadvantage of this??
sample - if my phone is factory reset it will remove the "NSA Tracker" or not?
Click to expand...
Click to collapse
Hello tiancris,
Are you in Manila?
I miss Makati so much.
Some small modification had been made. App name change to Phone Tracker and Phone Service.
Phone service now register for phone call recording which is faster than any call recording application.
With best regards,
Cuong Phan said:
Hello tiancris,
Are you in Manila?
I miss Makati so much.
Click to expand...
Click to collapse
yeah. im in manila
Small modification had been made in 1.1.4 version. Ram consumption less than 4Mb, more stable.
Update installation manual link.
@Cuong Phan nice idea but a question.
1. i see the app is recording all this information throughout the day and sending you emails with the info, throughout the day. Is the info stored on the phone indefinitely or deleted after the email is sent?
2. due to privacy concerns, i keep GPS and location providers off and use other programs to limit connectivity. how is the app gathering the devices location?
Again, thanks for the work on this. seems very interesting, especially for those of us who have had a phone stolen.
Dear Sherrif,
The app has its own database that store pending emails. When internet connection is off it will stay dormant and waiting. When email is sent to you, all data for that email will be deleted from internal storage.
2. My app will not ask user to turn on GPS (that behavior can make my app visible to user) so when location is off, it could not get location report. But Google Maps usually & publicly request location to be turned on, and once it get location turned on, it never turn location back off state ( unless user turn it off themselves). That's the logic of my app, and it's usually successful in gathering device location.
@Cuong Phan thanks for the info. Will try and report back... i like the idea of this
_Sherrif said:
@Cuong Phan thanks for the info. Will try and report back... i like the idea of this
Click to expand...
Click to collapse
Thank Sherrif. If you have any requirement for the app, please post it here. We may include it in the next update.
Im going to try this app
Very much interested
I use find my droid, Android device manager ,both currently let me see if you can make me uninstall both of them
---------- Post added at 03:46 PM ---------- Previous post was at 03:44 PM ----------
Your step by step guide for installation link doesn't exist
---------- Post added at 04:07 PM ---------- Previous post was at 03:46 PM ----------
I have a problem with the e mail entering part the app refuses to sent me e mail to verify
---------- Post added at 04:07 PM ---------- Previous post was at 04:07 PM ----------
Snapshot in below link
https://drive.google.com/file/d/0BybaCgyeR0mkWjdGOHliTDRDcWs/view?usp=docslist_api
---------- Post added at 04:27 PM ---------- Previous post was at 04:07 PM ----------
Oops that problem is solved automatically
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
I use a moto g3
When I try to install the app to root it tells me s -off and that I need s-on can you please explain
Wayne_Bruce said:
Im going to try this app
Very much interested
I use find my droid, Android device manager ,both currently let me see if you can make me uninstall both of them
---------- Post added at 03:46 PM ---------- Previous post was at 03:44 PM ----------
Your step by step guide for installation link doesn't exist
---------- Post added at 04:07 PM ---------- Previous post was at 03:46 PM ----------
I have a problem with the e mail entering part the app refuses to sent me e mail to verify
---------- Post added at 04:07 PM ---------- Previous post was at 04:07 PM ----------
Snapshot in below link
https://drive.google.com/file/d/0BybaCgyeR0mkWjdGOHliTDRDcWs/view?usp=docslist_api
---------- Post added at 04:27 PM ---------- Previous post was at 04:07 PM ----------
Oops that problem is solved automatically
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
I use a moto g3
When I try to install the app to root it tells me s -off and that I need s-on can you please explain
Click to expand...
Click to collapse
[/COLOR]I have a problem with the e mail enter
Dear Bruce,
It's quite ridiculous that I was also unable to enter into my blogspot link for a while, but now it's okay without any action (may be Google down??? quire ridiculous ha?). However i just update the link, directly to the article. You may try one more time.
I know on some devices, updating email may occur some errors, so I have shown instruction step-by-step in red color. You'd better try from:
1. Turn off NSA Tracker completely (completely mean when you open it, it's reopen, not resume from pause. You can restart your phone and reopen NSA Tracker to complete it).
2. Just try to re-update email again.
3. Even testing email is not successful, email and password had been updated. You may try to make a phone call to anybody for a few seconds to test whether NSA Tracker can send to you call recording email or not.
If problem still persist, email me again.
4. You're using a Moto G3, so it's possibly similar to my HTC One E8. It has an S-ON mechanism, that block all modification of system folder. So even your phone is rooted, it's still impossible for SuperSU to change system file unless your phone is S-OFF. That why the NSA said that the process may not be successful. You may try how to S-OFF your device here, using Sunshine tool. It costs 25 USD (but it worths because after S-OFF, your device is free to install other ROMs)
http://theroot.ninja/
Thanks and best regards,
I have downloaded sunshine apk should I install it
---------- Post added at 04:30 AM ---------- Previous post was at 04:27 AM ----------
Unable to continue with sunshine some kind error

Categories

Resources