Hi!
How can i make a logg for a specific file to see when and what's accessing this file?
Can it be done with logcat? Any one that could be nice and point me in a direction?
*bump*
no hints at all?
http://developer.android.com/reference/android/os/FileObserver.html
Related
Hey guys,
I'm trying to install a newer version of Manilla2D, but my Kaiser keeps telling me that the file doesn't have the proper system permissions. I'm making sure to disable HTCHome beforehand, but it still isn't working. Can anyone help?
Pan
Hi All,
I'm a super noob in app development and am not a programmer. I want to make my own soundboard and share it on the market so my friends with android phones can dl it. I'm using the steps in http://www.myandroidsoundboard.com/
and everything works great and I have been able to make my own fully working .apk's (woohoo) but when I upload it to the market, it gives me this error:
The package name of your apk (com.soundboard) is the same as the package name of another developer's application. Choose a new package name.
so how do i change the package name? I searched and most results come up for people starting from scratch but not for people using templates already written.
any help would be greatly appreciated.
thanks
1) find the package "com.soundboard" in the 'package explorer' pane.
2) right click on the package name, choose refactor->rename
3) type in a new package name, ex: com.agentkalaw, make sure the checkbox 'update references' is checked.
4) press ok, let eclipse make the change for you.
If there are any references to the old package name in \AndroidManifest.xml you will have to change those manually.
wow! thanks a lot britoso.
any tips on how i can change references in \androidmanifest.xml ?
i only get one error now (so close!) but i can't figure it out. I get
"class com.soundboard.soundboard does not exist" this is in the android:label="@string/app_name">
thanks again!
agentkalaw said:
wow! thanks a lot britoso.
any tips on how i can change references in \androidmanifest.xml ?
i only get one error now (so close!) but i can't figure it out. I get
"class com.soundboard.soundboard does not exist" this is in the android:label="@string/app_name">
thanks again!
Click to expand...
Click to collapse
THe xml will have to be edited manually, simply replace com.soundboard by com.agentkalaw
Is there a way to get tHe nexus one to be able to latch onto adhoc networks? As it stands my n1 isn't even reading the SSID, does anyone have a solution to this?
http://android.modaco.com/content/g...-com/300596/nexus-one-connect-to-ad-hoc-wifi/
Read the post about wpa_supplicant.conf modification.
You can also edit /system/etc/wpa_supplicant.conf and change "ap_scan=2" there.
You can also try running Cyanogen.
Thanks for that. I'm running froyo right now so no cyangen for now. How exactly do i edit those files? It didn't exactly explain that...
Rooted? Otherwise you won't be able to do anything.
adb remount
adb pull /system/etc/wpa_supplicant.conf wpa_supplicant.conf
edit wpa_supplicant.conf with whatever text editor on PC, change ap_scan value.
adb push wpa_supplicant.conf /system/etc/wpa_supplicant.conf
If anything is unclear - I suggest you not to try. No responsibility, etc.
I tried using adb anditdidnt work for me.
Didn't work - how? What was the error and when?
It says that the file i am trying to pull doesn't exist.
Sorry, my bad. It's /system/etc/wifi/wpa_supplicant.conf
To make sure, do adb shell /system/etc/wifi/ and make sure that it's there.
I've tried this again and again and again but still no success.. wonder if ever anyone successfully connect to adhoc network on froyo...
I have tryed on my Nexus one and Failed.
I have added "ap_scan=2" in the beginning. "mode=1" on required network section.
What I have noticed, that any time you add|delete|modify any network in Settings->Wifi Settinings ..... line with "ap_scan" is removed.
I am setting up openvpn.
I have run into several problems.
- I'm not sure where to find the connection log, or routing table log.
- I'm not sure if it is using TAP or TUN.*
- not sure if I need tun.ko.
- my .conf file tells me that it looks for ca.crt and .login in /etc/openvpn. I'm not sure how to copy those files to /etc .
- not sure how to format the .login file.
I know that is a real laundry list. I have been searching for a couple hours. Is anyone familiar with setting openvpn up?
krustmother said:
I am setting up openvpn.
I have run into several problems.
- I'm not sure where to find the connection log, or routing table log.
- I'm not sure if it is using TAP or TUN.*
- not sure if I need tun.ko.
- my .conf file tells me that it looks for ca.crt and .login in /etc/openvpn. I'm not sure how to copy those files to /etc .
- not sure how to format the .login file.
I know that is a real laundry list. I have been searching for a couple hours. Is anyone familiar with setting openvpn up?
Click to expand...
Click to collapse
You need a kernel that has tun.
Sent from my HTC PH39100 using xda premium
I think you are telling me that there is no pushing tun.ko to system because only the kernel can write to it?
krustmother said:
I think you are telling me that there is no pushing tun.ko to system because only the kernel can write to it?
Click to expand...
Click to collapse
Tun.ko is compile when a kernel is compile and is kernel specific. My kernel has this.
Sent from my HTC PH39100 using xda premium
Thank you for clearing that up!
Openvpn running on Vivid
Setting up openvpn on htc vivid. How I did it, anyway...
Get root.
Install esfileelorer and terminal.
Install openVPN installer and openVPN settings.
It took a bit to figure out permissions, for me anyway, I copied the .ca certificate authority file, along with the .ovpn files that have my various VPN *server info in them to /etc/openvpn . *To auto-login, make a text file, call it password.txt or whatever. Open your .ovpn files, goto the --user-pass-auth line, add the name of your password file. Now it should work as long as you have permissions right.
My provider gives you a .ca and some .ovpn files. With a password.txt file, it should be enough.
This site gives some visual info. Not exactly the same as the open on I used. http://vpnblog.info/android-openvpn-strongvpn.html
The binary has to be loaded to /system/xbin. That broke ls or some other command. I was forced to re-link it. Other than that, I'm not sure if it's running TUN. It was stated above that tun.ko has to be proper. Looking into it.
Hi, there. I've tried searching the whole internet and couldn't find a way to decrypt the whatsapp messages.db file. Can anyone shed a light on how to do this? I guess someone should try this since we're only able to decrypt whatsapp Android databases. Thanks.
P.S.: I got a messages.db sample file.
messages.db
if you were got any information regarding this please tell me