Android :: Writing Firewall Applications

Nov 6, 2009

Does anyone have any suggestions on where to start in case one wants to write a firewall for Android? I am interested especially in how would one go about in blocking access for various applications that are blacklisted from a firewall application. As far as I could find, there are no firewall applications in the real sense except Droidwall which uses iptables on rooted phones, but I would like to see if there are any API calls currently in Android that may help with this task, be it NDK or SDK.

Android :: Writing firewall applications


Android :: Approaches To Writing Subscription Based Applications?

Mar 25, 2010

I have a Web Service and an Android application that uses this web service. I want to make this application subscription based. The user would subscribe to the service and would be able to use it till their subscription is valid. I understand that to create such an application, we would have to integrate necessary checks in the service and validate a subscription every time it is used on the backend.

But is it possible to do all(well, at least most of) this, on the handset itself? Is it possible to achieve the following in an Android application? Make the application work only for a limited period of time(till the subscription is valid). If yes, how? How to maintain data about the subscription and where?

View 1 Replies View Related

Android :: Call Firewall For Cdma Hero?

Feb 20, 2010

Anyone have a working firewall for the Htc Hero ? Ive tried a few but none seem to block private or unknown callers

View 1 Replies View Related

General :: Android Firewall Battery Drain?

Jan 12, 2013

does Android Firewall [URL] .....

has any battery drain ? I would like to block access to internet to some of my apps, but i read somewhere that LBE and other firewall like that is draining battery ..

View 7 Replies View Related

General :: Android Firewall Using Droidwall Scripts And IPTables

Jul 16, 2012

I am interested in setting up a basic firewall using Droidwall scripts just a simple block inbound and allow outbound rules but I am not sure as how I would set this up instead of using the white/black list feature.

View 3 Replies View Related

General :: Android Firewall With Specific Rules And Filtering?

Jun 10, 2012

I am looking for a firewall that allows setting rules for individual apps, for example allow an application to connect to [URL] and nothing else. The firewalls I've tested so far (like avast! Mobile Security) only allow the selected application to connect or not, but not filtering by url, domain, ip or such.

The only firewall I've heard of is WhisperMonitor, and is not public yet. Furthermore, it is supposed to require device encryption.

View 1 Replies View Related

KitKat 4.4 :: Hotspot - Firewall Blocking It

Nov 23, 2013

I just downloaded the android 4.4 kitkat to my phone and I am having a problem with the hotspot.

On the 4.3 I have used my hotspot to play online games without any problem, but with the 4.4 it says that I have a firewall blocking it.

What should I do??? (By the way I took my sim card and put on my old phone that has android 4.3 and it worked normally, so its not a problem with my internet or service).

View 10 Replies View Related

General :: Firewall Don't Work On FB Messenger App

Feb 15, 2013

I have the needs to have all instant messaging apps disabled at work. But I need data for other stuff on the android phone.

I have tried a few android firewall apps and while they all work flawlessly, there is one problem: NONE of them can stop the (Facebook) Messenger app from receiving messages.

View 1 Replies View Related

General :: Firewall Against External Threats?

Jun 8, 2013

I'm searching for an application that can work as a firewall against external threats, aka inbound connections

View 1 Replies View Related

Android :: Call Manager , Whitelist And Firewall App To Add Specific Number And Send Them To Voicemail?

Feb 11, 2010

Please point me at the best call manager, whitelist, firewall app that will let me add a specific number and then send them to voicemail.

View 21 Replies View Related

Motorola Droid X :: Firewall / Net Access App For Phone?

Nov 24, 2010

I am looking for an app or a process to see what is using the data connection to send and pull random crap and be able to block things at the App level. I know I can just turn off Data altogether but I would like to still use the apps I WANT without needing to go and manually turn Data back on. Any ideas?

View 1 Replies View Related

KitKat 4.4 :: Google Cloud Messaging (GCM) Behind Firewall?

Nov 15, 2013

easy way to use GCM (push message on Android for Gmail, Hangouts, etc.) behind a firewall?

The problem is not that companies want to block GCM, they are just unaware of the fact that their firewall is blocking it by default. GCM uses ports 5228, 5229 & 5230 which are almost always blocked on corporate networks. This means push messages don't come through. It also seriously screws with Hangouts (when I open the app random messages come though while others don't; this results in only being able to see parts of conversations).

Response from Google is to request the ports to be opened. This is not an option as I work as a consultant and move between clients. I can't get them all to open up the ports.

Google is seriously hampering the use of Android and Google services for professional use by using non-standard ports. I don't understand why they are not openly pushing for the ports to be opened by default or use standard ports (could also just be as a fallback if the preferred ports are blocked).I can't use Hangouts professionally now (which I would prefer over Skype).

View 5 Replies View Related

Android :: Writing Authentication System

Jul 21, 2010

I am currently writing the backend for a service which has 3 clients: browser, android native and iphone native. I am having a little trouble with coming up with an authentication system since I don't know what can really be done on the clients.

I am using django + twisted for the backend.

Basically, I am going to be writing RestfulAPIs to open up for the clients on both phones to call.

Now the real question is, how should I come up with an authentication system?

I have thought about using sessionids, this works very well with the browser and I can use django's integrated app for that.

However, I don't know if it's possible for both the iphone and android to obtain a unique sessionid on the handset. Should I write an API call to distribute unique sessionids?

if that's the case, is it possible for me to still use django's authentication system since a lot of the stuff here are customized? ( I am not even using a rdbms - I am sticking with mongodb, so I was on the verge of dropping django's authentication app ftm).

I have looked at foursquare's API and their basic auth method requires you to pass in user:password in every http request header. That adds 1 additional authentication each call which can kind of seem excessive.

View 1 Replies View Related

Android :: What Complexities Are Involvod In Writing ROM

Jun 9, 2010

This is a pretty open ended question.I have a T-Mobile Touch and have some free time on my hands. So far as i understand im stuck with Android 1.5 and no sign of T-Mobile or Huawei releasing a ROM using a more up-to-date version of the Android SDK.Im asking what are the major complexities involved with making a ROM for this fone using a newer version of the Android SDK?

View 1 Replies View Related

Android :: Failed To Open /dev/msm Pcm Out For Writing

Sep 16, 2010

I would like to open an mp3 file with my own audio player(based on mplayer and FFmpeg) I packaged in a apk file. It runs fine using command line and the executable version but not when packaged in apk. I got the messages using adb logcat window:

I/stdout ( 2115): PCM: Samplerate: 48000Hz Channels: Stereo Format s16le I/stdout ( 2115): [AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast I/stdout ( 2115): [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). I/stderr ( 2115): [AO PCM] Failed to open /dev/msm_pcm_out for writing! I/stderr ( 2115): Failed to initialize audio driver 'pcm:file=/dev/ msm_pcm_out' I/stderr ( 2115): Could not open/initialize audio device -> no sound. I/stdout ( 2115): Audio: no sound I/stdout ( 2115): Video: no video I/stdout ( 2115): Exiting... (End of file)

I put the permission in the manifest file as follows:

code:...............

View 3 Replies View Related

Android :: Writing Text On Images

Apr 9, 2009

I want to edit image for Writing text on images, is it possible in Android, if so, how to achieve this.

View 3 Replies View Related

Android :: Programmatically Writing PCM WAV Data

Mar 31, 2010

I'm looking for a way to programmatically save an array of shorts as PCM data. I know that this should be possible, but I haven't found a very easy way to do this on Android.Essentially, I'm taking voltage data, and I want to save it in PCM format. My function looks something like this:public void audifySignal(short[] signal) {// Create a WAV file from the incoming signal}Any suggestions would be awesome, or even references. Seems like the audio APIs built in to android are more geared for directly recording from the mic, and not so much for lower level signal processing type work (at least for saving raw data to a file). I'd also like to avoid having to manually write the PCM file headers and what not.

View 1 Replies View Related

Android :: Writing To SD Card Error?

Jul 8, 2010

When implementing download function it work but during file saving to sdcard i get the following Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.Also IO Exception occure
W(14495:0x389f) java.io.FileNotFoundException: /sdcard
W(14495:0x389f) at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:244)
W(14495:0x389f) at java.io.FileOutputStream.(FileOutputStream.java:97)
W(14495:0x389f) at java.io.FileOutputStream.(FileOutputStream.java:168)
W(14495:0x389f) at java.io.FileOutputStream.(FileOutputStream.java:147)

View 1 Replies View Related

Android :: Writing Objects From Thread

Jul 22, 2010

I have a game object that I save like this in OnPause()try {final ObjectOutputStream os = new ObjectOutputStream(openFileOutput(gameName + ".sav", 0)); os.writeObject(gameObject); os.reset();} catch (final Exception e) {e.printStackTrace();This works fine except on some of the older or slower phones it can sometimes take too long to complete. I end up getting a ANR (Activity Not Responding) error. I would like to move this to a thread to prevent blocking the UI. However when I try this I run into multiple problems.First openFileOutput is only available in my activity. I worked around this by passing the ObjectOutputStream to the thread. After that I could save the object but later when I tried to reload I get a java.io.EOF Exeception. does anyone have a good pattern for writing objects to a file from a thread?

View 1 Replies View Related

Android :: Writing To CSV File Via OpenCsv

Aug 22, 2010

I try to write to a Csv file via:mFileWriter = new FileWriter("/sdcard/program/file");mCsvWriter = new CSVWriter(mFileWriter);At the moment it throws an exception that the file doesn't exist.It's true that the file doesn't exist. What's the easiest way to create the file?

View 1 Replies View Related

Android :: Writing To Internal SD Card

Aug 28, 2010

Is there any way of accessing the internal SD card on Android devices that have internal flash, internal SD and external SD cards?

View 1 Replies View Related

Android :: Writing Time Out Event

Sep 1, 2010

i have a small issue i can't figure out.For my program, i basically want to execute some code if the user hasn't done anything with the application for 5 minutes (say log out).how can i go about doing this? i'm lost on detecting that the user has done nothing, and then reset the count once the user has touched the tablet or something. can somebody give me some pointers?

View 1 Replies View Related

Android :: How To Do EXIF Reading And Writing

Jun 17, 2009

I've been looking around on the net and in this group, but i have not found any java package that can read and write EXIF data.

I tried Sanselan. They say they don't use ImageIO/AWT, but they actually do use AWT. The class can not be loaded because there is an AWT dependency:

CODE:......

What i want is not so much creating my own EXIF data, but preserving a JPEG's meta-data (EXIF). I'm planning to load a JPEG, edit its bitmap and write it out again to a(nother) JPEG with the same meta-data as its original.

View 2 Replies View Related

Android :: Writing A Custom Button?

Feb 10, 2009

I am writing a custom button.

In the android button, I can customize my button like this:

CODE:......

And in the Button.java source code, it gets the value like that: In TextView.java:

CODE:......

My question is if I need to add a new value in the customization for my button.

CODE:....

How can I get 'myattribute' in my class for my custom button?

View 4 Replies View Related

Android : How To Create A Textfile / Writing To It?

Mar 30, 2010

I am writing an application that will create a textfile in the /sdcard or /data directory and write messages to the textfile.Each time I want to append the messages and not overwrite the file.

View 7 Replies View Related

Android :: Writing To System Framework In Emulator

Jul 15, 2010

I'm in the process of extending monkey for software testing purposes, so I would like to replace the current monkey.jar which my own compiled monkey.jar in the emulator. The current monkey.jar is
located at /system/framework/monkey.jar.

When I try to run the following command:

adb push monkey.jar /system/framework/monkey.jar

I get the following:
'failed to copy 'monkey.jar' to '/system/framework/monkey.jar': Out of
memory'

How to replace the current monkey.jar?

This actually works if I'm running Android 1.6 in the Emulator, but nothing after that.
Yes, i've tried 'abd remount'

This is not a .jar specific issue. I can't push any type of file to /system/framework

View 2 Replies View Related

Android :: Writing - Reading From A File Simultaneous

Oct 27, 2010

I'm trying to read from a file while it still opened for witing.

View 2 Replies View Related

Android :: Serial Ports Reading / Writing?

Aug 16, 2010

I've had an inquiry about whether my Android app can interface with a serial device via USB cable. Before I invest too much time in this path, I'd like to know: Is this even possible? Some previous threads indicate Android won't do host USB. Would it require root access and/or the NDK? Would it be better to advise the potential client to look for a serial blue tooth adapter? I can see that there is a Blue tooth Sock class which may do the job.

View 4 Replies View Related

Android :: Showing Writing Keypad By Default

Jul 29, 2010

I have created an edit text. Currently the writing keypad is made visible when i click on it. Is there a possibility where I can make the writing keypad visible from starting itself i.e. no need to click on the edit text view.

View 5 Replies View Related

Android :: Reading / Writing Data To Serve

Jun 19, 2010

I'm writing an app that will periodically send information out to a remote server, and then get relevant information about other users from that server back to the local database.What's the best way to handle sending out this info (i.e.: XML or binary) and writing it to the remote server.Also,how can I assure that, when 500+ users' data get's to the server or FTP (or better alternative?) at once, the appropriate fields gets overwritten or added, without skipping any or overwriting the entire thing?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved