Android :: Application Developers - Allowed To Access System Properties Like Ro.config.sync?

Apr 20, 2009

Google applications do it, and apparently it used to be part of the public API (via android.os.SystemProperties.) How are we supposed to enable/disable sync on the phone? Disabling/enabling roaming is easy, but I'm beating my head against the wall trying to find a non-hack method for disabling auto-sync (much less the granularity that would actually be nice.) Is this intentional by the framework team? Is it a whoopsie that is planned to be changed later?

Android :: application developers - allowed to access system properties like ro.config.sync?


Android :: Can Not Access To The System Properties Store

Jan 20, 2009

I am modifying the Settings application, and needing to access the system properties. By using android.os.SystemProperties.get, I can read the system properties. However, I can not set the system properties back with android.os.SystemProperties.set. This function has no return and the system properties never get changed. Why? Is there any permission required?

View 6 Replies View Related

Android :: How To Config Computer / Phone Network To Access Local Web Server Via USB?

Aug 20, 2010

Current configuration Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.I would like to use Android device(phone) via USB to call web service running on connected "local" computer.What is best configuration practice ((I don't have static IP) I am using mac and linux)?

View 1 Replies View Related

Android :: Access To Class Not Allowed / What To Do?

Feb 6, 2009

I get an apk file from somewhere. I tried to install it the emulator successfully. (The emulator is built from the latest code in AOSP which should be cupcake or later). But I can't launch the application from the GUI. It complains "The application xxx has stopped unexpectedly." After checking the logcat, I find the message "access to class not allowed". It seems that that process is not allowed to instantiate the Activity class.

Since I can install the apk successfully, I am curious why I can't launch it as a user.

BTW, I tried two ways to install the app. 1) by copying it to /system/ app and rebuild the system.img 2) by using "adb install". Both getting the same error message.

I tried to extract the AndroidManifest.xml file from the apk. But it seems that the file is scrambled and can't read.

View 5 Replies View Related

Android :: How To Access Music File Properties?

Feb 14, 2009

I would like to retrieve the properties that describe an mp3 file's properties (ie: author, album, title).I was not able to use javax.sound.sampled.AudioFileFormat to do this.

View 2 Replies View Related

HTC Wildfire :: Modifying The Properties Of The System Folder

Sep 25, 2010

I have htc wildfire.. Really enjoying it.. I ned to copy ringtones to the system folder, but sinceit is read only I am not able to do so.. Is there any possibility to change the properties of the system folder or some other means so that I can set notifications, alarms by default method..

View 4 Replies View Related

Nexus :: Calendar Sync NOT Allowed

Jan 6, 2010

My employer actively prevents us from running Google Calendar Sync. Probably something about copying appointment info to the web. how to get Outlook appointments into your Nexus One without them being copied out into the cloud?

View 18 Replies View Related

Android :: Maximum Number Of Threads Allowed Per Application?

Dec 20, 2009

What is the maximum number of threads allowed per application?

View 2 Replies View Related

Android : What Maximum Size Allowed For Droid Application?

May 27, 2009

What is the maximum size allowed for an android application?

View 8 Replies View Related

Android :: Properties For Application Specific Attributes?

Oct 20, 2010

I want to center the application title/label in my android app but I can't find a lot of documentation on how to set that property. I have found a couple of posts saying that I can create a custom title bar and change the theme in my manifest but I just can help think there is a simpler way to just center the title.

View 2 Replies View Related

Android :: User Defined Application Properties?

Aug 28, 2009

Where is the right place to specify general user-defined properties, like a host address or a service mail address ? The properties should be accessible from my activities.

I would like to specify such attributes within the AndroidManifest.xml, but there seems to be no elements available for user-defined properties. So the only way may be to put such properties into a resource file as strings or to hide them into the source code...

View 2 Replies View Related

HTC Desire :: Tethering - Allowed If Application Available?

Jun 11, 2010

I read about their 3gb policy on here and as I got mine from buy mobile.net I called to check today. I was on the 1gb and they swapped me over and gave me a choice of booster. As i now have all this data I want to spread the love a little! So is it OK to tether assuming there is an app?

View 4 Replies View Related

Samsung Galaxy S : Recovery Boot Error - Can Not Access To /system/csc/VOD/system

Sep 4, 2010

Phone: UK Galaxy S Issue: Recovery boot error message in red writing

Multicsc : can not access to / system/csc/VOD/system/

Background: I have been trying to root my phone from information found in a youtube video. All went well and the little ninja bloke with the sniper rifle was in the app list. Tried installing busybox and was told that the phone was not rooted�..

I think I ran the root application again and at some point I started getting this error message when in recovery. I have since run the one click root method to unroot the phone and the little nija dude is no longer there. Since I rooted the phone it will no longer connect to my wireless network, it finds the network and attempts to obtain an ip address. After a few min it times out and tries again. When I load the phone recovery the error message is still present.

View 3 Replies View Related

HTC Desire :: Sharing Of Swype Application Allowed

Nov 17, 2010

I have a Desire and can't live without my swype for typing. My brother also has a Desire but hasn't got swype and the beta is closed. He wants to try and get swype onto his HTC by downloading mine. If he does this, will Swype allow it to be downloaded onto two phones or will they stop it?

View 8 Replies View Related

Android :: Access The System Camera

Sep 9, 2010

I saw some application that can use the "system" camera instead of having just a blank camera preview? ie, the camera preview is the same as the default android camera application with full control. how do i access that?

View 3 Replies View Related

Android :: System User Cannot Access - Sdcard

Jan 31, 2010

I have a Java-JNI-App which must run in 'system' user mode, but once switch to that, my App then cannot access /sdcard.

View 2 Replies View Related

General :: How To Access Android File System

Sep 25, 2013

My objective is to create a text file in an android file system.

Using java language, I am creating an app. It has a screen with a table of 3columns. Each time a user enters the table row and click on Submit button, the row entry should be created as a separate comma-separated file on an android device. So each time when the table gets updated with new entry and clicks a submit button, a new file is getting created on the device file system. So I am looking for the file connectivity to the internal device memory where I could open the files and access it.

I have done the same in Nokia mobiles using J2ME. But for Android, I am not able to find the device file path.

View 3 Replies View Related

General :: How To Access System Files Of Android From Windows

Jul 21, 2013

I'm wondering is there a way to access system files of Android (JB version) and make changes from Windows? Is it possible do that in fastboot mode, without switching on?

View 2 Replies View Related

Android :: Develop An Application Pluging / That Could Access Application Sqlite

Nov 15, 2010

I want to add a big feature to an application i am developping, but as this feature interest few people and is quite independant from the main part, I would like to put that in a seperate "plugin" application.Does anyone knows any design patterns, snippets, "reference" examples about such design?In particular that separate plugin application should be able to access some tables in the main application DB. Is it possible to do that without broadcast receiver? - the main application uses a TabActivity: is it possible that a the tabactivity instanciates an Intent Activity that is part of the plugin? - does the plugin can access main application preferences (not sure this would be necessary, but better to anticipate the question!) is it possible from the plugin to access main applications ressources?At least the 2 first points are mandatory for me.

View 4 Replies View Related

HTC EVO 4G : How Can I Access SD Card / File System?

Jul 2, 2010

Ok just got my EVO yesterday. This is not only my first android phone, but my first smart phone as well. I'm fairly savvy when it comes to computers and techy stuff, but I do have what sounds like a ridiculous question. I bluetoothed some files (songs and pictures) from my old phone to my EVO. It acknowledged getting them and indeed I was able to play them from the notification area after receiving them. However, now I cannot find anyplace to 'browse' the phone folders or the SD card folders so I can find and utilize these files. How do you access the SD card or the file system?

View 2 Replies View Related

How To Access System Clock / Time

Apr 28, 2012

I'm new to android development and I'm just trying to find my way around with various tutorials. As my first project I'm trying to create a simple night clock, but I don't know how to access the system clock/time.

How exactly would one go about doing this? I simply want to display the time on the screen, and then add some other stuff to it later.

View 2 Replies View Related

General :: How To Access /system Folder When Phone Is Off

Apr 11, 2013

my phone got into restarting loop and i know that is bcs i messed up with build.prop file.I can acces recover but cant manage to turn on the phone.My question is,is there any way to access /system without booting up phone?I saw "mount /system" option in recovery but it doesnt really do anything for me.I can also access flash and fastboot mode,so there must be a way to access /system?

View 1 Replies View Related

Motorola Droid : How Do You Deny Specific System Access

Nov 13, 2009

I installed the Nimbuzz app today. It has system access to prevent the phone from sleeping. Which really sucks because I can't leave it running in the background so I stay logged on. If I keep the Nimbuzz services running then The display won't time out on inactivity. If you close the services then You can't get the incoming chats.

Is there away to deny certain access to apps but allow the rest and install it? From my experience I've only seen that it's all or nothing.

View 7 Replies View Related

HTC Incredible :: How To Know Which System DINC Using To Access Internet At Any Given Time

May 14, 2010

New to Android, not new to smartphones. My BB Storm didn't have WiFi though which is the root of my question.

How do I know which system DINC is using to access internet at any given time? For example, if I am at home connected via WiFi is my DINC using WiFi or 3G to connect to the internet? Also, when my DINC synchs up my accts (Facebook, Weatherbug, Native Weather App, Gmail and Mail) is it using 3G or WiFI? Can I set a preferred connection somewhere? I've looked, but can't seem to find something like that.

View 4 Replies View Related

General :: Why Can't Alter SU Binary To Have System Access Only Instead Of Root

Apr 30, 2014

Imagine a scenario where you have just system access on android , and you want to continually have it, so you use the su binary, with the correct permission and the setuid flag on, and the owner being system, you do:

Code:
chown 1000:1000 su2
chown 06755 su2

you have the ability to change the owner to system as you do when rooting, and you also set the appropriate permission as you do when rooting,

06775 being the permission code to all have execution permission, and the setuid flag on.

But when dealing with system permission that doesn't work. it only works with root.

View 4 Replies View Related

General :: HTC Desire Z - Can't Access System Partition And Formatting Not Possible

Apr 3, 2014

HTC Desire Z (Vision). I S-OFFed how it's described on CM wiki. Latest radio. About month ago I installed CM 10.1 AlterNdromadus. It worked until yesterday, when it unfortunately installed some system update.

After that phone didn't booted anymore. In recovery it says, that it can't access system partition and formatting is not possible.

I tried connect the phone via fastboot in bootloader, but it also doesn't work. Under windows I have it as unknown device and when I tried manually install drivers from google, it says that they are not compatible with the HW (under ROM it worked before).

I tried also install stock RUU rom (extracted the zip and deleted H-BOOT, radio and recovery) from SD-card (PC10IMG.zip). But it also got frozen on system update.

Here you can see error from 4EXT recovery and CRC images from bootloader.

View 9 Replies View Related

Android :: Pack A Config File Into Apk Package

Apr 21, 2010

I need to save these configurations into a file, and in my app I could change these configurations. In other words, I need a file to take all my config data, and in my app, I could read/write this file as I want.

I've searched document and mailing list archive, and have not found the exact solution. 1. SharedPreferences could not solve : It could only do with simple key/value pairs, my configuration data is more complex . 2. file in /assets , /res/raw could not solve: It seems that the file in these position would be read only

I've found a way, it almost solved my problem, but still not. Our code could deal with the file in /data/data/package-name/files on the target file system, this is good to me, but how could I put my file in this directory after my app has been installed? My app need to read these configurations when it starts.

My question is how could I pack my data file into my apk package, and then my app could read/write this file when it is run.

View 3 Replies View Related

Android :: Can't Config G1 To Make Both Browser And MMS Work / Fix It?

Mar 18, 2009

I have a G1 phone and use it in mainland China. But I can't config it to work with browser and MMS at the same time. However with different APN, the browser and MMS can work seperately. For browser, I use following APN config code...

For MMS, I use following APN config code...

When above two APNs both exists, only browser can work. MMS doesn't work any more.

Does any google export know that how to config G1 to make both browser and MMS work? If it's a known issue, is there any roadmap to fix it?

View 17 Replies View Related

General :: How To Gain Root Access If Busybox And System App Is Already Installed

Oct 11, 2013

I have a Rockchip RK3188 Tablet with Android 4.2.2, which I need to root ON DEVICE. Actually, the device was already rooted (using a Laptop via the adb bridge), so I already have busybox installed and I have one of my own apps in /system/app. However I managed to delete the su program (yeah great!) and therefore don't have root access any more. I know I can easily root the device again if I connect it to my laptop again, but that is not possible, because the device is at my parent's place and I can't go over there any time soon.

Therefore I want to root the device just with an app. Actually I would only need to copy su to /system/xbin. These are the things I already tried (without success):Framaroot (doesn't work, because framaroot does not support Rockchip tablets)

Writing my own app, which contains su in the assets and using this su for temporary root

Using adb (on the device) for a local connection (adb connect localhost), because if I connect from my PC I automatically have root (doesn't work because Android 4.2.2 has increased security on adb)

Start telnetd via busybox and then execute my commands via nc (doesn't work, because I can't start telnetd in a way that it ends up with a root shell)

My last idea is, that I could maybe gain temporary root access with the app I already have in /system/app. Basically this would be similar to the Master Key Exploit, except that I do not have to fiddle around with the apk and instead install it normally. However I don't know how to continue from that point. I know, I have special permissions if I have an app in /system/app, but which permissions are that? And how can I use those permissions to make /system writeable (and copy my su file there)?

View 4 Replies View Related

Android :: Troubles Reading Other Apps Config Files

Apr 30, 2010

I have to access to the data folder of other applications from my application to read configuration's file and so on but it seems it's possible only to read data from the sdcard and my application's data folder. Can you suggest me how to solve this problem?

View 4 Replies View Related







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