Android :: Modifying The Wi-fi Advanced Setting Via API
May 31, 2009
What I want to do, is to make a software to resolve the following Android issue:
http://code.google.com/p/android/issues/detail?id=1215
2009/5/31 kankunb...@gmail.com <kankunb...@gmail.com>
- Hide quoted text -
View 3 Replies
Sep 26, 2010
Can someone explain the diiference in these two apps. It looks to me that the App Killer is included in the Advanced Task Cleaner.
View 17 Replies
View Related
Jul 11, 2009
So I have the basics down... I can create a UI with the XML, I can show it and change the screen to another UI (another XML file) but how do I add to the UI?
Hard to explain...
Say I have a header (just 2 textviews) that will remain at the top and below that is a search box and button (main.xml). The user searches and I have it display the search UI (search.xml). This UI will have the same header (2 textviews) and below it will have several textviews each one containing a search result... Kinda like if you search for an app in the market. There's no way of telling how many results would be returned so I figured I would have to create each textview on the fly within the .java file. I'm not sure how to do this. Most likely would require a loop of some sort, but whats the syntax to create a new textview and display it right below the one above it? I'm working with linear here so I would assume just creating a new textview it will by default go to the next one down which is what I want.
Also, say I have 30 results... How do I get those to scroll but leave the 2 textview header in place? Would I create a ScrollView and put the new TextViews in that?
View 5 Replies
View Related
Sep 11, 2010
In an Android application I am writing, the styling for my various TextView elements is defined in an xml resource. I would like enable the user to change certain styles such as android:typeface using a PreferenceActivity. Is there a way to modify a style resource programmatically such that all associated widgets will update correctly? If not, must I manually select all widgets by id and change their styling?
View 1 Replies
View Related
Nov 3, 2010
I am writing an application that will run on 2.0 and above. Now, I am thinking of adding the Data backup feature to the application. Is there anyway to modify the manifest file to include the metadata only if the phone is using Froyo(2.2). Ideally, i would like to avoid creating a separate application for just Froyo.
View 3 Replies
View Related
Oct 6, 2009
Have a question regarding RotateAnimation. If I do not set the property FillAfter to true then the image in my view, that I use RotateAnimation to animate, returns to the initial position after the animation is done. My problem is that when I set fillafter to true when I later set the image on my imageview to another image than the one I animated some kind of transformation is applied to that image also.
View 2 Replies
View Related
Apr 29, 2009
I am looking for some answers from some of the experts here. I have a project in mind that I want to start. It is about using HTC's Touch HD phone as a device in a museum with rich media/video about the art and the artists on it. Besides the videos and animation, I also want to show some content from a web browser. Now my biggestest issue. I do not want that the museum guest who pick up the phone for the tour get to see the standard Android user interface. Is there a way to develop a new user interface that would start up directly once the phone is turned on? It should then automatically start the app with the museum infos. Later I may want to add some GPS functions and even sms and photo taking, etc....
What do you think, how flexible is Android to allow that?
View 2 Replies
View Related
May 25, 2014
I have tried to modifying and app for android so I can install the same app 2 times but I failed. I want to change the name of the app in the files and repack it so I can install it?
View 3 Replies
View Related
Feb 19, 2010
I'm primarily working on the Android SDK on windows, but would like to modify/tweak some functionality in the application framework.I have a separate ubuntu box where I downloaded the android source code, built it using "make" as well as "make sdk". I have a few questions in mind. Is it possible to import the binaries that I built on the ubuntu box into the android windows SDK? If so, what are the (proper) steps in doing so.For example, say I modified some functionality in the Activity.java file, then built it on ubuntu. I want to be able to make use of my modifications and continue my app development on my Windows SDK. Can I somehow import the framework binaries built from this step over to my windows SDK and continue my development from there? If so, what are the binaries I need and what are the steps to import them?
View 6 Replies
View Related
Mar 23, 2010
I need to load an audio resource and play it, but I also need to be able to modify some parameters (like the volume, or the playback rate) while the audio is being played. For example, I might want to play a 10 seconds audio stream, and change the volume only after 3 seconds. Is there a way to do it? I've been experimenting a little with AudioTrack without results.
View 5 Replies
View Related
Apr 17, 2010
On my widget I'm having a button and a textView. When clicking that button some data is registered and I want the TextView to be updated. However I can't get to the TextView instance from within my Activity it seems.
View 4 Replies
View Related
Oct 14, 2010
I have a rooted desire, but I have a troublesome app that won't update and I can't delete. I have seen others who have had the same problem, and a solution is to rename the app .apk.old and then redownload it, but I can't find a decent app to do this. I do have superuser permissions.
View 2 Replies
View Related
Aug 2, 2010
This question actually has two parts.
The first part:
I've been developing my first app for a couple of weeks now. I have 5 screens and everything seems well. However, I'm considering changing the app's navigation to a TabView.
I haven't delved much into it, but I'm hoping someone can save me a little bit of time. It seems that people don't generally place Activities inside each tab. They simply point the tab content to a View. This is where my major setbacks are. 1) I already have Activity classes full of code and 2) I can't quickly guess how the structure of an app using TabView looks. For example, where do I put the handler code for clicking a button on a View? Does it all just get dumped into the TabView Activity somehow?
What I would like is if you could please give me a quick synopsis of what I'm looking at doing, answers to any questions you think I may have, and point me toward some resources for creating TabView applications. A quick Google search really just shows me how to create a TabView Activity and add a couple tabs to it. The code doesn't go any deeper. For example, say I have a layout xml to show in one of my tab's content pane, where does the code go for clicking a button I have in that layout?
The second part:
I've added a TabActivity to wrap the Activities I currently have in. At the moment I have Activities populating the content of my tabs (though ultimately I'd like to do this in the most efficient fashion, which doesn't seem to be having Activities be tab content). I've noticed something rather annoying. My MAIN Activity is an Activity I wrote for my user to log in to their account. After logging in, they are taken to my Tab Activity. Here is what happens:
When I am on my Tab Activity and I "minimize" the app by clicking the Home button and then launch it again, I don't get taken back to the Tab Activity. I get taken to my log in Activity. Why? I don't have the launchMode of my Tab Activity set to singleInstance... or is it singleInstance by default? How can I make the app re-launch showing the Tab Activity (ideally by setting some parameter, assuming I'm doing something wrong, and not having to save this data off somewhere and reading it and programmatically telling it what to go to)?
View 1 Replies
View Related
Nov 3, 2010
I have a ListView, displaying some items, containing an ImageView filled with a standard image at first and a line of text.
What I wanna do is downloading one thumb after another with an AsyncTask and step for step change the standard image with the downloaded one. How to realise this?
The ListView contents are managed by an enhanced ArrayAdapter.
View 1 Replies
View Related
Sep 14, 2010
I've read up quite a bit on the exception thrown while using BaseAdapter, but i can't seem to find an alternative solution: Make sure the content of your adapter is not modified from a background thread. What i want to achieve is to keep a copy of a message queue in memory, and use this message queue to populate the BaseAdapter for my ListView. The reason im doing this is that the message queue will keep getting messages from a socket even when the ListView is not currently present (for example a chat window).
The problem comes when i have the Activity with the ListView in foreground, BaseAdapter binded to the message queue's data, and a message comes in the socket. Adding the new message into the queue will throw the exception mentioned above. Unless i pre-populate my BaseAdapter with the message queue (as in the BaseAdapter having its own message queue) and updating both of them when a new message come in, i can't really find a way around this issue. I don't really want to double up the effort on keeping those 2 queues up-to-date like this, surely there is a better way of doing this? Send broadcasts around doesn't work either because of the potential delay in the adapter serving a scroll and the notifyDataSetChanged call is made.
View 1 Replies
View Related
Nov 15, 2010
I'm developing a mobile web browser application for Android which supports complex script rendering of Indic scripts.
For this, I used a currently available open source web browser for Android (which is licensed under GPLv3) & modified its code to support complex script rendering.
Now the code of the browser is from that open source app & the code of the complex script rendering part is from me.
My question is, Can I publish this application in a different name under the same license? (i.e. If the name of the open sourse app is "ABC Browser", can I publish the modified app which is able to support complex script rendering in a different name such as "XYZ Browser" under GPLv3 license?)
View 2 Replies
View Related
Jun 10, 2009
Anyone help me to modify the layout params of a child in a ListView in Android.Please give some code snippets if you can.
View 2 Replies
View Related
Oct 26, 2009
I want to modified the init.rc file to import a new configuration file by adding the following lines in the init.rc file import /data/myconfig/conf/init.rc trigger system And the file at /data/myconfig/conf/init.rc contains on system export TRIAL_EXPORT /trial/export/to/be/replaced The problem is that I cannot get the new export (TRIAL_EXPORT)to working. When I issue the command echo $TRIAL_EXPORT on the adb shell I do not get anything. Can somebody point out what is wrong in here?
View 2 Replies
View Related
Aug 21, 2012
GSM Galaxy Nexus - Maguro
Latest GM 10 Nightly
Is it possible to modify the folder grid width within android. For example, by default if I have 3 apps within a folder it will be displayed within the folder in a 2x2 grid with the top two spots and the bottom left occupied with an app. Instead I would like to modify it to be a 3x1 horizontal grid.
View 1 Replies
View Related
Sep 28, 2013
I have a HUAWEI Y300-0100, and it comes with a funny feature: every time it can't connect to WIFI a popup message appears saying that if you switch to data plan charges may apply.
I am constantly switching between WIFI/no-WIFI zones so that message really bothered me, and I searched a way to disable it.
Presumably, the only way to do that is by modifying a system file called "build.prop". I already had my phone rooted so doing so wasn't very hard.I used Jota+ to change a setting from "true" to "false" (ro.config.hw******), and saved the file in the root of the SD card. Then, with ES File Explorer, I renamed the "build.prop" in /system to "build.prop.bak" and copied there the "build.prop" I previously saved in the SD root.All seemed to be fine, except that after rebooting my phone it could not get past the HUAWEI logo.
Android recovery mode seems to work, but I don't know how to use a lot of its options nor I want to do a Factory Reset if there's a better alternative.Is there a way to modify system files before booting Android? I really would like to try to delete the "build.prop" file and rename the "build.prop.bak" back to "build.prop".
View 6 Replies
View Related
Feb 6, 2009
How to add more shortcuts in home screen? -- I want to do this by modifying config file rather than draging an app and dropping it on home screen. Namely, I want to know which config file contains these shortcuts.
View 6 Replies
View Related
May 25, 2013
I have a JAR comprised of java and class files. It is my understanding that the JAR is an executable library comprised of the .class files within. I need to open one of these class folders change a few things and reinsert it into the jar. i am on linux and i have been at this all day to no avail.
View 1 Replies
View Related
Nov 12, 2009
In my android application, I have an Edit Text. When I click in this field, the soft keyboard appears, expanding from the bottom of the screen. It seems to actually modify my layout, pushing contents up wards. When I dismiss the keypad, it retracts, and I see my layout re-expand to take up the space it previously occupied. Is there a way to get the keyboard to simply appear "on top" of my layout, so that I don't get this somewhat unpleasant relayout animation? The Edit Text is pinned to the very top of the screen, so I don't have to worry about the keypad hiding it.
View 2 Replies
View Related
Nov 8, 2010
I have a requirement to change network service permission(such as netd to 660 or something similar) for my application in order to access certain features. I dont want to edit init.rc file to make such changes. Since my application cannot be run in root mode, is there any alternative solution where i could do such modifications from my application point of view.
View 6 Replies
View Related
Sep 2, 2013
So after fiddling around with theming and getting comfortable decompiling, recompiling and pushing system apk's to my phone I figured I would try to mod one of my games. The game is called chess time and is a free online pvp chess game. I am trying to find the movement permissions to the specific pieces. I have had no luck. I decompiled the apk and checked all the xml's and cannot find anything that seems relevant. Where those would be? If it would be in any of the small files than I have more reading to do since how to modify those. Here's the apk:
View 3 Replies
View Related
Jan 3, 2013
I want to modify my apk with Eclipse . but I don't know how to give apk to eclipse and modify package name and manifest.xml and I don't want to use Apk manager .
View 4 Replies
View Related
Aug 2, 2010
http://androidforums.com/all-things-root-incredible/134977-unable-change-boot-startup-since-going-froyo.html I am attempting to modify/replace the default boot animation on my Incredible. I am currently running Froyo 2.2 (not sure if that's relevant). I downloaded the BIOS style boot animation and the zip file contains: Code...
View 5 Replies
View Related
Jul 17, 2010
So I thought I read somewhere that once rooted, you can modify which programs startup on a fresh boot of the phone.am i making things up or can anybody help me find that info? i've gone back seven pages of threads and can't find anything in search either
View 3 Replies
View Related
May 23, 2010
I am wondering if there is a way to modify or edit a .apk file or files inside an .apk file, & then be able to repack/compress the .apk to be able to put back on phone.
1. can this be done
2. what do i need
3. how is it done.
Im asking b/c I have a few game apps that have some of the files (i assume, they are jpg, or png files) dont fit my screen right, they are too big & are partly cut off, so i want to resize them & put them back on my phone.
View 11 Replies
View Related
Nov 8, 2009
Has anyone had any success in modifying the apps tab? Is it possible to change the view? Instead of all icons from left to right can they be changed to a list view? Can you add folders to separate system tools from others such as games and etc...?
View 1 Replies
View Related