Android :: Receiving Data SMS In 1.0?
Mar 25, 2009I can confirm that joe.scheidegger information about data SMS does work on device. However, the port specified on the receiver does not seem to matter.

I can confirm that joe.scheidegger information about data SMS does work on device. However, the port specified on the receiver does not seem to matter.
Ok, I have 2 Activities I want to send data between activity A and B.My problem is that some random code of mine seems to be called between startActivityForResult() and onActivityResult()in Activity A.This doesn't make any sense because there is no code after startActivityForResult() is called.Shouldn't onActivityResult() be the first thing A does after B finishes?
View 2 Replies View RelatedI want to receive a data which is passed using intent from another page.
View 1 Replies View RelatedIs there already functionality similar to the push registry or wireless messaging API in J2ME implemented in Android? Or at least plans to do so?I have been looking at this issue for a while, because in a corporate environment it is essential to be able to push information out, or trigger actions via SMS or other connections.I have successfully sent an SMS between emulator instances, and successfully received an SMS by using a BroadcastReceiver on another emulator instance. I have also been able to use SmsManager. sendDataMessage to send a data message to a port on another emulator instance, but in this case the BroadcastReceiver is never triggered. This seems to be the closest the API's get to what I'm looking for.
View 3 Replies View RelatedI have a main class activity that does the task of sending control to other activities on click of a button. I am also starting a thread in the main class. This thread basically sets up a connection with the server and is active throughout the lifetime of the application.I have two functions in the thread class, send and receive data from server.Therefore, when the other activities need to send/receive data from server, they use those particular functions.First of all please let me know if what I am trying to do is fine as per the architecture of the operating system. If its fine, when I try to run the code, the app crashes and i see a NullPointerException and a RuntimeException in the DDMS log.Could some one please help me out in this or suggest a better way to implement the concept.Also, please be assured that, the other functionality of the code works perfectly fine.
View 15 Replies View RelatedThis is the servlet code in java ME.
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
PrintWriter out = response.getWriter();
ArrayList<String> listName = new ArrayList<String>();
ArrayList<Integer> listLongitude = new ArrayList<Integer>();
ArrayList<Integer> listLatitude = new ArrayList<Integer>();
String sLongitude = (String) request.getParameter("x");
String sLatitude = (String) request.getParameter("y");
String path, list, scount; Integer numLong = null;
Integer numLati = null; Connection con = null; String slanje = "";
int limitLeft, limitRight, limitUp, limitDown, icount = 0;
if (sLongitude != null && sLatitude != null) {
try { numLong = Integer.valueOf(sLongitude);
numLati = Integer.valueOf(sLatitude); } catch(Exception ex) {}
} try{ Class.forName("org.apache.derby.jdbc.ClientDriver");
con = DriverManager.getConnection("jdbc:derby://localhost:1527/bazaprojekt", "projekt2009", "midlet"); limitLeft = numLong - 8; limitRight = numLong + 8; limitUp = numLati + 8; ...
How do I send x and y to servlet and receive some string in Android?
I hope someone can help me with this, since searching has not yielded any help. I am overseas with my DHD and continue to receive SMS messages even though I turned data roaming off. I know I am being charged for this and now I am too afraid of turning the phone back on. I just want to use it for wireless and downloading some new apps, without phone calls or messaging.
View 2 Replies View Relatedi recently bought a HTC Desire Z and when i broguht it home, i hooked it up to my wireless n router with MAC filtering and I believe WPA security. it was working fine until around sunday. it said i was connected to my network but i was not recieving or sending any data.
View 3 Replies View Relatedso my phone battery is terrible, so i have an app that shuts off the network in certain situations.. my question is this: i know that when the network is off, i am not capable of receiving pix. but when the network comes back, will i eventually get the pictures i was sent? ive heard of some ppl getting my pix hours after i send them, so i hope i should at least get the pics.. if so, is there a way to speed up the process?
View 2 Replies View RelatedI have a Sprint HTC One. I recently flashed a new ROM. VENOM 5.0 which supports my PDA.
So, after installing it I downloaded all the required apps and they worked fine.
Later the next morning when I switched on my data connection, all the apps ran on data and everything went on well. Then I installed Root Firewall PRO and set all my required settings, after that none of the third party apps didn't receive any data connection. Neither Whatsapp nor Facebook Messenger received data. Even though they are only messaging apps, they also did not receive any Data Connection.
I got the phone last week and very disappointed with low sound volume but seems I am not alone....anyway that's not my question.I am interested in how much my 3G connection is active and how much data my phone is receiving/sending. I installed the 3G Watchdog app and for example this morning with browsing BBC website with NO downloads etc it is showing 4.76MB data alone (3.96MB received and 838KB transmitted). My 3G connection is almost always flashing with the arrows showing data transfer but what is it?!
Facebook has all updates off
Email is synced hourly
Moxier calendar daily
I seem to have a "background" data transfer of 3MB/day and this is without any browsing etc...what is going on?!
I usually have the Mobile network turned off, to save the battery but mostly because I don't want to use my limited data allotment.
Today I was out about 60 miles away from home; I had a decent cellular connection, no Wi-Fi because I was out of range and no data because it was turned off...or so I thought.
Without me turning anything on There it was the "H" for HPSA was in the status bar; occasionally sending and receiving data.
I did use the GPS for a while and I would have thought that if it needed a data connection a warning would have popped up.
I tried the obvious, turning on and off the Mobile network, but the "H" remained.
One back in the city the "H" remained, the only way to reset my phone was to reboot.
I have a Tmobile rooted Samsung Galaxy S III, I was running a nightly Cyanogenmod 10 ROM. Yesterday there was an update for that rom and I downloaded it and installed it, everything was fine and running smoothly until some people started telling me that they were not able to reach me by phone. I tried checking what was wrong and I finally realized that whenever I have my mobile data on or while I am using it I don't receive voice calls. I tried looking everywhere for a way to fix this and I came across the ##DATA# code in which I could turn off the DDTM option but unfortunately my phone doesn't recognize that code.
this is the message I get every time I try to enter ##3282# code.
I thought that maybe something was wrong with the ROM itself so i decided to browse around here for one for my Tmobile samsung galaxy S 3 and I decided to install this one [ROM][4.2.2][RC1] LiquidSmooth ROMs - d2tmo - 2|14|13
after wiping data/cache and dalvik cache I installed this ROM and this is my current phone info and still when I am using my mobile data I cant receive calls nor put the ##DATA# code to turn off DDTM.
is there any other way I could access that DDTM option?
Another thing I realized is that even tho I did the factory reset, wipe dalvik cache and data cache on recovery mode my phone still says it only has 4gb free on its internal memory, isn't it supposed to be completely free after wiping all that stuff?
is it possible that I send a request from my Android app to a web service and in return I get a data for example a XML file from the web service which I parse in android?
View 1 Replies View RelatedOk so I know many are having battery issues. You, like me, probably have more battery life than you think. This is because the application layer of the phone is not receiving the hardware layer's data correctly (hold talk button, end call button, and middle button upon starting up your turned-off phone, this boots in test mode which shows you hardware layer battery power, aka the correct battery life estimate). It's causing another problem because some applications can't be run when the phone THINKS it's about to die.
View 2 Replies View RelatedI'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.
View 3 Replies View RelatedI've noticed that I'm not receiving notifications that apps I've downloaded from the Android Market have available updates. The user manual shows a little icon of an Android shopping bag in the 'Status Bar - Notification Icons' section (page 7), so I think something's wrong.For example, just today I went into the Android Market to download a new app and upon checking 'My Downloads', I noticed seven apps that had updates available. At least four of these apps had been opened and used within the last hour, and still nothing was mentioned about the update. Is anyone else noticing the same?
View 18 Replies View RelatedI've got an activity which is always configured to be displayed in portrait mode (with android:screenOrientation="portrait"). I don't want it destroyed when an orientation change happens, so I have android:configChanges="orientation" for it.
However, it *does* needs to be aware of orientation changes, so I can update the content. Unfortunately it would appear that while I am being sent configuration change events, the orientation in the configuration claims it's always in portrait mode, presumably because that's what the activity is set to.
How can I have my activity be permanently in portrait mode and *also* receive the correct orientation change events as the phone is rotated?
how to send and receive MMS on Android?
View 1 Replies View RelatedI am just wondering if it is possible to receive SMS in a particular port. I believe by default all SMS messages are delivered to Port 0 and SMS manager gives the notification about this message.Is there any way in which we can send and Receive SMS messages in any particular port apart from the default port.
View 2 Replies View RelatedAfter locking my phone and shutting down the screen, anytime I receive an SMS, the screen lights up and stays on.
The only way I've found to avoid this is to turn off the "notification in status bar" option within the Messaging Settings area.
This is super annoying when I receive a text late at night, wake up, and see that my phone has been on for the last 6 hours and battery drained.
Softbank Japan has just released an sms/mms app that allows sending and receiving emoji! I just tested with my wife's iphone, and I could send emoji fine with my HTC Desire (Softbank x06HT), and I could receive it fine! A big selection of emoji too, maybe the complete set that Softbank usually includes on their other phones. It is buggy and a bit clunky, but it's a *lot* better than nothing! Lots of complaining in the comments section, but I don't think it's that bad. Now, the big question: Is it available in other markets? I'm in Japan right now, and I searched for "Softbank" in the market and I found it... It's called "Softbank メール". The link that they sent me in a news SMS is: "http://market.android.com/search?q=jp.softbank.mb.mail". They also say it is Froyo only...
Lastly, for those who have been in Japan a while and have an @softbank.ne.jp or @x.vodafone.ne.jp (like me) can now use those mails on their phones as well, inside the app. I sent myself a message and received it fine, and when I replied it sent from my old vodafone mail address (although I haven't figured out how to choose between SMS and e-mail for sending yet). EDIT: Figured it out, just type in a phone number (or choose from contacts) to send an SMS, type in an e-mail address to send from your @softbank or @vodafone address. Swet. I'll see if I can post the full message, for those who can read Japanese (I can't read very much of it, only hiragana/katakana).
From a remote machine we are sending some UDP packets to our Android emulator. We are able to see the UDP packets reaching the host machine, but not able to reach the emulator, In Wireshark we are getting "Destination port unreachable" The port we are using is:49152 and static ip at both ends.Is this port supported by android emulator? What is the solution to get UDP packets to be able to reach till the emulator?
View 6 Replies View RelatedApp A has this Broadcast Receiver in its manifest (within <application>): Code...
View 1 Replies View RelatedI have the following XML layout for a ListActivity.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ListView android:id="@+id/android:list" android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<TextView android:id="@+id/android:empty"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:text="No Contacts" />
</LinearLayout>
My problem is that if I have focus on any of the header ImageButtons then when pressing down with the dpad the list get focus on its 7th row (depending on row height), and not on the first row. I've seen the same behavior on Fring application, under Contacts. I tried by listening for the OnKey event for the KeyEvent.KEYCODE_DPAD_DOWN and triggering a implicit focus on the first item of the list, but I don't know how to do it either.
I am an end android user. I have Samsung Galaxy GT-I7500. A few days back I downloaded the Handcent SMS app. I am happy with the app. But I was receiving notifications both from my native app and Handcent SMS. In order to stop the notification I used Advanced Task Manager to remove the native SMS app in the name of 'SMS' instead of the disabling the notification. Instead of removing the messaging service my data usage notification SMS from my service provider has stopped. I am receiving other messages and able to send messages. I have flashed my ROM but the 'SMS' app is still not installed.
View 3 Replies View RelatedIs there any app that lets you set an alarm to go off when you get a notification (such as an e-mail or text). I don't get many text at night, so those that I do I would like to see. An alarm isn't necessarily what I need, but I need something to notify me more that once. This is the one thing I miss from my RAZR.
View 2 Replies View RelatedI am about to pay $25 and set up my android market account by google checkout/credit card. can anyone tell me what i need after that? my google checkout account does not have us/uk bank info. i do not even have us/uk bank account... how do i set up my market account to receive 70% rev of my charged apps? what sort of options available?
View 3 Replies View RelatedI'm trying to receive SMS using broadcast receiver. MySMSReceiver :
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.util.Log;
public class MySmsReceiver extends BroadcastReceiver {
/** Tag string for our debug logs */
private static final String TAG = "MySmsReceiver";
@Override
public void onReceive(Context context, Intent intent) {
Log.i(TAG, "Recieved a message");
Bundle extras = intent.getExtras();
if (extras == null)
return;
Object[] pdus = (Object[]) extras.get("pdus");
for (int i = 0; i < pdus.length; i++) {
SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
String fromAddress = message.getOriginatingAddress();
String fromDisplayName = fromAddress;
Log.i(TAG, fromAddress);
Log.i(TAG, fromDisplayName);
Log.i(TAG, message.getMessageBody().toString());
break; } } }
and added in Mainfest file
<receiver android:name=".MySmsReceiver" android:enabled="false">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
<uses-permission android:name="android.permission.RECEIVE_SMS" />
But when I run this application and send a SMS using emulator it shows following logs in logcat
10-12 00:14:53.082: VERBOSE/Telephony(1032): getOrCreateThreadId uri: content://mms-sms/threadID?recipient=9898989898
10-12 00:14:53.203: VERBOSE/Telephony(1032): getOrCreateThreadId cursor cnt: 1
10-12 00:14:53.432: DEBUG/Mms:app(1032): getSmsNewMessageNotificationInfo: count=4, first addr=9898989898, thread_id=3
10-12 00:14:53.482: WARN/NotificationService(62): STOP command without a player
10-12 00:14:53.562: DEBUG/MediaPlayer(62): Couldn't open file on client side, trying server side
10-12 00:14:53.582: ERROR/MediaPlayerService(34): Couldn't open fd for content://settings/system/notification_sound
10-12 00:14:53.592: ERROR/MediaPlayer(62): Unable to to create media player
10-12 00:14:53.643: WARN/NotificationService(62): error loading sound for content://settings/system/notification_sound
10-12 00:14:53.643: WARN/NotificationService(62): java.io.IOException: setDataSource failed.: status=0x80000000
10-12 00:14:53.643: WARN/NotificationService(62): at android.media.MediaPlayer.setDataSource(Native Method)
10-12 00:14:53.643: WARN/NotificationService(62): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:716)
10-12 00:14:53.643: WARN/NotificationService(62): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:671)
10-12 00:14:53.643: WARN/NotificationService(62): at com.android.server.NotificationPlayer$CreationAndCompletionThread.run(NotificationPlayer.java:8)
I have create a receiver which receive on phone state change I have register it in XML by "android.intent.action.PHONE_STATE"
But sometime it don't receive any broadcast message
log mesages are:::
09-10 11:20:36.968: WARN/ActivityManager(74): Timeout of broadcast BroadcastRecord{43347258 android.intent.action.PHONE_STATE - receiver=android.os.BinderProxy@4334ebd0
09-10 11:20:36.968: WARN/ActivityManager(74): Receiver during timeout: ResolveInfo{432dd748 com.callHandller.PhoneStateReciever p=0 o=0 m=0x108000}
09-10 11:20:36.968: INFO/Process(74): Sending signal. PID: 2223 SIG: 9
09-10 11:20:36.988: ERROR/JavaBinder(74): !!! FAILED BINDER TRANSACTION !!!
09-10 11:20:37.008: INFO/ActivityManager(74): Process com.callHandller (pid 2223) has died.
09-10 11:20:37.008: INFO/WindowManager(74): WIN DEATH: Window{4324f470 com.callHandller/com.incallHandller.callHandler paused=false}
09-10 11:20:37.958: WARN/ActivityManager(74): Activity destroy timeout for HistoryRecord{4321c7c0 com.callHandller/com.incallHandller.callHandler}
09-10 11:20:42.288: DEBUG/dalvikvm(136): GC freed 2543 objects / 143320 bytes in 179ms
Here com.callhandller is my application package where I have Receiver...