Android :: Sending And Receiving Data Messages Via A BroadcastReceiver

Feb 15, 2009

Is 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.

Android :: Sending and receiving data messages via a BroadcastReceiver


Motorola Droid :: Sending / Receiving Messages 3 Times - Deleting Messages

Dec 11, 2009

So I was using my the handcent sms app on my Droid today and all a sudden the person i was sending messages to was receiving the messages 3 times. Then all a sudden when i went back to text someone else my whole thread was gone and all my messages had been deleted. Then I try using the stock messaging app and obviously all my threads are deleted but messages send twice, any suggestions?

View 6 Replies View Related

Bluetooth Adapter Which Handles Sending And Receiving Messages

Sep 23, 2011

I'm writing an app which contains three tabs.. let's just call them TabA, TabB, and TabC.

In my main class which extends TabActivity I have a Bluetooth Adapter which handles sending and receiving messages. I initialize the BluetoothAdapter onStart. Part of the initialization tries to reference controls on the three tabs. But my problem is that only TabA (my default tab) has been initialized at this point so when it tries to access TabB and TabC, they're still null.. How can I initialize all 3 activities, and access controls on each of the tabs when receiving messages from the BluetoothAdapter? (Basically I want TabA to contain a TextView to log all messages, TabB will contain a few controls like sliders and checkboxes that will change based on the messages recieved, and TabC will just have an array of buttons that send specific data..)

View 1 Replies View Related

Android :: Sending / Receiving Data Using StartActivityForResult

Apr 21, 2009

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 Related

Samsung Captivate :: Google Talk Application - Sending But Not Receiving Messages

Aug 21, 2010

So today I tried using the Google Talk app with a friend of mine who was at his computer. I could see he was online and so could he, and he could receive the messages I sent him. However, I couldn't receive any messages he sent me (which was unfortunate since I set up a really cool Beach Boys ringtone to go off for gchat notifications...). Anyways, has anyone else had this problem?

View 10 Replies View Related

Android :: Trying To Start A Thread Dedicated To Sending And Receiving Data

Apr 8, 2010

I 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 Related

Android :: Sending Data To HTTP Servlet And Receiving String

Dec 30, 2009

This 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?

View 2 Replies View Related

HTC Desire Z :: Receiving Or Sending Any Data Through Wifi

Nov 29, 2010

i 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 Related

Sony Ericsson Xperia X10 :: How Much Data Phone Is Receiving / Sending

Apr 19, 2010

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?!

View 12 Replies View Related

HTC Legend : GPRS - H For HPSA Was In Status Bar - Occasionally Sending And Receiving Data

Sep 5, 2010

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.

View 6 Replies View Related

Android :: Android - What's Best Way To Test Sending / Receiving MMS Messages?

Oct 11, 2010

I'm writing an app that stores secret (encrypted+hidden using steg) information in MMS messages. Obviously I need a way to test this, in particular, sending and receiving MMS messages. I have one Android phone, a Nexus One. I know that MMS's cannot be sent between emulator instances, but other than using up loads of MMS credit, is there another way of testing out MMS sending/receiving without just spending loads of money?

View 1 Replies View Related

General :: Receiving Picture Messages With No Data

Apr 23, 2013

so 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 Related

Android :: Sending And Receiving Data From A Web Service Using Android

May 18, 2010

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 Related

HTC Droid Eris :: Turn Off Receiving Messages On Both Messages And Handscent

Oct 13, 2010

Newly replaced Eris, so I'm reinstalling a lot of apps. But now I've forgotten how I fixed this problem the last time. I'm getting double the messages (and notifications), via both Messages and Handscent. All i really wanna see/hear from/use is Handscent.

View 2 Replies View Related

Sending And Receiving SMS And MMS In Android

Jun 15, 2013

how to send and receive MMS on Android?

View 1 Replies View Related

Android :: Receiving / Sending SMS In A Particular Port

Nov 26, 2009

I 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 Related

Android :: Sending And Receiving Emoji

Oct 10, 2010

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).

View 1 Replies View Related

Android :: Pass Data From BroadcastReceiver Through To Activity Being Started?

Apr 11, 2010

I've got an Android application which needs to be woken up sporadically throughout the day.To do this, I'm using the AlarmManager to set up a PendingIntent and have this trigger a BroadcastReceiver. This BroadcastReceiver then starts an Activity to bring the UI to the foreground.All of the above seems to work, in that the Activity launches itself correctly; but I'd like the BroadcastReceiver to notify the Activity that it was started by the alarm (as opposed to being started by the user). To do this I'm trying, from the onReceive() method of the BroadcastReceiver to set a variable in the extras bundle of the intent,Can anyone tell me what's different about passing a bundle from a BroadcastReceiver to an Activity, as opposed to passing the bundle from an Activity to a BroadcastReceiver?

View 2 Replies View Related

Android :: BroadcastReceiver For Data SMS - Static Works - Dynamic Does Not

Mar 29, 2009

I have created a broadcast receiver statically by specifying it within the Manifest, and I have also created the "same" broadcast receiver in code and have registered it with the application context. The static way works very well, but the dynamic way does not receive the expected broadcast. It could be that I am not creating the intent filter correctly, or that I need to register it with some other context somewhere. Please see the code examples to see what I am doing. This is related to receiving data SMS, it works very well on a device using a broadcast receiver defined in the Manifest. The correct permissions are set for both examples.

The following is from the Manifest, and the resulting receiver gets the expected broadcasts:

CODE:.....

The following is the code example that doesn't work (it does work with an intent like "android.provider.Telephony.SMS_RECEIVED" but not for data sms):

CODE:.....

The question is - why does this broadcast receiver get notified of the incoming data messages? It seems some other resource is notified when the Manifest version of the receiver is created...

View 4 Replies View Related

HTC EVO 4G :: Evo Not Sending Or Receiving Mms

Nov 17, 2010

so I'm a new evo owner, had the phone for about 2 weeks.Love it, it's the best.Onto the problem.When I first got my phone I was sending and recieving pics no problem.A few days later I was not able to send a pic. I thought it might be too big, but knew that the evo should reduce the size and send it.After doing some reading online, I found many people suggested downloading handcent.I did this, but still can't send or receive mms. My phone is not rooted, don't know what that would do anyway.I know there are some hardcore evo users reading these threads and I see many people have had the same problem I have, but I have not found an answer to this yet.It's not a huge deal if I can't see the picture my buddy send me of his ass, but with this phone I should be able to see it if I want to.

View 5 Replies View Related

Android :: Sending / Receiving Custom Broadcast Intent

Jul 25, 2009

I'm building a service that sends a broadcast intent when some value changes. The service sends the broadcast like this:

Intent broadcastIntent = new Intent(); broadcastIntent.setAction("nl.vu.contextframework.NEWREADING"); broadcastIntent.setData(Uri.parse("context://"+cer.getKey())); broadcastIntent.putExtra("reading",cer); broadcastIntent.addCategory("nl.vu.contextframework.CONTEXT"); sendBroadcast(broadcastIntent);

In some Activity (in a different process), I'm tryint to receive this broadcast as follows:

IntentFilter intentFilter = new IntentFilter();
intentFilter.addDataScheme("context");
intentFilter.addCategory(CATEGORY_CONTEXT);
registerReceiver(new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
Log.d(TAG,"Received intent "+intent); }
}, intentFilter);

View 6 Replies View Related

Android :: Sending / Receiving Java Objects To Server

Sep 23, 2009

I have a Tomcat Server in front of a Servlet that gets/stores information in a MySQL Database. My Android application needs to get/ put information on to this server. I control both ends of the communication, so I've basically been exploring the "best" way to send information back and forth. So far, I've tried Jackson for JSON and the native Java Serialization packages. My object is relatively complex and completely serializable.I have no desire to write a "custom" guy at all, as I doubt I'd actually be able to improve on most of the packages.So with that being said, are there any other strategies/packages I should try to get information to/from my server?

View 9 Replies View Related

Android :: Unable Sending / Receiving Mails In Emulator

Jul 9, 2010

I configured my Gmail account successfully in the emulator. My goal is to respond to incoming messages in the mail account from my own application - for example display notification. I am using the standard mail application that comes with the emulator. I tried to receive mails from my account, but it does not work, there are no conversations in the standard mail application. I can't send and reveive messages from inside the emulator. Why?

View 8 Replies View Related

HTC EVO 4G :: MMS Not Sending Or Receiving And Buttons Always On

Jun 14, 2010

How can two EVO�s purchased at the same time have the most random problems?My girlfriend and I bought our EVO�s at the same time/place and both have completely different random problems.

#1) When we first got our phones we tested out a bunch of stuff including texting photos to each other. She got the ones I sent, but I didn�t receive hers. I thought it was something wrong with my phone, but after a bunch of testing, it looks like it�s hers. What makes it annoyingly weird is that I can receive texts with photos from her UNLESS she sends it in this manner: from the photo she chooses share, then the screen comes up to enter who to send it to. If she enters my name by hitting the search magnifying glass in the upper right and then chooses my name, I will not get the text. Every other way she sends it, I will receive the text. Makes zero sense as I can send her a photo text any which way from my phone and she gets it.

#2) My EVO has the 4 navigation buttons dimly lit all the time unless it�s plugged into the charger. Her phone does not. Not a huge deal, but I am concerned it is draining the battery just that much more unnecessarily.

View 1 Replies View Related

HTC Desire :: Receiving And Sending MMS A Lottery?

Nov 20, 2010

I'm using a Desire on T-Mobile UK and it seems a bit of a lottery as to whether I can send or receive MMS messages. Sometimes they are sent and received without a problem when I'm connected via WiFi, but on other occasions I have to switch to a data connection to send or retrieve MMS messages.The message I occasionally encounter is "generic network failure".

View 3 Replies View Related

HTC Hero :: Sending & Receiving Files

Dec 31, 2009

i have a HTC Hero & i was wondering how you send songs or images to other people via Bluetooth?I have looked around the phone and there is no Send via Bluetooth anywhere.It kinda sucks if you cant do it as every phone these days should have the capability of sending & receiving Files.

View 1 Replies View Related

Samsung Fascinate :: Not Receiving Or Sending Texts

Sep 10, 2010

I just activated my new fascinate and can not receive or send texts from my GF (who is on att) but I can get texts from my roommates (on verizon). Anyone know what the deal is?

View 1 Replies View Related

HTC Hero :: ActiveSync Only Receiving Email But Not Sending?

Oct 23, 2009

I am able to sync with my exchange email on the HTC Hero for Sprint, but i am not able to properly send emails. I can send an email and it will appear as it goes through, but the email is never actually sent or does not show up on my sent box (on either the phone or outlook).Any similar issues from others & any suggestions on fixing?

View 6 Replies View Related

HTC Incredible :: Strange Receiving And Sending Pictures

Jun 3, 2010

I've been using Handcent and I have trouble receiving and sending picture messages. When I get a picture is views it as a movie? how can I change it so it is just a picture, as for sending pictures, It's not working at all! Any fixes?

View 1 Replies View Related

Sending And Receiving Asynchronous HTTP Requests?

Jul 20, 2012

I developed a game for Android called Jumping Bird, it writes the score obtained by the player in the database on my web server, but it does so synchronized. While it tries to write data in the database on the web, the entire game is stopped , and worse, when the server is slow, the request takes more than 5 or 10 seconds, an ANR(application not respond) error occurs and the OS tries to close the app.

I wonder how I can make that request asynchronous.There is any library that does it?

View 1 Replies View Related







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