How do I update an app that is not on the Market? - Android Software Development

Hello!!
I am developing an application for internal company use. Is there any way to perform automatic updates, without having to publish the application in the Android Market?

I think you're referring to a push-notification-type update. You should look into the process that Koush's clockwork mod uses for ROM updates.
Sent from my T-Mobile myTouch 3G Slide using XDA App

You could have the application check a website for updates periodically, then if there is an update download the .apk and then prompt the user to install it.

Might want to talk to your Networking group; they usually have a way to automatically update network computers with new software (e.g. virus scanner updates, Windows updates etc.) Maybe they could help with an automated script for the apk install.

Related

[Q] Help->How to install non-marketplace app

I have a brand new AT&T Tab and need assistance. I am able to install non-marketplace apps using Sideload Wonder Machine however I have an interesting problem. I have an app (Lotus Notes Installer) that itself downloads another app and tries to install it but I get the dreaded "For security, your phone is set to block installation of applications not obtained from Android Market" message.
I have installed and run z4root and did a temporary root and also installed Superuser and Busybox and I still get the block message.
I am an Android newbie and don't know exactly how to proceed.
Thanks,
Richard
Hey Richard,
I had the same type of problem you did with my AT&T SGT. I also used the Sideload Wonder Machine. Here is link for my situation. http://forum.xda-developers.com/showthread.php?t=914697
Lotus Note Installer app downloading and installing another app? I have not hit that kind of hurdle. Can you get your hands on the apk that Lotus Note Installer is trying to download and install? Maybe you can istall that through sideload wonder machine?
w4rmk said:
I have a brand new AT&T Tab and need assistance. I am able to install non-marketplace apps using Sideload Wonder Machine however I have an interesting problem. I have an app (Lotus Notes Installer) that itself downloads another app and tries to install it but I get the dreaded "For security, your phone is set to block installation of applications not obtained from Android Market" message.
I have installed and run z4root and did a temporary root and also installed Superuser and Busybox and I still get the block message.
I am an Android newbie and don't know exactly how to proceed.
Thanks,
Richard
Click to expand...
Click to collapse
This may be a stupid question, but have you set your Tab to allow installing of non-market apps? It's in Settings - Applications - check 'Unknown sources'
I do not see an option in my settings for "allow unknown sources", here's what I have:
Settings>Application
Manage Applications
- this doesn't appear to have any options for unknown sources settings
Running Services
- this is only for stopping running services
Development
- only options here are USB debugging, stay awake, allow mock locations
Am I missing something? or did AT&T remove the option from recently shipping tabs? (got mine yesterday)
I was able to sideload the Notes Installer, but once on the Tab, that application connects to the corporate server and attemtps to install another application on the Tab and that is where I get stuck.
Use SuperOneClick. This tool not only allow rooting but has option for allowing install of non-market apps. Simply select that option and it will update your systems settings to allow installs from other than market - sd card, web, etc. I am also using AT&T tab and this worked for me. Note it does not add the menu option of "allow apps from unknown sources" but trust me it works.
Sent from my SGH-I987 using XDA App
I installed the new firmware that allows me to make phone calls using the great instructions provided in theis forum and that resolved my issue and now i can install the Lotus Notes app with no problem. I am really liking the new O/S, it seems a little snappier than the the AT&T one.
w4rmk said:
Am I missing something? or did AT&T remove the option from recently shipping tabs? (got mine yesterday)
Click to expand...
Click to collapse
You missed nothing - this is just another retarded AT&T carrier customization that they do on all their Android phones (AFAIK!).
Regards,
Dave
Yup, AT&T has removed the "install non-market apps" menu option from their retail Tabs. Very sad that they do that to their customers. I will say the I like their approach to selling the Tab, you pay the retail price and their is no contract to worry about and if you want data you pay on a month-to-month basis, exactly like they do with the Apple iPad. I cannot image getting a subsidized Tab from T-Mobile and getting stuck with a 2 year contract. In this market nobody keeps a phone or tablet for 2 years, it would be a dinosaur by then.

big thumbs down

hi, just got this phone for my son. wanted to update to android 2.1, had to jump thru hoops just to get to the update service. tried to download and install back and restore on the phone no go. it wont allow me to install other than market place. its stupid that this app is not already installed. is there another app i could use to backup the phone before updating? thanks. btw, sonyericson's site really sucks!!!
So you posted a thread just to tell us this?
I'm curious, what kind of hoops did you have to jump through to get the update service? It's rather easy to download the Update Service app via their website. Actually, I've found Sony Ericsson's website one of the easiest to navigate. The Backup & Restore application COMES preinstalled with the phone, atleast that's how it was when I got mine with 1.6.
*sigh*
Sent from my X10i using XDA App
Hello,
There are lots of backup apps on the market, I also did manage to search and download the backup and restore apk from the web. Haven't had any probs with x10 especially updating.
Ben.
Sent from my Xperia X10 using XDA App
jowilk said:
hi, just got this phone for my son. wanted to update to android 2.1, had to jump thru hoops just to get to the update service. tried to download and install back and restore on the phone no go. it wont allow me to install other than market place. its stupid that this app is not already installed. is there another app i could use to backup the phone before updating? thanks. btw, sonyericson's site really sucks!!!
Click to expand...
Click to collapse
Are you in the US by any chance? If so, you won't find 2.1
And market should already be installed - you probably did something wrong during the update process
You must be on At&t, right? My At&t x10 didn't have backup and restore installed on 1.6 and no 3rd party apps either.
Are you in the US, then? Hope you don't plan on updating with SEUS... We will NEVER get it here
You can get past the install block by using Sideload Wonder Machine- 2nd post HERE, linked you to the thread to cover common problems...
Or just search backup in the market and find another app...
And then once you backup you can flash to 2.1 with Androxyde & Bin4ry's flash tool. use x10a generic build 2.1.A.0.435
the phone kind of sucks as it is when you buy it. especially from at&t. as i did.
but once u get into things on this site the phone is completely awesome.
and does not need any more bashing lol
we are more than happy with out modded x10's.
sorry
hi, sorry i forgot to say it is an at&t phone. i have sideload 1.0, i copied backup and restore to my hard drive, tried to load it with swm, but would not allow access. i'll try market place and use a different backup app.
root and use titanium backup
jowilk said:
hi, sorry i forgot to say it is an at&t phone. i have sideload 1.0, i copied backup and restore to my hard drive, tried to load it with swm, but would not allow access. i'll try market place and use a different backup app.
Click to expand...
Click to collapse
First, if you just got it then there shouldn't be much to backup. Update to 2.1 and treat it like a new phone. Second, if you got it from AT&T your X10 is branded AT&T meaning they have put all sorts of restrictions and blocks on your phone. The one you are dealing with now is blocked access to non approved apps. Basically AT&T has pay services that they want to force you to use.
You need to forget about SEUS or PC Companion for now. You need to use the X10 Flash Tool 2.6 and flash x10a global generic firmware 2.1.A.0.435 found here on xda. This will debrand your phone lifting non-market app restrictions (you still have to check "allow non-market apps" in settings / applications). This will also give you the latest 2.1 update, including dualtouch. You can also use the flash tool to root your phone, giving you even more control to modify your system and remove the preinstalled junk apps you don't use that slow down your device.

Can't access Market and phone is not rooted .. must i root? and should i?

hi,
i brought a HTC DHD from london (Virgin, unlocked) a couple of weeks ago, and im in sudan...and as you've probably guessed, the Android Market is blocked here. The app opens and says "loading" then it closes (goes back to the 'All Apps' menu).
i want to download from the market, and everywhere i go, people tell me to 'root', obviously im new to this concept.
i've read some threads here on this website, but it looks like its a long process, and the "IF ANYTHING HAPPENS ITS NOT OUR FAULT" warning scares me badly.
i want a way to access the market without rooting.
and if there isnt, and rooting is the only way, then what exactly is rooting?
will the way everything works change?
will all my installed apps get deleted?
is the interface different? ( no HTC SENSE?)
and when 2.3 comes out, what do i have to do to upgrade?
NOTE:::
android version -> 2.2.1
baseband version -> 12.2xx...
software number 1.7xxxx
can anyone help?
1. your friends ask you to root is to enable you to use 2 important apps, a. Market enabler, and b. Market enabler codes. Both apps are available in Android market but requires you to root.
2. Rooting, its a process hacking your phone to gain the superuser access where it is not available on stock ROM ( ROM in a sense is the operating software for DHD).
3. Rooting does not remove installed apps. It only 'unlocks' the phone.
4. Rooting enables you to switch ROMs (exp, Android Revolution HD, Cynogen, LeeDroid..). Each ROM offers difference experience in user interface and performance (processing speed aonpd battery life). Users usually find which suits them best and difference regions have different performance albeit similar ROM+kernal+radio (to devs, correct me if I'm wrong here). Some ROM state 'no sense' included which means no HTC Sense is included.
check your email address/ account is correct it stopped my other halfs accessing the market until i changed it.
So now I've rooted my phone successfully and I downloaded market access and market enabler.
But still, I can't open the market.
Is it because my sim card is in the phone?
The main reason for me rooting was to open the market, but I still can't
Alright. From the copy any sim codes of your choosing from market enabler codes, then past.the codes into the market enabler app. Hit apply. Then access the market. You should be alright.
Just download Applanet and use that. Its got tons of free and paid apps and no regional restrictions.
borneanheadhunter said:
Alright. From the copy any sim codes of your choosing from market enabler codes, then past.the codes into the market enabler app. Hit apply. Then access the market. You should be alright.
Click to expand...
Click to collapse
yea, ive done that, and still not working. should i access from my carriers internet connection, or must it be WIFI?, because im guessing WIFI is better.
ozaghloul said:
Just download Applanet and use that. Its got tons of free and paid apps and no regional restrictions.
Click to expand...
Click to collapse
im using that too, but i always get the "parse" error,..., its really annoying me!!!, do you have a solution for it?
CodeNameUnknown1 said:
yea, ive done that, and still not working. should i access from my carriers internet connection, or must it be WIFI?, because im guessing WIFI is better.
im using that too, but i always get the "parse" error,..., its really annoying me!!!, do you have a solution for it?
Click to expand...
Click to collapse
Uninstall it and reinstall the new apk from the site (it will not just update version from the phone)
Oppps, I double posted.
k, i'll try, and tell you what happens

[Tool] Dev-App installer

Hello,
one of the biggest problems in bada app development is the lack of simple mechanisms to install apps to the handsets of beta-testers. There is a way to do this when the tester has installed the bada SDK on his pc, but i always thought it should be possible without it.
This is why i started to examine what the SDK does when you're running an app on the target device, and begun to recreate this mechanism. What i have now is a tool that installs in-development app on a handset. The tester only has to install the root certificate from the SDK on his phone, no need to download and install the whole SDK anymore.
Any interested app developer can contact me to get a copy of the tool for his own app for free! For security reasons, the tool has a hard-coded list of known apps that it can install, so there is no reason to offer it as direct download here.
The tool offers the possibility to restrict installation to handsets with certain IMEIS, as well as an expiration date after which the app can't be installed anymore.
Patrick
are you using some different method than broker.exe?? i have been using this exe file from sdk to distribute application for my clients.
No, what i ahve done is to watch what broker.exe does, and to rebuild that in my tool.

[Q] HTC Wildfire 2.2.1 No Market

I have an HTC Wildfire with Froyo 2.2.1 factory. It did not come with Android Market.
I tried to install the following files that I found linked on XDA but they are force closing:
vending2.2.11-signed
Vending_original_froyo_1.82
com.android.vending_2.2.6
I just found a 2.2.7 and I will try that but does anyone know what I can do?
no root no market
As far as I know, you can not install market without root access. And factory 2.2.1 can not be rooted as of this moment. But soon hopefully we will have root thanks to alpharev devs.
Good luck.
You can install apks without root by using HTC Sync. I put Skype, eBuddy, etc on but I cannot seem to find the right vending.apk that won't keep crashing.
nicksti said:
I have an HTC Wildfire with Froyo 2.2.1 factory. It did not come with Android Market.
I tried to install the following files that I found linked on XDA but they are force closing:
vending2.2.11-signed
Vending_original_froyo_1.82
com.android.vending_2.2.6
I just found a 2.2.7 and I will try that but does anyone know what I can do?
Click to expand...
Click to collapse
Its really painful to have an android phone without market app. The stock froyo wildfire doesn't even have a file manager. Just after the hard reset, everytime i had to download the "X-plore" file manager from market to access the sd card contents (and even to start installing apk files.)
Ok. U must have added a gmail account to ur wildfire. If not do it. I think in this way if ur phone can be registered on google, then u might have option to remote install apps from PC android market (or) even the android market from your stock browser of wildfire which has htc flash lite [using the same gmail account that is attached to phone]. From browser, just after clicking on the install option, then u will see device compatibility. Here if u can see "wildfire" then it is possible. Just after confirming the installation, ur wildfire starts downloading the requested application (provided wildfire should be connected to internet). If download doesn't start, i think this remote installation requires market application on phone.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
APP BRAIN APP MARKET ACCESS:
Ok..... Irrespective of the above android market, u can access the app brain app market and install apps from it. This one also can be accessed from a browser for remote app installation. As the present "app brain" and "fast web installer" apps are available for free in market, im attaching those things for u.
--- First install the below attached AppBrain_App_Market_v6.02.apk file. Then install the below attached Fast_Web_Installer_v2.11.apk" file. Then open the app brain and sign in with appropriate account. Then sync the apps on your phone. Then go to its settings and enable fast web installer. That's all. Now u will have the direct install option from the "app brain" app or from the browser of app brain website.
And one more thing for u. I have extracted "vending.apk" from the system folders of my same stock 2.2.1 wildfire. When opened it replaces the market app on my wildfire.
So it might install the google market app on ur wildfire. Also attaching that file.
Yes you can install apks without root. But you can't install market (vending apk) without root. It is a system file. atleast I could not
I thought for appbrain to work properly you still need market installed on your device. I don't think simply installing vending apk would work. You will get force closes. But you can still try. If you can't get it to work, you can use slideme . You can get it from www.slideme.org. It does not have as many apps as market does but it is a start.
Good luck,
Sent from my HTC Wildfire using Tapatalk
If this is a big issie return it to htc
Sent from my GT-P1000 using XDA App
Thanks for the help all.
I will try the extracted Vending apk. If that fails I will go the appBrain route. I did install appBrain but uninstalled it without trying anything. I was committed to getting Market.
It does really suck that they would not give you a way to get Market if your phone did not come with it.
thearif said:
I thought for appbrain to work properly you still need market installed on your device.
Click to expand...
Click to collapse
Maybe u r right. Maybe the enabling of fast web installer needs Android market licence agreement. But I think its hard to say these things.
To check this, phone needs to be formatted to remove the google/market account. It will try to check it when I get time.
Hope the vending.apk works
Sent from my HTC Wildfire using XDA App
As a last resort you can flash an official WWE rom which has market in it. I believe this can be done with a goldcard.
Sent from my HTC Wildfire using Tapatalk
Ok, i checked some things. I may be wrong, and pls correct me if so.
-- Installation from pc android market is the same as fast web installer. So, it will be like either both work or both doesn't work.
-- I freshly formatted the phone and added the gmail account. But didn't open the market app. That means i didn't accepted the android market terms of service. I think this case is similar to the absence of market application in phone. Now i opened the pc android market and sign in with the same gmail account. I tried to install an app, but the device is not listed in compatibility list. Same with the app brain here. App brain gets installed but fast web installer cannot be enabled.
-- Then i opened the android market and accepted the terms of service. Now i can install apps from pc android market. Also here the fast web installer of app brain can be enabled. Everything works fine.
-- Then what i did is , go to the settings/ applications/manage applications/ , then opened market and uninstalled updates. Also cleared the data. This makes the android market become stock one again. Now when opened, it again asks for terms of service. Now without accepting the terms of service, i tried to install apps from pc android market. And it worked. Also the app brain fast web installation works here.
-- If i again format the device, same thing will be repeated again. I need to accept the terms of service for only the first time to make the fast web install work.
-- And if we change the sim card, we need to re-enter the password of the gmail account again. And till that, fast web installation will not work.
I don't know how to explain these, but maybe google will be having details regarding our phone format.
..............................................................................................................................................................................................................................
@nicksti
What i said in post #4 might not work.
And u said u installed apps with HTC sync. Is that ur carrier disabled the installation from unknown sources. If it is the case, OMG u really need a WWE RUU. If its not the case, maybe vending.apk or the WWE RUU solves ur problem.
If ur hboot is 1.01.0002 , then u can go with this process to flash a WWE RUU
http://forum.xda-developers.com/showpost.php?p=13114319&postcount=29
bharatgaddameedi said:
@nicksti
What i said in post #4 might not work.
And u said u installed apps with HTC sync. Is that ur carrier disabled the installation from unknown sources. If it is the case, OMG u really need a WWE RUU. If its not the case, maybe vending.apk or the WWE RUU solves ur problem.
If ur hboot is 1.01.0002 , then u can go with this process to flash a WWE RUU
http://forum.xda-developers.com/showpost.php?p=13114319&postcount=29
Click to expand...
Click to collapse
I will check hboot. I did try reflashing it with some RUUs and it told me version mismatch, but that RUU had a lower version number.
This is an unlocked phone bought from online. I can install from unknown sources, I just can't seem to install the Vending.apk because they force close.
It would force close when I launch.
Then I try again and it would let me in.
Then it would force close when I search
Then it would let me back in and let me search
Then it would force close when I try to install an app. That is as far as it will go as it will force close everytime I try to install an app.
I will try all this stuff when I get the chance. Right now I am using my Moto Defy which I wish would get Froyo
You get version number error because the firmware on your phone is newer. But If you create a gold card and install the ruu it should work. Just search for gold card tool from klush( I hope I did not misspell it). It is very easy to do.
Then you should be able to flash any official ruu.
Sent from my HTC Wildfire using Tapatalk
Sorry, appbrain just won't work if you don't have the market installed, as AppBrain still lets the market handle all app downloads.
may be u can use 1mobile market beside android market.because it almost cover all application in android market.the good news is yo don't need to register anything to download and install in your wildfire
Device:HTC widfire with Cyanogenmod nightly

Categories

Resources