Search This Blog

Wednesday, October 22, 2014

Delete from /system/app/ or /system/priv-app

if you are not familiar with the priv-app folder here is the link

What's the difference of /system/app/ and /system/priv-app in Kitkat? - Google Groups:



this is how i managed to delete file from priv-app to free so space



open adb



su

mount -o rw,remount /system

cd /system/priv-app

 --- rm  any file apk or odex

 rm VisualVoicemail.*.

 rm AppStore.*

 mount -o ro,remount /system





enjoy

yaniv

Tuesday, October 21, 2014

Instant Oracle Using C# / asp.net

I  developed  a WS site , via oracle client 12 , when i tried to deploy it on server i find out  that there is an oracle client 11 install there, i found the way to use oracle 12 in my web site , and managed to grab the right dll to make it work.



its all started when i get the next error on server, i undertood that i am running with different oracle version:

Could not load file or assembly 'Oracle.DataAccess, Version=4.121.1.0 Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.


i looked in my machine.config and i found out that i am using oracle data access  Version=4.112.3.0 - an older verion.


i download the oracle instant client  (based on the version i wanted )  instantclient-basic-nt-12.1.0.2.0.zip.

i copied the next dlls into my bin folder :



oci.dll

oraocci12.dll

oraociei12.dll

oraons.dll

OraOps12.dll


and also the Oracle.DataAccess.dll from my dev machine.

the connection string must look like this :



connectionString="Data Source=(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = Yaniv-il-db.domain.int)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = Yanivil)));User Id=MyUSer;Password=Mypwd;" providerName="Oracle.DataAccess.Client"



and its worked

enjoy

Yaniv Tzanany

Wednesday, October 15, 2014

Parse File

url to parse file kept in amazon server
in this format - http://files.parsetfss.com/[LONG_CRYPTIC_PATH]
you can get the url via parsefile.geturl

sample how to get parse file from object
http://stackoverflow.com/questions/14503689/get-file-from-parseobject

there is parse image viewer
https://www.parse.com/questions/displaying-android-parseimageview

to clean up files manually:

From the data browser you can remove all files that no longer have references pointing to them.
Go to "Settings", "General Settings", scroll down and you will see a "Clean up files" option.

when parse file deleted:
Clean Up Files | Parse:


'via Blog this'

Sunday, October 12, 2014

The Process object in Performance Monitor can display Process IDs (PIDs)

if you want to show the process ID in the performence monitor tools , follow the next link.

The Process object in Performance Monitor can display Process IDs (PIDs): "ProcessNameFormat "