Android :: Where On .git.kernel.org Can Find Source For Classes As Activity Intent And ContentProvider
Sep 1, 2010
Not sure how to figure out which android project on android.git.kernel.org corresponds to the classes extended in some of the app examples in the SDK such as Activity, Intent, and ContentProvider.
View 1 Replies
Jul 2, 2010
My program has a list of tabs that each contain a list of people.Clicking a person should edit their details, but instead, clicking a person throws an ActivityNotFoundException.
View 2 Replies
View Related
Jul 25, 2010
I want to specifically run the default Android browser for a given URL. I'm using this code: I also tried adding <uses-library android:name="com.google.android.browser" /> to the manifest. Am I missing something here? PS: I'm not interested in using startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"))) as it will list all the choices for the browsing Intent.
View 3 Replies
View Related
Apr 15, 2012
i have: CMW recovery, Kernel source code on local computer, full repo cm source + toolchains.
How to add my device tree, kernel source code to CM source and compile CM7 ROm?
View 3 Replies
View Related
Mar 19, 2010
I am looking for the implementation of the IAlarmManager.I am interested in the scheduling done by the AlarmManager.setInexactRepeating method and so I started looking for the implementation but I haven't been able to find anything.Internally to AlarmManager, I can see that the actual work is being done by an android.app.IAlarmManager interface.After googling around for a bit there seems to reference to an implementing class called android.app.IAlarmManager.Stub but that is as far I get.I am working with Android 1.6.
View 1 Replies
View Related
Nov 24, 2010
When calling javah on a .java file in my android project, javah was unable to find the android classes (specifically android.graphics.Bitmap).
Here's the terminal output:
CODE:..................
View 1 Replies
View Related
Oct 23, 2009
I'm having troubles with ADT and JUnit Testing.
When I use HttpClient classes, my JUnit tests fail with errors like: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient.
I run my tests in Eclipse as "JUnit Tests" (not "Android JUnit Tests") with the "Android Test Launcher". An idea about how to resolve this problem?
View 2 Replies
View Related
Mar 19, 2009
I've developed an application that receives a Broadcast and then launches an Activity, where that Activity queries a ContentProvider which pulls information out of the DNS in real-time.
I'd like to be able to shuffle this so that instead of going:
CODE:.......
It goes:
CODE:.......
i.e. if the query() returns no data I want to miss out launching the activity, and allow the Broadcast message to fall through as normal.
If the query() does return data, I want that Cursor to be supplied to the Activity, so that I don't have to go and query for the data again.
In turn, the Activity has its own UI which the user needs to respond to.
View 2 Replies
View Related
Nov 17, 2009
Can anyone please do share the android 1.6 (donut) kernel source code.
View 2 Replies
View Related
Jun 21, 2013
I am needing to make a kernel for a certain device. There aren't any source codes available for that device but there are for multiple clones out there. I am running Linux Mint Debian edition and i cant find a guide for compiling a kernel on debian.
View 1 Replies
View Related
Jun 17, 2010
Since I seem to have caught two activity references in a heapdump, where the Activity is set to singleTask. Romain's advice on avoiding memory leaks includes: "Avoid non-static inner classes in an activity if you don't control their life cycle, use a static inner class and make a weak reference to the activity inside"
What does this mean exactly? I can't find any examples, positive, or negative for this rule. I do have some non static inner classes in my activity. Most of them are anonymous inner classes like this one. I see hundreds of them in the samples:....................
View 24 Replies
View Related
Feb 14, 2009
I am having trouble running my application as every time i try to run it the simulator gives me a an error.
I looked through the Documentation but I couldn't find anything on user created classes.
CODE:.................
View 12 Replies
View Related
Mar 3, 2010
I'm writing a game for Android. My GUI has the following basic screens (i.e. the information and interactions required on each of these would take up the whole display):
Main menu (let you start a new game, enter settings, see high scores, see about screen)
Game screen i.e. where the actual game is played.
Settings screen.
High scores screen.
About screen (i.e. credits and a back button)
Game over screen (arrived at when the game ends)
Pause screen (pauses game and can access settings)
The following are some example transitions the user might make between these screens:
1->2->7->2->6 (starts new game, pauses game, returns to game, finishes game)
1->5->1->4->1 (views about screen, goes back to main, views score screen, goes back to main)
I'm really confused about when to have just one activity that switches layouts and when to create new activity classes. For example, when my game loads, I have a "main" activity that loads the main menu layout. When you click the settings button, I launch a "settings" activity (which uses android's standard settings GUI). For the moment, when you start a game, I switch the layout of "main" to the game screen layout (which just contains one big surface view). I'm not really sure what the best way to integrate the game over screen, high score screen, about screen etc.
Creating a new activity for each seems really heavy weight to me. There's quite a lot of boiler plate code involved for each activity. Plus, communication between activities seems like a pain as you have to use bundles. Using just one activity means I can just share object fields directly. It seems that using layouts for the above would be more compact. Can anyone give me some recommendations?
View 1 Replies
View Related
Sep 8, 2010
I am new to android development and am currently working my way through the "Hello..." Tutorials on the developer website.
I got stuck on the Tab Layout walkthrough and the only way I could resolve it was to put each Activity Class in a separate .java file.
I was wondering if all Activities need to be in separate .java files, or am I missing something.
View 1 Replies
View Related
Jul 28, 2009
I'd like to download the android kernel completely. Can I know from where I can get the site to install the android kernel and also the complete source code of the emulator. Also from where can I get the patches of the git?
View 3 Replies
View Related
Jun 5, 2010
I create 2 simple activities, first activity is to login, after that proceed to the second activity. However, the intent is having some runtime error: saying that the sources is not found.
View 2 Replies
View Related
Jul 30, 2013
I use my phone Huawei Y210 and found the kernel source provided by Huawei. compile the kernel source.This is the link kernel: URL....
View 1 Replies
View Related
Jul 28, 2013
Our device (Huawei D1 U9500) has available kernel source for 4.0.4 (ICS). Is it possible to make JB compatible kernel from it? The device is TI OMAP 4460 based (blaze board), btw.
View 1 Replies
View Related
Nov 5, 2010
I go back and forth about how to name activity classes.Activity seems to imply a verb, like EditContact, for example.But that seems more like what one would call the Intent that triggers EditContact.Should the activity be named ContactEditor instead?
View 2 Replies
View Related
Feb 14, 2014
I am looking for the hp slate 21 open source kernel. I want to modify the kernel image to change the power_start from 0 to 1 so the tablet can boot when the tablet is plugged. How to do it or has the open source kernel that would be great.how to unpack the zImage kernel for the hp slate 21.
View 4 Replies
View Related
Jul 27, 2013
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate.
View 6 Replies
View Related
Oct 17, 2010
My app works with pictures. It can take multiple pictures as an input, process them, and send them again to another app.
As a consequence, my main Activity has declared an intent filter on ACTION_SEND_MULTIPLE for image/* mimetypes and can result in issuing a new Intent with the same action and data type using Activity.startActivity(Intent).
Is there a way to exclude my own activity from the list of apps that is displayed to the user after the startActivity() call ?
View 1 Replies
View Related
Aug 17, 2010
According to this SDK guide, unit-testing a Library project can be achieved by creating a standard application project, reference the Library project and then instrument the application for unit testing. However, when I do this and launch the test application I get the message.No tests found with test runner 'JUnit 3".I'm using Eclipse and the Android ADT plugin, all latest versions.the projects compile just fine. The test project also installs fine to the emulator. But in the console I can see that it looks for <library>.apk, which of course doesn't exist since I'm compiling this as a library into the test project.
View 1 Replies
View Related
May 19, 2010
[Kernel - DE03] joeykrim-SDX - v0.5 - May 19th 2010
Joey had it out 5-6 hours after source was released this contains Numus' battery code and more.
View 28 Replies
View Related
Jan 24, 2014
Is there any way (or what is the best way) to visualize what specific files within a kernel source are inter-related, what files take priority over others, etc? For example, I want to trace from top to bottom the related kernel source files & actions that would be triggered by insertion into a headphone jack, and dig through the code as much as I'm able and try narrowing down the source of a problem. I can (and have) poked around in github, and understand how to compile the kernel, but don't quite have a grasp of the hierarchy of files, drivers, etc. within the source.
If there isn't a way to 'map' out a specific kernel source, any generic flowchart or 'map' created in general for visualizing the inter-relationships of source files within android kernels?
How to compile a kernel, pack into a boot.img, edit a ramdisk, etc., within the last few weeks, but this is a major roadblock in my understanding of kernel source code.
View 1 Replies
View Related
Aug 30, 2013
implementation of undervolt in the source of a custom kernel for my Galaxy Ace II X (GT-S7560M)?
View 1 Replies
View Related
Feb 24, 2012
How to update KGSL Drivers in the kernel from source??
View 1 Replies
View Related
Oct 28, 2009
I frequently run into the problem that I have to preserve state between several invocations of an activity (i.e. going through several onCreate()/onDelete() cycles). Unfortunately, Android's support for doing that is really poor. As an easy way to preserve state, I thought that since the class is only loaded once by the class loader, that it would be safe to store temporary data that's shared between several instances of an activity in a static Bundle field. However, occasionally, when instance A creates the static bundle and stores data in it, then gets destroyed, and instance B tries to read from it, the static field is suddenly NULL. Doesn't that mean that the class had been removed and reloaded by the classloader while the activity was going through a create/destroy cycle? How else could a static field suddenly become NULL when it was referencing an object before?
View 2 Replies
View Related
Mar 29, 2014
I am following this right here [URL] .... And i keep getting command not found even though i am sure its right.
Code:
~/AlienKernel3.0-alien-4 $ export CROSS_COMPILE=/home/user/ndk/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
Code:
sudo make clean && sudo make mrproper
Code:
make: /home/dm47021/Android/toolchains/arm-unknown-linux-gnueabi-linaro_4.8.2-2013.08/bin/arm-unknown-linux-gnueabi-gcc: Command not found
/bin/bash: /scripts/gcc-version.sh: No such file or directory
[Code] ....
View 1 Replies
View Related
Jul 2, 2010
Where and how can I find and download Android 1.5 source code?
View 3 Replies
View Related