[Q] Need Help For Data Connection Management - Android Q&A, Help & Troubleshooting

Hello;
I would like dev a little tools for disconnect/reconnect data connection and send a ping to check the connection.
But I don't know the command for set data connection on/off (Like the menu in parameter)
The phone run under Android 2.3.3
What is the command to use for that ?

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

UP, For information the application will be run on a rooted phone

Related

For help "Unable to find ITelephony interface".

Hi my friend,
I found the HTC telephone application coud not be replaced, as I used third party telephone(Hidialer.apk) replaced the HTC default Phone.apk (system/app/Phone.apk), then 'make snod' to generate system.img, and run it in emulator, I found phone button not work, and in adb logcat, error happen :"Unable to find ITelephony interface". It make me confused, why phone not work but default(HTC)phone.apk can ? What is the reason ?
haveing the same problum on my chineses tablet i see this in logcat when i press the power button and the screen will not come on, i beleve that removeing the packages.xml and the package list file in the /data partiton can cause it work correctly
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A

[Q] Use system PIN dialog in Android application

Background
I am trying to write an application which works like described below.
When user start application it check if user have registered PIN on his device.
If user have registered PIN, application must show button "Continue with PIN".
When user press on button "Continue with PIN" system standard PIN dialog must appears.
User enter his PIN and press "Continue" button.
After System must check if entered PIN is correct or no and continue working.
Researches
I have made some researches and find some articles on stackoverflow and other internet sources which say "There is no way to develop a new custom unlock mechanism on a non-rooted phone." or "I would be surprised if you could, because then you would be probably able to steal the pin code, and I don't think anyone would want that.".
Also I have watched some video tutorials like Tutorial: Android Internals - Building a Custom ROM, Pt. 1 of 2 and Tutorial: Android Internals - Building a Custom ROM, Pt. 2 of 2.
Decision
So I think that the only way to get access to the Android system PIN dialog is to root the phone make some changes in the system files and use system PIN dialod
Question
Can somebody provide me useful links about getting access to the system PIN dialog in the rooted phone.
Am I on a right way and can I solve my problem in this way ?
If anybody encountered such problem please help me to solve.
Thanks,
Victor
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

[Q] HDC Galaxy Note Plus MTK6575 Android 4.0 Firmwares, Custom Roms !

Hello,
I am having some issues with me new HDC Galaxy Note Plus MTK6575 Android 4.0.3.
1. The Google Location service is not functioning. Although I have the option enabled, none of the Apps recognize that the option is enable (location.jpg).
Therefore, I can never know where am I in the map or for example, use the Latitude from Google, Check/in from Google, location of Facebook, near bus station with transport apps!
2. The ROM version has a bug, which forbids to move apps to the external SD card (Storage.jpg). Right now I have the USB storage full and the micro-SD card useless!
3. The functionality of power ON and OFF doesn’t work! It does go to power off, but never come back to life (WakeUp.jpg)!
4. It was not “Rooted Free”.
-----------------------------------------
For prob. 4, I already found solution.
http://colonelzap.blogspot.de/2012/05/hdc-galaxy-note-plus-haipai-noble-i9220.html
Did function with me. Check attachment
With Haipai I9220 MTK6575 Android 4.0 Firmwares, Custom Roms (http://forum.xda-developers.com/showthread.php?p=27518489)
There is an amazing discussion. Can we do with this device?
First of all do you have the right drives so Windows 7 recognize as Haipai I9220 MTK6575. In my computer the mobile is recognized but in the Device Manager appear HTC .......and when I do the operation of plugging the mobile without battery the computer cannot stabilized the connection.
Hope this Thread will be useful.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
Go into settings then location settings make sure epo is checked and downloaded then do the same with ygps hope this helps

Rom Development for Alps E120L and Other Mediatek Devices

I wanted to start this post to see if anyone was familiar with the Alps E120L specifically, or at least has any knowledge of rom making for any china phone with MT65xx processor.
I would like to be able to fix a few quirks with the phone I have and see if I can develop a rom.
The help I need, which I feel is encountered the most often and not always answered on the forum are:
1. My china phone is rooted, but the bootloader is locked. How do I unlock it?
2. I can pull the framework-res.apk off my phone, decompile and edit it using any of the apk tools, but I get errors recompiling it every single time. what is the problem here? By the way, I was able to successfully pull the same framework file off of my samsung galaxy tab, edit it, and recompile it with no problems so it is not a problem with me!
3. How do I get the gps on my phone to work without A-GPS? What files are responsible for the GPS to function?
The reason I need to know this is because my GPS doesnt work and I dont know if its because I dont have A-GPS enabled because I dont have a data service. Personally I think either GPS files are missing or they are not programmed correctly. I have edited the gps.config file and no success.
4. How do I get mms settings setup for t-mobile without data plan? I could send picture messages via edge with an old phone but now my new android ics phone does not allow it to be sent. I have tried pulling settings from t-mobile, but to no avail. Again, i dont nor did I ever have a data plan. I dont know if my phone just doesnt support edge or requires an internet connection or t-mobile is blocking the service? My APN settings do not allow for me to select edge as an option, either LTE or eHRPD as a Bearer?
If anyone is willing to help I thank you in advance. Im sure other people have similar questions. I will keep searching the forums for more information as well.

[Q] Where to find default IP firewall/routing rules in stock android?

I'm trying to figure out the stock android networking setup, specifically the routing and firewall rules. For example:
1) What stock settings might prevent me from talking from an external device through the android to a device tethered to it?
2) Where (in the AOSP source?) are the firewall rules that allow pings by default?
...etc. Basically-- any reference in stock android where iptables/routing rules are defined would be welcome.

Categories

Resources