Android :: App To Communicate Over Phone USB Port
Jul 2, 2010
I am working on a app that will eventually need to communicate with an external device over the phone USB port. Are there any USB drivers and hooks in the Android OS for such applications.
View 4 Replies
Nov 12, 2009
Can't Port Number within the same carrier. Situation: I've been with Sprint since 1997. Long story short, I have a plan I don't want to give up: PCS Free & Clear Plan
$27.00 per month
700 Anytime Minutes
1000 SMS Text Messages
Unlimited Night & Weekend Minutes* (Starting at 7 p.m.)
Free Roaming
Free Mobile-to-Mobile
See blog post here:
Bourne to Blog: Negotiating with your Mobile Phone Carrier. I wanted to upgrade to an Android phone, but this would require a "data plan". Some time ago, I was told that since I wanted to keep my plan, I could add unlimited data for an additional $30/month and keep the plan. However, about a month ago, I emailed customer service wanting to do this with the Android phone. They told me can't do this with the Android phone, you'll have to switch to data plan (essentially losing my plan).
So, here's what I did: My dad got me an Android on his "Family Plan" along with my step-mom and step-sister. To add me onto his plan is just an additional $20 per month. So, this made the most economical sense (since I wasn't about to give up my old phone and plan).
View 6 Replies
View Related
Jan 22, 2014
I am trying to port a 4.2.2 rom but my phone currently only has a 4.2.1 rom. When I port the rom I get lots of force close errors such as SystemUI has stopped what should I do to fix this.
View 9 Replies
View Related
Feb 27, 2009
I am using a TabHost one tab with a list and another to show the details of a specific item selected in the list. Does anyone know how I can communicate between tabs?
View 2 Replies
View Related
Mar 25, 2009
I am trying to send AT commands via Ril from LocationManager as there is only one AT port I can use. But it seems like that there is no ways to call the function refer to Ril. Can I just new a commandsinterface and to call ril's functions via it?
View 2 Replies
View Related
Apr 22, 2009
I have read 'http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html', specifically step 4 ahow can I return a different result to the 'calling activity', in this example, it always return ACTIVITY_CREATE. What if the 'activity being launcher' has a 'okay' and a 'cancel' button. How can the 'calling activity' knows which button user presses in the 'activity being launcher'.
View 3 Replies
View Related
Nov 24, 2010
my machine is running window 7.i want to communicate bw two android emulators running on same machine.Emulator 1 is listening on some ip 10.0.2.15 when emulator two tries to create Socket socket = new Socket ("10.0.2.15",8080);it gives exception, unable to connect to 10.0.2.15.does any know how to solve this problem??
View 1 Replies
View Related
Apr 9, 2012
I want to control my pc with an app on my android device over usb. Is this possible.
View 1 Replies
View Related
Feb 17, 2010
Suppose I have an Activity that's a list. It calls a Service when this Activity starts.The Service will do background stuff download, parse, and fill the list.My question is this: How can the Service communicate with the Activity?How can I call a method in the Activity, from the Service? (I'm new to OOP)
View 2 Replies
View Related
Sep 6, 2009
How does BaseAdapter communicate with its ListView? I was wondering how the BaseAdapter.notifyDataSetChanged() method notifies the attached View that the underlying data has been changed and it should refresh itself? When creating a BaseAdapter you attach it to the View with.So the ListView then knows it's adapter to get list elements. But you never tell the BaseAdapter what ListView it is attached to. So when you call BaseAdapter.notifyDataSetChanged() how does it reach the View to tell it to refresh itself?
View 3 Replies
View Related
May 12, 2010
I'm loading up a webview with some locally generated html and javascript.It makes calls to app methods just fine.But what's the right way to get data from Javascript back to the application? It's simple to have javascript call app methods, but any parameters specified in the call on the javascript side don't survive the trip (I just get null in the app).Gross hacks seem obvious (open a url and encode the data in the url), but that can't be right.You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 3 Replies
View Related
Jan 30, 2010
In my current project I have a full screen TabActivity. Each tab content is handled by two instances of same ListActivity. Now, I put an extra int in intent to know which data should be displayed.So in onCreate method of my ListActivity, I check the int in extra and I build my query to obtain a SQLLiteCursor.I would like to dynamycally give to this two instances of ListActivity the list of item that should be displayed.I do not know what is the best way to do this. Any idea ?
View 1 Replies
View Related
Aug 25, 2009
i have some problem to communicate with a service from an Android application.The service is in a first package "package com.myService" and the application in another on "package com.myApplication".My service work and start well but my next step is to add an AIDL interface to external applications.I have tried to follow the recomandation described here : http://developer.android.com/guide/developing/tools/aidl.html, but i have still the following error (given in the log service):W/ActivityManager( 568): Unable to start service Intent { action=com.MyApplication.IBootstrapService }: not found
View 2 Replies
View Related
May 19, 2010
I'm wondering which is the best way to communicate between a Service and an activity..
Broadcast intent
Callback
others?...
View 1 Replies
View Related
Sep 30, 2009
i have an app widget that has a couple of buttons on it, and in my onUpdate() call, I am hooking up the buttons to do something when you press them
RemoteViews remoteViews = new RemoteViews(context.getPackageName (), R.layout.appwidget); remoteViews.setOnClickPendingIntent(R.id.Button1, button1PendingIntent); remoteViews.setOnClickPendingIntent(R.id.Button2, button2PendingIntent);
The problem is that when I click on button2, it sends the button1 pending intent. i think that's because it's reusing the pending intent. http://groups.google.com/group/android-developers/browse_thread/threa. "If the creating application later re-retrieves the same kind of PendingIntent (same operation, same Intent action, data, categories, and components, and same flags), it will receive a PendingIntent representing the same token if that is still valid, and can thus call cancel() to remove it." So then the question is, how do I communicate which button was pressed?
View 4 Replies
View Related
Nov 20, 2010
My intention is to let two applications communicate using DBus . i know that DBus is already integrated into android,Dbus binaries DBus send,DBus-monitor,DBus-daemon are already available. i am trying to create an application which will connect to the Dbus and start sending signals and messages over DBus . for this i have used basic DBus API's to establish connection to the bus.
I have written native code to connect to the DBus.here is the code
CODE:.................................
View 2 Replies
View Related
Jun 25, 2010
I currently have a Service and an Activity in my application.I currently bind the Service to the activity without using AIDL as the Service and the Activity are in the same application.This allows me to call the methods from the Service within my Activity when I require them, however it doesn't let me call the methods of the Activity from within my Service when I want to.Can anyone comment on what would be the best way to achieve this?I could use Intents but is there an alternative option?I want to have tight communication between the Service and the Activity, I want to be able to call an Activity method from my Service when an event happens.
I now have it working the way I want, however I have come across a problem.My service gets status updates and my Activity is then supposed to react to the update sent on from the Service.The problem is that when I start my activity I get the Dialling Status and then Connected status before the onBind is called and I get the instance of iCallDialogActivity.
I need to be able to use my iCallDialogActivity when I get the Dialling and Connected Status notifications.But this gives me a NullPointer Exception due to it not being created in time when my Activity starts, binding is the first thing I do in my Activities onCreate().Is there a way to make it bind straight away?
View 1 Replies
View Related
Oct 10, 2010
I am not a fan of the stock Android UI, and I really like HTC's SenseUI. Just thought I'd ask if there is a port of SenseUI for the Droid. By the way, I know that there is a SenseUI theme for ShadowROM. I am running that on my phone now.
View 5 Replies
View Related
Sep 16, 2010
Is it possible to port WP7 OS and integrate it on the Droid X? This could be a great project for anyone interested.
View 2 Replies
View Related
Aug 16, 2010
I got my Evo today, finally. I noticed when I plug in the usb cord to my computer, no matter what I set it at (charge only, mount hard drive, etc....) the computer makes the noise like i've unplugged something from the usb even though everythings still plugged in. once it does that the phone is no longer charging and I cant see the hard drive anymore until I unplug and replug it back in. then it does it again within a minute or two.
View 6 Replies
View Related
Oct 16, 2010
Is it possible to port HTC sense onto a galaxy s?
View 1 Replies
View Related
Nov 14, 2010
What do we do now.. i cannot charge my phone which means i cannot talk on my phone because the port on my evo 4g at which i am to use to plug my charger into, is broken. after looking into this issue on the internet, i have learned that this is not an uncommon issue but that this is a very common issue amoung evo users... i absolutely love this phone, however i am very let down and discouraged to have developed this problem and i am hoping that there is an easy solution... i would hate to have to be any more irritated than i already have become.
View 3 Replies
View Related
Oct 4, 2010
Ok so my charging port is broke but I'm rooted.Would sprint be able to still fix it under warranty since they dont need to see my software to operate? Or would they be douches and check?
View 17 Replies
View Related
Jun 6, 2010
Does anyone know if you can port video from Sprint TV to your TV with the phone's HDMI out?
View 6 Replies
View Related
May 16, 2010
An application I'm building uses a local Service for downloading files from the web to the phone's SD card. In this app users can browse lists of books, and read them while online. A user can also download a pdf copy of a book for offline viewing. To handle downloads I'm using a locally bound Service. I do not want this Service to run all the time, only when downloading files. So that the Service can shut itself down when its tasks are complete, I am not binding to the service, rather I'm sending an "enqueue for download" command through the Intent passed to Context.startService.
Books available for download are shown in a list. A user can choose to download a book by clicking on its row in the list. On download, I need to show download progress using a ProgressBar on the actual book list row. I need to also show, on the rows, if a book is enqueued for download, or if its download has completed or failed. The books can be shown in different activities throughout the application--in search, or in the user's list of favorite books, for example. When the books are shown in different places, these are not the same objects, but they are uniquely identified by their bookId...............
View 1 Replies
View Related
Apr 30, 2010
I have an application A and a application B that both have an activity. Now i want to send Data from activity A1 to activity B1 and back. Whats the easiest way to to dis? I tried to use Remote Service via AIDL, but this doesn't work very well in both directions because I only can pass the primitives data types and not every object i like (ok i would have to implement parceable but this is not really practicle). Then i read this post by Dianne Hackborn.
View 5 Replies
View Related
Aug 2, 2010
In the Activity I write Intent i=new Intent("IntentServiceTest"); Bundle bundle = new Bundle(); bundle.putString("abc", "def"); i.putExtra("wer", bundle); IntentTest.this.startService(i); Start Service into Service OnCreate method,but I don't know how to do get this Intent in this method.
View 11 Replies
View Related
Feb 16, 2010
I have a service that listens to a socket. When receiving certain input it is to create an activity. When receiving other input, it is to kill this activity. I have struggled for a while to make the service communicate with the activity through AIDL (http://developer.android.com/guide/developing/tools/aidl.html), but this seems to not be effective. I think AIDL is only effective when the process that is to be talked to is a service, not when it is an activity? I would love some directions or suggestions on how to solve my problem.
View 1 Replies
View Related
Apr 29, 2010
I have written a command line interface program in the C language. This kind of programs (as you know) waits for user commands typed in the terminal and reacts on depend of them. In fact, the program implements a callback function which parses the command and invokes the appropriate function in order to respond to the user.Now, I have to make a Java GUI (Graphical user interface) for the desktop (Ubuntu) version of this program and then port the same program to the Android Platform (of course the GUI will respect Android framework), so I'm looking for the best way to do it.I have heard about JNI and JNA and I don't known which one will be the best for me. By the way what are the main differences between JNI and JNA.
View 1 Replies
View Related
Sep 13, 2010
What is the difference between 2 ways of interaction between applications on android:
1. implementing service in app #1 and using it in app #2.
2. handling intentions and posting answer intention.
View 2 Replies
View Related