Android :: Send The AT Commands To The Modem?

Feb 24, 2010

I am trying to use a USB GPRS (SIM5218A) modem in eclair, I am wondering how to send the AT commands to the modem. I saw some old emails here in the list showing how to use pppd with chat (exec /system/usr/bin/chat -v); Unfortunately I am unable to find chat in eclair. Is there a better way to perform this?

Android :: send the AT commands to the modem?


Android : Send AT Command To Modem?

Apr 17, 2009

I am trying to develop an application that would need to AT commands that are not yet defined in the RIL. I saw from the ril.h file, that hook requests are available :

It can be invoked on the Java side from com.android.internal.telephony.Phone.invokeOemRilRequestStrings() com.android.internal.telephony.Phone.invokeOemRilRequestRaw()

But from the application side, this package is not visible (com.android.internal.telephony)

Is there anyone who bypassed this issue or is there any other way to send specific AT command to the RIL from an application?

View 5 Replies View Related

Android :: Send AT Commands In Droid Applications?

Aug 18, 2010

I want to send AT commands in my Android application, but I could not find the right syntax. How can I do this?

View 1 Replies View Related

Android :: Send Debug Commands To App Running In Emulator

Nov 19, 2010

To make development easier, I want to be able to send textual commands to my android app(especially prior to having prior the UI completely fleshed out).Presumably in the emulator, but it would be great if it also worked on a device connected via USB.Of course, I could add an editText control to my app and type the commands in there, but would prefer not have deal with debug things cluttering up the UI and all the complications of that.I also would like to be able to paste text from computer clipboard, which sorta rules out EditText controls.Is there any way to do this, say via any of the android-sdk/tools/ stuff? I would implement the command processor java class/method, but need some way to be able to actually feed it a string. I suppose I could do something that talks to the emulator via the file system or something, but would prefer not have to spend a lot of time doing this if there is something already available.

View 2 Replies View Related

Android :: Send Monkey Commands In A Test Application?

Jan 19, 2009

I was trying to send Monkey commands in one of my test applications. But When I install it on the emulator, the packageManager refuses to grant permission "SET_ACTIVITY_WATCHER" which is required to run Monkey.

Is it possible to call Monkey in a test application?

View 2 Replies View Related

How To Send Commands To Desktop

Feb 7, 2012

I have ConnectBot and right now I'm manually typing commands which I would like to run on my desktop machine remotely. I'd like to create an Android application with a user interface where I can just tap a button and had it run an associated command. I'm assuming I would need to continue doing this via SSH so is there a SSH library for Android which I can use to connect to my desktop?

View 7 Replies View Related

How To Send AT Commands Based On BT Hands-Free Profile In Android

May 5, 2014

I am trying to establish Bluetooth connection between an Android device with other mobile phone over Handsfree profile. I am using following code -

Code:

private static final UUID MY_UUID = UUID.fromString("0000111F-0000-1000-8000-00805F9B34FB"); // UUID for Hands free profile
// Some code...
// Get Bluetooth Adapter.
m_oBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
// Some code...
// For paired BT device, getting a connection established.

[code]....

I can create RFCOMMSocket using above code.

Now I want to send AT commands based on Bluetooth Hands-Free profile. e.g. If other mobile phone receives a phone call, my Android device can reject this call by sending AT command- "+CHUP". I am not sure whether this is possible or not.

At this point, I am stuck. I have read Bluetooth APIs where I found -

Code:
BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT

Can we use this Intent for sending AT commands? Is this a proper way to send AT command based on Bluetooth Hands-Free profile?

View 6 Replies View Related

How To Send AT Commands Based On BT Hands Free Profile In Android

May 20, 2013

I am trying to establish Bluetooth connection between an Android device with other mobile phone over Handsfree profile. I am using following code -

Code:

private static final UUID MY_UUID = UUID.fromString("0000111F-0000-1000-8000-00805F9B34FB"); // UUID for Hands free profile
// Some code...
// Get Bluetooth Adapter.
m_oBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();

[Code]...

I can create RFCOMMSocket using above code.

Now I want to send AT commands based on Bluetooth Hands-Free profile. e.g. If other mobile phone receives a phone call, my Android device can reject this call by sending AT command- "+CHUP". I am not sure whether this is possible or not.

At this point, I am stuck. I have read Bluetooth APIs where I found -

Code:

BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT
Can we use this Intent for sending AT commands? Is this a proper way to send AT command based on Bluetooth Hands-Free profile?

View 1 Replies View Related

General :: Modem Turning Off On Call Send / Receive?

Jun 2, 2013

I just flashed a rom, and now my phone on receive or send of calls, it turns off the modem.

[URL]

View 1 Replies View Related

General :: Make Call Or Send SMS Via External Modem?

Apr 13, 2012

I planning to buy a wifi-only 7" tablet, but the tablet support some external 3G/EVDO modem to connect to the internet. So, is there -by any chances- a way to make a call or send a sms via external modem?

I've seen this possible on "ipod to iphone conversion" with custom dialer and sms app...

View 3 Replies View Related

Android :: Send Email Without Invoking Any Activity (with Send / Send To Action)?

Sep 8, 2009

Can I send an email without invoking any activity (with Send/SendTo action)? Just compose a mail and send to recipient from my application.

View 7 Replies View Related

Android :: How To Use Htc Hero As A Modem On Mac?

Mar 13, 2010

I'm trying to use my hero as a mode on my new macbook but it doesn't seem to work It wasn't a problem on my old laptop but mac and android dont seem to work very well together. I found this thread which explains it but I don't really understand it? Caught in a Web HTC Hero USB Tether on Mac OS X.

View 7 Replies View Related

General :: ZTE 3G Modem With Android 4

Feb 13, 2012

I am trying to use a ZTE AC2726 modem with Android 4 (Zenithink C91 and Ainol Novo 7 Elf). I can enter the APN settings but not save them on both tablets.

View 3 Replies View Related

Android :: Modem To Router Connection

Feb 26, 2010

Is there a way to use an Android as a simple pc type connection to a modem. With any cheap A$$ computer with a modem I can dial back to my router (it has a modem in the console port) with hyperterminal and log into it. Is there a way to do this while out with my G1 Android?

View 2 Replies View Related

How To Crash Modem Part In Android

Jan 2, 2012

I want to the procedure to simulate the modem crash in android mobiles

View 3 Replies View Related

Android :: Use Phone As A Modem/WiFi Router

Feb 26, 2010

I was just wondering if there's any way to use my Android's 3G network on my iPod touch.

So I connect my iPod touch to my Android, and use the Android internet like that?

View 12 Replies View Related

Android :: Way To Use Mytouch Slide As A Modem Through T-mobile?

Jun 27, 2010

Is there any possible way to use my touch slide as a modem through t-mobile?

View 1 Replies View Related

Android : Using Phone As A Modem / Mobile Hot-spot

Oct 12, 2010

I've got an HTC Desire which has a Mobile Hotspot App on it - so I can connect my laptop to the WiFi signal generated by my phone.I have "Unlimited Internet" with a fair-usage cap of 1GB. (such a farce, that use of the word unlimited, why don't they just say 1GB?)However, the terms and conditions explicitly disallow using the phone as a modem.My question is, can they tell, and if so, how? Surely the HTTP/HTTPS requests being sent out by the phone are exactly the same, regardless of whether it's coming from the phone or the laptop?If they aren't (perhaps some ID which says this is a phone as apposed to a different ID which will be sent by the laptop's browser), is there a way to make it look as if the requests being sent are coming from the phone?

View 2 Replies View Related

Android :: Run Adb Commands Within Applications?

Sep 10, 2010

I want to run adb commands like "adb install application.apk" or "adb uinstall application.apk" from my android application.

View 2 Replies View Related

Android :: #*#* Dialpad Commands

Jun 24, 2010

Does anyone know of a list of all the available Android *#*# keypad commands? e.g. *#*#4636#*#* opens up test mode. I tried a web search, and searching the forums, but searching for special characters like that, doesn't seem to work very well. Even tried escaping them with various combinations of quotes and backslashes, but no joy.

View 3 Replies View Related

Android :: Commands To The Emulator

Oct 16, 2010

Very new to Android and Eclipse. All going well, pretty intuitive. One problem though, when advice is given to 'issue a command' to the emulator, where does one do that? I'm sure it's very straight forward, I just don't know where to do it.

View 1 Replies View Related

Android :: How To Possible Use ADB Commands Connective Bluetooth?

May 27, 2009

my question? Is it possible to use adb commands if device connected via Bluetooth?

View 9 Replies View Related

Android :: Want To Know About Commands Available In Phone Shell?

Sep 5, 2010

Can't find information on how to print out documentation on android shell commands while in the shell. Something along the lines of.

View 4 Replies View Related

Android :: Running Sqlite3 Commands From App?

Nov 30, 2009

When my app loads up I need to import a bunch of records into its database. How do I run the following sqlite3 command from my app?

View 13 Replies View Related

How To Execute Shell Commands In Android App

Apr 2, 2013

I need to execute following command in my app.

command: echo "1" > /sys/manager0/enable

I tried this with following code in my app.

Process p = Runtime.getRuntime().exec("su");
DataOutputStream stdin = new DataOutputStream(p.getOutputStream());
String cmd = "echo "1" /sys/manager0/enable";
stdin.writeBytes(cmd+"
");

There is no error and app executed perfectly but there is no change in the /sys/manager0/enable

View 2 Replies View Related

HTC EVO 4G :: Way To Use Phone As Modem Through USB?

Jun 8, 2010

Ok I have searched around and cant find anything, any help? Whenever I plug my phone into the computer it gives me the option to use phone as a modem. I didn't want to download any apps, cuz they all seem to cost money.

View 28 Replies View Related

Android :: Run Shell Commands On Droid Programmatically?

Jul 28, 2010

Is there any way to run terminal commands on my application and then access the data on my UI? Specifically top.

View 4 Replies View Related

Android :: Shortcut To Execute Commands On Computer

Aug 27, 2010

There are all of these app's out there that allow you to control your computer from your phone (using VNC and others). This is all well and good....but there are no shortcuts to do anything on these apps. Whatever you are trying to do on your computer takes way too many screens/clicks to be truly efficient by using your phone. You most certainly are able to do it with your phone.....but hell...it was way more complicated than it had to be.

DOES BELOW APP EXIST?
I would LOVE to just touch a shortcut on my home screen that would send a couple of keystrokes to my computer. Or telling my computer to open a particular program from a shortcut created on my android phones Home screen. This would be amazing. I could tell my computer to run whatever task from my phone QUICKLY...without having to jump hoops through screenshots/mouseclicks/keyboard on VNC app's......

Using this, you would no longer need all these separate video/music player control apps...you could just wire hotkeys/scripts to be run to control ANYTHING. I could send a keystroke to minimize/maximize a window....pause iTunes....Give a song 3 star rating....open a particular site...

I'm just trying to turn my phone into a much better remote for my computer.....all current apps seem to fail horribly.

View 2 Replies View Related

Android :: Writing App That Executes Linux Commands

Aug 12, 2010

I have an compiled executable that is supposed to copy itself from the res folder, and into the /data/data/package-name/ folder, and change the permissions, and then execute. Every step completes all the way to the end. The output stream seems to be writing, etc. Except when I go check the file system, nothing has been done. I first tried with 'sh' then with 'su' (I have a rooted Cyanogen rom).

Here is the code:

CODE:.........................

View 1 Replies View Related

Android :: Commands For View Server Class?

Nov 1, 2010

I am working on some framework. This framework code will communicate with ViewServer class, to get the various details about views. Till now we could able find few commands which viewServer class recieves and responds. But we dont have complete set of command. If any one knows, could you please provide all the supported commands by this class and what exactly it returns?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved