Monday, September 23, 2013

[General] Sluggish GS3 Woes


Sluggish GS3 Woes



The main things that are frustrations are keyboard lag(Google Keyboard), rotation lag and browser lag(Chrome). I've already turned on developer options and tweaked the transition settings. With rotation lag it will take up to 5 seconds for the screen to rotate. With Keyboard lag it will sort of freeze and in a few seconds it will register all my previous inputs. With Browser lag if I scroll around it will sometimes freeze and in a few seconds it will register all my previous scrolling input. I am currently unrooted by may reroot soon, my phone memory has about a gig of space left, I also keep an eye on my RAM and try to keep it at a gig or less. Thanks for any help!



Read more

forum.xda-developers.com



[General] Rooted Tablet to Unrooted Tablet Question


Rooted Tablet to Unrooted Tablet Question



Hey All!

I am eyeing a galaxy note tablet purchase and had a question.
At this time it is rooted, the seller told me he could unroot the phone back to factory without any problems.

Is there anything I should be aware of? Once it has been rooted is there a chance for the factory version to be buggy or different when reverted back?

I have no experience or know-how with rooting which is why I prefer factory.

Thanks for the help!



Read more

forum.xda-developers.com



[General] Transferring apps


Transferring apps



Welcome to Android Central! When you say that you upgraded Plague before, what do you mean? Is there a paid version? I don't see that on Google Play--only the free version. There seem to be a bunch of in-app purchases you can make--do you mean that your in-app purchases don't show up any more? I would guess that if you reinstalled Plague on another phone and logged in with your username, you would still have all of your purchases on record.



Read more

forum.xda-developers.com



[General] Enable Google + Backup?


Enable Google + Backup?



So to be clear: you open Google+, tap menu, then Settings, then Auto Backup, and then flip the switch at the upper right to On, right? And in System Settings/Accounts-Google/[your Google account], you see Google+ Auto Backup as checked, right?

If that's what you're doing and it's not working, try this:
1. System Settings/Apps/All, select Google+.
2. Clear Cache and Force Stop.
3. Now open Google+ again, and see if Auto Backup works.



Read more

forum.xda-developers.com



[General] Typing on Android, coming from iPhone


Typing on Android, coming from iPhone



At least some keyboards give you the option to adjust the sensitivity of autocorrect. Look for the settings at System Settings/Language & input, and tap the settings icon (gear or slider icon) right next to the keyboard you use. Then explore those settings to see what kinds of autocorrect and sensitivity levels are available. For example, I have a Razr Maxx with preinstalled Swype (a little different from the Swype that is on Google Play). When I go to the keyboard settings, I can select "Word suggestion," which then gives me the option to turn suggestions on or off, as well as turn on Auto-correction.

I don't know what Samsung keyboard settings are like, but I'm sure there are plenty of people on this forum who can help you with that.



Read more

forum.xda-developers.com



[General] Looking 4 Msg program without


Looking 4 Msg program without



I'm trying to find a "JB messaging app" that doesn't have contact photo or icon next to the name. It has to be like the stock JB program. I dont like stock. I don't like chomp or what ever that other ones called. I have to many contacts with out photos. Can someone point me to the right program?

Sent from my SGH-M919 using Tapatalk 4



Read more

forum.xda-developers.com



[android help] Switching a View/Activity after Few seconds


Switching a View/Activity after Few seconds


android - Switching a View/Activity after Few seconds - 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 change the view/Activity of my app after few seconds I mean i have created a home View for my app and i want to move to the next Activity after like 3 seconds, How should I achieve that. Thank You


























try this,



Handler mHandler = new Handler() {
public void handleMessage(android.os.Message msg) {
Intent i = new Intent(FirstActivity.this,SeconActivity.class);
startActivity(i);
};
};
mHandler.sendEmptyMessageDelayed(0, 3000);



























You can make slash Activity. Try this code....hop your problem will solve



public class SplashActivity extends Activity {

private final int SPLASH_DISPLAY_LENGHT = 2000;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setContentView(R.layout.splash_screen);

new Handler().postDelayed(new Runnable() {
@Override
public void run() {
/* Create an Intent that will start the Menu-Activity. */
Intent mainIntent = new Intent(SplashActivity.this, NightClubMain.class);
SplashActivity.this.startActivity(mainIntent);
SplashActivity.this.finish();
}
}, SPLASH_DISPLAY_LENGHT);
}





















You can use Timer for that.



Timer myTimer;

startTimerTask();

public void startTimerTask() {
MyTimerTask myTask = new MyTimerTask();
myTimer = new Timer();
myTimer.schedule(myTask, 0, 3000);

}
@Override
public void onPause() {
super.onPause();
try {
myTimer.cancel();
} catch (Exception e) {
e.printStackTrace();
}

}

@Override
public void onStop() {
super.onStop();
try {
myTimer.cancel();
} catch (Exception e) {
e.printStackTrace();
}
}

class MyTimerTask extends TimerTask {

public void run() {
try {
getActivity().runOnUiThread(new Runnable() {

@Override
public void run() {
//

Do YOUR STUFF HERE
}

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

}
}



















default






Read more

stackoverflow.comm



[android help] Google Developer Account validity


Google Developer Account validity


android - Google Developer Account validity - 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 am about to create a Google developer account. It says membership fees is $25 but I couldnt get any information for the validity of this account. Also does it cost extra for merchant account ?


























I'm sure that this information is in the Google Play regulations. 25$ is all costs of the GP membership. All others funtions are free.
























There is a one time $25 registration fee charged for a Google Play Developer Console account. i guess there is no validity for this .They charge this fee to encourage higher quality products on Google Play (ie. less products with SPAM).


Points to Remember:



The Google Wallet Merchant Center account which you need to link to your Google Play Developer Console account can only be linked once from within the Developer Console interface.
Classic Google Checkout merchant accounts are used to sell online on any website. These accounts are not related to selling apps on Google Play, and can be created only for sellers in US and UK. However, if you already have a classic Google Checkout account, you are free to link it to your Google Play Developer Console account by clicking on the link provided within the Developer Console interface.
Important: Once accounts are linked, they cannot be removed, changed or updated. If you need to do this, please know that you will have to sign up for a new developer account by paying the fee of $25 US.
If you are not located in any of the supported locations for merchants and do not own the required bank account for receiving payments, Google may not be able to pay for the sales in that account by any other means.



















default






Read more

stackoverflow.comm



[android help] android development using action with icons and text beside the icons


android development using action with icons and text beside the icons



i am creating action bar with icons and text the action bar work as it should but the problem is that the text do not beside the icon how to fix this problem


i want always to make the icons and texts displayed on the screen can anyone help me ???






android:id="@+id/action_settings"
android:icon="@drawable/ic_launcher"
android:orderInCategory="100"
android:showAsAction="ifRoom"
android:title="@string/action_settings"/>
android:id="@+id/action_setting2"
android:icon="@drawable/ic_launcher"
android:orderInCategory="100"
android:showAsAction="ifRoom"
android:title="@string/app_name"/>






package com.action_bar_test;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.Toast;

public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.action_settings:
Toast.makeText(this, "Menu Item 1 selected", Toast.LENGTH_SHORT)
.show();
break;
case R.id.action_setting2:
Toast.makeText(this, "Menu item 2 selected", Toast.LENGTH_SHORT)
.show();
break;

default:
break;
}

return true;
}
}


Read more

stackoverflow.comm



[android help] How to rotate and resize the image view with single finger android


How to rotate and resize the image view with single finger android



I am developing an android app which has feature that resizing and rotating the imageview by dragging its bottom right corner button. I saw one app which has feature that if we drag the bottom right corner button diagonally imageview size had resized or else if we drag the button left or right side direction imageview had rotated as per direction. I wish to implement this feature in my app I am struggling to implement single finger rotation as well as resizing the imageview. I could successfully implement resizing the imageview by dragging its bottom right corner button. But I do not have enough knowledge to add rotation to the image view Please guide me in right way.



Read more

stackoverflow.comm



[android help] how to implement Image gallery in android?


how to implement Image gallery in android?




Any idea or any algorithm to develop such kind of gallery?



Displaying Images with an Enhanced Gallery


Step 1: Create an Android Project


Step 2: Design your application


Step 3: Create your Base Adapter


Step 4: Allow the User to Choose Images


Step 5: Handle Returned Images


Step 6: Display Sampled Images to Minimize on Memory Usage


Step 7: Add Chosen Images to the Gallery


Step 8: Display One Image at Larger Size


Source:


android-sdk-displaying-images-with-an-enhanced-gallery



Read more

stackoverflow.comm



[android help] Read content from APK expansion file (from obb file)


Read content from APK expansion file (from obb file)



I have solved using unzipping..


ZipHelper.java



public class ZipHelper {
static boolean zipError = false;

public static boolean isZipError() {
return zipError;
}

public static void setZipError(boolean zipError) {
ZipHelper.zipError = zipError;
}

public static void unzip(String archive, File outputDir) {
try {
Log.d("control", "ZipHelper.unzip() - File: " + archive);
ZipFile zipfile = new ZipFile(archive);
for (Enumeration e = zipfile.entries(); e
.hasMoreElements();) {
ZipEntry entry = (ZipEntry) e.nextElement();
unzipEntry(zipfile, entry, outputDir);

}
} catch (Exception e) {
Log.d("control", "ZipHelper.unzip() - Error extracting file "
+ archive + ": " + e);
setZipError(true);
}
}

private static void unzipEntry(ZipFile zipfile, ZipEntry entry,
File outputDir) throws IOException {
if (entry.isDirectory()) {
createDirectory(new File(outputDir, entry.getName()));
return;
}

File outputFile = new File(outputDir, entry.getName());
if (!outputFile.getParentFile().exists()) {
createDirectory(outputFile.getParentFile());
}

Log.d("control", "ZipHelper.unzipEntry() - Extracting: " + entry);
BufferedInputStream inputStream = new BufferedInputStream(
zipfile.getInputStream(entry));
BufferedOutputStream outputStream = new BufferedOutputStream(
new FileOutputStream(outputFile));

try {
IOUtils.copy(inputStream, outputStream);
} catch (Exception e) {
Log.d("control", "ZipHelper.unzipEntry() - Error: " + e);
setZipError(true);
} finally {
outputStream.close();
inputStream.close();
}
}

private static void createDirectory(File dir) {
Log.d("control",
"ZipHelper.createDir() - Creating directory: " + dir.getName());
if (!dir.exists()) {
if (!dir.mkdirs())
throw new RuntimeException("Can't create directory " + dir);
} else
Log.d("control",
"ZipHelper.createDir() - Exists directory: "
+ dir.getName());
}
}


Usage



try {
ZipResourceFile expansionFile = APKExpansionSupport
.getAPKExpansionZipFile(this, 3, 0);

ZipEntryRO[] zip = expansionFile.getAllEntries();
Log.e("", "zip[0].isUncompressed() : " + zip[0].isUncompressed());
Log.e("",
"mFile.getAbsolutePath() : "
+ zip[0].mFile.getAbsolutePath());
Log.e("", "mFileName : " + zip[0].mFileName);
Log.e("", "mZipFileName : " + zip[0].mZipFileName);
Log.e("", "mCompressedLength : " + zip[0].mCompressedLength);

File file = new File(Environment.getExternalStorageDirectory()
.getAbsolutePath() + "");
ZipHelper.unzip(zip[0].mZipFileName, file);

if (file.exists()) {
Log.e("", "unzipped : " + file.getAbsolutePath());
}

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


Read more

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...