yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] petalyaa:
Recently, data drop issue happened frequently in my evo3d with JB rom. Im getting more annoyed with this. And when it happened, the only thing to fix it is by turning mobile data off and then turn it on again. It is time consuming because from time to time, i have to check my phone for notification, and if no notification, i have to make sure that is it due to data drop issue. So i thought, i just create an app to simulate what im doing now as a workaround for this issue.

But, this is just initial release, don't expect more from it. After a day running, i have no data drop issue (actually, still happen, but before i notice, this app already fix it). This first release only to get the core functionality running. I will update this app for more feature and do some other optimization.

This app might use some additional data to 'ping' to internet every 'n' second.

Installation :

Download apk from attachment.

Install it like normal apk.

Open the app and click Start service

Enjoy..

Changelog :

v0.3 (20130118)

Added history view.

v0.2.3 (20130112)

Fix issue with screen orientation (force close). Now lock it in portrait mode.

Fix issue start on boot complete.

v0.2.2 (20130110)

Added interval type (seconds, minutes, hours)

Added start on boot (experimental)

v0.2.1 (20130109)

Fix issue setting lost upon reboot.

v0.2 (20130107) :

Added checking interval in setting tab.

Skip checking when connected through wifi.

v0.1 (20130106) :

Initial Release

Screenshot :

If you experience any issue or have any suggestion or experienced any battery drainage, report it here.

Credits :

Google for the great OS.

All developers in here for making a good job with the ROM/Kernel.

My girlfriend, Alya for understanding my hobby in development. :p

Everyone in this community for keep on making this forum alive!
[HTC EVO 3D] jekyll86:
Does it consume battery?
[HTC EVO 3D] petalyaa:
Im running it almost a day(because i finish developing it this morning) and i don't notice any battery drainage. I'll continue using it few more days and see if it consume more battery.
[HTC EVO 3D] MistedEvo:
Genius

Great idea and really useful for people that flashed a custom Sense or Jellybean ROM.

Should be sticked! :good:
[HTC EVO 3D] johnnyslt:
What does this apk do actualy to fix the data drops?
[HTC EVO 3D] wigginst:
Giving it a shot. Thanks!
[HTC EVO 3D] Shadow89:
He kind of answered that in the OP. It is basically doing what one does manually, which is turning the internet off and on.

It is for what I understand always checking for internet connection, and when it does not find it, it restarts the process.

I will give this a try.

I do have one question though. What happens if you are in an area of no internet connection? Will it keep resetting, or does it stop trying after a bit?
[HTC EVO 3D] austrie:
I thought of the idea when I first got the issue but dont have my development laptop anymore so I couldn't make it. Thanks bro for making this app

Edit: So do this start automatically, so we don't have keep enabling after each reboot, or is that coming soon?
[HTC EVO 3D] k2buckley:
Gonna give this a go right now. Thanks for the app, I'll report my results.
[HTC EVO 3D] petalyaa:
For now, yes it will keep resetting the network. I already think about that but haven't implement it to the app. So, might consume more battery here. Maybe I'll add it in future.

Thanks for the idea. Haven't thought about that. I'll add that feature to start on boot. For now, still need to be turn on manually for each reboot.
[HTC EVO 3D] austrie:
And the ability to set the timespan between each check for data; virgin mobile throttles after 2.5gb. Right now it seems to check every 5 seconds.
[HTC EVO 3D] petalyaa:
Yeap, currently is set to 5 seconds. Will upload the latest apk with ability to modify interval between each checking later. Its already done, but pending testing. I've set it to 5seconds minimum and 60 seconds maximum. Is it okay to you or you have any other value in mind?
[HTC EVO 3D] austrie:
Sixty seconds is okay; though what about every hour or half a hour?
[HTC EVO 3D] petalyaa:
Okay, let me think of a best way to do that.
[HTC EVO 3D] austrie:
You should also have the settings(interval) stick(remember) after reboot, because right now they don't.
[HTC EVO 3D] petalyaa:
Okay, just fixed that issue and re-upload the apk. Next will be setting to start on boot. :D
[HTC EVO 3D] austrie:
Thanks for looking out for the community.
[HTC EVO 3D] dueltothedeath:
This app is a god sent.. I've always had to deal with these freaking data drops ever since i started flashing roms on the evo.. Thank you so much for sharing.. :D
[HTC EVO 3D] austrie:
Petalyaa, for intervals, you could do it in minutes instead of seconds since data drops don't happen every minute. In the app code, just keep everything the same but times the original interval values by two.
[HTC EVO 3D] petalyaa:
Im working on it but i've another idea which is to put a dropdown to choose between seconds, minutes and hours.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jdg1:
I have a class 10 64 gb micro sd card installed in my SN10.1. It works fine in the tablet but I cannot mount it while in recovery for flashing ROMs or making backups. Has anyone figured a wor around for this. I am using TWRP currently.

Edit: The card is formatted fat32
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Try a different recovery .

jje
[Nexus 4 Q&A, Help & Troubleshooting] spazzynexus:
I've had my Nexus 4 for a little more than a month now and I recently just tried google wallet yesterday. When I got my phone begining of december I set up google wallet and I had no problems during the setup. Yesterday I went to Wawa and I'm like ok I think its time to test out google wallet. It says I need to input my pin on google wallet after I tapped it at the register, I selected my card on google wallet and at the register it asked me if it was debt or credit, I chose debt (as my card is a debt card) and it promted me to put my pin in, after I did the cashier said it wouldn't accept it. I've heard of the att and tmobile new micro sims have ISIS built in that blocks google wallet, but I don't have a newer micro sim. I have a older T-mobile sim card from about a year and a half ago (standard size not micro) and I cut it to fit my nexus 4. Anyone else having this problem?
[Nexus 4 Q&A, Help & Troubleshooting] desynch-:
You should run it as Credit. If you run it as Debit, technically you'd need a pin to complete the transaction, right? Upon selecting your card when you set up Wallet, a virtual credit card is automatically created that is linked to your debit card -- there's no PIN involved here. When you select Wallet to pay, all the merchant sees is the virtual credit card that's been set up for you.

I've used Wallet a few times and the transactions are seamless. Just tap (technically place) down on the NFC enabled platform and then go.

ISIS is only currently in select markets, so I don't imagine them offering ISIS sims in markets where there IS no ISIS.
[XPERIA X8 Q&A, Help & Troubleshooting] senci00:
Hi! I know this is not about Xperia X8 question. :o But this is about Rom making. When i got help with rom one did say that i should download Linux Mint 11 and i did when i installed the kernel i did install when the install was almost finished i got overheat problem it came as a message on my laptop. So i need help.

My Laptop specs:

HP Pavilion g6

Windows 7 Home Edition

Intel Core i5-2410m CPU 2.30GHz

Ram 4.00gb

64-bit

I downloaded Linux Mint CD no codecs (64-bit)
[XPERIA X8 Q&A, Help & Troubleshooting] fotak-x:
If windows works then repeat instalation
[XPERIA X8 Q&A, Help & Troubleshooting] senci00:
I did several times and I tried Linux 10 but I still get same problem. But can I build rom with Ubuntu?
[XPERIA X8 Q&A, Help & Troubleshooting] Leon1234:
Ubuntu is the most favoured OS for rom making. Best choice for you will be Ubuntu.
[Raspberry Pi Q&A, Help & Troubleshooting] B-vb:
Hello everybody,

I recently bought my RaspberryPi for a school project, but I have no experience with python or coding in general.

My guess this isn't too hard to develop, but with no knowledge I won't come far.. I really hope one off you would like too help me (:

I am setting op a 'Hall of Fame' in my school, but I want to make it more interactive, so I figured this;

My RaspberryPi connected to a flatscreen and a numberlockpad, to show people short video clips of people in this 'Hall of fame'.

The idea is this;

1. On the screen is a box that states; "Insert birthdate here and hit enter".

2. When people do that, a short clip, about 1 - 2 minutes and stored on the SD, will be shown.

3. When it's ended, the screen with "Insert birtdate here and hit enter" has to come back.

I hope this is will be possible, and that anyone would like to help me..

You will definately be credited!
[Raspberry Pi Q&A, Help & Troubleshooting] InverseSandwich:
I'd imagine you'd want to use PyGame for the interface and then pass a command to omxplayer. I'd love to help you out but life is a bit frantic at the moment.

---------- Post added at 10:37 PM ---------- Previous post was at 10:35 PM ----------

Check my python thread. It has links to some resources.
[Raspberry Pi Q&A, Help & Troubleshooting] m2xtreme:
That is definitely possible and probably won't require much programming to get working. Making it pretty will be more challenging, but so long as you focus on the underlying script first you should be fine.

You should start by learning some Bash and/or Python.

Create a script that will prompt the user for birthday inputs (i.e. Enter Month of Birth).

Create another for script for launching the video in full screen (i.e. Enter Name of Video to Play).

Then you only need to tie these scripts together in another script such that when a user enters each input (year, month and day) it will funnel the strings into the video launching script. If your videos are named logically (i.e. with date codes as thier names) it will be trivial to set up.

I'm happy to help out in my free time when I can, but you have to make the effort yourself first. If you ask specific questions you'll be more likely to get help too. I doubt anyone here is willing to just code this for you. The whole point of the Raspberry Pi is that it is supposed to promote education and insprire people to learn how to code :D
[Raspberry Pi Q&A, Help & Troubleshooting] B-vb:
Hi, Thanks for your reply, and you are completely right. I am going to do that! :D

Do you maybe know a way to start with python? Could this be a good starting point?

Great idea, to split the action in 2 seperate scripts, I guess, but I am going to try to make it work.

Thank you for your reply, I am going to learn some python basics and will definately check out your stuff, thanks!

-------------------------

(I don't have much spare time, but I'll update on my progress here :D)

(oh and I am dutch, so I am sorry for my englisch..)
[Raspberry Pi Q&A, Help & Troubleshooting] m2xtreme:
I have heard of codecademy but never used it so I cannot comment on the quality of it.

First you should look into what version of Python you are using on your development computer. You can check this by running from terminal:

python --version

I learned Python the old fashioned way; by reading through the official documentation. The official documentation can be found here, just make sure you select the correct version since there are (mostly minor) discrepancies between versions:

http://docs.python.org/2/tutorial/

Also, check out Kahn Academy. They have video walkthroughs of some of the basics of Python that are very good. If you aren't into reading through loads of documentation I would say this is your best bet. Admittedly, the official documentation can be quite hard to read at times. Watching a video to learn supplemented with exercises seems easier to me.

https://www.khanacademy.org/science/computer-science

I believe all the computer science stuff on Kahn Academy is only Python and is in order so click on the first one even if it doesn't say "Python" in the title.

Best of luck! Let us know how it goes and if you have any more questions.
[Raspberry Pi Q&A, Help & Troubleshooting] sud0x3:
I am currently learning python, if you need some help let me know, id be glad to help where i can :)

john@johnstone-tech.co.uk
[Raspberry Pi Q&A, Help & Troubleshooting] B-vb:
Some questions..

Hello

I am trying to get my code together, learned the basics of the basics, but I have some questions, this is my code so far;

print "Hallo, en welkom in deze Hall of Fame!" #Hello and wecome in my hall of fame
print "Kies een van de personen uit waarover u meer zou willen weten te komen" #Choose one
print " "
print "Vul hieronder de geboortedatum van uw keuze in en druk op 'enter'" #Enter bithdate of your choice
print " "

y = " "
while y != "stop" :
x = str(raw_input("Geboortedatum: ")) #Geboortedatum = Birthdate
print " "
if x == "26-10-1994" or x == "26101994" or x == "26 10 1994":
print "De gekozen geboorte datum is 26 Oktober 1994, dit is de geboortedatum van Bjorn van Beek." #Chosen bithdate is the one from Bjorn etc..

elif x == "01-11-2003":
print "De gekozen geboorte datum is 1 November 2003"

else:
print "Oeps, waarschijnlijk heeft u een foutje gemaakt tijdens het typen." #Oops, You have probably entered something wrong
print "Probeer opnieuw.."
print " "
y = x

else : print "Finish"

- What is the command to execute a videofile? so when someone enters a birthdate the video starts instead of a line of text

- A clear command? refres of the windows?

thanks for the feedback so far!!
[Raspberry Pi Q&A, Help & Troubleshooting] m2xtreme:
Happy to hear you have made some progress. There are many ways to play this video so you will have to decide yourself how you want to do it. First you must choose what videoplayer to use and install it. In this example I will use 'mplayer' as it is probably sufficient for your needs. I would probably so something like this:

import os

videoplayer = "mplayer"
options = "-fs" # Play in fullscreen
date = "26101994"

#
# Write code to match your input videofile string to the actual filename
#
# It should look like 'videofile' below...
#

videofile = "/path/to/file_26101994.ext"

# mplayer [options] [file]
# i.e. "mplayer -fs /path/to/file_26101994.ext"

os.system("%s %s %s" %(videoplayer, options, videofile))

print "Now playing your videofile. Enjoy!"

Make sure you put the 'import os' at the top of the script. I'm not sure what you are asking in the second question. Perhaps you can explain a bit more?
[Raspberry Pi Q&A, Help & Troubleshooting] B-vb:
Hi,

Thanks for your feedback!

First I had to start everything from my pi, but that's already the point where I get stuck..

I can't seem to figure out, how to start my script? double click does nothing, choosing a program to launch it with doesn't do anthing too.

Even making it executable by $ chmod +x myscript.py

And the first line is; #! /usr/bin/env python

So what am I doing wrong?

Well, someone has entered a birthdate and a video has been show, I would like the windows to be cleared (fresh window).

A restart or something, is there a command for that?

Thanks in advance!
[Raspberry Pi Q&A, Help & Troubleshooting] m2xtreme:
You can try running it from the terminal, that might give you a hint as to what is happening:

python myscript.py

what windows are you referring to? do you mean the terminal and the videoplayer? Perhaps you can describe what you are using more? What operating system are you running on your Pi?
[HTC Incredible S] matze-66:
Hello,

at first sorry for my bad english.

I tried to search in this forum for my problems, but i don't find a perfect answer.

So at first the datas of my HTC:

Incredible S with newest org. software (Android 4.0.4 - Sense 3.6 - Softwarenumber 4.10.405.1)

With HTC-Dev i rootet my phone, but its still s-on.

Now to my problems. At first i want to get my Phone at the easiest way s-off to try the app "remote Sim-Access (rSAP)" (this app to find under 'android-rsap.com', needs 's-off', but i still have my incredible S 's-on' when i look in the bootmenu/loader. I would prefer a easiest way to get s-off, because i'm a noob and i find the original rom very good and if it is possible i don't like to install a custom rom to get s-off or anything else...

This instruction is good, but i don't understand it very good and i don't know, if i have to do every step (it is a lot of work).

- - - - -

The second bigger problem is my new car (BMW). The incredible S supports my car good, but not perfect. I hope with the app for rSAP (remote Sim-Access) i will get some office-options more (like reading sms in my car) :confused:

But what i want to get is the titelinformation for songs which i stream over bluetooth.

The problem is, that Android 4.0 supports only AVRCP 1.0 (as far as i know).

AVRCP 1.3 is needed to get titelinformations over bluetooth, so i need this.

Samsung and LG is better then HTC with AVRCP, there it is working. IOS supports it too.

So i want to know, if i can get AVRCP 1.3 to my incredible S.

I read a lot in the web, but i only read CyanogenMod9 or AOKP ROM works with AVRCP 1.3.

(If CyanogenMod 7 works with AVRCP 1.3, i don't know).

Can somebody help me ?

I hope you understand my problem.

Thanks a lot.
[HTC Incredible S] matze-66:
Can nobody help me ? :rolleyes:
[HTC Incredible S] Splux:
Cm7 seems to have avrcp 1.3, at least in the nightly builds. Just made a quick search , unless you find anything more I might be able to find more info when I have a computer and not searching from NY phone.

Sorry for spelling, rushing to the bus.
[Nokia Lumia 900] filipinowise:
I wanted to give windows another try so I got another, after a week with this phone is boring! Marketplace sucks, limited apps, no smart dailing, can't disable SMS notifications, the list goes on and on. (Damn you android you've spoiled me!)

Over is the best designed phone I've own thus far. I've fell in love with Zune desktop, but the player on the phone is so so, needs equalizing for better sound. Maybe I'll be Lumia 920 a try.
[Nokia Lumia 900] akulasub:
I like L900. My second WP after HTC Trophy. I am just surprised to know that your music needs equalizer to sound better ? I never have any issues. Smart Dialing is there, you pin the person to the start screen for quick access. The Marketplace has good amount of apps ( and good apps ). Don't know if L920 will make your experience any better if you have so many complains about the platform.
[Nokia Lumia 900] Rayan:
I totally agree with you...

I got my Lumia 900 while my Galaxy Note was on warranty repairs and just to see what was the deal with Windows Phone 7.5 (after many years since I last used Windows Mobile Professional) and at first it was a nice experience after using Android, but after 30 minutes I consumed the whole OS and found it very boring and lacking.

Yes, I think Android got us really spoiled...

Right now I'm just waiting for WP 7.8 just to check it out (I know, I'm not expecting much either), but I know I will sell this baby really soon!

If at least we could root it and modify it like the Lumia 800, then I might keep it. But since the AT&T Lumia 900 modding scene is pretty much defunct, i don't expect things to change for the good, so Craigslist is the way to go.

Cheers!

Rayan
[Nokia Lumia 900] filipinowise:
Man I miss my galaxy note, I switched it for S3. I hope 7.8 features are nice.
[Nokia Lumia 900] filipinowise:
Trust me if your're a music head you will tell the difference. Im not sure if its Lumia or windows music player but its real bland with a cool interface.
[T-Mobile Samsung Galaxy Note II] moabizzi:
I wanna add my email account to the Android market app to my little brothers phone, he has a galaxy note 2 aswell, so he can use the apps i use, is there a way possible of doing this without him getting all my emails and contacts?

Is there a way i can transfer all my google purchases to another email account?
[T-Mobile Samsung Galaxy Note II] Rhiannon224:
It can be done, I shared some of my apps with my mom. I don't think it's right or fair to share paid apps because it's stealing and dishonest. Only you paid to use the app. XDA is not the place to ask how to cheat developers or steal from them and to do so will likely result in getting yourself banned.

It's actually easier to use S Beam to share apps between devices that have this feature. A lot of my co workers have SGIII and one has Note2 and we use S Beam to share photos, videos, and apps all the time.
[T-Mobile Samsung Galaxy Note II] moabizzi:
Not looking to cheat out devs, if that was the case, id just side load the apps, can easily find em online and skip the license checking aswell. My little brother is in 8th grade, not really working or anything. And i buy apps that he uses alone aswell.

And the reason to switch the purchases to another account was so i can keep my personal emails contacts and calendars separate from google app side of things.

Thanks for the input thou
[T-Mobile Samsung Galaxy Note II] Rhiannon224:
Just add your account to play store on his phone, just don't sync anything else. I did it on my mom's note2.
[Samsung Galaxy Exhibit 4G] tazmaniondvl:
"Droidassistant" is an app that steals your info and before you know it you are getting phone calls, emails, and text messages all from foreign numbers. It happened to me and had to change my number, email, and anything that was stored on my phone.

I have forwarded this info to Google, but I know there are enough people here to pass the word!

Here is the link, DO NOT DOWNLOAD!!!!

https://play.google.com/store/apps/details?id=com.droid.assitant
[Samsung Galaxy Exhibit 4G] tazmaniondvl:
Wiped everything to get rid of it, including SD cards
[Samsung Galaxy Exhibit 4G] Neoxal:
Didn't someone post a thread or something linking to this? I remember seeing it somewhere on this device forum, totally forgot where.
[Samsung Galaxy Exhibit 4G] Snakeatermgs:
Thanks for the warning mate :good:
[Samsung Galaxy Exhibit 4G] tazmaniondvl:
I had mods remove the link and close his account
[Samsung Galaxy Exhibit 4G] Neoxal:
Ah, okay, thanks for that as well as the heads up :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] m435tr0:
hey,

I installed CM10 stable on my i9000. Since the internal storage in my sgs is broken I had to do the mmc swap. So I did it but it turns out that the swap was not working with a kernel that comes with CM10. So I had to update the kernel to Semaphore 2.6.6. Now changes I did in vold.fstab are being picked up. Is that normal that the mmc swap is not working out of the box with CM10 kernel ?

I do some development on my galaxy and it's almost impossible to do it without a logger working. The logger is ondemand module for Semaphore. I swithed the Logger module on in the Semaphore Manager but it's still not working.

From the console via abg I run

130|root@android:/res/scripts # ./S30enable_logger
cp: can't stat '/system/lib/modules/logger.ko': No such file or directory

What am I doing wrong ? How to enable any logger in CM10 with the sdcard swap ?

EDITED:

I fixed my problem installing CM10.1 + Semaphore 2.9.2

Logger module works for me.
[G2 and Desire Z Q&A, Help & Troubleshooting] valeous:
My battery is running out after 2 years and more usage. What is an excellent replacement for desire Z/G2 battery?

Thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] rahulkrathod:
Anker 1600 mAh. Have been using it over 6 months now. Easily keeps my phone up at least 30% more than stock battery.
[G2 and Desire Z Q&A, Help & Troubleshooting] geojoking:
I bought a HTC original battery from eBay for the Incredible S for about 8 EUR. It's the same battery as ours, only with more capacity, 1450mah.

I also had an old battery, at least two years old. The new one's performance is incredible, almost two days with medium usage. Using Gen.Y VisionX R3.
[G2 and Desire Z Q&A, Help & Troubleshooting] Duffelbag:
I plan on picking up a new battery soon, recently the phone has been randomly rebooting. I read this might be a battery issue, so a fresher, longer battery life can't hurt.