Android :: Better Way To Implement Backwards Notification From Installd To Installer?
May 21, 2010
I plan to make some tasks like DEX file optimization be processed by installd on the background asynchronously, thus installd needs to notify the Installer of the result at some uncertain point when the request has been processed. Currently, a socket connection will be established each time when Installer sends request to installd and the connection will be closed when it returns. Thus I plan to hold another persistent socket connection for the backwards notification. Then whenever a request has been processed, installd can notify Installer through the persist socket.
Is there any other way to implement this?
View 2 Replies
Aug 31, 2010
I am doing lots of Research on push notification but i don't understand how to implement in android 1.6. I want to ask what is the requirements for this? which type of information we get from the server end either in tags form or just information? what will be the input or output regarding this.Which input i give to the server and which output comes from the server. is there any device id to be require for this?
View 1 Replies
View Related
Aug 13, 2010
I'm trying to write a program that manages a form of messages, and these messages are received from an external data source. This all works. However, the problem comes when I try to notify the user: I would like to have the notification jump directly to the message when it is touched, but this seems to mess up the back stack. This is probably best explained by example:
I open up the message list, the main activity, and browse for a while.
I hit home and go into another app (let's say Music).
A new message is received. A notification comes up, which I touch. The message detail view is displayed.
Now I hit Back. What I want to have happen is that I return to Music, but unfortunately, Back sends me to the message list, and then hitting Back will return me to music.
The both the list and the detail activities are marked as "singleTop", and the exact flags that I use for the notification Intent are:
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TOP
FLAG_ACTIVITY_SINGLE_TOP
I figure if the Messaging application can do this, why can't I?
View 1 Replies
View Related
Nov 15, 2009
I've got a question as I don't have an Android 2.0 device to test on and this particular aspect seems untestable in the emulator. I've got a service that needs to be run as a foreground service. I have a notification that stops it etc, so I have no problem using startForeground instead of setForeground. However, I'd like to have 1 version of my app that works across all platforms... Is this possible? If my app is compiled with Android 1.5 and uses setForeground, then will that command actually work on an Android 2.0 device, or does it not matter which sdk was used to compile? I've tried compiling with 2.0, and surrounding the call to startForeground with a try/catch, but that throws a VerifyError when the service is started, when run on a 1.5/6 device since startForeground doesn't exist there. Can I catch and ignore the VerifyError somehow and make it work that way?
View 5 Replies
View Related
Dec 14, 2009
Are the newest versions of aapt backwards compatible with the older versions? i.e. can i read 1.0 & 1.5 apks with the 2.0.1 SDK aapt? My tests show me it works, but is it failsafe?If this is not the case, what's the easiest way to determine the android version an APK was developed for and know which aapt binary to use?
View 2 Replies
View Related
Apr 17, 2010
According to the instructions found here, to make your app state which screen sizes you can support, you'll need to compile your app against Android 1.6.
View 1 Replies
View Related
Dec 1, 2009
Is Android backwards compatible, in other words can an application developed in Android 1.6 run in Android 2.0? I just published a 2.0 application and discovered that I can't find it in the market using my G1 (Android 1.6) phone. But apparently others are downloading it. Should I downgrade the application to 1.6 or do I need to create separate applications for each Android version?
View 8 Replies
View Related
Apr 16, 2010
Here's my situation: I have an app that's been compiled using 1.5 SDK and minSdkVersion=3. Now I want to add 2 icons: one for high density screens like Droid and another one for low density screens like G1.
For this, I added the high density icon to new directory drawable-hdpi- v4/. I then compiled using 1.6 sdk and added targetSdkVersion="4" to the manifest. minSdkVersion is still 3.
This is working in limited testing, but I'm not sure if I have done everything correctly.
I have many questions:
1. By specifying v4 in drawable-hdpi-v4, the icon will not be displayed to 1.5 or below OS's. But what about users with 2.0 or higher SDK's? Will they get the non-hdpi icon, since they will have v6 or v7 ?
2. The documentation for targetSdkVersion states, "Specifying this target version allows the platform to disable compatibility settings that are not required for the target version (which may otherwise be turned on in order to maintain forward-compatibility)". Does this mean that my app will not be forward compatible as soon as I specify a targetSdkVersion? What exactly is being turned off?
3. Even if I leave out the targetSdkVersion="4", the app runs ok. So do I really need it?
4. Should I be using the latest SDK (2.1) and setting that as the targetsdkversion and compiling against that? Or some other combination of targetsdkversion and compiling sdk? I'm not using any API's that are not in 1.5..
5. Is any of this related to why some of my HTC Eris users have complained that they can no longer find my app in Market after upgrading to 2.1?
View 3 Replies
View Related
Feb 5, 2012
I am currently running CM 7.0.3 (2.3.3) and want to update ROM to CM 7.1.0.1 (2.3.7)
My Question is this: can I use THE SAME Titanium Backup APK from 2.3.3 to BACK UP ALL APP DATA and IMPORT APP DATA TO 2.3.7?
View 3 Replies
View Related
Sep 3, 2010
Can somebody please help me understand what this does? I have the appbrain app already so if i want to i can already go on my desktop sign in to appbrain click install on any of the apps i want on the website and when i next go onto my appbrain on my mobile it will automatically download them. So what does fast web installer do?
View 1 Replies
View Related
Aug 1, 2010
Is there an app available, either from the Market or other sources, which would allow me to install 300 apks at a time instead of going through eachone? I have discovered Droid Explorer but I am not willing to root my phone.
View 2 Replies
View Related
Feb 8, 2010
I need to make an installer which will ask for T&C and install the App . But i am not able to find any tutorial related to the same .
View 1 Replies
View Related
Jun 29, 2010
Is there a way to install Astro File manager without using the market? Because if I would need to install APKs in a situation where I don't have access to the market (No Internet access, etc.) I would need to use Astro File Manager and if I didn't have it installed I would need a way to install it without using the standard way of using the market.it would save me bandwidth to install it from the SD Card each time.
View 10 Replies
View Related
May 11, 2010
So what's the point in an apk installer? I've installed a few apps without it.
View 2 Replies
View Related
Jul 26, 2010
When you scan a qr code, the Dx auto downloads the application installer and executes it. Is there a way (possibly on the pc instead) to just download the app installer, and archive it for later use? I'm thinking about things like fancy widgets, that had to be removed, updated apps that are not as attractive as the original release, or applictions that might just vanish over time. They are all small, and I'd prefer to archive them on our PC, just in case. Is there a way to pull the installers off the internal memory of the phone?
View 2 Replies
View Related
Aug 18, 2010
I developed an "heavy" application (700 Mb !). With an "apk installer" application, i can install it on the Nexus One SD card (Froyo "installLocation" option). My application is heavy because of the videos it contains (located in /raw directory). The problem I have, is that it crashes when launched, with this error :
CODE:............
I dont't understand the reason of this error, because when i try the same thing with a lighter application (250 Mb) it runs perfectly. Has anyone of you ever had this kind of problem ? Do you know if there is a size limit for applications to work ?
View 4 Replies
View Related
Jul 21, 2010
I can't seem to figure out how to use the web installer. Where do you go on the website to push the app to install.
View 1 Replies
View Related
Aug 21, 2009
In Windows, we write "installer script", and user an "installer compiler" to generate an installer, let's say .inf for .msi/.cab and .nsi for NSIS.
But when it comes to Android, is there a similar method?
View 2 Replies
View Related
Feb 10, 2010
When providing a user on a mobile, a link to an android application via a web page, it is possible for params from the url to be passed to the app being installed.
I'm guessing the answer is no - but it doesn't help to ask.
The reasoning being that it would be handy for some situations to have a generic app that pulls config information from the referrer.
View 2 Replies
View Related
Sep 7, 2009
The package installer looks to take up a good amount of space when installing applications. We've published a very large game (ProjectINF - 6mb). And it looks to be taking up a good amount of space during the install process, to the point that we have a lot of users emailing us with complaints/requests to "fix it".
From what we've seen, it looks to take about 22mb of free space to install a 6mb apk. While I can imagine taking double or so for unpacking and temp locations, almost 4x the size seems a bit high. After an install with 22mb free, the device has 16mb free (which makes perfect sense). Users also seem to be getting errors on the market when trying to install with less than that amount of space (with no real clear error message, just "Install Failed".
View 14 Replies
View Related
Nov 24, 2010
I have some problem installing my apk file in code. Wondering if anyone could find out what I did wrong.
What I was trying to do is put a Check Upgrade function in our program. When user clicks it, it will send request to our web server and find out what is the latest version. I use app versionName to stamp a version, something like 2010.11.23. I don't use the version code in Manifest.xml file. So our program sees the latest VersionName is later than itself, it will download the latest one, and then use the following code to install the new apk file:
CODE:........
Now looks like, everytime when I changed the VersionName, it will fail to install the apk file. It downloads the file fine. I don't know exactly why. Sometimes, in Eclips, when I hit debug, I got error saying "Re-installation failed due to different application signatures". I don't know if this is the same error caused the installation failed.
So, looks like my questions are:
Should that upgrade logic work? I am wondering if it has something to do with the VersoinName.
What could cause the application signature change? (I did sign our program before I put it on our server, but I always use the same key file for different versionName. )
View 1 Replies
View Related
Apr 6, 2009
Couple of really big issues here that SHOULD be no brainers! But, they aren't. Anyone know what the EXACT name of an application installer on the Market that allows me to install appliations from the memory card? I've been looking for a few weeks now. A search for application installers that allow me to install a .apk file from the memory card turn up mentions about "Apps Installer" and "Application Installer", but I can't find anything with that name in the Android Market. Partial name searches like "Installer" turn up NO results. (That's not very "Google Like", now isn't it? The Android Market website, BTW doesn't allow you to search? Is that right? You can only search the Android Market from the phone? I can understand not allowing us to DOWNLOAD from the market to our PC, but not search so I can find the appliation name I want? Richard Schilling Root Wireless
View 2 Replies
View Related
Oct 15, 2009
I am facing problem in making installer in android.
Is there any solution in android.
View 2 Replies
View Related
Nov 24, 2010
I have iRobot Google MID Apad.
How can i obtain appbrain and fast web installer for my apad?
Is there an installer for appbrain market for apad? Where i can download it.
I don't have this application installed on my apad.
View 2 Replies
View Related
Aug 4, 2011
Is there a SIMPLE gui apk installer on mac? I used to use "Droid Explorer" and "Android Commander" on windows.
View 9 Replies
View Related
Apr 18, 2010
I have a simple app with a surfaceview nothing special one would say. However when installing on my phone I get two warnings.
1 - Phone calls
- read phone state and identity
2 - Storage
- modify/delete SD card content.
My really is nothing more than a simple puzzle and I dont understand why I get these warnings.
View 2 Replies
View Related
Apr 5, 2010
My company is developing a new device that will run on Android. I'm tasked to develop the software installation process, including application installations and updates as well as system software updates. I want to leverage as much as possible from the Android SDK. I'm looking for any advice or references to help me get started. I've downloaded the source code for Android 2.1 and have been tracing the source code path for software installations via adb. The path has taken me through adb client -> adb server -> adb deamon - > PackageManagerService -> installd.
View 2 Replies
View Related
Jun 1, 2013
how to use the aroma installer by armarulz? I wanted to use it to make an update.zip to flash my app datas and apks.
View 1 Replies
View Related
Jul 26, 2010
Anyone with a rooted Behold 2 use this app? I am just trying to verify if it works with a rooted behold 2 with the OTA 1.6 Rooted.
View 2 Replies
View Related
May 31, 2010
I have the official sprint 2.1 and i want to get my moment rooted but the original updater is required to flash roms and i cant find it anywhere. can anyone help me with a link that works?
View 3 Replies
View Related