Android :: Linux Kernel - Communicate With Android Application
Dec 4, 2009
I want to deliver some event to android application. I thought it should pass the event to android framework library and then transfer the event to android application. Is there any clear sample about such scenario? or anyone can show me the hint how to make it work.
View 2 Replies
Nov 17, 2010
I am having a serious problem. What i have in my hand : Linux Kernel 2.6.29 with Android Eclair patches and some board specific patches(as .patch files). Linux Kernel 2.6.32 with Android Froyo patches.
View 1 Replies
View Related
Oct 13, 2010
Is Android is going down a dead end?
When will Google rejoin the Linux kernel community?
Is it Goodle's business model (spyware by any other name?) clashes with the ethics of the open source community?
View 2 Replies
View Related
Jan 13, 2010
i want to add some features to linux kernel to run on my mobile (android based mobile perhaps). but i don't know who let me to upload my custom kernel. i want to buy such mobile phone. some restrictions about uploading custom kernel to phone:
1- replace existing kernel.
2- can use my phones functionalities: it is due to some drivers are closed source and i must use the vendor's kernel to use it's drivers.
View 2 Replies
View Related
Mar 24, 2013
How to build latest linux kernel from off site for Android device (for example Nexus7)?
I have: AOSP source code
Android build for device (from aosp)
Downloaded kernel 3.8.4 from off site
The question is: How can I build latest kernel using all described stuff (aosp source, kernel config, latest kernel)?
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
Aug 12, 2009
In Android, how do I get the application's id programatically (or by some other method), and how can I communicate with other applications using that id?
View 3 Replies
View Related
Sep 12, 2013
I am trying to do some low level performance testing related to device processor cores through adb which I feel it is affected by Android background services and system stuff.
As I know that the Android boot sequence stages are as follow:
1.Execute Boot ROM code.
2.Execute the boot loader.
3.Load the Linux kernel.
4.Launch Zygote, which initializes the Dalvik VM.
5.System server which loads the Android system.
So my question is how can I interrupt this sequence to force it stop on stage 3 to load Linux kernel. This can implement my intermediary performance testings before loading again Android system.
Does Fastboot or Clockworkmod recovery can load my device to a kind of Linux kernel?
View 2 Replies
View Related
Jan 28, 2010
Is it possible to run apk application on Linux without using android emulator? if yes, How ?
View 2 Replies
View Related
Feb 20, 2009
I've got a problem! I don`t know how to sign an application on Linux. Can you please help me?
View 9 Replies
View Related
Sep 14, 2009
I want to install an application apk from a Linux machine to a mobile phone (Samsung Galaxy) When I run adb install from Linux (Kubuntu 9.04), I get a message telling : no device found.
View 13 Replies
View Related
Mar 23, 2010
The kernel messages are stored in /proc/kmsg.
Is it possible for me to display these messages through an application?
I want to just select certain messages and display it.
Is it possible for me to search kmsg and select only some messages to display?
View 2 Replies
View Related
Jun 19, 2010
i successfully got into adb in recovery mode fairly easily on my ubuntu 10.4 laptop using the following method- this should also work for a linux live boot from a usb flash drive
in one terminal tail and follow log messages
~$ tail -f /var/log/messages
In another terminal run the loop
Then
1. plugin usb and keep it plugged in
2. remove battery, eject sd card.
3. put battery in
4. press vol- and power
5. after around 6 seconds, your terminal with the log will show something like "new high speed USB..."
6. press vol- to select recovery
7. press the power button
8. IMPORTANT- as soon as you see a new log entry (something like "USB disconnect"), pop in the sd card
check your loop terminal for adb. if it doesn't work, repeat at step 2
View 2 Replies
View Related
Nov 18, 2010
Does anybody know if the new desktop kernel patch written by Mike Galbraith can be applied or modified to be used in the android kernel?
Tiny Linux Kernel Patch Delivers Huge Speed Boost - PCWorld Business Center
I haven't messed around with android kernels yet, but I have applied it to my current Ubuntu 10.10 system and you can see the difference. Its like night & day!
View 2 Replies
View Related
Mar 3, 2010
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?
View 1 Replies
View Related
Apr 16, 2009
I know android is based on linux, does this mean it can run any and all linux applications? If so has anyone tried to run anything like wine? I also noticed that by default you cant run apps directly from sd card, but i saw a modification on a site that lets you change it so you can, so technically speaking is there any limit on the size of sd the G1 can handle?
View 1 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
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
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
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