Friday, July 5, 2013

[General] Rooting My Samsung Galaxy S3


Rooting My Samsung Galaxy S3





Quote Originally Posted by SASavva25 View Post

Hey guys. I've been experiencing a lot lagging on my phone for a few months and now thinking of rooting! I was thinking of buying a Nexus but the lack of storage kind of put me off completely! So does anyone know how I can root my Galaxy S3 to make it look and feel like an official Nexus phone? Is there a step by step guide or something?



Yes you can, however, rooting won't really clear up lag by itself. For the S3 installing a non TouchWiz ROM will, or something a little easier, downloading a Launcher from Play, like Nova. Since it takes TouchWiz out of the picture, there is a little bit of a snappier feel to the phone.

Rooting guides are located in the beginning of the carrier threads, or you can search You Tube. Galaxy S3 root has some videos there that are extremely easy to follow, and pretty universal. However, I would suggest to take many notes, and watch videos a few times.

Also, why else do you want to root? This procedure voids your warranty, so it's something to think about.


Read more

forum.xda-developers.com



[General] root a htc s


root a htc s




What is a good tool to root a HTC s1 ? I haven't been able to find one that I like . also if I am rooted does that mean my sim card will be unlocked?or I can choose any carrier I want




Read more

forum.xda-developers.com



[General] Proper way to mothball a smartphone, temporarily (I hope)


Proper way to mothball a smartphone, temporarily (I hope)



Well, as luck would have it, I seem to have bricked my phone. You know the Samsung Galaxy line that got the OEM sued by Apple, because they were sort of iPhone-shaped, and, incidentally because they are sort of insanely great phones--enough that Apple must have been worried that Samsung might steal their lunch money. You know, the ones with the 8M rear cam, and gigs and gigs of internal memory and data storage, and dual core processors? That phone. And I've bricked mine. If I'm lucky it's only a soft brick and I'll be able to fix it someday, somehow. My prior phone, and the one I may have to use in the interim, is an entry level LG model that doesn't deserve to be mentioned by name in the same post as my Galaxy.

Assuming I will be able to fix it eventually, how long can I just leave it in a drawer before I have to worry about the battery swelling or popping? I had that happen with another phone, which I had before I had the LG. It was mostly left in a drawer for about a year and powered down, except occasionally when I wanted to take pictures. When I opened the back I found that the battery was all bulging and almost forcing the cover off. Obviously I'd rather this didn't happen with the bricked phone.



Read more

forum.xda-developers.com



[General] Tablet, missing internal memory


Tablet, missing internal memory



I have android 4.0 d2-tab 7 inch tablet. Mobile one market came up with updates available. I meant to do just a couple of updates but accidentally clicked on update all, and it ran maybe 30 updates. After that, I could not install anything (some of the updates failed too). I kept getting out of space errors if I tried to install an app, or move one to the memory card with app2sd. I kind of found the problem but can not completely fix it. One partition that is for apps was about half full (its 1GB). The sd card had maybe 13GB of 16GB free. There is a second partition that is 2GB and only had about 300MB used but available space was 1.7MB. I tried 2 free cleaner apps and found about a 170MB amazon cache and a 130MB mobile 1 cache so now I have about 300MB free and the tablet works again. There is still about 1.4GB unaccounted for though. How can I find what is eating all that?

Fyi, its a 4GB tablet so there is another 1GB missing, not shown in these partitions that I assume is a hidden system partition.



Read more

forum.xda-developers.com



[General] Questions on how to use cloud storage?


Questions on how to use cloud storage?



Hello,

1) Is it possible to instantly save to cloud storage like dropbox without saving to the phone first? For example if I take an image or video, it is instantly saved inside dropbox instead of my phone memory.

2) Is it possible to set cloud storage to sync files immediately when I save a file in my phone memory/sd card? For example when I take a picture, it is save to my phone, I also want a copy of the picture in my cloud storage (e.g. dropbox) immediately automatically.

3) What cloud storage is the best?

4) How to do backup using cloud storage?

Thanks



Read more

forum.xda-developers.com



[General] HTC One wont turn on or charge


HTC One wont turn on or charge



Hi im new to this site and have a serious problem. I just got a new htc one and have had it for a couple months, its been running fine but the other night i was doing some major multi tasking and the phone froze up and became wont work so i held the power button down to reset the phone, it rebooted and came up with a report error to htc message. i hit dont send and then the phone turned off again and wouldnt turn back on. And now it wont even charge like if i plug in the usb it doesnt even show the led light come on. I tried to hard reset the phone with the volume key and power button but it wont work. The only thing it will do is when i hold the power button down the back and home soft keys just blink but nothing else happens. Can anyone help me? any help is appreciated.



Read more

forum.xda-developers.com



[android help] urlconnection not uploading file to ftp server


urlconnection not uploading file to ftp server


java - urlconnection not uploading file to ftp server - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















hello all i am developing an android app that has an functionality of uploading files to ftp server i want my app to upload an Html file to ftp server i am using this code--- please answere. Thanx in advance... here goes the code.. only the main code..



new Thread(new Runnable() {

@Override
public void run() {


String host = "www.ethicstrain.tk";
String user = "user";
String pass = "pass";
String filePath = Environment.getExternalStorageDirectory()+"index.htm";
String uploadPath = "public_html/"+str+"/index.htm"; // str is input from editText.
String filename = "index.html";





StringBuffer sb = new StringBuffer( "ftp://" );


sb.append( user );
sb.append( ':' );
sb.append( pass);
sb.append( '@' );

sb.append( server );
sb.append( '/' );
sb.append( str );
sb.append( '/');
sb.append(filename);


sb.append( ";type=i" );

BufferedInputStream bis = null;
BufferedOutputStream bos = null;
try
{
URL url = new URL( sb.toString() );
URLConnection urlc = url.openConnection();

bos = new BufferedOutputStream( urlc.getOutputStream() );
bis = new BufferedInputStream( new FileInputStream(filePath ) );

int i;
// read byte by byte until end of stream
while ((i = bis.read()) != -1)
{
bos.write( i );
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
finally
{
if (bis != null)
try
{
bis.close();
}
catch (IOException ioe)
{
ioe.printStackTrace();
}
if (bos != null)
try
{
bos.close();
}
catch (IOException ioe)
{
ioe.printStackTrace();
}
}
}




}).start();


and the Logcat:



07-05 09:46:28.055: W/System.err(1123): java.io.IOException: Unable to connect to server: null
07-05 09:46:28.055: W/System.err(1123): at libcore.net.url.FtpURLConnection.connect(FtpURLConnection.java:203)
07-05 09:46:28.055: W/System.err(1123): at libcore.net.url.FtpURLConnection.getOutputStream(FtpURLConnection.java:339)
07-05 09:46:28.065: W/System.err(1123): at dolphin.developers.com.facebook1$DownloadFileFromURL$3.run(facebook1.java:382)
07-05 09:46:28.065: W/System.err(1123): at java.lang.Thread.run(Thread.java:856)















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










lang-java






Read more

stackoverflow.comm



[android help] Android: setContentView taking up the entire screen


Android: setContentView taking up the entire screen



I have the following code in an activity that receives a string from the main activity:



String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
TextView textView = new TextView(this);
textView.setTextSize(20);
textView.setText(message);
// Set the text view as the activity layout
setContentView(textView);


I want to add an image below the textView:




xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

android:text="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>

android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/serious" />




With the line setContentView, the textview takes up the entire screen. Without the line, the image is displayed, but the string says "false". Any idea?



Read more

stackoverflow.comm



[android help] android: chaotic selection in ListView


android: chaotic selection in ListView



in my application I have a ListView and ArrayAdapter.


When I select some one element in ListView I can see also few more selected elements.


Furthermore, when I scroll elements in ListView (after selection) then my selection disappears and elements are selected randomly.


Code of adapter:




final ListAdapter adapter = new ArrayAdapter(activity, R.layout.simple_list_item_multiple_choice, locationComponents) {
@Override
public View getView(int position, View convertView, ViewGroup parent) {
if ( convertView == null ) {
convertView = layoutInflater.inflate(layout.simple_test_layout_with_one_text_field, null);
}
return convertView;
}
};



Looks like some parameters have to be set.


Could you please help me to avoid this problem?



Read more

stackoverflow.comm



[android help] Can't get x and y during drag and drop


Can't get x and y during drag and drop



For an App I am developing, I am implementing drag and drop. During the dragging process I want to get the current x and y position of the finger on screen as precise as possible. I have tried to use onTouchEvent as shown in the code below. However, this returns the x and y coordinates only when I am not dragging an object over the screen and it is also not precise enough. So my question is:


How do I get the current x and y coordinates when using drag and drop as precise as possible?




@Override
public boolean onTouchEvent(MotionEvent event) {
int x = (int) event.getX();
int y = (int) event.getY();

switch (event.getAction()) {
case MotionEvent.ACTION_MOVE:
Log.d("Checks", "x and y: " + x + ", " + y);
return true;
}
return true;
}


Read more

stackoverflow.comm



[android help] ListView Odd Even row xml


ListView Odd Even row xml



This is my listview



android:id="@+id/lvRMultiple"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="52"
android:divider="@color/white"
android:scrollingCache="false" >




I set row background in listview as even and odd as follows :



/*
* CHANGE ROW COLOR 0 WHITE 1 GRAY
*/

if ( position % 2 == 0) //0 even 1 odd..
vi.setBackgroundResource(R.drawable.listview_selector_odd);

else
vi.setBackgroundResource(R.drawable.listview_selector_even);


Now when i select an even or odd row i want the background resource to change.


So in listview_selector_odd.xml













and listview_selector_even.xml












when i run my listview on device and select an even or odd rows nothing happens. does someone know why and what is the correct way to do it based on my answer.



Read more

stackoverflow.comm



[android help] Android - How to create divider for ListView with rounded corners


Android - How to create divider for ListView with rounded corners


Android - How to create divider for ListView with rounded corners - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I want to give my ListView rounded corners and some padding. Here is my style:










But when I create a divider its width is not from one end to the other but looks like this:


enter image description here


I create the divider like this:



...
android:divider="@color/bordeaux"
android:dividerHeight="1px" />


Any ideas how to tell the divider to strech from one end to the other?


Thanks!





























For round corners I use








android:width="2dp"
android:color="#cccccc" />

android:bottom="0dp"
android:left="5dp"
android:right="5dp"
android:top="5dp" />

android:bottomLeftRadius="7dp"
android:bottomRightRadius="7dp"
android:topLeftRadius="7dp"
android:topRightRadius="7dp" />




For separator I use this in the layout item xml



android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="#cccccc" />



















default






Read more

stackoverflow.comm



[General] sign in google account help


sign in google account help



You probably have to enter a device-specific password. Follow these steps:

1. On your computer, open your browser to any Google page and sign in.
2. Click on your Google account picture at the upper right, then click on "Account."
3. On the left column, click on "Security."
4. Scroll down to "2-Step Verification," and click "Manage your application specific passwords."
5. Scroll down to "Application specific passwords," and type an arbitrary name for your Email app (you can just call it "Phone Email" or something like that).
6. Use the random password that is generated on the next page as your Gmail password if you're trying to log into your stock Email app or trying to link your Gmail account to the stock Email app.

I hope this helps. I never use the stock Email app, so I can't tell you for sure if this will solve the problem.



.

forum.xda-developers.com



[General] Samsung Galaxy Ace Snapchat-Camera flash isnt working?


Samsung Galaxy Ace Snapchat-Camera flash isnt working?




The flash doesnt work when i try to take snapchats on my samsung galaxy ace.Does anyone know why?..I have downloaded the latest version and everything.




.

forum.xda-developers.com



[General] Moto Droid Razr Maxx under ICS stops receiving synched emails- Verizon stock email app


Moto Droid Razr Maxx under ICS stops receiving synched emails- Verizon stock email app



I use the Verizon stock email app that came with my Moto Droid Razr Maxx, upgraded to ICS. Emails are synched with both my
laptop and my Droid RM. Today emails stopped being received by my phone although the computer still receives them.
I have changed no settings. I can send emails from my phone just fine.
How do I fix this? I want to be sure I lose nothing from my inbox or outbox on the phone.
Thank you.
Frank



.

forum.xda-developers.com



[General] Any way to not get gmail notifications for certain emails, without skipping inbox?


Any way to not get gmail notifications for certain emails, without skipping inbox?



Just got my first smartphone, a Samsung Galaxy S4, a few weeks ago. I get several daily promotions from online stores, newsletters, news aggregation emails, etc. in my gmail account, and it's been bugging me to get a notification on my phone every time one of them comes in. I've found several ways to avoid getting these notifications, but they all involve filtering these messages in such a way that they skip the inbox, get marked as read, or just plain don't get synced. What I would really like is to have these emails hit the inbox as usual, unread, and synced to my phone, but NOT get a notification about them. Is there a way to do this?



.

forum.xda-developers.com



[General] Trouble with the music


Trouble with the music



Hello,

I recently bought a Samsung Galaxy S4 16GB, with half of its memory gone by the courtesy of internal apps, I also bought a Sandisk 64GB MicroSD. I need this much space for my media files and books. I challenged the card's authenticity with a program called "h2testw" and it turned out ok. Then, I transferred all my songs to the card, which is about 20GB. I checked the songs' tags in the phone to see if they were alright with the programs "Music" and "Play Music" and they were all intact. Then I dumped the books, the movies and the the pics. After it the card was about 30GB full, but then the songs started to act weird. Some songs that had all of their title, album and artist tags had nothing but their file names and when I tried to play them a warning wrote "Unknown file format" or something like that showed up. These songs are all in mp3 format and when I mount and unmount the card this time other songs turn out to be "tagless". When I mount the card on my pc, songs play without a problem and with all the tags.

What might be causing this? I suspect that android may not be able to process all the data, even though it is advertised to be able to handle 64GB card. Can I fix it or will it take a firmware update?

Thank you in advance



.

forum.xda-developers.com



[android help] Delete Android Browser Boookmark


Delete Android Browser Boookmark



I'm trying to develop an android app that could delete android's built in browser bookmark. Here is my code



ContentResolver cr = getContentResolver();
try
{
Cursor c = cr.query(
Browser.BOOKMARKS_URI,
new String [] { Browser.BookmarkColumns._ID,
Browser.BookmarkColumns.BOOKMARK,
Browser.BookmarkColumns.VISITS },
"bookmark != 0",
null,
null);
c.moveToFirst();
cr.delete(Browser.BOOKMARKS_URI, null, null);

}
catch (IllegalStateException e)
{
e.printStackTrace();
}


The problem with the above code is it delelte's bookmark perfectly fine but along with bookmark it also deletes Browser History which it's not supposed to. Please help mein clearing this riddle, Thanks in advance.



.

stackoverflow.comm



[android help] Set Icons over Imageviews(inside frameLayout)


Set Icons over Imageviews(inside frameLayout)



I am new to android.I have a question that i am trying to put icons over the FrameLayout. enter image description here


Now,all the four colored triangular Boxes are the ImageViews in the different four FrameLayouts and all the four Frame Layouts are inside a RelativeLayout.


Now I want to put the icons over the 4 FrameLayouts.I am making these layouts in jaa not in XML. So,I am not able to put these icons over the particular ImageView(framelayout); I am using this code to set the position of icons over the particular frame or imageview,



ImageView icon = new ImageView(getBaseContext());
icon.setImageResource(R.drawable.wordpress_icon);
LayoutParams paramsIcon = new LayoutParams(50, 50);
MarginLayoutParams IconPara = new MarginLayoutParams(50,50);
// IconPara.setMargins(500, 500, 0, 0);
//icon.setPadding(0, 0, width-60, height-60);
icon.layout(50, 50, 0, 0);
icon.requestLayout();
icon.setLayoutParams(paramsIcon);


But after all , I am not able to put these icons over the specific place on the screen.



.

stackoverflow.comm



Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...