publishing

How to include data files with the app's APK?

拥有回忆 提交于 2019-11-27 03:52:30
I want to create some pre-created files when my Android application is installed. I would like to create the file in both the internal memory (data/data//files/) and in a newly created sdcard directories (/sdcard//data1/). How can I do this? You can save you files in \res\raw and write the code to store this files to the desired locations if it does not exist when the app start. Check this to access the internal memory and sdcard and access the raw file using the following InputStream databaseInputStream = getResources().openRawResource(R.raw.yourfile); If you have a larger number of files and

“Can't find the valid AspnetMergePath” on Visual Web Developer Publish?

久未见 提交于 2019-11-27 02:06:18
问题 I am wanting to use Visual Web Developer Express 2010 to publish a website, pre-compiled to a remote server over FTP using the following settings: Deploy only files needed to run this application Precompile this application before publishing Allow website to be updatable No databases are being deployed Site is being deployed as file hierarchy, not as .zip package My first build/deploy seemed to have gone well, but after my second compilation I receive the following error: Transformed web

MSBuild DeployOnBuild=true not publishing

拟墨画扇 提交于 2019-11-27 00:51:42
问题 I have a Visual Studio 2010 MVC2 web application that I'm building via the command line using Hudson. I'd like to make Hudson publish a web output, so I added the DeployOnBuild=true and CreatePackageOnPublish=True tags to my command line. My command is: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /target:Clean,Build /property:Configuration=Debug;DeployOnBuild=True;CreatePackageOnPublish=True; [my project name.csproj] Running this command on my development machine (Windows 7)

Android app is published, but not visible anywhere in Google Play

我的梦境 提交于 2019-11-26 22:47:24
问题 I have tested this app on the Android emulators, phones, tablets, and Google TV. Its works. When I published it Google Play, the app is not visible. Below is the manifest. I sincerely appreciate any insight as to the problem. Thank- you. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.zzzz.xyzxyz" android:installLocation="internalOnly" android:versionCode="4" android:versionName="1.4" > <uses-sdk android:minSdkVersion="8

What is an “incompletely constructed object”?

十年热恋 提交于 2019-11-26 22:32:27
Goetz's Java Concurrency in Practice , page 41, mentions how this reference can escape during construction. A "don't do this" example: public class ThisEscape { public ThisEscape(EventSource source) { source.registerListener( new EventListener() { public void onEvent(Event e) { doSomething(e); } }); } } Here this is "escaping" via the fact that doSomething(e) refers to the enclosing ThisEscape instance. The situation can be fixed by using static factory methods (first construct the plain object, then register the listener) instead of public constructors (doing all the work). The book goes on:

Need some clarification about beta/alpha testing on the developer console

拥有回忆 提交于 2019-11-26 15:10:27
问题 Background The Android developer console has 3 tabs for publishing the app's apk file: alpha, beta and production, as shown here: as I recall from one of Google IO lectures, one cool way to check how good is your app before making a 100% scale publishing, is to allow only a percentage of the users to download the app first. I think it's called "staged rollouts" , because you can rollout the publishing in case it had too many problems to be published to all. My question What is exactly the

“To Do” list before publishing Android app to market [closed]

扶醉桌前 提交于 2019-11-26 14:57:28
问题 I'm just about ready to publish my first app to the Android market, and I'd like to know if any of you have any tips about any experiences you may have encountered in regard to publishing an app that goes beyond the obvious and already documented. Any hidden caveats and/or ideas about what to do before publishing an app to the market? For instance, a buddy of mine recommended that I remove any and all comments in my code just in case someone gets to the source code, thus making it more

How to get Visual Studio &#39;Publish&#39; functionality to include files from post build event?

前提是你 提交于 2019-11-26 11:52:10
问题 I am currently attempting to use Visual Studio 2010 \'Publish\' and MSDeploy functionality to handle my web deployment needs but have run into a roadblock with regards to customizing the package depending on my build configuration. I develop in a 32bit environment but need to create a release package for a 64bit environment, so in the \'Release\' configuration I have a post build event that copies the 64bit version of a third-party dll into the bin directory overwriting the 32bit version.

What is an “incompletely constructed object”?

怎甘沉沦 提交于 2019-11-26 09:09:59
问题 Goetz\'s Java Concurrency in Practice, page 41, mentions how this reference can escape during construction. A \"don\'t do this\" example: public class ThisEscape { public ThisEscape(EventSource source) { source.registerListener( new EventListener() { public void onEvent(Event e) { doSomething(e); } }); } } Here this is \"escaping\" via the fact that doSomething(e) refers to the enclosing ThisEscape instance. The situation can be fixed by using static factory methods (first construct the plain

Posting to friends&#39; wall with Graph API via &#39;feed&#39; connection failing since Feb 6th 2013

耗尽温柔 提交于 2019-11-26 06:45:58
问题 My app started failing to post items on friends\' feeds. I am getting this error: Facebook request error: The operation couldn’t be completed. (facebookErrDomain error 10000.), details: Error Domain=facebookErrDomain Code=10000 \"The operation couldn’t be completed. (facebookErrDomain error 10000.)\" UserInfo=0xa26e990 {error={ code = 200; message = \"(#200) Feed story publishing to other users is disabled for this application\"; type = OAuthException; }} I didn\'t change anything in the app.