Android :: Way For An Ordinary Application To Replace Low Level Classes?
Sep 2, 2010
Is there any way for an ordinary application to replace low level classes that are preloaded on startup, so that higher level preloaded classes will end up calling my custom versions rather than the originals?
I'm thinking the answer is no, but want to make sure I haven't overlooked something.
View 3 Replies
Feb 24, 2010
I was looking 2 weeks ago for sending back and home key events when on Click is performed on a Image Button, I could do that perfectly. I have a device with no buttons. So, I want to simulate Menu button click. To know what is really happening, I implemented a code in on Create Options Menu that rises a Null Pointer Exception. I got the following stack trace. code...
View 21 Replies
View Related
Oct 12, 2010
I'm engineer but more from a chip/assembler x86 level. I'm new to Android. Still figuring some general things out. I have written some apps, but have a general question. If I were to write an improved version of - let's say - TextView. Is it possible to make all app's on the system using this class, basically replace TextView? How are the java classes on the Android system, are they compiled, can I replace the library? Is this protected?
View 1 Replies
View Related
Jun 16, 2010
I came across this today and was wondering does this work in production app or does it merely work because my phone allows non market apks.
Here is an example, Take a class like, android.view.IWindow, and copy it's source into your project and recompile it after changing a few things. (Don't rename or repackage it).
Now when your APK loads in the VM, something odd happens.
CODE:...
So the logging is a little ambiguous, but is it saying that the classes in this APK are blocking out previous versions and that these new classes aren't being verified. If so I hope this is only succeeding because as developers most targets are in development mode when allowing non market apks (non rooted phones). However does this work in market released apps as well? This seems like a really nasty security exploit if I can override system interfaces just for my application.
View 4 Replies
View Related
Jul 2, 2012
I'm having trouble developing an app, while it works in API level 10, it does not in API level 7. I wondery why and I've been looking for a site that summarizes the differences, or the new features from one API level to another and cannot find it.
09-04 04:24:21.485: E/AndroidRuntime(6834): Uncaught handler: thread main exiting due to uncaught exception
09-04 04:24:21.510: E/AndroidRuntime(6834): java.lang.VerifyError: [code]....
There seems to be a problem with an uncaught exception and reflection, although....why does it work on API level 10?
View 1 Replies
View Related
Mar 31, 2009
Dears Is there any Library and classes that enables writing a NetMonitor application for 3G & Wifi like in Symbian phones? Android.net.wifi and android.net seems haven't enogh functions to do that.Are Android Kernal developers willing to set such Network functionalities as Symbian & Windows Mobile have.
View 2 Replies
View Related
Feb 21, 2009
It seems to be impossible to post to this group using an ordinary mailer!? I've tried to post to android- developers@googlegroups.com to no avail. Is this group moderated? second: I would like to know, whether Android is supporting JSR 177, especially APDUConnection, meanwhile.
View 2 Replies
View Related
Sep 25, 2010
Can anyone suggest me a nice app to see the battery level?
View 10 Replies
View Related
Apr 15, 2009
I want to ask to google engineers that whether future sdk releases will provide any CC++ support for application developement? If no.. then Can you tell me the disadvantage of these languages?
As per my knowledge and experience, runtime environment is not needed to execute CC++ application. So why cant we directly run any application which is written in CC++? Is there any way to bypass DVM to execute a code?? Core android librarys are CC++ only...
View 3 Replies
View Related
Oct 11, 2009
I want a application level object in Android.Here is the scenario... Suppose I want to pass a object from Activity A to Activity B then to Activity C D......... Then I will have to pass that object from Activity A to B then to C then to D....... Passing the Parcel Through the Bundle. Is there a Object in Android which can be accessed by all the Activities and its lifetime is same as the lifetime of the application.
View 2 Replies
View Related
Jan 27, 2009
after i got my application ready, i put it on my web server, then i got a big problem. i played around and finally find out couple facts between using edge (not 3g) and wifi to download my file 1. the size different. if i use wifi, the downloaded file is 59k which is correct, the one from edge is only 53k. 2. when i try to install them, the wifi one is just fine. but the edge one shows it is trying to replace Android System. and of course, the installation failed.
View 3 Replies
View Related
Sep 23, 2009
Is there a way to manage the audio levels through an app? Or is it more dependent on the phone's built in capabilities? Right now at work I listen to a skype audio call from my house (for security) at a very low volume and then at a higher level I listen to music or podcasts, both sources going at the same time. When my dog goes nuts, the door is knocked on, or (in theory) if someone busted down my door, I notice the change in volume and sound, turn off my local media, and focus on what I'm hearing until the drama passes.
I ask because I would like to continue this setup when not at work, like say while running, where I again have earphones in and am normally listening to audio content. I would like to be able to have two pieces of audio: music combined with a skype stream or normal phone call, going at the same time like at work. So is there a way to have two sources going at the same time, with the volume of each independently adjustable? Is this an app thing or a phone thing? Phone will be Sprint Hero.
View 1 Replies
View Related
Dec 21, 2009
Is there an app to replace the "Car Home" program that automatically opens when the Motorola Droid is placed in the car dock? It is bad enough that this screen comes up everytime you dock the phone in the car, but it is even more annoying that the "home" button is hijacked so that anytime you press it from any other program it takes you back to the "Car Home" instead of the main home. I would love to have an App that would allow you to designate a different program to open when in the dock, such as Quick Dial.
View 1 Replies
View Related
Nov 10, 2011
I have access to my email from the office. (Exchange). Unfortunately this means that I have to enter a pincode each time I want to unlock the screen.
I understand the meaning of this pincode... But is it possible to remove, so I just have the ordinary screen unlocker.
I have it on my phone
HTC Sensation
and my tablet
Samsung Galaxy Tab 10.1
View 3 Replies
View Related
Mar 31, 2009
Who can give me a input method application which can replace QWERTY keypad and do not need a HVGA screen (that can also fit VGA / WQVGA / QVGA)?
View 2 Replies
View Related
Feb 22, 2013
Is it possible to create a lockscreen replacement at the application level that replaces the device's security lock, whether it be PIN, passphrase, pattern or face unlock, or potentially a new method? I know it's possible in the framework level, and have done it before, but I'm just wondering if it's possible to do it at the application level.
So far the few lockscreen replacements that I've tried only implement a slide gesture unlock lockscreen UI, and falls back to the device's security lock after that.
View 1 Replies
View Related
Jan 6, 2010
But I have a couple of questions:
1. Replacement camera app? one that might load fast enough to actually snag a cool picture? one that lets you set where to save the pictures to?
2. Media Player / gallery app that lets you choose which folders to look in? I mean, it's funny as hell that my MOMENT gallery includes all the icon graphics from sprint navigation. So those there things there. can make my moment ROCK.
View 5 Replies
View Related
Feb 11, 2010
Are there any emails apps that we can use to replace the stock one? I would like to be able to filter emails but I just don't like the look or feel of the stock one.
View 13 Replies
View Related
Nov 10, 2009
I have been searching for an application to replace the need to press the power button up top in order to get the screen activated so that I can start using my phone once the screen powers off. I am hoping there is some kind of application that can do this just by changing the way the phone is held like if its accelerometer changes by a certain number of degrees or something like that.
View 49 Replies
View Related
Oct 29, 2010
I want to use the accessibility classes, but I'm a begginer in android programming and i can't understando how to use them. I don't find any example using these classes. Somebody can give me some use examples? Another thing Can I set enable the Accessility mode in the emulator?
View 2 Replies
View Related
May 18, 2009
I am writing a app, which has sort of plugin framework. public abstract class AbstractService {public abstract AbstractService getInstance(String name)..
View 2 Replies
View Related
May 29, 2009
I have an apk installed in /data/app. I want to use the class methods in there. Here is what I tried. code...
I got "ClassNotFoundException". By peeking into the apk, I don't see class files but classes.dex. I would assume SystemProperties class is in classes.dex. Why can I load it?
View 5 Replies
View Related
Apr 7, 2009
I am developing sample Video Recorder for Android.Following is My code snippet.
CODE:............
But when i am trying to run in eclipse,am getting following errors. MediaRecorder.VideoSource can't be resolved. MediaRecorder.VideoEncoder can't be resolved.
I am using android-sdk-windows-1.1_r1 as my android SDK,and didn update this from 1.0 instead i installed it freshly.
I guess there might be some problem with the SDK.
View 2 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
Oct 7, 2010
I have an app I am working on and being new to Android Dev I am running into a situation. I have a Scores class not extended from anything (Activity,Service, etc) but in the same package that needs to access SharedPreferences
public class Scores {
Context ctcx;
public Scores(Context context) { ctcx = context;
}
View 4 Replies
View Related
Aug 30, 2010
I am trying to determine how to structure the code of a simple android game I am writing. I am focused on the UI portion. The behind the scenes portion (like a pause/restart/switching/etc) does not concern me. The Android demo games source code already do a great job with this. Essentially my game will need a UI with a series of objects on the screen (roughly 100 or 10x10) that the user can interact with. I need to supply an image for each object as well as implement the touch events and animation events for each object. What I am wondering is what type of class do I use for each object so that I can successfully implement these methods and how do I implement that particular class. Note that this game only executes on a user interaction with one of these objects, meaning I don't need a "real-time" implementation.....
View 2 Replies
View Related
Apr 19, 2010
I have read the Backward Compatibility Article, and I don't full understand how (or if I can) make a program backwards compatible if I want to use a class introduced in later versions. For example, I want to use WallpaperManager for apis 5+, but make the app as a whole compatible with api 3+. Is this possible?
View 14 Replies
View Related
Apr 28, 2010
Since i'm still new on Android programming, I have some problems on some issues. I have a QuadTree data structure implementation in 3 seperated Java files and i would like to use this data structure in my application. But i don't know how to use this .java files in an Android project. I tried to put them in a new Android project, just for testing, but I get lots of errors. Could anyone help me about using this java classes in my Application?
View 3 Replies
View Related
Apr 6, 2010
I have a class2 which is involved by class1 when clicks are made. I have to pass some parameters/objects from class1 to class2. I only know the standard way which does not have an option of passing parameters.
CODE:.................
View 1 Replies
View Related
Sep 26, 2010
How can I install java classes not included with android ?
Is it possible to add java.awt.image package into android?
Where can I find above package jar file?
View 5 Replies
View Related